My guess is you need to vacuum. Try a vacuumdb -a. On Sun, Sep 25, 2005 at 03:46:38AM +0300, Sterpu Victor wrote: > I use postgresql 7.4.8. > I need te delete and recreate a database very ofent, because I do some > tests in it. > After a few months the command createdb becamed very slow. > > How can I make it go fast again? > Thank you. > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@xxxxxxxxxxxxx Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match