A tip to speed up Pligg

Register an Account
Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 11-08-2007, 09:09 AM
Casual Pligger
 
Join Date: Oct 2007
Posts: 32
Wow, a massive improvement in speed from that small change. Thanks. I did the same for the categories too - I presume that they get called every time someone looks at the categories.
Reply With Quote
  #22 (permalink)  
Old 11-08-2007, 06:12 PM
Casual Pligger
Pligg Version: 9.8
Pligg Template: mico
 
Join Date: Oct 2007
Posts: 40
Hi Friends,
Since this thread was started long time back,I was wondering if we need to perform this "Adding index" step on Pligg v9.8 or not???

Your input would be appreciated.
Thanks
Reply With Quote
  #23 (permalink)  
Old 11-08-2007, 06:49 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 46
Just added this on my 9.8 site. Absolute immediate improvement. THANKS!
Reply With Quote
  #24 (permalink)  
Old 11-08-2007, 07:28 PM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Default
 
Join Date: Oct 2007
Posts: 28
This wasn't started a long time back, I just posted this thread a week ago.
Reply With Quote
  #25 (permalink)  
Old 11-09-2007, 12:51 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
This should help ANY version of pligg. The next release will have this plus some other index improvements, plus a decrease in the amount of queries that Pligg uses. I don't know when the release will be.
Reply With Quote
  #26 (permalink)  
Old 11-09-2007, 12:54 AM
Donor
 
Join Date: Jan 2007
Posts: 377
So can I safely do this for now? alter table pligg_links add index(link_status);

If the next update, do I have to drop this index? and how to drop it with mysql querry?

Thanks...
Reply With Quote
  #27 (permalink)  
Old 11-09-2007, 01:40 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Default
 
Join Date: Oct 2007
Posts: 28
Don't sweat it, just try it. Adding an index to a table can't hurt anything.

To drop an index just do:

drop index index_name on tbl_name
Reply With Quote
  #28 (permalink)  
Old 11-10-2007, 01:47 PM
New Pligger
 
Join Date: Jan 2007
Posts: 6
thanks for your tips my site got more than 25000 story and your tips increase the speed more than 25%
Reply With Quote
  #29 (permalink)  
Old 11-10-2007, 02:15 PM
Donor
 
Join Date: Jan 2007
Posts: 377
same here... thank you....
Reply With Quote
  #30 (permalink)  
Old 11-10-2007, 03:49 PM
Pligg Donor
 
Join Date: Jul 2007
Posts: 286
Hi Swiper
I am novice for mysql. Could you please let me now each step exactly how to add the index.
Thanks
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Questions and Comments 66 08-27-2010 04:04 AM
Pligg Donation Drive 2009 chuckroast Questions and Comments 0 03-23-2009 05:42 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development