Viewing 12 posts - 31 through 42 (of 42 total)
CI is 3 columns -- 2 int and 1 datetime
January 18, 2012 at 4:22 pm
no varchar(max), guid, etc -- all int, datetime, and decimal/numeric
January 18, 2012 at 4:21 pm
yes, all indexes
the filegroup referenced in my original post contains only a table and its clustered index, the non-clustered indexes are in another filegroup
January 18, 2012 at 3:26 pm
(just for the db in question, across all filegroups)
DataFileSizeMB889676.125
DataUsedMB507716
DataFreeMB381960.125
DataFreePercent42.93
LogFileSizeMB1024.492188
LogFileUsedMB49.36621094
LogFreeSizeMB975.1259766
LogUsedPercent4
LogFreePercent96
January 18, 2012 at 8:49 am
ok, back to my original issue:
why would this file, which is 50% empty, keep growing? Is it due to the index rebuild alone needing to use all 50%+ (to...
January 17, 2012 at 4:23 pm
DBCC SHRINKFILE ... , TRUNCATEONLY
on the file in question itself, not the log
your'e confisuing it with:
BACKUP LOG ... WITH TRUNCATE_ONLY
January 17, 2012 at 3:19 pm
re: index rebuild causing autogrow -- maybe, but I would think it would utilize the unused space first before growing
January 17, 2012 at 2:28 pm
am I correct in that TRUNCATEONLY does not move data, only frees unused space from the end of the file?
January 17, 2012 at 2:27 pm
correction, there is a daily shrink with TRUCNATEONLY, dont know what that does to file size if anything, but the overall trend is for growth
January 17, 2012 at 2:22 pm
(variation on your query)
SELECT un.name, ung.groupname , si.indid
FROM sysobjects un INNER JOIN sysindexes si ON un.id=si.id
INNER JOIN sysfilegroups ung ON si.groupid=ung.groupid
WHERE ung.groupname = ...
name (table)
...
January 17, 2012 at 2:01 pm
Viewing 12 posts - 31 through 42 (of 42 total)