Re: What determines the cost of an index scan?

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Christian Schröder <cs(at)deriva(dot)de>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: What determines the cost of an index scan?
Date: 2009-01-04 20:47:30
Message-ID: 8763kuu7bx.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Schröder <cs(at)deriva(dot)de> writes:

> Where does this difference come from? Pure cpu performance? Do the additional
> fields in the productive database have an impact on the performance? Or do I
> miss something?

Sure, more data takes more time to process.

Other factors which could affect it is how much dead space is in the table due
to previous updates and deletes, as well as how fragmented the indexes have
become over time.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's 24x7 Postgres support!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-01-04 23:28:14 Re: SPI_ERROR_CONNECT in plperl function
Previous Message Christian Schröder 2009-01-04 20:18:27 SPI_ERROR_CONNECT in plperl function