Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    60
    Plugin Contributions
    0

    Default Category with many categories slow admin

    We add about 200 new items (and categories) a month. So I was looking at how to speed up our admin, and I was hoping someone here might have an idea.

    Current category structure :
    Top->
    A-C->(is under Top)
    (under A-C)(About 1,000 categories here, starting with a,b or c.)

    And it is the same story for all the other letters. (d-f, g-i, etc)

    Is there a better way to organize the categories? Purely from the admin perspective, as the customer side is represented differently. Currently it takes over a minute to load one of those large category pages. I ran an explain on the query and time was .003 seconds, with nothing else that I saw that I could remove.
    Is the result set too large, that php looping over it to build the page is the bottleneck? Should I make the categories a, b, c separate under Top? What is he limit to subcategories before the page takes too long to display?

    I have the category counts off... didn't seem to do much.
    Thanks
    NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category with many categories slow admin

    I think seeing your site might make it easier to look for where the slow downs really are happening ...

    Have you an URL that we could perhaps peek at?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category with many categories slow admin

    Quote Originally Posted by Ajeh View Post
    I think seeing your site might make it easier to look for where the slow downs really are happening ...

    Have you an URL that we could perhaps peek at?
    I'm afraid that it is only in the admin that the slowdowns occur.

    I just wouldn't feel comfortable showing the world my admin...(I guess I am a shy guy...) I could PM you with a temporary one if you're interested, Ajeh.

    We'd don't use the categories pages, or side box. So it really is semantically, what is the best way to organize (if such a thing makes a difference) or a strategy to improve admin categories load times. It would make no difference to the customer side of the shop...only my sanity in loading in all the items/categories.
    NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category with many categories slow admin

    You may PM me if you like and I can look in your Admin to see what might be used to speed things up ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category with many categories slow admin

    I tried also turning off the Category Dropdown by clicking on the red X next to it ... this helps some ...

    But with 400-700 sub categories, a lot of it is drawing the screen ...

    Without sitting down you your site and code it is hard to see what else can be used to speed things up ...

    Smaller Sub Categories would help ... where instead of A-C you have A, B and C ...

    I am assuming that you are not just blocking output but also anything used to obtain the information that you have turned off ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category with many categories slow admin

    I will try your suggestion with smaller subcategories.
    But I guess when those are too big I'll just use Aa,Ab,Ac....
    (I guess explosive growth like that would be a nice problem to have!)

    I was hoping there was a 'silver bullet' for the admin, but I guess I'll have to save my silver bullets for werewolves.

    I have to admit, I am a little confused:
    I am assuming that you are not just blocking output but also anything used to obtain the information that you have turned off ...
    I haven't done much customizing in the admin... and I turned off the counts, not just comment them out. If that is what you meant by blocking output.

    Thanks again for your time, I'll hit up the tip jar on my way out....
    NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category with many categories slow admin

    You could turn off the check for the Linked Products ... that would speed things up ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category with many categories slow admin

    So, I'll give a little update on what helped and how much.

    Original: 60+ second load time.
    turn off category count: 24 sec
    Comment out check if linked: 17 sec
    Click red x (category drop down): 16 Sec
    YMMV, this is from memory, and could be + or Minus...

    We are on a VPS host

    Which is a pretty good improvement, but I am still not happy, and I really can't have the linked off...

    I'll post back when I get stuff moved to Smaller sub cats.
    NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!

  9. #9
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category with many categories slow admin

    So I took the other suggestion and made my subcategories smaller, and now the page loads in 7-12 sec with the counts on.

    Which, for me, is adequate at this time.

    Thanks again !
    NiceBadge.com Lifetime guarantee on all badges! Free mock ups, 24 hour turn around time!

  10. #10
    Join Date
    Mar 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Category with many categories slow admin

    Quote Originally Posted by mdegrandis View Post
    So, I'll give a little update on what helped and how much.

    Original: 60+ second load time.
    turn off category count: 24 sec
    Comment out check if linked: 17 sec
    Click red x (category drop down): 16 Sec
    YMMV, this is from memory, and could be + or Minus...

    We are on a VPS host

    Which is a pretty good improvement, but I am still not happy, and I really can't have the linked off...

    I'll post back when I get stuff moved to Smaller sub cats.
    Oh my. Who is your VPS host? What were the query times for page and database? Add them to the avoid list either way. Im working on a 386 128gb ram test server with 5000+ items in 300+ sub cats and getting under .4s every query. Took me awhile to find a legit host that doesnt spoof specs. You get what you pay for.... had to find out the hard way.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 22 Mar 2013, 03:39 AM
  2. Slow loading in admin/categories
    By whiteracing in forum General Questions
    Replies: 1
    Last Post: 9 Jan 2012, 07:12 PM
  3. admin/categories.php running super slow...
    By ajlisowski in forum General Questions
    Replies: 13
    Last Post: 30 Jul 2010, 06:15 PM
  4. Admin Categories Display Performance VERY Slow
    By philmorew in forum Basic Configuration
    Replies: 2
    Last Post: 8 Sep 2009, 09:26 PM
  5. Page with many attributes loading slow
    By shawnz28 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 14 Jul 2007, 11:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg