From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | Tomasz Myrta <jasiek(at)klaster(dot)net> |
Cc: | pgsql-performance(at)postgresql(dot)org, <pgsql-sql(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [SQL] 7.3.1 index use / performance |
Date: | 2003-01-07 16:21:19 |
Message-ID: | Pine.LNX.4.44.0301071410270.8183-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance pgsql-sql |
On Tue, 7 Jan 2003, Tomasz Myrta wrote:
> Maybe it is not an answer to your question, but why don't you help
> Postgres by yourself?
Thanx,
i dont think that the issue here is to help postgresql by myself.
I can always stick to 7.2.3, or use indexes that 7.3.1 will
acknowledge, like noonf_vcode_date on noon (v_code,report_date).
(unfortunately when i create the above noonf_vcode_date index, it is only
used until
the next vacuum analyze, hackers is this an issue too???),
but these options are not interesting from a postgresql perspective :)
> For this kind of queries it's better to drop index on report_date - your
> report period is one year and answer to this condition is 10% records (I
> suppose)
I cannot drop the index on the report_date since a lot of other queries
need it.
> It would be better to change 2 indexes on v_code and rotation into one
> index based on both fields.
> What kind of queries do you have? How many records returns each "where"
> condition? Use indexes on fields, on which condition result in smallest
> amount of rows.
>
> Regards,
> Tomasz Myrta
>
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-10-8981112
fax: +30-10-8981877
email: achill(at)matrix(dot)gatewaynet(dot)com
mantzios(at)softlab(dot)ece(dot)ntua(dot)gr
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-01-07 16:29:48 | Re: [SQL] [PERFORM] 7.3.1 index use / performance |
Previous Message | Dan Langille | 2003-01-07 16:04:04 | Re: [pgsql-advocacy] www.postgresql.org |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-01-07 16:29:48 | Re: [SQL] [PERFORM] 7.3.1 index use / performance |
Previous Message | Achilleus Mantzios | 2003-01-07 15:39:57 | 7.3.1 index use / performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Galbavy | 2003-01-07 16:25:43 | Re: weighting (the results of) a query ? |
Previous Message | Tom Lane | 2003-01-07 16:14:30 | Re: weighting (the results of) a query ? |