[PERFORM] Vacuum full considered useful ;)

2007-07-14 Thread Patric de Waha
60 gigabyte of diskspace. Now after a fresh import it only has 5 gigabyte! No wonder, I got IO problems with such a fragmentation. For people not very familiar with postgres especially those coming from mysql, i'd recommend paying attention to this. regard

Re: [PERFORM] Two questions.. shared_buffers and long reader issue

2007-07-11 Thread Patric de Waha
Ok thanks. iostat confirmed it's an IO bottleneck. Will add some discs to the RAID unit. Used 4 Raptor discs in Raid 10 until now. best regards, patric Tom Lane wrote: Patric de Waha <[EMAIL PROTECTED]> writes: Postgres is running on a dedicated server P4 DualCore

[PERFORM] Two questions.. shared_buffers and long reader issue

2007-07-11 Thread Patric de Waha
Hi, I've two questions for which I not really found answers in the web. Intro: I've a Website with some traffic. 2 Million queries a day, during daylight. Postgres is running on a dedicated server P4 DualCore, 4 Gig Ram. Mainly updates on 1 tuple. And more or less complex SELECT stat

[PERFORM] Delete Cascade FK speed issue

2007-07-02 Thread Patric de Waha
Hi, I've dbase with about 80 relations. On deleting a user, this cascades through all the tables. This is very slow, for 20 users it takes 4 hours, with exclusive access to the dbase. No other users connected to the dbase. Ok I know there will be somewhere a relation with a FK wi