I am having a problem with truncating all tables in the database on my local machine running Ubuntu 10.09 and Postgresql 9.0 on ext4 fs.
Truncating empty database with 56 tables require about 7 seconds while all my coworkers have a performance about 1 second.
I am truncating all tables with one command. Tables is fully covered with foreign keys.
Does any one know this issue?
I’m guessing than your co-workers have write cache enabled on their disks or
fsyncdisabled in Postgres configuration.