Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Auto growth on Index file

Posted on 2013-01-14
1
Medium Priority
?
471 Views
Last Modified: 2013-01-15
I have a index data file which is currently 160 GBs and is fifty percent used.  It is on a 200 GB drive.  I have an index rebuild job that checks for fragmentation and if it's above 80 % it will rebuild.  Currently the file is growing but still continuing to have fifty percent space used.  I do not want this file to grow to fill up the 200 GB drive.  If I stop the auto growth and fix the file size to 160 GB, will it use the free space inside the file or will this create a problem?
0
Comment
Question by:navajo26354
1 Comment
 
LVL 27

Accepted Solution

by:
Chris Luttrell earned 2000 total points
ID: 38776628
Just stoping growth will not automatically cause it to use the space allocated and will eventually lead to an error on unable to grow file.
You may want to check your Fill Factor on indexes.  Check to see if you have any set to something other than the default (0)
SELECT * FROM sys.indexes I WHERE I.fill_factor > 0

Open in new window

If so you may be leaving space unused, see this link at MS about Index fill factor http://msdn.microsoft.com/en-us/library/ms177459.aspx
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question