Forums / General Questions / Attributes Controller Impossibly Slow

Attributes Controller Impossibly Slow

Views: 877

Results 1 to 19 of 19
5 Aug 2015, 5:41 PM
#1
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Attributes Controller Impossibly Slow

Hi all

We're coming up to 10,000 products online and our Attributes controller is getting sooooo slow!

We've had a few problems today with the host's network causing MYSQL problems which they say have been resolved but it is still very slow trying to add attributes to products.

We will be looking to upgrade to v1.5.4 once we reach the 10K target (will that and the change of MySQL format help cure the problem?) but in the meantime we are struggling (pretty much like watching paint dry!)

Please can anyone suggest how we can speed this process up? We have switched to PHP 5.5 and optimized all the database tables.

Thanks

5 Aug 2015, 6:07 PM
#2
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Do your attributes require a calculation of price or just a selection?
If no price calculations are needed, toggle each FUSCHIA attribute button & see if that helps.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

5 Aug 2015, 6:12 PM
#3
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Hi

All our products are free downloads as everything is supplied by subscription ... I have tried the attributes controller (but maybe because of host problems today that just wouldn't load) ... Do I have to apply through admin once or every category/subcategory please?)

5 Aug 2015, 6:20 PM
#4
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Just thought can I do an overall database change to switch this attribute off?

5 Aug 2015, 6:29 PM
#5
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

probably could be done globally, but that's above my paygrade.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

5 Aug 2015, 6:34 PM
#6
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Bugger LOL!!! Looked at the database table and it's all switched to 1 so I guess needs to be 0 but not sure ho9w to switch it off as standard ,,,,

Will backup database ..... do a table replace then see where we go from there

Thanks

5 Aug 2015, 6:42 PM
#7
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Attributes Controller Impossibly Slow

if you go to Catalog => Product Types , select the appropriate product type and then select layout settings.
You will find the default attribute settings at the bottom. These will be set when creating a new product, and will not change the existing one. That will need to be done through phpmyadmin directly in your database.

5 Aug 2015, 6:50 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attributes Controller Impossibly Slow

Might be able to help if the "fuchsia field" were more formally identified. Action does not require phpmydmin as could be performed in the tools->install sql patches window.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Aug 2015, 6:52 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attributes Controller Impossibly Slow

There's also the x next to the category dropdown that when disabled may help assuming many categories are at play.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Aug 2015, 6:58 PM
#11
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

mc12345678:

Might be able to help if the "fuchsia field" were more formally identified. Action does not require phpmydmin as could be performed in the tools->install sql patches window.

Yes, I specifically meant the "DISCOUNTED" button which is fuschia on my screens but I was using my WindowsRT computer in the production facility and that version of Internet Explorer does not play nice at all with this particular forum.

Fuschia = recalculate and use server resources.
"X" = OFF calculations not needed.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

5 Aug 2015, 7:10 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attributes Controller Impossibly Slow

Design75:

this is the global patch

UPDATE products_attributes SET attributes_[B]discounted[/B] = '0' WHERE attributes_[B]discounted[/B] = '1'

> !!!! BACK UP BEFORE YOU TRY !!!!
Corrected above... 

> **RixStix:**
>
> Yes, I specifically meant the "DISCOUNTED" button which is fuschia on my screens but I was using my WindowsRT computer in the production facility and that version of Internet Explorer does not play nice at all with this particular forum.
> 
> Fuschia = recalculate and use server resources.
> "X" = OFF      calculations not needed.

Default is orange... (In a default ZC store)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Aug 2015, 7:11 PM
#13
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Thanks as always guys.

Gonna take a deep breath, cook and eat the take another look at it ... Out host has caused so many problems today that I'm tearing my hair out! Attributes have always had a habit of being intermittenly SLOW so just looking for the best soution

5 Aug 2015, 7:40 PM
#15
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Ok Ran this :

UPDATE products_attributes SET attributes_discounted = '0' WHERE attributes_discounted = '1'

and all seems OK ... still cannot see where to switch it off site-wise. Can anyone login and take a look please?

Thank you

5 Aug 2015, 7:44 PM
#16
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Attributes Controller Impossibly Slow

Design75:

if you go to Catalog => Product Types , select the appropriate product type and then select layout settings.
You will find the default attribute settings at the bottom. These will be set when creating a new product, and will not change the existing one. That will need to be done through phpmyadmin directly in your database.

Already told you here:smile:

5 Aug 2015, 8:19 PM
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Attributes Controller Impossibly Slow

Two things... One, am I correct that as far as attributes, that you basically have one option name with one option value allowing the filename of the file(s) to be associated or have you created one option name for each product? (Considering that this is all about downloads)...

The other thing, and I can't believe I didn't think about it, but EasyPopulate v4 offers attribute addition, modification, and removal including handling reference to file downloads...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Aug 2015, 8:33 PM
#18
digibooks avatar

digibooks

Zen Follower

Join Date:
May 2014
Location:
UK
Posts:
317
Plugin Contributions:
0

Re: Attributes Controller Impossibly Slow

Design75:

Already told you here:smile:

Sorry mate ... head in a spin because of other personal issues .... will take a breather and review :)