Solved

PostgreSQL database design for a large company

Posted on 2011-02-23
3
447 Views
Last Modified: 2012-05-11
We are going to design database for a large company with multi branches. I am using PostgreSQL

For example,

I create a single database for all branches. After 10 years, database size is too large.
I want to know ,at that time, the performance of the database is reduced or not.

Is it possible to maintain in a single database for all years of data?


0
Comment
Question by:gloier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
MrNed earned 334 total points
ID: 34966884
When considering single versus multiple databases think about what your requirements for backups, reporting, syncronisation, hosting etc. Personally I would lean towards a single larger database in any situation, any newer versions of PostgreSQL are getting better at handling larger databases.

Do you have any forecasts regarding data volumes, rate of growth etc?
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 166 total points
ID: 34979948
It is important to know what clients you are using.
i.e JDBC, ODBC, ADO, PHP or all

I would propose slony for two or more slony-replicated databases.
Then you can backup slave database without any influence on master.

You need to do some database housekeeping every week or so. Classically it is vacuuming, but since that happens now automatically you might need to massively delete e.g connection logs etc.

If you use JDBC and C-JDBC you just run as many independent database servers as needed and C-JDBC driver sends updates to all and balances queries for better performance. Similar facilities are achievable with PHP and others.
0
 
LVL 7

Assisted Solution

by:MrNed
MrNed earned 334 total points
ID: 34985446
If you implement any replication such as slony/pgpool make sure you understand their limitations and the complexities involved.

And FYI, trying to design your system to still be viable in 10 years time is extremely optimistic :)
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question