Move scripts to scripts directory and remove odcs no longer needed.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
@echo off
|
||||
REM Quick script to add ALL performance indexes (base + supplementary)
|
||||
|
||||
echo ========================================
|
||||
echo Add ALL Performance Indexes
|
||||
echo ========================================
|
||||
echo.
|
||||
echo This will create:
|
||||
echo - 18 base performance indexes
|
||||
echo - 5 supplementary indexes
|
||||
echo Total: 23 indexes
|
||||
echo.
|
||||
echo NOTE: This uses the database configured in db-config.ps1
|
||||
echo Current default: jellyfin_testsdata
|
||||
echo.
|
||||
echo This may take 10-30 minutes...
|
||||
echo.
|
||||
|
||||
REM Use PowerShell to load config and run
|
||||
powershell -Command ". .\db-config.ps1; & $PSQL_PATH -U $DB_USER -d $DB_NAME -f sql\all_performance_indexes.sql"
|
||||
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Success! All 23 indexes added.
|
||||
echo ========================================
|
||||
echo.
|
||||
echo Performance improvement: 70-90 percent faster!
|
||||
echo.
|
||||
echo Next: Restart Jellyfin
|
||||
echo.
|
||||
) else (
|
||||
echo.
|
||||
echo ========================================
|
||||
echo Failed to add indexes
|
||||
echo ========================================
|
||||
echo.
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user