[PERFORM] TPC-C implementation for postgresql?

2010-01-21 Thread tmp
Does anyone know if there exists an open source implementation of the TPC-C benchmark for postgresql somewhere? -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance

[PERFORM] Query optimization

2008-11-30 Thread tmp
I am struggeling with the following query which fetches a random subset of 200 questions that matches certain tags within certain languages. However, the query takes forever to evaluate, even though I have a "limit 200" appended. Any ideas on how to optimize it? QUERY:

Re: [PERFORM] Query only slow on first run

2007-11-28 Thread tmp
The query's spending nearly all its time in the scan of "posts", and I'm wondering why --- doesn't seem like it should take 6400msec to fetch 646 rows, unless perhaps the data is just horribly misordered relative to the index. Which may in fact be the case ... Yes, they probably are. I use the