Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CAF56475E1F for ; Wed, 8 Jan 2003 00:33:17 -0500 (EST) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by postgresql.org (Postfix) with ESMTP id 3027F475C9E for ; Wed, 8 Jan 2003 00:33:17 -0500 (EST) Received: from Meshulum ([162.83.186.104]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030108053321.GPEF21001.pop015.verizon.net@Meshulum> for ; Tue, 7 Jan 2003 23:33:21 -0600 Content-Type: text/plain; charset="us-ascii" From: mitchell laks Reply-To: mlaks@bellatlantic.net To: pgsql-admin@postgresql.org Subject: where is the database physically Date: Wed, 8 Jan 2003 00:32:08 -0500 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301080032.08423.mlaks@bellatlantic.net> X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [162.83.186.104] at Tue, 7 Jan 2003 23:33:21 -0600 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/62 X-Sequence-Number: 6904 Hi. Thank you all for your thoughful comments, Philo and Jeremy. One questi= on=20 wasn't addressed (mixed in with the mess of comments, my fault...). Where is the database located physically - i guess /var/lib/pgsql but how i= s=20 it broken into files. For instance in mysql, i find the directory=20 /var/lib/mysql has subdirectories labled for the databases and with files i= n=20 the corresponding directories "representing" the tables in the database. I= =20 know that postgresql is more sophisticated, but how does it store those=20 tables and databases? Why would I want to know? I just copied a huge amount of data to a postgres= ql=20 database - some tables have as more than 500,000 entries. Now I need to=20 monitor the size of this database as it fills the harddrive. For instance, the default install appears to be in the /var directory ( b= y=20 looking at the output of df, i happen to have a separate partition mounted = as=20 /var, which agrees with the postgres user having the /var/lib/pgsql as her= =20 home. If it was not a separate partition, i might have trouble sorting out= =20 the growth of teh database from the growth of the files on my computer. Another reason to look at the files is to guess how much space to expect th= e=20 backup files will take up, when i do my backups (like in the next few days)= .=20 I just havent found the answer in the documentation. Thanks you all. The program is just amazing. Yes it was funny that my last posting had don't kill the postman on the=20 bottom. I promise i had nothing to do with it! :).=20 MItchell