Re: [PERFORM] how to optimize postgres 8.1

2006-09-30 Thread Markus Schaber
Hi, Gurkan, [EMAIL PROTECTED] wrote: > If I run the query below with informix, it gives cost=107. > with postgres with additional indexes it gives cost=407, before the additional > indexes it was even much slower What are your real timing measurements, in a produciton-like setup in a production-

Re: [PERFORM] how to optimize postgres 8.1

2006-09-29 Thread Tom Lane
[EMAIL PROTECTED] writes: > I need to increase performance on postgres, Well, for starters, have you ANALYZEd your tables? That EXPLAIN output looks suspiciously like default estimates. Then post EXPLAIN ANALYZE (not just EXPLAIN) results for your problem query. > If I run the query below with

[PERFORM] how to optimize postgres 8.1

2006-09-29 Thread gurkan
Hi, I am working on datamigration from older version of informix to postgres 8.1 I need to increase performance on postgres, since informix(older version,older hardware, little bigger DB data) is 4-5 times faster than postgres8.1 (new hardware, less DB data) My readings from Internet lead to me b