Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 218976

A database structure that can improve the speed of queries at the cost of disk space and slower inserts/updates. It stores a copy of one or more columns sorted but structures the data differently to allow faster access.

-1 votes
1 answer
93 views

When was my indexes in the database fragmented?

I am trying to create a script that finds the index fragmentation, have it log to a table that I can query each time it runs. … Below is the script I have so far to find the index fragmentation. What can I add to: find the time indexes are fragmented have it log to a table Thanks in advance. …
sqllover2020's user avatar
-1 votes
2 answers
80 views

Rebuild Indexes [duplicate]

For example, an index called IX_LogTime has a fragmented percent of 50% and a page count of 2. Is this necessary to rebuild? …
sqllover2020's user avatar
0 votes
1 answer
290 views

Index automation job script

Unfortunately with the maintenance plan in 2014, I am unable to set the % limit of when the index should be rebuilt or reorganized. … REORGANIZE -if avg_fragmentation_in_percent > 30, then ALTER INDEX REBUILD Can someone please help me with the query? …
sqllover2020's user avatar