Re: [ADMIN] [SQL] database & table size

2003-06-24 Thread Stephan Szabo
On Wed, 25 Jun 2003, Anagha Joshi wrote: > 4. the file '2078989' corresponds to 'cdrrec' file (table) > > $ ls -l 2078989 > -rw--- 1 postgres postgres 2359296 Jun 24 17:18 2078989 > > This means table 'cdrrec' takes approx. 2030.2626953125 KB i.e. approx. > 2MB > > Table is like

[ADMIN] database & table size

2003-06-24 Thread Anagha Joshi
Title: database & table size Hello , Here is something I’ve found related to database & table size My databse name is ’test’ and table name is ‘cdrrec’. 1.  Following will give oids & database test=# select datname, oid from pg_database;    datname   |   oid -+-

[ADMIN] Need help/suggestions with backup/restore of database tables.

2003-06-24 Thread Chris White (cjwhite)
I have four tables in a database which reference all the large objects in the database. I need to backup and restore these 4 tables and the large objects independently of the other tables in the database. pg_dump only allows me to dump the whole database, if I want to dump the large objects. I kno

Re: [ADMIN] locking all databases

2003-06-24 Thread scott.marlowe
On Tue, 24 Jun 2003, Michiel Lange wrote: > Hello everybody, > > I wondered if it was possible to make all databases quiet for a while (e.g. > for a dump) so there are no updates in any database during that time? But > all transactions get into the before image, instead of being commited, > un