{"id":277390,"date":"2026-01-27T16:44:30","date_gmt":"2026-01-27T16:44:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sac-database-inspector\/"},"modified":"2026-01-27T19:14:29","modified_gmt":"2026-01-27T19:14:29","slug":"sac-database-inspector","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/sac-database-inspector\/","author":18772735,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.0","stable_tag":"0.2.0","tested":"6.9.4","requires":"6.9","requires_php":"7.4","requires_plugins":null,"header_name":"SAC Database Inspector","header_author":"jackofall1232","header_description":"Read-only administrative utility for inspecting database tables and cache usage to help identify potential bloat.","assets_banners_color":"a6b6bd","last_updated":"2026-01-27 19:14:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/jackofall1232\/sac-database-inspector","header_author_uri":"https:\/\/wordpress.org","rating":0,"author_block_rating":0,"active_installs":10,"downloads":158,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.3":{"tag":"0.1.3","author":"jackofall1232","date":"2026-01-27 16:44:11"},"0.2.0":{"tag":"0.2.0","author":"jackofall1232","date":"2026-01-27 19:14:29"}},"upgrade_notice":{"0.1.2":"<p>Compliance update. No functional changes.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3448149,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3448058,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.3","0.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3448058,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Database health gauge and overview","2":"Cleanup actions dashboard","3":"Top autoloaded options table"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[39231,146,4654,247,12113],"plugin_category":[52,54],"plugin_contributors":[249752],"plugin_business_model":[],"class_list":["post-277390","plugin","type-plugin","status-publish","hentry","plugin_tags-admin-tools","plugin_tags-cache","plugin_tags-database-cleaner","plugin_tags-performance","plugin_tags-transients","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-jackofall1232","plugin_committers-jackofall1232"],"banners":{"banner":"https:\/\/ps.w.org\/sac-database-inspector\/assets\/banner-772x250.jpg?rev=3448058","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sac-database-inspector\/assets\/icon-256x256.png?rev=3448149","icon_2x":"https:\/\/ps.w.org\/sac-database-inspector\/assets\/icon-256x256.png?rev=3448149","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sac-database-inspector\/assets\/screenshot-1.png?rev=3448058","caption":"Database health gauge and overview"}],"raw_content":"<!--section=description-->\n<p><strong>SAC Database Inspector<\/strong> is a lightweight, admin-only utility designed to help site administrators understand what is stored in their site\u2019s database and cache \u2014 and clean it up safely when needed.<\/p>\n\n<p>Unlike aggressive \u201coptimizer\u201d plugins, Database Inspector focuses on <strong>visibility first<\/strong>, showing you where bloat exists before offering optional, manual cleanup actions.<\/p>\n\n<h3>Key features:<\/h3>\n\n<ul>\n<li>Database health gauge with clear visual feedback<\/li>\n<li>View total database size (when supported by hosting)<\/li>\n<li>Inspect autoloaded options that load on every page<\/li>\n<li>Identify expired and unused transients<\/li>\n<li>Detect post revisions, auto-drafts, spam, and trash<\/li>\n<li>Find orphaned post meta and comment meta<\/li>\n<li>Flush external object cache (when enabled)<\/li>\n<li>Optional read-only mode via filter for audit-only environments<\/li>\n<li>Multisite-aware and shared-host safe<\/li>\n<li>No frontend impact \u2014 admin-only<\/li>\n<li>Contextual source identification for autoloaded options<\/li>\n<\/ul>\n\n<p>All cleanup actions require explicit confirmation and are protected by nonces and capability checks.<\/p>\n\n<h3>Developer Notes<\/h3>\n\n<p>This plugin follows coding standards and avoids aggressive optimization tactics. It is intended as a transparent inspection and maintenance tool, not an automatic optimizer.<\/p>\n\n<p>Filters and actions are provided for extensibility.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code>, or install via the Plugins screen.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu.<\/li>\n<li>Navigate to <strong>Tools \u2192 DB Inspector<\/strong> to view database statistics.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20this%20plugin%20safe%20to%20use%3F\"><h3>Is this plugin safe to use?<\/h3><\/dt>\n<dd><p>Yes. All cleanup actions are manual, protected, and clearly labeled. No background jobs or automatic deletions are performed.<\/p><\/dd>\n<dt id=\"does%20this%20work%20on%20shared%20hosting%3F\"><h3>Does this work on shared hosting?<\/h3><\/dt>\n<dd><p>Yes. If database size information is restricted by your host, the plugin degrades gracefully without errors.<\/p><\/dd>\n<dt id=\"does%20this%20support%20multisite%3F\"><h3>Does this support multisite?<\/h3><\/dt>\n<dd><p>Yes. Multisite installations are supported, including site transients and object cache detection.<\/p><\/dd>\n<dt id=\"does%20this%20affect%20frontend%20performance%3F\"><h3>Does this affect frontend performance?<\/h3><\/dt>\n<dd><p>No. The plugin loads only in the admin area.<\/p><\/dd>\n<dt id=\"can%20i%20disable%20cleanup%20actions%3F\"><h3>Can I disable cleanup actions?<\/h3><\/dt>\n<dd><p>Yes. Developers can enable read-only mode using the <code>wpdi_read_only<\/code> filter.<\/p><\/dd>\n<dt id=\"how%20does%20the%20plugin%20identify%20option%20sources%3F\"><h3>How does the plugin identify option sources?<\/h3><\/dt>\n<dd><p>The plugin uses pattern matching based on option name prefixes and common WordPress naming conventions. This is an educated guess, not definitive information. Source identification helps you understand which plugin or system component likely created an option.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added: Source identification column in autoloaded options table<\/li>\n<li>Added: Pattern-based detection for common plugins and WordPress core options<\/li>\n<li>Improved: Better context for understanding option origins<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Naming and compliance updates<\/li>\n<li>Plugin Check fixes<\/li>\n<li>No functional changes<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Database inspection dashboard<\/li>\n<li>Safe manual cleanup actions<\/li>\n<li>Read-only mode support<\/li>\n<li>Multisite compatibility<\/li>\n<\/ul>","raw_excerpt":"Inspect database usage, autoloaded options, transients, and safely clean database clutter from a single admin dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/277390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=277390"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jackofall1232"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=277390"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=277390"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=277390"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=277390"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=277390"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=277390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}