Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please tell me if frequently I am inserting data in table of MSsql approx 25000 records per day, and total rows in a table are 25,00,000. So in this case is any chance of loss or fail to insert data in sql table/database ????
Posted
Comments
Reiss 6-Sep-11 5:54am    
I can't stress this enough, but make sure your that all indexes and stored procedures are properly maintained otherwise your db perfromance will suffer.

As a minimum always recompile your sp's if you change any of the indexes/statistics for pre SQL 2008

Sql server is unlimited by row count, although if you are using int primary keys you are limited to 4 billion rows before you can't access them.

The main limit is when you are using Sql Express which is limited to 4gb database file (2008 has up'ed it to 10gb).
 
Share this answer
 
Comments
Wendelius 6-Sep-11 6:22am    
Exactly, my 5
As Mehdi pointed out, there's plenty of room, at least if you use Standard or Enterprise Edition.

Few things to note:
- the risk of data loss isn't dependent on the amount of data. You always have the risk, prepare for it
- create a good backup plan and implement it
- ensure that the performance is adequate even with high workload, concentrate on reasonable indexing
- if lots of rows are queried, ensure that you have enough memory
- take care of sql reusing
 
Share this answer
 
Comments
Mehdi Gholam 6-Sep-11 11:52am    
Great additions, 5 also
Wendelius 6-Sep-11 12:42pm    
Thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900