Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Ola script Query

$
0
0

Hi All,

we have a sql instance that runs on a standard edition, hence we cannot do an index online rebuild nor we would do an offline rebuild, we just want to perform and index reor.

Is this ok if we change it to below to only perform an index reorg?
@FragmentationMedium nvarchar(max) = 'INDEX_REORGANIZE',
@FragmentationHigh nvarchar(max) = 'INDEX_REORGANIZE',


and can someome please explain below if we do UpdateStatistics ALL, we dont have to set this @OnlyModifiedStatistics to 'Y'

@UpdateStatistics nvarchar(max) = 'ALL',
@OnlyModifiedStatistics nvarchar(max) = 'N',

Thanks

Ola
@Databases nvarchar(max),
@FragmentationLow nvarchar(max) = NULL,
@FragmentationMedium nvarchar(max) = 'INDEX_REORGANIZE',
@FragmentationHigh nvarchar(max) = 'INDEX_REORGANIZE',
@FragmentationLevel1 int = 5,
@FragmentationLevel2 int = 30,
@PageCountLevel int = 1000,
@UpdateStatistics nvarchar(max) = NULL,
@OnlyModifiedStatistics nvarchar(max) = 'N',


Thanks



Viewing all articles
Browse latest Browse all 1519

Trending Articles



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