🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
pqInternet's NextGEN Database Analysis and Clean-up Tool icon
Possibly abandoned Tested up to 4.9.36 #23 in nextgen

pqInternet's NextGEN Database Analysis and Clean-up Tool

NextGEN Gallery can leave orphaned records in the database. This plugin checks for orphaned records and give you the option to delete them.

Active installs10+10+ tier
Downloads · 30d120▼ -17.2% vs prev. 30d
Rating5/51 reviews
Health score30/100At risk
All-time downloads2.9KSince Mar 2018
Support resolved—No recent threads
RequiresWP 4.6PHP 5.2.4+
Downloads · 7d25• 0% week over week
Our verdict

Consider an alternative

pqInternet's NextGEN Database A… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 9 years ago, and scores 30/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 8 years
  • Only tested up to WordPress 4.9 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

3710Sep 4Oct 18Dec 2
Yesterday5
Daily average (1y)4
Peak day14Sep 14, 2026
Last 12 months1.3K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where pqInternet's NextGEN Databa… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
nextgen >100 185 Best nextgen plugins →
ngg #14 36 Best ngg plugins →

Version adoption

Share of active sites per release.

  • 0.02100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About pqInternet's NextGEN Database Analysis…

From the official readme · v0.02

Description

NextGEN Gallery is one of the best, if not THE best image gallery plugins for WordPress.  I’ve used it for years on many sites.  However I’ve noticed a problem, a bug if you will, that leaves “orphaned” records in the WordPress database.  I’ve reported this to Imagely and they’re looking into it.

Using NextGEN Gallery can leave orphaned records in the posts and posts meta database tables, especially if you add and delete galleries often.  It appears to me that the orphaned records are created during upload, so if you add images often they will build up over time.  I noticed this on a site where I upload hundreds of images a week and started noticing the database backups were extremely large. I started looking for what was causing the huge size of some of the tables and I found the issue. 

I created this plugin to clean up the orphaned records.  It analyzes the WordPress tables for orphaned records related to NextGEN and in the NextGEN specific tables as well.  It then shows you the number of orphans in each specific table. The plugin will clean up these orphaned records (delete), if you click “Clean”.

WARNING – READ THIS!
I assume NO responsibility for any loss of data from using this plugin.
YOU SHOULD MAKE A FULL BACKUP BEFORE USING THE CLEAN FUNCTION, TO ALLOW RECOVERY IF THERE IS A PROBLEM.

It is beyond the scope of this plugin to cover all the information you may need to backup and successfully restore database tables. However I recommend reading my blog post 27 Essential WordPress Plugins: https://www.pqinternet.com/technology/27-essential-wordpress-plugins, and get whatever backup plugin I currently recommend. At the time of writing this sentence, I recommend BackWPup (link in the blog post along with some notes). You can select to backup just the tables this plugin cleans: wp_ngg_album, wp_ngg_gallery, wp_ngg_pictures, wp_posts, wp_postmeta (note that the wp_ prefix may be different on your system). There is also a link in my post to a utility to help import large sql dumps (backups) if they fail.

Read my blog post: Handling Huge MySQL Database Table Exports/Imports/Backups https://www.pqinternet.com/web-site-design-html-css/handling-huge-mysql-database-table-exports-imports-backups

NOTE: The “Analyze” and “Clean” functions can take A LONG TIME to execute, be patient, do not reload the page! The “Clean” function can take a VERY LONG TIME depending on how large and bloated the tables are!

Installation

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Tools->NextGEN Gallery DB Clean screen to Analyze and then Clean your database.
  4. That’s it… but MAKE A BACKUP BEFORE CLEANING!

Changelog

Added summary section at end of analysis.

0.02

  • Added summary section at end of analysis.

0.01

  • Initial version

Full changelog on WordPress.org →

Screenshots

Analysis screen showing orphaned record count.
Analysis screen showing orphaned record count.
Results of cleaning process.
Results of cleaning process.
Analysis after cleaning showing no more orphaned records.
Analysis after cleaning showing no more orphaned records.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best pqInternet's NextGEN Database… alternatives

