optimize stats using "materialized view"
This commit is contained in:
5
scripts/refresh_day_stats.sh
Executable file
5
scripts/refresh_day_stats.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
CMDD=$(dirname $(realpath $0))
|
||||
|
||||
sqlite3 ${SQLPAGE_DATABASE_URL:9} < ${CMDD}/../sqlpage/migrations/003_create_daystats.sql
|
Reference in New Issue
Block a user