Re: what is the maximum number of rows in a table in postgresql 8.1 - Mailing list pgsql-performance

From Matthew
Subject Re: what is the maximum number of rows in a table in postgresql 8.1
Date
Msg-id Pine.LNX.4.64.0803261215300.20402@aragorn.flymine.org
Whole thread Raw
In response to Re: what is the maximum number of rows in a table in postgresql 8.1  ("sathiya psql" <sathiya.psql@gmail.com>)
List pgsql-performance
>> th maximum number of records in one PostreSQL table ist unlimited:
>
> am asking for good performance, not just limitation..
>
> If i have half a crore record, how the performance will be ?

How long is a piece of string?

It depends what you are doing, whether you have indexes, how the tables
are arranged, and how good the statistics are. Postgres has available to
it almost all of the best data handling algorithms, and generally it uses
them sensibly. Use the EXPLAIN tool to get Postgres to tell you how it
will execute a query. Read the manual.

We have people running databases with an arawb (thousand million) or more
rows without any significant performance problems. However, if you tell
Postgres to read the entire table (like doing SELECT COUNT(*) FROM table),
it will obviously take time.

Matthew

--
In the beginning was the word, and the word was unsigned,
and the main() {} was without form and void...

pgsql-performance by date:

Previous
From: PFC
Date:
Subject: Preparing statements on connection startup
Next
From: Marinos Yannikos
Date:
Subject: 1-/2-dimensional indexes for common columns, rationale?