command to check the database size ?
command to check the database size ?
am 25.03.2010 13:55:09 von Khangelani Gama
--_000_D78A8169F9436B4DB978300336168F3B33597EF250SWBREXCH00u cs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi
Please help, I am new to postgres administration. I just need a command to =
check the size of the database.
I tried searching but no luck. The server is running on Postgres 7.3.4 and =
O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data directory. Th=
ere is no directory like /usr/src/postgresql-7.3.4/contrib/dbsize
But the backup server which is also running postgres 7.3.4 but on Redhat 9 =
does have /usr/src/postgresql-7.3.4/contrib/dbsize directory which has the =
following files but I don't what to from from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
-rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(), pg_size_pretty()
,etc in this old version of postgres7.3.4.
In summary I can't find the command to find the database size from the main=
server and from the backup server.
Please help
Thanks
Khangelani
Confidentiality Notice:http://ucs.co.za/conf.html
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
--_000_D78A8169F9436B4DB978300336168F3B33597EF250SWBREXCH00u cs_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
..org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor tal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">
>
Hi
Please help, I am new to postgres administration. I =
just need a command to check the size of the database.
I tried searching but no luck. The server is running=
on Postgres 7.3.4 and O/S Linux Centos 5. The data sits on /data/po=
stgres7.3.4/data directory. There is no directory like /usr/src/postgresql-=
7.3.4/contrib/dbsize
But the backup server which is also running postg=
res 7.3.4 but on Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/d=
bsize directory which has the following files but I don’t what to fro=
m from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/=
contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 &=
nbsp; wheel 201=
Feb 23 2002 Makefile
-rw-r--r-- 1 70 &=
nbsp; wheel 253=
Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 &=
nbsp; wheel 554=
Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 &=
nbsp; wheel 2.6K Sep&=
nbsp; 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(),
lass=3D"EmailStyle17">
ng>pg_size_pretty()
an>
,etc in this old version of postgres7.3.4.
In summary I can’t find the command to find th=
e database size from the main server and from the backup server.=
Please help
Thanks
Khangelani
family:"Courier New";
color:blue">
family:"Courier New";
color:blue">
family:"Courier New";
color:blue">
;Courier New";
color:black">
family:"Courier New"">
family:"Courier New"">
Confidentiality Notice:
=3D"http://ucs.co.za/conf.html">http://ucs.co.za=
/conf.html
The contents of and attachme=
nts to this e-mail are intended for the addressee only, and may contain the=
confidential information of UCS Group and/or its subsidiaries. Any review,=
use or dissemination thereof by anyone
other than the intended addressee is prohibited. If you are not the intend=
ed addressee please notify the writer immediately and destroy the e-mail. U=
CS Group Limited and its subsidiaries distance themselves from and accept n=
o liability for unauthorised use
of their e-mail facilities or e-mails sent other than strictly for busines=
s purposes.
--_000_D78A8169F9436B4DB978300336168F3B33597EF250SWBREXCH00u cs_--
Re: command to check the database size ?
am 25.03.2010 14:19:24 von JRPlugge
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163ADFoma00cexmbx 03_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Execute this against the database that you want to check the size of:
SELECT schemaname, tablename,
pg_size_pretty(size) AS size_pretty,
pg_size_pretty(total_size) AS total_size_pretty
FROM (SELECT *,
pg_relation_size(schemaname||'.'||tablename) AS size,
pg_total_relation_size(schemaname||'.'||tablename) AS total_size
FROM pg_tables) AS TABLES
WHERE schemaname=3D'public'
ORDER BY total_size DESC;
This will get it by table ....
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql=
..org] On Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
Hi
Please help, I am new to postgres administration. I just need a command to =
check the size of the database.
I tried searching but no luck. The server is running on Postgres 7.3.4 and =
O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data directory. Th=
ere is no directory like /usr/src/postgresql-7.3.4/contrib/dbsize
But the backup server which is also running postgres 7.3.4 but on Redhat 9 =
does have /usr/src/postgresql-7.3.4/contrib/dbsize directory which has the =
following files but I don't what to from from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
-rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(), pg_size_pretty()
,etc in this old version of postgres7.3.4.
In summary I can't find the command to find the database size from the main=
server and from the backup server.
Please help
Thanks
Khangelani
Confidentiality Notice:http://ucs.co.za/conf.html
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163ADFoma00cexmbx 03_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
..org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor tal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">
>
sans-serif";
color:black'>Execute this against the database that you want to check the s=
ize
of:
sans-serif";
color:black'>
sans-serif";
color:black'>SELECT schemaname, tablename,
sans-serif";
color:black'>pg_size_pretty(size) AS size_pretty,
sans-serif";
color:black'>pg_size_pretty(total_size) AS total_size_pretty
an>
sans-serif";
color:black'>FROM (SELECT *,
sans-serif";
color:black'>pg_relation_size(schemaname||'.'||tablename) AS size,
p>
sans-serif";
color:black'>pg_total_relation_size(schemaname||'.'||tablena me) AS total_si=
ze
sans-serif";
color:black'>FROM pg_tables) AS TABLES
sans-serif";
color:black'>WHERE schemaname=3D'public'
sans-serif";
color:black'>ORDER BY total_size DESC;
sans-serif";
color:black'>
sans-serif";
color:black'>
sans-serif";
color:black'>This will get it by table ….
sans-serif";
color:black'>
0in 0in'>
","sans-serif"'>From:
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >
pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] =
On
Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
pan>
Hi
Please help, I am new to postgres administration. I ju=
st
need a command to check the size of the database.
I tried searching but no luck. The server is running o=
n Postgres
7.3.4 and O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data
directory. There is no directory like /usr/src/postgresql-7.3.4/contrib/dbs=
ize
But the backup server which is also running postgre=
s
7.3.4 but on Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/dbsiz=
e
directory which has the following files but I don’t what to from from=
:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/co=
ntrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1
70
wheel 201 Feb 23 2002
Makefile
-rw-r--r-- 1 70 &nb=
sp;
wheel 253 Apr
2 2002 dbsize.sql.in
-rw-r--r-- 1
70
wheel 554 Jun 23 2002
README.dbsize
-rw-r--r-- 1
70
wheel 2.6K Sep 4 2002
dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(),
class=3DEmailStyle19>
g>
style=3D'font-family:"Courier New"'>pg_size_pretty()=
o:p>
,etc in this old version of postgres7.3.4.
In summary I can’t find the command to find the =
database
size from the main server and from the backup server.
Please help
Thanks
Khangelani
ly:"Courier New";
color:blue'>
ly:"Courier New";
color:blue'>
ly:"Courier New";
color:blue'>
r New";
color:black'>
ly:"Courier New"'>
ly:"Courier New"'>
Confidentiality Notice:
href=3D"http://ucs.co.za/conf.html">http://ucs.co.za/conf.ht ml
p>
Roman","serif"'>
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'>
ns-serif";
color:gray'>The contents of and attachments to this e-mail are intended for=
the
addressee only, and may contain the confidential information of UCS Group a=
nd/or
its subsidiaries. Any review, use or dissemination thereof by anyone other =
than
the intended addressee is prohibited. If you are not the intended addressee
please notify the writer immediately and destroy the e-mail. UCS Group Limi=
ted
and its subsidiaries distance themselves from and accept no liability for
unauthorised use of their e-mail facilities or e-mails sent other than stri=
ctly
for business purposes.
imes New Roman","serif"'>
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163ADFoma00cexmbx 03_--
Re: command to check the database size ?
am 25.03.2010 14:31:15 von Khangelani Gama
--_000_D78A8169F9436B4DB978300336168F3B33597EF2A3SWBREXCH00u cs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Thanks Plugge, it works fine whereby it gives me the sizes for each table. =
But is there another command that will sum up and then give me one size for=
the whole database?
Please advise if it's possible.
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql=
..org] On Behalf Of Plugge, Joe R.
Sent: Thursday, March 25, 2010 3:19 PM
To: Khangelani Gama; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] command to check the database size ?
Execute this against the database that you want to check the size of:
SELECT schemaname, tablename,
pg_size_pretty(size) AS size_pretty,
pg_size_pretty(total_size) AS total_size_pretty
FROM (SELECT *,
pg_relation_size(schemaname||'.'||tablename) AS size,
pg_total_relation_size(schemaname||'.'||tablename) AS total_size
FROM pg_tables) AS TABLES
WHERE schemaname=3D'public'
ORDER BY total_size DESC;
This will get it by table ....
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql=
..org] On Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
Hi
Please help, I am new to postgres administration. I just need a command to =
check the size of the database.
I tried searching but no luck. The server is running on Postgres 7.3.4 and =
O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data directory. Th=
ere is no directory like /usr/src/postgresql-7.3.4/contrib/dbsize
But the backup server which is also running postgres 7.3.4 but on Redhat 9 =
does have /usr/src/postgresql-7.3.4/contrib/dbsize directory which has the =
following files but I don't what to from from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
-rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(), pg_size_pretty()
,etc in this old version of postgres7.3.4.
In summary I can't find the command to find the database size from the main=
server and from the backup server.
Please help
Thanks
Khangelani
Confidentiality Notice:http://ucs.co.za/conf.html
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
--_000_D78A8169F9436B4DB978300336168F3B33597EF2A3SWBREXCH00u cs_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
..org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor tal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">
>
Thanks Plugge, it work=
s fine whereby it gives me the sizes for each table. But is there another c=
ommand that will sum up and then give me one size for the whole database?
n>
Please advise if it=
217;s possible.
n>
n>
n>
n>
n>
0in 0in">
;Tahoma","sans-serif"">From:
ize:10.0pt;font-family:"Tahoma","sans-serif""> pgsql-ad=
min-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]
On Behalf Of Plugge, Joe R.
Sent: Thursday, March 25, 2010 3:19 PM
To: Khangelani Gama; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] command to check the database size ?
>
homa","sans-serif";
color:black">Execute this against the database that you want to check the s=
ize of:
homa","sans-serif";
color:black">
homa","sans-serif";
color:black">SELECT schemaname, tablename,
homa","sans-serif";
color:black">pg_size_pretty(size) AS size_pretty,
homa","sans-serif";
color:black">pg_size_pretty(total_size) AS total_size_pretty
an>
homa","sans-serif";
color:black">FROM (SELECT *,
homa","sans-serif";
color:black">pg_relation_size(schemaname||'.'||tablename) AS size,
p>
homa","sans-serif";
color:black">pg_total_relation_size(schemaname||'.'||tablena me) AS total_si=
ze
homa","sans-serif";
color:black">FROM pg_tables) AS TABLES
homa","sans-serif";
color:black">WHERE schemaname=3D'public'
homa","sans-serif";
color:black">ORDER BY total_size DESC;
homa","sans-serif";
color:black">
homa","sans-serif";
color:black">
homa","sans-serif";
color:black">This will get it by table ….
homa","sans-serif";
color:black">
0in 0in">
;Tahoma","sans-serif"">From:
ize:10.0pt;font-family:"Tahoma","sans-serif""> pgsql-ad=
min-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]
On Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
pan>
Hi
Please help, I am new to postgres administration. I =
just need a command to check the size of the database.
I tried searching but no luck. The server is running=
on Postgres 7.3.4 and O/S Linux Centos 5. The data sits on /data/po=
stgres7.3.4/data directory. There is no directory like /usr/src/postgresql-=
7.3.4/contrib/dbsize
But the backup server which is also running postg=
res 7.3.4 but on Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/d=
bsize directory which has the following files but I don’t what to fro=
m from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/=
contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 &=
nbsp; wheel 201=
Feb 23 2002 Makefile
-rw-r--r-- 1 70 &=
nbsp; wheel 253=
Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 &=
nbsp; wheel 554=
Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 &=
nbsp; wheel 2.6K Sep&=
nbsp; 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(),
lass=3D"EmailStyle19">
ng>pg_size_pretty()
an>
,etc in this old version of postgres7.3.4.
In summary I can’t find the command to find th=
e database size from the main server and from the backup server.=
Please help
Thanks
Khangelani
family:"Courier New";
color:blue">
family:"Courier New";
color:blue">
family:"Courier New";
color:blue">
;Courier New";
color:black">
family:"Courier New"">
family:"Courier New"">
Confidentiality Notice:
=3D"http://ucs.co.za/conf.html">http://ucs.co.za/conf.html=
span>
mes New Roman","serif"">
style=3D"font-size:12.0pt;font-family:"Times New Roman","se=
rif"">
al","sans-serif";
color:gray">The contents of and attachments to this e-mail are intended for=
the addressee only, and may contain the confidential information of UCS Gr=
oup and/or its subsidiaries.
Any review, use or dissemination thereof by anyone other than the intended=
addressee is prohibited. If you are not the intended addressee please noti=
fy the writer immediately and destroy the e-mail. UCS Group Limited and its=
subsidiaries distance themselves
from and accept no liability for unauthorised use of their e-mail faciliti=
es or e-mails sent other than strictly for business purposes.
tyle=3D"font-size:12.0pt;
font-family:"Times New Roman","serif"">
n>
The contents of and attachme=
nts to this e-mail are intended for the addressee only, and may contain the=
confidential information of UCS Group and/or its subsidiaries. Any review,=
use or dissemination thereof by anyone
other than the intended addressee is prohibited. If you are not the intend=
ed addressee please notify the writer immediately and destroy the e-mail. U=
CS Group Limited and its subsidiaries distance themselves from and accept n=
o liability for unauthorised use
of their e-mail facilities or e-mails sent other than strictly for busines=
s purposes.
--_000_D78A8169F9436B4DB978300336168F3B33597EF2A3SWBREXCH00u cs_--
Re: command to check the database size ?
am 25.03.2010 14:33:29 von JRPlugge
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163AEEoma00cexmbx 03_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
This should work ...
SELECT pg_size_pretty(pg_database_size('mydatabasename')) As fulldbsize;
From: Khangelani Gama [mailto:Khangelani.Gama@ucs-software.co.za]
Sent: Thursday, March 25, 2010 8:31 AM
To: Plugge, Joe R.; pgsql-admin@postgresql.org
Subject: RE: [ADMIN] command to check the database size ?
Thanks Plugge, it works fine whereby it gives me the sizes for each table. =
But is there another command that will sum up and then give me one size for=
the whole database?
Please advise if it's possible.
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql=
..org] On Behalf Of Plugge, Joe R.
Sent: Thursday, March 25, 2010 3:19 PM
To: Khangelani Gama; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] command to check the database size ?
Execute this against the database that you want to check the size of:
SELECT schemaname, tablename,
pg_size_pretty(size) AS size_pretty,
pg_size_pretty(total_size) AS total_size_pretty
FROM (SELECT *,
pg_relation_size(schemaname||'.'||tablename) AS size,
pg_total_relation_size(schemaname||'.'||tablename) AS total_size
FROM pg_tables) AS TABLES
WHERE schemaname=3D'public'
ORDER BY total_size DESC;
This will get it by table ....
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql=
..org] On Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
Hi
Please help, I am new to postgres administration. I just need a command to =
check the size of the database.
I tried searching but no luck. The server is running on Postgres 7.3.4 and =
O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data directory. Th=
ere is no directory like /usr/src/postgresql-7.3.4/contrib/dbsize
But the backup server which is also running postgres 7.3.4 but on Redhat 9 =
does have /usr/src/postgresql-7.3.4/contrib/dbsize directory which has the =
following files but I don't what to from from:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/contrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
-rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
-rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
-rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(), pg_size_pretty()
,etc in this old version of postgres7.3.4.
In summary I can't find the command to find the database size from the main=
server and from the backup server.
Please help
Thanks
Khangelani
Confidentiality Notice:http://ucs.co.za/conf.html
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
________________________________
The contents of and attachments to this e-mail are intended for the address=
ee only, and may contain the confidential information of UCS Group and/or i=
ts subsidiaries. Any review, use or dissemination thereof by anyone other t=
han the intended addressee is prohibited. If you are not the intended addre=
ssee please notify the writer immediately and destroy the e-mail. UCS Group=
Limited and its subsidiaries distance themselves from and accept no liabil=
ity for unauthorised use of their e-mail facilities or e-mails sent other t=
han strictly for business purposes.
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163AEEoma00cexmbx 03_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spread sheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
..org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile " xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/service s/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/service s/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/ Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPor tal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40">
>
sans-serif";
color:black'>This should work …
sans-serif";
color:black'>
sans-serif";
color:black'>SELECT pg_size_pretty(pg_database_size('mydatabasename')) As
fulldbsize;
sans-serif";
color:black'>
0in 0in'>
","sans-serif"'>From:
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' > Khangelani Ga=
ma
[mailto:Khangelani.Gama@ucs-software.co.za]
Sent: Thursday, March 25, 2010 8:31 AM
To: Plugge, Joe R.; pgsql-admin@postgresql.org
Subject: RE: [ADMIN] command to check the database size ?
>
Thanks Plugge, it works =
fine
whereby it gives me the sizes for each table. But is there another command =
that
will sum up and then give me one size for the whole database? =
span>
=
Please advise if it̵=
7;s possible.
=
=
=
=
=
0in 0in'>
","sans-serif"'>From:
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' > pgsql-admin-o=
wner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Plugge, Joe R=
..
Sent: Thursday, March 25, 2010 3:19 PM
To: Khangelani Gama; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] command to check the database size ?
>
sans-serif";
color:black'>Execute this against the database that you want to check the s=
ize
of:
sans-serif";
color:black'>
sans-serif";
color:black'>SELECT schemaname, tablename,
sans-serif";
color:black'>pg_size_pretty(size) AS size_pretty,
sans-serif";
color:black'>pg_size_pretty(total_size) AS total_size_pretty
an>
sans-serif";
color:black'>FROM (SELECT *,
sans-serif";
color:black'>pg_relation_size(schemaname||'.'||tablename) AS size,
p>
sans-serif";
color:black'>pg_total_relation_size(schemaname||'.'||tablena me) AS total_si=
ze
sans-serif";
color:black'>FROM pg_tables) AS TABLES
sans-serif";
color:black'>WHERE schemaname=3D'public'
sans-serif";
color:black'>ORDER BY total_size DESC;
sans-serif";
color:black'>
sans-serif";
color:black'>
sans-serif";
color:black'>This will get it by table ….
sans-serif";
color:black'>
0in 0in'>
","sans-serif"'>From:
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >
pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] =
On
Behalf Of Khangelani Gama
Sent: Thursday, March 25, 2010 7:55 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] command to check the database size ?
pan>
Hi
Please help, I am new to postgres administration. I ju=
st
need a command to check the size of the database.
I tried searching but no luck. The server is running o=
n Postgres
7.3.4 and O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data
directory. There is no directory like /usr/src/postgresql-7.3.4/contrib/dbs=
ize
But the backup server which is also running postgre=
s
7.3.4 but on Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/dbsiz=
e
directory which has the following files but I don’t what to from from=
:
[root@c9903 dbsize]# pwd
/usr/src/postgresql-7.3.4/co=
ntrib/dbsize
[root@c9903 dbsize]# ls -ltrh
total 16K
-rw-r--r-- 1
70
wheel 201 Feb 23 2002
Makefile
-rw-r--r-- 1
70
wheel 253 Apr
2 2002 dbsize.sql.in
-rw-r--r-- 1
70
wheel 554 Jun 23 2002
README.dbsize
-rw-r--r-- 1
70
wheel 2.6K Sep 4 2002
dbsize.c
[root@c9903 dbsize]#
I also could not find functions like pg_database_size(),
class=3DEmailStyle19>
g>
style=3D'font-family:"Courier New"'>pg_size_pretty()=
o:p>
,etc in this old version of postgres7.3.4.
In summary I can’t find the command to find the =
database
size from the main server and from the backup server.
Please help
Thanks
Khangelani
ly:"Courier New";
color:blue'>
ly:"Courier New";
color:blue'>
ly:"Courier New";
color:blue'>
r New";
color:black'>
ly:"Courier New"'>
ly:"Courier New"'>
Confidentiality Notice:
href=3D"http://ucs.co.za/conf.html">http://ucs.co.za/conf.ht ml
p>
Roman","serif"'>
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'>
ns-serif";
color:gray'>The contents of and attachments to this e-mail are intended for=
the
addressee only, and may contain the confidential information of UCS Group
and/or its subsidiaries. Any review, use or dissemination thereof by anyone
other than the intended addressee is prohibited. If you are not the intende=
d
addressee please notify the writer immediately and destroy the e-mail. UCS
Group Limited and its subsidiaries distance themselves from and accept no
liability for unauthorised use of their e-mail facilities or e-mails sent o=
ther
than strictly for business purposes.
font-family:"Times New Roman","serif"'>
Roman","serif"'>
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'>
ns-serif";
color:gray'>The contents of and attachments to this e-mail are intended for=
the
addressee only, and may contain the confidential information of UCS Group
and/or its subsidiaries. Any review, use or dissemination thereof by anyone
other than the intended addressee is prohibited. If you are not the intende=
d
addressee please notify the writer immediately and destroy the e-mail. UCS
Group Limited and its subsidiaries distance themselves from and accept no
liability for unauthorised use of their e-mail facilities or e-mails sent o=
ther
than strictly for business purposes.
font-family:"Times New Roman","serif"'>
--_000_BD69807DAE0CE44CA00A8338D0FDD08302CF163AEEoma00cexmbx 03_--
Re: command to check the database size ?
am 25.03.2010 14:35:10 von Brad Nicholson
On Thu, 2010-03-25 at 15:31 +0200, Khangelani Gama wrote:
> Thanks Plugge, it works fine whereby it gives me the sizes for each
> table. But is there another command that will sum up and then give me
> one size for the whole database?=20
>=20
>
>=20
> Please advise if itâ=99s possible.=20
A trivial modification to the SQL statement provided will sum up the
totals for each table and present the overall size.
And, it's worth mentioning, Postgres 7.3 is many, many years old, full
of nasty bugs. You really, really should upgrade. If you can't, make
sure your head is not on the line when it corrupts your data.
>
>=20
>
>=20
>
>=20
>
>=20
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Plugge, Joe R.
> Sent: Thursday, March 25, 2010 3:19 PM
> To: Khangelani Gama; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] command to check the database size ?=20
>=20
>=20
>
>=20
> Execute this against the database that you want to check the size of:
>=20
>
>=20
> SELECT schemaname, tablename,
>=20
> pg_size_pretty(size) AS size_pretty,
>=20
> pg_size_pretty(total_size) AS total_size_pretty
>=20
> FROM (SELECT *,
>=20
> pg_relation_size(schemaname||'.'||tablename) AS size,
>=20
> pg_total_relation_size(schemaname||'.'||tablename) AS total_size
>=20
> FROM pg_tables) AS TABLES
>=20
> WHERE schemaname=3D'public'
>=20
> ORDER BY total_size DESC;
>=20
>
>=20
>
>=20
> This will get it by table â=A6.
>=20
>
>=20
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Khangelani Gama
> Sent: Thursday, March 25, 2010 7:55 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] command to check the database size ?=20
>=20
>=20
>
>=20
> Hi=20
>=20
>
>=20
>
>=20
> Please help, I am new to postgres administration. I just need a
> command to check the size of the database.
>=20
>
>=20
> I tried searching but no luck. The server is running on Postgres 7.3.4
> and O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data
> directory. There is no directory
> like /usr/src/postgresql-7.3.4/contrib/dbsize
>=20
>
>=20
>
>=20
> But the backup server which is also running postgres 7.3.4 but on
> Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/dbsize directory
> which has the following files but I donâ=99t what to from from:
>=20
>
>=20
> [root@c9903 dbsize]# pwd
>=20
> /usr/src/postgresql-7.3.4/contrib/dbsize
>=20
> [root@c9903 dbsize]# ls -ltrh
>=20
> total 16K
>=20
> -rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
>=20
> -rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
>=20
> -rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
>=20
> -rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
>=20
> [root@c9903 dbsize]#
>=20
>
>=20
>
>=20
>
>=20
> I also could not find functions like pg_database_size(), pg_size_pretty()
> ,etc in this old version of postgres7.3.4.
>=20
>
>=20
>
>=20
> In summary I canâ=99t find the command to find the database size fro=
m the
> main server and from the backup server.
>=20
>
>=20
>
>=20
> Please help
>=20
>
>=20
>
>=20
> Thanks
>=20
>
>=20
> Khangelani
>=20
>
>=20
>
>=20
>
>=20
>
>=20
>
>=20
>
>=20
> Confidentiality Notice:http://ucs.co.za/conf.html
>=20
>
>=20
>
>=20
>
>=20
> =20=2 0 =
> ____________________________________________________________ __________
> The contents of and attachments to this e-mail are intended for the
> addressee only, and may contain the confidential information of UCS
> Group and/or its subsidiaries. Any review, use or dissemination
> thereof by anyone other than the intended addressee is prohibited. If
> you are not the intended addressee please notify the writer
> immediately and destroy the e-mail. UCS Group Limited and its
> subsidiaries distance themselves from and accept no liability for
> unauthorised use of their e-mail facilities or e-mails sent other than
> strictly for business purposes.
>=20
>=20
>=20
>=20
> ____________________________________________________________ __________
> The contents of and attachments to this e-mail are intended for the
> addressee only, and may contain the confidential information of UCS
> Group and/or its subsidiaries. Any review, use or dissemination
> thereof by anyone other than the intended addressee is prohibited. If
> you are not the intended addressee please notify the writer
> immediately and destroy the e-mail. UCS Group Limited and its
> subsidiaries distance themselves from and accept no liability for
> unauthorised use of their e-mail facilities or e-mails sent other than
> strictly for business purposes.
--=20
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.
--=20
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Re: command to check the database size ?
am 25.03.2010 14:36:06 von Brad Nicholson
On Thu, 2010-03-25 at 08:33 -0500, Plugge, Joe R. wrote:
> This should work â=A6
>=20
>
>=20
> SELECT pg_size_pretty(pg_database_size('mydatabasename')) As
> fulldbsize;
I'm pretty sure that the pg_database_size() function did not exist in
PG 7.3.
>=20
> From: Khangelani Gama [mailto:Khangelani.Gama@ucs-software.co.za]=20
> Sent: Thursday, March 25, 2010 8:31 AM
> To: Plugge, Joe R.; pgsql-admin@postgresql.org
> Subject: RE: [ADMIN] command to check the database size ?=20
>=20
>=20
>
>=20
> Thanks Plugge, it works fine whereby it gives me the sizes for each
> table. But is there another command that will sum up and then give me
> one size for the whole database?=20
>=20
>
>=20
> Please advise if itâ=99s possible.=20
>=20
>
>=20
>
>=20
>
>=20
>
>=20
>
>=20
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Plugge, Joe R.
> Sent: Thursday, March 25, 2010 3:19 PM
> To: Khangelani Gama; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] command to check the database size ?=20
>=20
>=20
>
>=20
> Execute this against the database that you want to check the size of:
>=20
>
>=20
> SELECT schemaname, tablename,
>=20
> pg_size_pretty(size) AS size_pretty,
>=20
> pg_size_pretty(total_size) AS total_size_pretty
>=20
> FROM (SELECT *,
>=20
> pg_relation_size(schemaname||'.'||tablename) AS size,
>=20
> pg_total_relation_size(schemaname||'.'||tablename) AS total_size
>=20
> FROM pg_tables) AS TABLES
>=20
> WHERE schemaname=3D'public'
>=20
> ORDER BY total_size DESC;
>=20
>
>=20
>
>=20
> This will get it by table â=A6.
>=20
>
>=20
> From:pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Khangelani Gama
> Sent: Thursday, March 25, 2010 7:55 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] command to check the database size ?=20
>=20
>=20
>
>=20
> Hi=20
>=20
>
>=20
>
>=20
> Please help, I am new to postgres administration. I just need a
> command to check the size of the database.
>=20
>
>=20
> I tried searching but no luck. The server is running on Postgres 7.3.4
> and O/S Linux Centos 5. The data sits on /data/postgres7.3.4/data
> directory. There is no directory
> like /usr/src/postgresql-7.3.4/contrib/dbsize
>=20
>
>=20
>
>=20
> But the backup server which is also running postgres 7.3.4 but on
> Redhat 9 does have /usr/src/postgresql-7.3.4/contrib/dbsize directory
> which has the following files but I donâ=99t what to from from:
>=20
>
>=20
> [root@c9903 dbsize]# pwd
>=20
> /usr/src/postgresql-7.3.4/contrib/dbsize
>=20
> [root@c9903 dbsize]# ls -ltrh
>=20
> total 16K
>=20
> -rw-r--r-- 1 70 wheel 201 Feb 23 2002 Makefile
>=20
> -rw-r--r-- 1 70 wheel 253 Apr 2 2002 dbsize.sql.in
>=20
> -rw-r--r-- 1 70 wheel 554 Jun 23 2002 README.dbsize
>=20
> -rw-r--r-- 1 70 wheel 2.6K Sep 4 2002 dbsize.c
>=20
> [root@c9903 dbsize]#
>=20
>
>=20
>
>=20
>
>=20
> I also could not find functions like pg_database_size(), pg_size_pretty()
> ,etc in this old version of postgres7.3.4.
>=20
>
>=20
>
>=20
> In summary I canâ=99t find the command to find the database size fro=
m the
> main server and from the backup server.
>=20
>
>=20
>
>=20
> Please help
>=20
>
>=20
>
>=20
> Thanks
>=20
>
>=20
> Khangelani
>=20
>
>=20
>
>=20
>
>=20
>
>=20
>
>=20
>
>=20
> Confidentiality Notice:http://ucs.co.za/conf.html
>=20
>
>=20
>
>=20
>
>=20
> =20=2 0 =
> ____________________________________________________________ __________
> The contents of and attachments to this e-mail are intended for the
> addressee only, and may contain the confidential information of UCS
> Group and/or its subsidiaries. Any review, use or dissemination
> thereof by anyone other than the intended addressee is prohibited. If
> you are not the intended addressee please notify the writer
> immediately and destroy the e-mail. UCS Group Limited and its
> subsidiaries distance themselves from and accept no liability for
> unauthorised use of their e-mail facilities or e-mails sent other than
> strictly for business purposes.
>=20
>
>=20
> =20=2 0 =
> ____________________________________________________________ __________
> The contents of and attachments to this e-mail are intended for the
> addressee only, and may contain the confidential information of UCS
> Group and/or its subsidiaries. Any review, use or dissemination
> thereof by anyone other than the intended addressee is prohibited. If
> you are not the intended addressee please notify the writer
> immediately and destroy the e-mail. UCS Group Limited and its
> subsidiaries distance themselves from and accept no liability for
> unauthorised use of their e-mail facilities or e-mails sent other than
> strictly for business purposes.
>=20
>=20
--=20
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.
--=20
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Re: command to check the database size ?
am 25.03.2010 14:49:02 von Khangelani Gama
SGkNCg0KSSBnZXQgdGhlIGZvbGxvd2luZyA6DQoNCmRiOTg3OT0jIFNFTEVD
VCBwZ19zaXplX3ByZXR0eShwZ19kYXRhY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