diff options
Diffstat (limited to 'www/wiki/maintenance/postgres/archives/patch-profiling.sql')
-rw-r--r-- | www/wiki/maintenance/postgres/archives/patch-profiling.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/wiki/maintenance/postgres/archives/patch-profiling.sql b/www/wiki/maintenance/postgres/archives/patch-profiling.sql new file mode 100644 index 00000000..5a2710a8 --- /dev/null +++ b/www/wiki/maintenance/postgres/archives/patch-profiling.sql @@ -0,0 +1,8 @@ +CREATE TABLE profiling ( + pf_count INTEGER NOT NULL DEFAULT 0, + pf_time FLOAT NOT NULL DEFAULT 0, + pf_memory FLOAT NOT NULL DEFAULT 0, + pf_name TEXT NOT NULL, + pf_server TEXT NULL +); +CREATE UNIQUE INDEX pf_name_server ON profiling (pf_name, pf_server); |