Title: Database Locking Issues
Last modified: September 2, 2016

---

# Database Locking Issues

 *  [Shake Girl](https://wordpress.org/support/users/nanotrax/)
 * (@nanotrax)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/database-locking-issues/)
 * my site is frozen sporadically due to the problems with this plugin locking up
   the database. my server admin identified the issue and sent me this:
 * _The query that caused problems was this one:_
 * SELECT pid , `wp_options`.`option_value` AS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘
   @@’, meta_key, meta_value)) AS ‘extras’ FROM `wp_ngg_pictures` LEFT OUTER JOIN`
   wp_options` ON `wp_options`.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.
   pid) LEFT OUTER JOIN `wp_postmeta` ON `wp_postmeta`.`post_id` = `wp_options`.`
   option_value` WHERE (`exclude` = 0) GROUP BY wp_ngg_pictures.pid ORDER BY rand()
 * i have paying members and this plugin will make me lose them at this rate 🙁

The topic ‘Database Locking Issues’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Shake Girl](https://wordpress.org/support/users/nanotrax/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/database-locking-issues/)