pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how to change index cluster ratio?
2+ messages / 2 participants
[nested] [flat]

* how to change index cluster ratio?
@ 2005-09-06 18:57 huaxin zhang <uwcssa@gmail.com>
  2005-09-06 20:36 ` Re: how to change index cluster ratio? Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: huaxin zhang @ 2005-09-06 18:57 UTC (permalink / raw)
  To: pgsql-admin

I am using 8.0.3

One problem I found is that even if I specify to create a clustered index by
"cluster idx_name on table_name",  I still can not tell the optimizer that the
index of "idx_name" is a clustered index with "index correlation" value as 1.0
(traced from the cost_index() in costsize.c)

so where is the "index correlation" information stored and how can i update it?

thanks
Huaxin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: how to change index cluster ratio?
  2005-09-06 18:57 how to change index cluster ratio? huaxin zhang <uwcssa@gmail.com>
@ 2005-09-06 20:36 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2005-09-06 20:36 UTC (permalink / raw)
  To: huaxin zhang <uwcssa@gmail.com>; +Cc: pgsql-admin

huaxin zhang <uwcssa@gmail.com> writes:
> One problem I found is that even if I specify to create a clustered index by
> "cluster idx_name on table_name",  I still can not tell the optimizer that the
> index of "idx_name" is a clustered index with "index correlation" value as 1.0
> (traced from the cost_index() in costsize.c)

The next ANALYZE should figure that out.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-09-06 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-06 18:57 how to change index cluster ratio? huaxin zhang <uwcssa@gmail.com>
2005-09-06 20:36 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox