pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: mallah@trade-india.com
To: rbt@rbt.ca
Cc: pgsql-admin@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [pgsql-performance] Is dump-reload the only cure?
Date: Fri, 1 Nov 2002 20:11:22 +0530 (IST)
Message-ID: <1040.203.145.130.142.1036161682.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <1036159864.5794.5.camel@jester>
References: <1584.203.145.130.142.1036149343.squirrel@mail.trade-india.com>
<1036155160.3550.8.camel@jester>
<1062.203.145.130.142.1036155816.squirrel@mail.trade-india.com>
<1036159864.5794.5.camel@jester>
Thanks for the insight Rod.
is there any other place i can know more abt these principles?
But if the table is clustered then the pages are stored catagiously
with respect to that column rite?
> On Fri, 2002-11-01 at 08:03, mallah@trade-india.com wrote:
>>
>> Hi Rod ,
>>
>> Does it means that index scan is used for less frequenlty occuring data? yes my table was not
>> clustered.
>>
>> can u tell me what does 0.00..6788.24 and rows and width means?
>>
>> in explain out put cost=0.00..6788.24 rows=30001 width=4
>>
>>
>> I have one more table where i face the similar problem , i have not dump - reloaded it yet ,
>> will post again if i face the problem.
>
> Keep in mind that an index scan is very expensive in regards to a single tuple. It has to run
> through (fetch) the index pages, then fetch the pages from the table. Since the table fetches
> are random, the harddrive will probably incur a seek for each tuple found in the index. The
> seeks add up much quicker than a sequential scan (without nearly as many seeks or drive head
> movements).
>
> --
> Rod Taylor
-----------------------------------------
Get your free web based email at trade-india.com.
"India's Leading B2B eMarketplace.!"
http://www.trade-india.com/
view thread (9+ messages) latest in thread
Message-ID: <1040.203.145.130.142.1036161682.squirrel@mail.trade-india.com> Permalink: ../1040.203.145.130.142.1036161682.squirrel@mail.trade-india.com/ Also on: postgresql.org/message-id/1040.203.145.130.142.1036161682.squirrel@mail.trade-india.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 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: mallah@trade-india.com, rbt@rbt.ca, pgsql-performance@postgresql.org Subject: Re: [pgsql-performance] Is dump-reload the only cure? In-Reply-To: <1040.203.145.130.142.1036161682.squirrel@mail.trade-india.com> References: <1584.203.145.130.142.1036149343.squirrel@mail.trade-india.com> <1036155160.3550.8.camel@jester> <1062.203.145.130.142.1036155816.squirrel@mail.trade-india.com> <1036159864.5794.5.camel@jester> <1040.203.145.130.142.1036161682.squirrel@mail.trade-india.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