Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

DB Maintenance Plan - Optimization

$
0
0

The following is the DB Maintenance Plan and the configurations provided the production environment:

Reorganize data and index page (selected)
Change free space per page percentage to: 10% 
Remove unused space from database files
Shrink database when it grows beyong: 50 mb
Amount of free space to remain after shrink : 10% of the data space.
Schedule : Occurs every 1 week on Sunday 01 am

The above confguration done for few databases in the production env. The datafile and log files spread across Drive D and E.

When the job runs, it consumes a lot of space - which leads the Drive D and E - Space outage occurs.

The Drive D has 7 gb and E has 6 gd free space. The DB size is 24 gb.

Why this much of space 7 + 6 = 13 gb of space during the optimization job is running.

During this scenario all the other web application halt and lead to a critical state.

It error shows that "the xxxdb log is full and need to take the trn backup".

Then i have scheduled the log backup before this job starts.

Even then also the problem exists.

Techies, need your suggestion to resolve this issue. Please help. Thanks


MRVSFLY


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>