Re: [PERFORM] Slow Delete : Seq scan instead of index scan

2012-10-16 Thread Filippos Kalamidas
the first thing you should probably do is run an 'analyze' on one of these tables and then run again the delete statement. if there are no stats for these tables, it's normal not to have very good plans. On Tue, Oct 16, 2012 at 11:24 AM, Sylvain CAILLET scail...@alaloop.comwrote: Hi Craig,

Re: [PERFORM] bad planning with 75% effective_cache_size

2012-04-15 Thread Filippos
could you try to set the statistics parameter to 1000 (ALTER TABLE SET STATISTICS) for these tables, then run analyze and try again? -- View this message in context: http://postgresql.1045698.n5.nabble.com/bad-planning-with-75-effective-cache-size-tp5620363p5642356.html Sent from the PostgreSQL

Re: [PERFORM] database slowdown while a lot of inserts occur

2012-03-29 Thread Filippos Kalamidas
can you post all the configuration parameters related to the I/O activity? plus, could you post some stats from 'iostat' when this is happening? thx On Thu, Mar 29, 2012 at 9:02 PM, Campbell, Lance la...@illinois.edu wrote: I forgot to mention that the slowdown in particular for other

Re: [PERFORM] set autovacuum=off

2012-02-27 Thread Filippos Kalamidas
yup there is. the parameter checkpoint_segments does not require a restart of the server, just a reload :) On Fri, Feb 24, 2012 at 12:54 AM, Alessandro Gagliardi alessan...@path.comwrote: On Thu, Feb 23, 2012 at 1:11 PM, Peter van Hardenberg p...@heroku.comwrote: My hunch is still that your

Re: [PERFORM] set autovacuum=off

2012-02-27 Thread Filippos Kalamidas
you might also consider increasing the wal_buffers value if it's still the default (64KB) BR

Re: [PERFORM] heavy load-high cpu itilization

2011-07-31 Thread Filippos
thx a lot for your answer. i will provide some stats, so if you could help me figure out the source of the problem that would be great -top -c Tasks: 1220 total, 49 running, 1171 sleeping, 0 stopped, 0 zombie Cpu(s): 84.1%us, 2.8%sy, 0.0%ni, 12.3%id, 0.1%wa, 0.1%hi, 0.6%si, 0.0%st Mem:

Re: [PERFORM] heavy load-high cpu itilization

2011-07-31 Thread Filippos
thx a lot for your answer. i will provide some stats, so if you could help me figure out the source of the problem that would be great -*top -c* Tasks: 1220 total, 49 running, 1171 sleeping, 0 stopped, 0 zombie Cpu(s): *84.1%us*, 2.8%sy, 0.0%ni, 12.3%id, 0.1%wa, 0.1%hi, 0.6%si,

[PERFORM] heavy load-high cpu itilization

2011-07-29 Thread Filippos
Dear all first of all congratulations on your greak work here since from time to time i 've found many answers to my problems. unfortunately for this specific problem i didnt find much relevant information, so i would ask for your guidance dealing with the following situation: we have a