| From: | Espartano <espartano(dot)mail(at)gmail(dot)com> |
|---|---|
| To: | "Linder Poclaba" <linder(dot)poclaba(at)gmail(dot)com> |
| Cc: | "Sergi Elvira" <SEC_CD(at)hotmail(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: tamaño de la Base de Datos |
| Date: | 2006-05-25 14:54:02 |
| Message-ID: | d353bd50605250754g16e6b65x91e369b4e5ed0669@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
> puedes hacer la siguiente consulta para saber el tamaño de tu base datos
>
> SELECT pg_database_size('nombre_base_datos');
>
> o si prefieres el resultado con formato:
>
> SELECT
> pg_size_pretty((pg_database_size('nombre_base_datos')));
>
>
en que version de postgres es factible hacer eso ? porque tengo
postgres 8.0.4 y me da estos resultados:
cip=# SELECT pg_database_size('CIP');
ERROR: function pg_database_size("unknown") does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.
cip=#
SELECT pg_size_pretty((pg_database_size('CIP')));
ERROR: function pg_database_size("unknown") does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.
cip=#
o tengo que moverle alguna configuracion? gracias de antemano.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Alejandro Higa Kawanishi | 2006-05-25 14:56:23 | Ayuda en recuperar una base de datos |
| Previous Message | Alvaro Herrera | 2006-05-25 14:46:09 | Re: Indices de um campo STRINGs (varchar, text,..) |