From: Tom Lane <tgl@sss.pgh.pa.us>
To: huaxin zhang <uwcssa@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to change index cluster ratio?
Date: Tue, 06 Sep 2005 16:36:52 -0400
Message-ID: <20338.1126039012@sss.pgh.pa.us> (raw)
In-Reply-To: <f2f562510509061157484ea352@mail.gmail.com>
References: <f2f562510509041700369c30a8@mail.gmail.com>
<20050905004011.GA63674@winnie.fuhr.org>
<f2f562510509061157484ea352@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, uwcssa@gmail.com
Subject: Re: how to change index cluster ratio?
In-Reply-To: <20338.1126039012@sss.pgh.pa.us>
References: <f2f562510509041700369c30a8@mail.gmail.com> <20050905004011.GA63674@winnie.fuhr.org> <f2f562510509061157484ea352@mail.gmail.com> <20338.1126039012@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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