Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5527

kg69design on "[Plugin: NextGEN Gallery] Too many rows in wp_ngg_table causing CPU spikes"

$
0
0

I used this plugin for a long time, but it seems, that I can't do it after v2.0. Did you test it at all?

Simple lines of code in footer.php:

<?php
    echo get_num_queries() . " queries in "; timer_stop(1);
    echo " sec., memory: ".round(memory_get_usage()/1024/1024, 2)."mb";
?>

And I have these results:

  • 29 queries in 0.346 sec., memory: 24.31mb - post without plugin
  • 32 queries in 0.594 sec., memory: 31.53mb - post after installed and activated plugin (no galleries at all)
  • 54 queries in 0.690 sec., memory: 34.08mb - post with gallery-shortcode (image tag), but gallery is empty
  • 123 queries in 1.232 sec., memory: 34.51mb - post with gallery-shortcode (17 photos in gallery)
  • 225 queries in 1.176 sec., memory: 34.71mb - post with gallery-shortcode (34 photos in gallery (+17 images))
  • 355 queries in 1.419 sec., memory: 34.9mb - post with gallery-shortcode (51 photos in gallery (+17 images))

As you can see, plugin (v 2.0.33) still has serious problems with database queries.


Viewing all articles
Browse latest Browse all 5527

Trending Articles