pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anibal David Acosta <aa@devshock.com>
To: pgsql-performance@postgresql.org
Subject: how fast index works?
Date: Tue, 6 Sep 2011 14:31:33 -0400
Message-ID: <001501cc6cc3$3649a3c0$a2dceb40$@devshock.com> (raw)

Hi everyone, 

 

My question is, if I have a table with 500,000 rows, and a SELECT of one row
is returned in 10 milliseconds, if the table has 6,000,000 of rows and
everything is OK (statistics, vacuum etc) 

can i suppose that elapsed time will be near to 10?

 

 

 

 

view thread (7+ messages)  latest in thread

Message-ID: <001501cc6cc3$3649a3c0$a2dceb40$@devshock.com>
Permalink:  ../001501cc6cc3$3649a3c0$a2dceb40$@devshock.com/
Also on:    postgresql.org/message-id/001501cc6cc3$3649a3c0$a2dceb40$@devshock.com

 · 

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: pgsql-performance@postgresql.org
  Cc: aa@devshock.com
  Subject: Re: how fast index works?
  In-Reply-To: <001501cc6cc3$3649a3c0$a2dceb40$@devshock.com>

* 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