Docs reorg, config refactor, and ItemValues index fix

- Moved all documentation to docs/ and updated README with categorized links and new docs/INDEX.md
- Added HOW_TO_SWITCH_DATABASE.md and several new analysis/action docs
- Introduced db-config.ps1 for centralized DB config; all scripts now use it for easy DB switching
- Added db-quick.ps1 for interactive diagnostics and index management
- Updated Add-All-Indexes.bat to use db-config.ps1
- Added Fix-ItemValues-Performance.ps1 to create 3 critical indexes on ItemValues, addressing 1.3B row seq scan issue
- Updated performance_indexes.sql with new ItemValues indexes and ANALYZE
- Updated diagnostics.sql and database_report.txt for improved output and clarity
- All scripts and docs now reference the new config and index optimization workflow
This commit is contained in:
2026-02-28 16:23:43 -05:00
parent 5565dc3e05
commit 78c8d4256c
31 changed files with 3089 additions and 5 deletions
+1 -1
View File
@@ -355,7 +355,7 @@ BEGIN
RAISE NOTICE 'RECOMMENDATION: Run VACUUM ANALYZE or adjust autovacuum settings';
END IF;
RAISE NOTICE 'Diagnostic report complete.';
-- RAISE NOTICE 'Diagnostic report complete.';
END $$;
\echo ''