Re: [ADMIN] Size on Disk

2003-11-26 Thread Michal Zaborowski
Hello, Try SQlite. It is small DB with SQL 92 standard - almost implemented. If you need something fast and small it is just for you. BTW: it is embadded system, so concurency... is not in the focus ;) -- Regards Michal Zaborowski (TeXXaS) http://sqlite4delphi.sourceforge.net/ ---

Re: [ADMIN] Size on Disk

2003-11-26 Thread Oli Sennhauser
Hello SELECT CASE WHEN ((SELECT class3.relname FROM pg_class class3, pg_index WHERE ((class1.oid = pg_index.indexrelid) AND (class3.oid = pg_index.indrelid))) IS NOT NULL) THEN (SELECT class3.relname FROM pg_class class3, pg_index WHERE ((class1.oid = pg_index.indexrelid) AND (class3.oid = pg_inde

Re: [ADMIN] Size on Disk

2003-11-25 Thread Tom Lane
Grzegorz Dostatni <[EMAIL PROTECTED]> writes: > Currently the datase is roughly 80 Megs. About half of > the size is stored in pg_xlog directory. I managed to > figure out that those files are transaction log files? > How can I delete them safely? You can NOT. Don't even think about going there.

Re: [ADMIN] Size on Disk

2003-11-25 Thread Grzegorz Dostatni
Thank you for your very quick response Chester. I guess I should clarify something. Knoppix is a version of linux that runs entirely in memory. I need as smallest footprint as possible. Currently the datase is roughly 80 Megs. About half of the size is stored in pg_xlog directory. I managed to fi

Re: [ADMIN] Size on Disk

2003-11-25 Thread Chester Kustarz
you do not mention which version of postgresql or which files are problematic, but just guessing: - log/checkpoint files: http://www.varlena.com/GeneralBits/Tidbits/perf.html - index files: see "reindex" command - table files: see FSM settings and vacuum more, or vacuum full (contrib/pg_autovacuu

[ADMIN] Size on Disk

2003-11-25 Thread Grzegorz Dostatni
Hello. I am working on a Knoppix distribution of my program. I do have it working, but the size of the database on disk is becoming a factor. (I copy it to ramdisk before starting postmaster). How can I change (minimize) the size of the db on disk? Are there any parameters I can set? Maybe limit