Re: [PERFORM] Problems with FTS

2011-11-20 Thread Rauan Maemirov
The problem has returned back, and here's the results, as you've said it's faster now: SET enable_seqscan=off; EXPLAIN ANALYZE SELECT "v"."id", "v"."title" FROM "video" AS "v" WHERE (v.active) AND (v.fts @@ 'dexter:A|season:A|seri:A|декстер:A|качество:A|сезон:A|серия:A'::tsquery and v.id <> 500563

Re: [PERFORM] external sort performance

2011-11-20 Thread Jeremy Harris
On 2011-11-20 15:00, Jon Nelson wrote: Do you happen to recall if disk I/O is counted as user or system time? Neither, traditionally. Those times are cpu times; they only account for what the cpu was doing. The disks could be working in parallel as a result of cpu actions, and probably were -

Re: [PERFORM] external sort performance

2011-11-20 Thread Jon Nelson
On Sun, Nov 20, 2011 at 7:56 AM, Jeremy Harris wrote: > On 2011-11-17 17:10, Jon Nelson wrote: >> >> external sort ended, 7708696 disk blocks used: CPU 359.84s/57504.66u >> sec elapsed 58966.76 sec >> >> Am I to understand that the CPU portion of the sorting only took 6 >> minutes but the sort its

Re: [PERFORM] external sort performance

2011-11-20 Thread Jeremy Harris
On 2011-11-17 17:10, Jon Nelson wrote: external sort ended, 7708696 disk blocks used: CPU 359.84s/57504.66u sec elapsed 58966.76 sec Am I to understand that the CPU portion of the sorting only took 6 minutes but the sort itself took almost 16.5 hours and used approx 60GB of disk space? I real