Chris Ruprecht <chris@xxxxxxxxxxxx> writes: > I was wondering if there is a way to pre-allocate tablespace on disk > before adding data and indexes. As others have already said, it's not clear there's a point in doing that with PostgreSQL. Now, you can achieve it and see for yourself by relying on OS tools, such as LVM of ZFS, or some other tricks. For example, create a big enough file, loop mount it as a device, and create your tablespace in there. Of course what to do exactly when the file is full is left as an exercise to the reader. Bonus points for any solution not involving downtime. Baseline: it seems that PostgreSQL works differently enough from your usual software than you may want to reconsider your habitsÂ:) Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin