How can we help you today? How can we help you today?
ThomasBE
Hi, first of all, please be aware that the index recommendations done by Red Gate Monitor apply to that specific query. Always confirm with general index recommendations (like not more than seven indexes on one tables) before implementing. Not all software vendors support adding own (custom) indexes, always verify with your vendor first. The code for you index would look like this: CREATE INDEX IX_NAME_OF_INDEX ON [dbname].[dbo].[tablename] ([m_type], [ms_code]) INCLUDE ([level_], [description##1], [description##2], [description##3], [item_id],  [document], [type], [form_name], [edit_authority], [spare_2], [params##1], [params##2],  [params##3], [params##4], [params##5], [params##6], [params##7], [params##8], [params##9],  [params##10], [params##11], [params##12], [params##13], [params##14], [params##15], [posttray_name],  [posttray_priority], [prev_item], [PROGRESS_RECID]) WITH (fillfactor = 90, sort_in_tempdb = on); A few important remarks: - Fields marked with include are always red from table (disk) whenever a record is found via the index - options for the indexes in the "WITH" section are generally recommended:           - fillfactor = 90 : prevents filling up all pages in the index, will cause index to be a bit bigger on disk,                  but less page splits          - sort_in_tempdb = on : Option only has effect when running on SQL developer or enterprise edition.             The index will be rebuild in the tempdb and will than replace the one in the table. Reducing the lock               time on your table and improving performance during rebuild. If you have any additional questions, please reach out. / comments
Hi, first of all, please be aware that the index recommendations done by Red Gate Monitor apply to that specific query.Always confirm with general index recommendations (like not more than seven in...
0 votes
Could you perhaps shed some more insight into your environment? What build version does your SQL server and SQL Monitor have? What kind of HW are you hosting the database on? / comments
Could you perhaps shed some more insight into your environment?What build version does your SQL server and SQL Monitor have?What kind of HW are you hosting the database on?
0 votes
Using SQL Monitor to capture queries and plans to search for joins could be a start ?  You could focus on most resource consuming queries first allowing you to quickly solve the most pressing issues? / comments
Using SQL Monitor to capture queries and plans to search for joins could be a start ? You could focus on most resource consuming queries first allowing you to quickly solve the most pressing issues?
0 votes