A tip to speed up Pligg

Register an Account
Reply
 
Thread Tools Display Modes
  #31 (permalink)  
Old 11-10-2007, 04:46 PM
Casual Pligger
Pligg Version: 9.6
Pligg Template: yget, molli
 
Join Date: Jul 2007
Posts: 29
Send a message via MSN to sadegazoz
dude just try this answer from argh2xxx for my question:

"You have phpmyadmin? Or do you know how to access your mysql database? If you have phpmyadmin, go to the correct database of your pligg, and then go to the tab say mysql, and then enter the command of:

alter table pligg_links add index(link_status);

After you done that, you gotta wait for few minutes depend on how large is your database, and then when it's done, your website speed up a bit.

If you take a look at your database now, and in the table of pligg_links you will see a column said link_status."
Reply With Quote
  #32 (permalink)  
Old 11-10-2007, 06:47 PM
Pligg Donor
 
Join Date: Jul 2007
Posts: 286
Quote:
Originally Posted by sadegazoz View Post
dude just try this answer from argh2xxx for my question:

"You have phpmyadmin? Or do you know how to access your mysql database? If you have phpmyadmin, go to the correct database of your pligg, and then go to the tab say mysql, and then enter the command of:

alter table pligg_links add index(link_status);

After you done that, you gotta wait for few minutes depend on how large is your database, and then when it's done, your website speed up a bit.

If you take a look at your database now, and in the table of pligg_links you will see a column said link_status."
Thanks Sadegazoz
Reply With Quote
  #33 (permalink)  
Old 11-11-2007, 02:02 PM
Donor
 
Join Date: Jan 2007
Posts: 377
Is there any other way to speed up pligg? As I got 100,000 of links... And adding index is not helping much...
Reply With Quote
  #34 (permalink)  
Old 11-12-2007, 08:40 PM
New Pligger
 
Join Date: Sep 2007
Posts: 11
I have used MySQL with 10's of thousands of records without indexes and it rocks. I wouldn't rush into this until someone proves it is necessary. Adding indexes is just adding another SPOF (single point of failure). If it's proven beneficial then by all means lets do it.

Something I have found is that returning 10 rows or 500 rows on a dynamic web page takes about the same amount of time. (not tested in pligg enviornment). The overhead in the communications is by far the bottle neck. User communicating to web -> web to mysql -> back again.

Last edited by deals311; 11-12-2007 at 08:45 PM.
Reply With Quote
  #35 (permalink)  
Old 11-13-2007, 09:26 PM
RTM RTM is offline
New Pligger
Pligg Version: 9.9.0
Pligg Template: yGet and others
 
Join Date: Feb 2007
Location: Ethernet , Canada :)
Posts: 6
I agree - I for one have deployed about 10-20 Pligg based sites for various clients on everything from shared hosting right up to dedicated on a single socket quad-core Dell 2950 box with 4GB of ram (the latter one had serious of traffic as in 50-100 uniques per minute)....

but in all cases over the last 2 years, I have found Pligg to be seriously resource intensive. Throwing hardware resources (CPU, RAM, bandwidth, etc) does not seem to be a universal situation so me thinks thet SQL optimisation is a serious viable approach!

Still waiting for more tangible proof that these indexes help performance, but I'm looking forward to it!

Rob
Reply With Quote
  #36 (permalink)  
Old 01-09-2008, 10:42 AM
knockoutchris's Avatar
New Pligger
Pligg Version: 9.8.0
Pligg Template: convergence
 
Join Date: Dec 2007
Posts: 10
Changed my load time from 9s to 4.5s
Reply With Quote
  #37 (permalink)  
Old 01-11-2008, 03:03 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 66
Is there any other solution to speed up pligg aside adding indexes? I implemented this on my site and have the same speed (no improvement). I believe SQL optimization is the best solution. Looking forward to this. I think it is the main priority, removing stories on my site is not my Option
Reply With Quote
  #38 (permalink)  
Old 01-11-2008, 03:08 PM
New Pligger
 
Join Date: Oct 2007
Posts: 1
Reply With Quote
  #39 (permalink)  
Old 01-12-2008, 08:51 AM
repute's Avatar
Casual Pligger
 
Join Date: Jul 2007
Posts: 46
Ow no I cant publisch links in admin_links.php anymore after I had done this!
Also after dropping the index i can't publish stories in the admin.

Also my stats in de admin aren't woring aanymore it says 0 stories :S

And i also getting the following error:

Warning: Unknown column 'published' in 'where clause' in /home/domains/domain.com/public_html/libs/db.php on line 233

Warning: Unknown column 'queued' in 'where clause' in /home/domains/domain.com/public_html/libs/db.php on line 233

Warning: Unknown column 'links' in 'where clause' in /home/domains/domain.com/public_html/libs/db.php on line 233

Please help me!

Last edited by repute; 01-12-2008 at 09:50 AM.
Reply With Quote
  #40 (permalink)  
Old 01-14-2008, 06:31 AM
repute's Avatar
Casual Pligger
 
Join Date: Jul 2007
Posts: 46
BUMP please help me!
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