public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jeff Janes <[email protected]>
To: Wei Shan <[email protected]>
Cc: Andreas Kretschmer <[email protected]>
Cc: [email protected] list <[email protected]>
Subject: Re: Query not using Index
Date: Sun, 27 Mar 2016 12:20:36 -0700
Message-ID: <CAMkU=1yoZ8g6ozqpSmY_FyhmcPkUCwOGRhoQBp4BR6uFzB3ogQ@mail.gmail.com> (raw)
In-Reply-To: <CAFe9ZTqrhz0h8EPspU=CUuk89i8k+HWf8igj+f5-47YCz+3aaw@mail.gmail.com>
References: <CAFe9ZToU+EUF3mBqFRstV62T4giivPXKTCZp5dgOj2R1gObJjQ@mail.gmail.com>
<20160326141346.GA32059@tux>
<CAFe9ZTqrhz0h8EPspU=CUuk89i8k+HWf8igj+f5-47YCz+3aaw@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-performance>
On Sun, Mar 27, 2016 at 9:12 AM, Wei Shan <[email protected]> wrote:
> Hi Andreas,
>
> The tablespace is not on SSD although I intend to do it within the next
> week. I actually tried reducing the random_page_cost to 0.2 but it doesn't
> help.
Setting random_page_cost to less than seq_page_cost is nonsensical.
You could try to increase cpu_tuple_cost to 0.015 or 0.02
Cheers,
Jeff
--
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Query not using Index
In-Reply-To: <CAMkU=1yoZ8g6ozqpSmY_FyhmcPkUCwOGRhoQBp4BR6uFzB3ogQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox