This commit is contained in:
2020-05-25 15:33:33 +00:00
parent e1934e46c4
commit 768fc55252
4 changed files with 37 additions and 19 deletions

View File

@@ -34,6 +34,9 @@ namespace AyaNova.Util
MAXIMUM POSTGRES OBJECT NAME LENGTH: 63 CHARACTERS
CURRENCY: use decimal(19,4)
//DATA TYPES .net to postgres map
//http://www.npgsql.org/doc/types/basic.html
HOW TO INDEX
@@ -244,8 +247,8 @@ namespace AyaNova.Util
//METRICS TABLES
//CPU
await ExecQueryAsync("CREATE TABLE ametricmm (t timestamp not null, v real not null default 0)");
//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)");
//SEARCH TABLES