Deltax76
Deltax76

Reputation: 14263

Database which increasea every month, which design strategy should I use?

I have a database that increases every month. The schema remains the same, so I think I use one of these two methods:

I must confess that I have no experiences about designing this kind of database. Which one should I use in real world?

Thank you so much

Upvotes: 0

Views: 67

Answers (2)

nate c
nate c

Reputation: 9005

Look into partitioning your table.

That way you can physically store the data on different disks for performance while logically it would be one table so your database stays well designed.

Upvotes: 1

user114600
user114600

Reputation:

20 000 rows per month is not a lot. Go with your first option. You didn't mention which database you'll be using, but SQL Server, Oracle, Sybase and PostgreSQL, to name just a few, can handle millions of rows comfortably.

You will need to investigate a proper maintenance plan, including indexing and statistics, but that will come with lots of reading and experience.

Upvotes: 2

Related Questions