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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryhaving categories increases load timehaving categories increases load time
Previous
 
Next
New Post
9/7/2009 2:25 PM
 

I added about 70 categories to my repository and the module now takes over 20 seconds to load.  (Even entering the webpage takes over 20 seconds to load. )

So for testing purposes, I removed about 40 categories (30 remains) and the load time is now about 4 seconds.  I removed an additional 20 categories (10 remains) and the load time is about 1.5 seconds.

so I am now sure that the more categories one adds, the slower the module. 

However, I really do need to have over 70 categories for what I do.  Yet I can't have the load time be over 20 seconds or users will get the impression it doesn't work and will just leave my site.

Any ideas on how I can solve this problem??? 

 
New Post
9/7/2009 6:46 PM
 

ger petter wrote
 

I added about 70 categories to my repository and the module now takes over 20 seconds to load.  (Even entering the webpage takes over 20 seconds to load. )

 

btw, I forgot to mention I also had lots of attributes.  So bottomline, each category and each attribute I create/add to my repository seems to add to the load time.  Any idea how I can fix this?   

 
New Post
9/10/2009 11:45 AM
 

you can probably fix it by adding some indexes to the database

I would look into adding indexes on 'ObjectID' and 'CategoryID' in the 'grmRepositoryObjectCategories' tables

and for Attributes try adding an index on 'ValueID' in the 'grmRepositoryObjectValues' table

 
New Post
9/16/2009 9:46 PM
 

Steve Fabian wrote
 

you can probably fix it by adding some indexes to the database

I would look into adding indexes on 'ObjectID' and 'CategoryID' in the 'grmRepositoryObjectCategories' tables

and for Attributes try adding an index on 'ValueID' in the 'grmRepositoryObjectValues' table

 

Thanks for your idea.  However, I tried it and it did not improve.    I am a newbie with dnn and sql server.  So not sure if I did it correctly.  Here is what I did...

*************************************************************************

I logged in with the host account.  Went to "host--->SQL" and executed the following (to index the columns as you have suggested)...

CREATE INDEX Idx_testing_grmRepositoryObjectCategories ON grmRepositoryObjectCategories(ItemID, ObjectID, CategoryID);

CREATE INDEX Idx_testing_grmRepositoryObjectValues ON grmRepositoryObjectValues(ItemID, ObjectID, ValueID);

******************************************************************************

 

did I index the tables correctly by doing the above? Or perhaps,  am I missing something else I need to do?  (cuz the loading time did NOT improve.)   Thanks

 

 
New Post
9/16/2009 11:21 PM
 

correction...

My previous post said there was no improvement.  Acutally, I should not say that because I now have very little categories/attributes in my repository to really notice any major difference even if that was the reason.

  let me do more testing (by adding more categories and then adding/removing the index to see how it effects the load time.)

In the mean time, can you think of any other tables that may slow down the repository.  Perhaps  the table(s) that stores the actual categories/attributes?  What are the names of those tables??  (I am thinking I may need to index thoes tables too- if not already done) ?? Thanks

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryhaving categories increases load timehaving categories increases load time


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