You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Once SQL defrag manager analyzes the registered instances and databases, you can use the Fragmentation Explorer tab to view the latest analysis information. SQL defrag manager displays the analysis details for the objects in the selected database object. For example, if you select a table, SQL defrag manager displays the analysis details for each index on that table.

You should regularly monitor fragmentation levels on indexes and schedule SQL defrag manager to analyze database fragmentation. Use the scheduled analysis to identify specific fragmentation levels before defining your policies to automatically reorganize or rebuild indexes.

Access the Fragmentation Explorer

To display the Fragmentation Explorer, click the Fragmentation Explorer tab of the SQL defrag manager Console.

About the icons and fragmentation statistics

You can mouse over any icon to display a tip that identifies what that icon represents. The fragmentation statistics include:

Average Fragmentation

Displays the total fragmentation of all indexes on the associated object and the objects contained divided by the total number of indexes on those objects. This calculation is weighted based on the size of each index. For example, if you have three similar-sized indexes with 10%, 10%, and 70% fragmentation levels respectively, this value is 90% divided by three, which is 30%. The logical fragmentation level for each index is the percentage of out-of-order pages in that index when the index was last analyzed.

The Average Fragmentation value can help identify critical fragmentation levels as you drill-down to details on individual tables and indexes. You can compare logical fragmentation levels across indexes to identify hot spots. You may see performance gains after defragmenting indexes with as little as 10% fragmentation. In general, consider defragmenting indexes with 20% or more fragmentation.

Pages Read

Displays the total number of pages used by the associated object and the objects it contains. For example, when you view this value for a database, it displays the total number of pages used by the database, including all pages used by all the tables and indexes in that database.

Fragmentation impacts disk I/O. Since larger indexes are less likely to be cached by SQL Server, fragmentation impacts the performance of large indexes more than small indexes. In general, focus on indexes with 1,000 pages or more.

Pages Per Fragments

Displays the average number of pages per fragment. This value is the total number of pages identified by the Pages Read value divided by the number of those pages that are not in logical order.

Page Density

Displays how much data is stored in the pages, identified by the Pages Read value, compared to the maximum amount of data that can be stored in those pages. Only a thorough analysis collects or updates this information. If no page density information has been collected for these pages, this value is set to N/A (not available).

Low page density can cause SQL Server to read more pages than necessary when using an index, such as when performing a query. When data is initially stored on the pages, SQL Server uses the fillfactor value to determine how much data to store on each page. At this point, page density is relatively high, but the page density becomes lower as data is inserted and pages are split to make room for the additional data. SQL defrag manager can reorganize or rebuild indexes to increase page density and reduce the number of reads when using the index.

Indexes

Displays the total number of indexes on the associated object and the objects it contains.

About the Snow/Hide filter

The Show/Hide filter options allow you to refine which objects SQL defrag manager displays on the Fragmentation Explorer tab. When you clear the check box for a group of objects, such as the Excluded check box, SQL defrag manager does not display those objects and updates the displayed fragmentation statistics, such as Average Fragmentation and Relative Fragmentation to not include those objects.

The Criteria option defines which objects are represented by the Excluded group. If you clear the Excluded check box, SQL defrag manager does not display objects that match the specified criteria.

Performing actions on individual tables or indexes

In addition to analyzing and defragmenting objects from the database or instance level, this window allows you to analyze and defragment individual objects, such as specific tables and indexes. When you right-click an object in the navigation tree, the context menu provides several options.

To analyze or defragment a specific table:

  1. In the navigation tree, click the database that contains the table you want to analyze or defragment.
  2. In the right pane, click the Analyze or Defragment option in the panel for the table you want to analyze or defragment.
  3. Select the analysis or defragmentation type you want to perform.

Canceling an activity

When an activity is running, SQL defrag manager displays Cancel Activity in the lower left-hand corner of the status bar. To cancel an activity, click Cancel Activity while the activity runs.

Need more help? Search the IDERA Customer Support Portal

  • No labels