473,405 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

clarification of postgres limitations

mbc
According to the official documentation:

-------------------------------------------------------------------------

Limitations of PostgreSQL
Maximum size for a database unlimited (4 TB databases exist)
Maximum size for a table 16 TB on all operating systems
Maximum size for a row 1.6 TB
Maximum size for a field 1 GB
Maximum number of rows in a table unlimited
Maximum number of columns in a table 250 - 1600 depending on column types
Maximum number of indexes on a table unlimited

Of course, these are not actually unlimited, but limited to available disk
space and memory/swap space. Performance may suffer when these values get
unusually large.

The maximum table size of 16 TB does not require large file support from
the operating system. Large tables are stored as multiple 1 GB files so file
system size limits are not important.

The maximum table size and maximum number of columns can be increased if
the default block size is increased to 32k.

-------------------------------------------------------------------------

Since it seems that the location of the server's data store is bound to a
single directory, a database cannot span across multiple file systems.
Further, does it imply that the maxiumum size of a database cannot exceed
the maximum size of the underlying file system?
--
"Nothing is either good or bad, but thinking makes it so." -- Shakespeare
--
Myron B Cheung (Soliton Associates) mailto: mb*@soliton.com

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #1
3 4712
On Thursday 04 March 2004 12:35, mb*@soliton.com wrote:

Limitations of PostgreSQL
Maximum size for a database unlimited (4 TB databases exist)
Maximum size for a table 16 TB on all operating systems Since it seems that the location of the server's data store is bound to a
single directory, a database cannot span across multiple file systems.
Further, does it imply that the maxiumum size of a database cannot exceed
the maximum size of the underlying file system?


If you're planning on having a database larger than your file-system supports,
you might want to consider a different file-system. However...

Each object (table, index) is stored in a separate file (more than one if
split at 1GB). Some people use symlinks to move various files/directories to
different locations. For example, to move the write-ahead-log to a different
set of disks from the main DB files.

Tablespaces are being worked on at the moment, so there is a good chance they
will be in 7.5

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #2
On Thu, 4 Mar 2004 mb*@soliton.com wrote:
Since it seems that the location of the server's data store is bound to a
single directory, a database cannot span across multiple file systems.
Further, does it imply that the maxiumum size of a database cannot exceed
the maximum size of the underlying file system?


With 7.5 you'll be able to easily put database structures on more than one
file system.

As of 7.x series, the initlocation script allowed you to put individual
databases within a cluster on different storage points:

http://www.postgresql.org/docs/7.4/s...nate-locs.html
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 23 '05 #3
mbc
This is very good news. Thank you very much.

On Thu, Mar 04, 2004 at 10:49:49AM -0700, scott.marlowe wrote:
From: "scott.marlowe" <sc***********@ihs.com>
Subject: Re: [GENERAL] clarification of postgres limitations
To: mb*@soliton.com
cc: pg***********@postgresql.org
Date: Thu, 4 Mar 2004 10:49:49 -0700 (MST)
Message-ID: <Pi**************************************@css120.i hs.com>

On Thu, 4 Mar 2004 mb*@soliton.com wrote:
Since it seems that the location of the server's data store is bound to a
single directory, a database cannot span across multiple file systems.
Further, does it imply that the maxiumum size of a database cannot exceed
the maximum size of the underlying file system?


With 7.5 you'll be able to easily put database structures on more than one
file system.

As of 7.x series, the initlocation script allowed you to put individual
databases within a cluster on different storage points:

http://www.postgresql.org/docs/7.4/s...nate-locs.html


--
"Nothing is either good or bad, but thinking makes it so." -- Shakespeare
Myron B. Cheung Soliton Inc.

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Tim Clacy | last post by:
I was advised in a recent thread that, because one of the compilers that I use does not support 'namespace', I should not use this group but ask elsewhere; perhaps...
3
by: N.K. | last post by:
Hi, I've just installed postgres on the Linux server. It is supposed to start automatically which I think it does since I can run an sql stmt right away. When I'm trying to connect from a remote...
7
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had...
3
by: warwick.poole | last post by:
I am interested in finding out about Enterprise scale Postgres installations and clustering, especially on Linux. Essentially I would like to know the possibility that Postgres can store the...
18
by: Joe Lester | last post by:
This thread was renamed. It used to be: "shared_buffers Question". The old thread kind of died out. I'm hoping to get some more direction by rephrasing the problem, along with some extra...
10
by: Hank | last post by:
We have just recently migrated the data from our Access 2000 backend to Postgres. All forms and reports seem to run correctly but, in many cases, very slowly. We do not want to switch over until...
2
by: varathasiva | last post by:
Dear All, Hw to use the replication concept in postgres sql.Pls help for me. With Regards Siva
1
by: Jack Orenstein | last post by:
I'm trying to configure PHP 5.2.0 with support for Postgres 8.1.3. Postgres was installed with FC5 without source. PHP's configure needs source. When I run configure: configure: error: Cannot...
0
by: NM | last post by:
Hello, I've got a problem inserting binary objects into the postgres database. I have binary objects (e.g. images or smth else) of any size which I want to insert into the database. Funny is it...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.