This commit is contained in:
2020-06-04 19:33:22 +00:00
parent e68d1c48d2
commit d670c68b5f
4 changed files with 38 additions and 115 deletions

View File

@@ -248,9 +248,7 @@ namespace AyaNova.Util
//METRICS TABLES
//One minute metrics
await ExecQueryAsync("CREATE TABLE ametricmm (t timestamp not null, allocated bigint,workingset bigint,privatebytes bigint,gen0 integer,gen1 integer,gen2 integer,cpu double precision)");
//One hour metrics
await ExecQueryAsync("CREATE TABLE ametrichh (t timestamp not null, test bigint)");
await ExecQueryAsync("CREATE TABLE ametricmm (t timestamp not null, allocated bigint,workingset bigint,privatebytes bigint,cpu double precision)");
//One day metrics
await ExecQueryAsync("CREATE TABLE ametricdd (t timestamp not null, dbtotalsize bigint, attachmentfilesize bigint, attachmentfilecount bigint, attachmentfilesavailablespace bigint, utilityfilesize bigint, utilityfilecount bigint, utilityfilesavailablespace bigint)");