Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Improving search index performanceImproving search index performance
Previous
 
Next
New Post
9/9/2011 4:56 AM
 
Recently we were encountering long search index times. Sometimes it took more than 2 hours to complete the index.
Taking a look at our SQL server revealed a DELETE query that took about 5 sec average time to execute. (and it executes a lot!)
Creating the following index lowered this time to 20-30 milliseconds

CREATE NONCLUSTERED INDEX [SearchItemWordPositionWithInclude] ON [dbo].[SearchItemWordPosition]
(
      [SearchItemWordID] ASC
)
INCLUDE ( [SearchItemWordPositionID]) WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO

After I added this index our search index took only 150 seconds to complete!

Please test this on your DNN instance and report back !

Maybe this index can be added to the DNN base if?

best regards and good luck
 
New Post
9/9/2011 8:36 AM
 
please log this at support.dotnetnuke.com so we can evaluate it for a future build

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/9/2011 8:44 AM
 
 
New Post
9/19/2011 3:19 PM
 
As part of supporting azure, a clustered index was added to this column for new installs of 6.0.0. Upgrades do not yet have this index, but will soon (hopefully 6.1.0).
 
New Post
10/18/2011 4:08 AM
 
Hi, could you point me in the right direction where to find the create script of this index?I cannot seem to find it in the SqlDataProvider folder of a 6.0.2 fresh install.Thanks!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Improving search index performanceImproving search index performance


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out