Solved

PostgreSQL database design for a large company

Posted on 2011-02-23
3
433 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
  • 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Read about achieving the basic levels of HRIS security in the workplace.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now