Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I have an web application which stored record in the database. it has 50 to 60 tables but frequency of data storage is high only on 6 to 7 tables. other tables are like master table and have fix data. Now i have one more table for audit trial of these 6 to 7 tables and it stored each field value of table for insert , update and delete operation. So, basically this table grows on a large scale as compare to other tables.

However these audit trial data generally used less and only for back up / security purpose.

Now my query is if we apply proper select query when this audit trial data call than apart from large data (more memory size for mdf / ldf file) in the database , does it affect the overall performance of the application?
Posted

The answer is "it depends", on lots of factors such as how you're writing your code and exactly what you're doing with the data and how much of it. Are you setting up the SQL Server on the same machine as the application? Is it configured properly? Is your database constructed appropriately? Correct indexing? Is there any caching of data involved? The list of questions and possibilities is seemingly endless. There is really no way to give you a concrete answer.
 
Share this answer
 
Comments
Mehdi Gholam 16-Jun-15 0:24am    
Yes, 5'ed
ravikhoda 16-Jun-15 3:05am    
well these data will not generally called or used anywhere ..its only used by site admin to check in case normal user delete some data by mistake or update some wrong value for particular record. So basically the data only stored in that table using trigger but not load on any page by normal user. my concern is only that it will enter lots of record in that particular table and it will grow the size of the database. other tables of the database are indexed properly.
Dave Kreskowiak 16-Jun-15 8:22am    
If you're saying that you just have a bunch of data stored in a database and not being used very much at all and you're not really adding to it, then no, it won't affect the performance of your application.
ravikhoda 16-Jun-15 23:50pm    
Thanks
It should affect a little but not too much... If it does then apply proper indexes on the tables
 
Share this answer
 
If you are using gridview or loading all data in once than it will affect performance in that case you can use Custom paging.
 
Share this answer
 

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