From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
Cc: | "Tomasz Myrta" <jasiek(at)klaster(dot)net>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-sql(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: [SQL] can i make this sql query more efficiant? |
Date: | 2003-04-04 19:26:14 |
Message-ID: | 200304041126.14530.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance pgsql-sql |
Manfred,
> I'd be honestly interested in the circumstances where you made that
> observation.
Hmmmm ... one of my database involves a "crosstab" converstion where there
were 13 possible values, and the converted table is heavily indexed. For
that case, I found using CASE statements to be slower.
For your example, how do the statistics change if you increase the number of
levels to 15 and put an index on them?
--
-Josh Berkus
Aglio Database Solutions
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2003-04-04 19:27:16 | Re: [PERFORM] OSS database needed for testing |
Previous Message | Lamar Owen | 2003-04-04 19:08:31 | Re: [PERFORM] OSS database needed for testing |
From | Date | Subject | |
---|---|---|---|
Next Message | Raj Arya | 2003-04-04 19:57:17 | unsubscribe |
Previous Message | Manfred Koizar | 2003-04-04 19:03:08 | Re: [SQL] can i make this sql query more efficiant? |