modglin
Programmer
- Apr 10, 2001
- 105
We have a canned program that recently went to SQL. They apparently did not do a good job of indexing everything before and it definately did not get any better.
They even separated out the indexes in the database so we have Program.mdf (28 gb)Program_indexes.mdf (21 gb) and Program_log.ldf (5 gb).
When people are updating information in the database it is locking files so that people running reports are having problems. I created a DTS package yesterday that right now is only taking 4 of the tables and copying them into a new database that the people running reports can use it (it will be a day behind in data, but that will be fine).
When I created the new database the mdf is now Product_Reports.mdf (4.9 gb) and Product_Reports_log.ldf (9.9 gb). I am thinking it is NOT normal to have an ldf about twice the size of the actual mdf.
Is there anything that I can do in the DTS package that would possibly reduce the size of the ldf file? (by the way we are on SQL2000)
They even separated out the indexes in the database so we have Program.mdf (28 gb)Program_indexes.mdf (21 gb) and Program_log.ldf (5 gb).
When people are updating information in the database it is locking files so that people running reports are having problems. I created a DTS package yesterday that right now is only taking 4 of the tables and copying them into a new database that the people running reports can use it (it will be a day behind in data, but that will be fine).
When I created the new database the mdf is now Product_Reports.mdf (4.9 gb) and Product_Reports_log.ldf (9.9 gb). I am thinking it is NOT normal to have an ldf about twice the size of the actual mdf.
Is there anything that I can do in the DTS package that would possibly reduce the size of the ldf file? (by the way we are on SQL2000)