浏览代码

Updated AID changelog and options file for v1.6.5.5

Pedro Lopes 8 年之前
父节点
当前提交
e337c0069d
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 3 1
      AdaptiveIndexDefrag/CHANGELOG.txt
  2. 3 0
      AdaptiveIndexDefrag/OPTIONS.md

+ 3 - 1
AdaptiveIndexDefrag/CHANGELOG.txt

@@ -120,4 +120,6 @@ v1.6.5 - 2/18/2017 - Fixed empty columnstore indexes being picked up;
 v1.6.5.1 - 3/3/2017 - Added custom threshold parameter for percent of changes needed to trigger statistics update, overriding default handling;
 			Added parameter for min rows to be considered with custom threshold parameter.
 v1.6.5.2 - 4/13/2017 - Lowered min threshold for @statsThreshold setting.
-v1.6.5.3 - 4/30/2017 - Fixed error in debug summary.
+v1.6.5.3 - 4/30/2017 - Fixed error in debug summary.
+v1.6.5.4 - 8/04/2017 - Fixed error where @minPageCount wasn't getting passed into @ColumnStoreGetIXSQL (by hitzand)
+v1.6.5.5 - 8/11/2017 - Added support for fixed sampling rate for statistics.

+ 3 - 0
AdaptiveIndexDefrag/OPTIONS.md

@@ -24,6 +24,9 @@
 - **@updateStats** defaults to 1 (updates stats when reorganizing) or optionally 0 (does not update stats when reorganizing).
 - **@updateStatsWhere** defaults to 0 (updates all stats in entire table) or optionally 1 (updates only index related stats). Even if you choose to update stats, and if the @scanMode option was NOT set in LIMITED mode, only those within certain thresholds will be updated. Refer to Statistical maintenance functionality (autostats) in SQL Server to check the defaults for auto-update statistics.
 - **@statsSample** defaults to NULL (performs a sample scan on the target table or indexed view where the database engine automatically computes the required sample size), or optionally FULLSCAN (all rows in table or view should be read to gather the statistics) or RESAMPLE (statistics will be gathered using an inherited sampling ratio for all existing statistics including indexes).
+- **@persistStatsSample** defaults to NULL (does nothing). Other options are 1 (turns ON fixed sampling rate) or 0 (turns OFF fixed sampling rate). 
+- **@statsThreshold** defaults to NULL (use default stats sample method same as TF2371). Any float number greater or equal to 0.001 and less than 100 uses custom stats sample.
+- **@statsMinRows** defaults to NULL, or optionally integer number that sets the min number of rows a table has to have to be considered for @statsThreshold use.		
 - **@ix_statsnorecomp** defaults to 0 (run with STATISTICS_NORECOMPUTE OFF). Refer to ALTER INDEX (Transact-SQL) for information on the option STATISTICS_NORECOMPUTE. Optionally use 1 (run with STATISTICS_NORECOMPUTE ON will disable the auto update statistics on index related statistics). If you are dealing with stats update with a custom job (or even with this code by updating statistics), you may use this option.
 - **@statsIncremental** defaults to NULL. When Incremental is ON, the statistics created are per partition statistics. When OFF, the statistics tree is dropped and SQL Server re-computes the statistics. This setting overrides the database level INCREMENTAL property.
 - **@dealMaxPartition** specifies whether to exclude the right-most populated partition (if an index is partitioned), or act only on that same partition, excluding all others. Typically, this is the partition that is currently being written to in a sliding-window scenario. Enabling this feature may reduce contention. This may not be applicable in other types of partitioning scenarios. Non-partitioned indexes are unaffected by this option. This parameter defaults to 0 (only right-most populated partition is defragmented). If the partition is smaller than @minPageCount, it won’t be considered. Other options are 1 (to exclude the right-most populated partition) or NULL (all partitions are defragmented).