All nextgen plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 NextGEN Download Gallery NextGEN Download Gallery Add a template to NextGEN Gallery that provides multiple-file downloads for trade/media… by webaware 2K+ ★★★★★★★★★★ 5 (11) 3 years ago 40
2 NextGEN Gallery Optimizer NextGEN Gallery Optimizer The essential add-on for the NextGEN Gallery WordPress plugin. by Mark Jeldi 1K+ ★★★★★★★★★★ 3.1 (29) 9 years ago 35
3 NextGEN Scroll Gallery NextGEN Scroll Gallery Awesome free JavaScript gallery. BMo-Design's Mootools Javascript ScrollGallery as a Plugin… by Benedikt Mo 1K+ ★★★★★★★★★★ 4.1 (21) 9 years ago 40
4 NextGEN Custom Fields NextGEN Custom Fields Creates the ability to quickly and easily add custom fields to NextGEN Galleries and Images. by shauno 1K+ ★★★★★★★★★★ 5 (8) 3 years ago 39
5 Responsive NextGEN Flex Slider Template Responsive NextGEN Flex Slider Template Adds "sliderview" template for the NextGen gallery. Use the shortcode [nggallery id=x… by Mohsin Rasool 200+ ★★★★★★★★★★ 4.1 (10) 13 years ago 34
6 NextGEN Gallery Image Chooser NextGEN Gallery Image Chooser Comfortable Image Chooser for the NextGEN Gallery, based on g2image by umertin 200+ ★★★★★★★★★★ 4.7 (3) 12 months ago 47
7 Webp Converter Webp Converter Convert Media Library images in next-gen format and speed up your website by aviplugins.com 200+ ★★★★★★★★★★ No reviews 5 months ago 54
8 NextGEN Gallery ColorBoxer NextGEN Gallery ColorBoxer One-click ColorBox lightbox integration with NextGEN Gallery. Only loads when a gallery… by Mark Jeldi 100+ ★★★★★★★★★★ 5 (2) 15 years ago 32
9 NextGEN 3D and 2D Animated Flux Slider Template NextGEN 3D and 2D Animated Flux Slider Template CSS3 animated 3D and 2D transitions. Use [nggallery id=x template="3dfluxsliderview"] for a… by Mohsin Rasool 100+ ★★★★★★★★★★ 5 (4) 14 years ago 32
10 Geo2 Maps Add-on for NextGEN Gallery Geo2 Maps Add-on for NextGEN Gallery NGG Geo2 Maps Add-on displays maps with photos, galleries, or albums using EXIF GPS data or… by Pawel 80+ ★★★★★★★★★★ 3.3 (12) 8 months ago 34

FAQ

pqInternet's NextGEN Database Analy…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is pqInternet's NextGEN Database A… free?

Yes. pqInternet's NextGEN Database A… is free to download and use from the official WordPress.org plugin directory.

Is pqInternet's NextGEN Database A… safe to use in 2026?

pqInternet's NextGEN Database A… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 9 years ago, and scores 30/100 on our health check.

How many websites use pqInternet's NextGEN Database A…?

pqInternet's NextGEN Database A… is active on 10+ WordPress websites and has been downloaded 2,877 times since it launched in March 2018. It was downloaded 120 times in the last 30 days.

Does pqInternet's NextGEN Database A… work with WordPress 7.1?

pqInternet's NextGEN Database A… is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does pqInternet's NextGEN Database A… need?

pqInternet's NextGEN Database A… requires PHP 5.2.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was pqInternet's NextGEN Database A… last updated?

The latest version, 0.02, was released on March 13, 2018 (9 years ago).

Who makes pqInternet's NextGEN Database A…?

pqInternet's NextGEN Database A… is developed and maintained by fwblack.

What are the best alternatives to pqInternet's NextGEN Database A…?

The most popular alternatives to pqInternet's NextGEN Database A… are NextGEN Download Gallery (2K+ installs), NextGEN Gallery Optimizer (1K+ installs) and NextGEN Scroll Gallery (1K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open