[svn-commits] r186 - branches/advisor/src/front/st/vdba

thial01 at ingres.com thial01 at ingres.com
Mon Aug 11 08:42:43 PDT 2008


Author: thial01
Date: 2008-08-11 08:42:43 -0700 (Mon, 11 Aug 2008)
New Revision: 186

Modified:
   branches/advisor/src/front/st/vdba/makimau.sql
Log:
Forgot to commit new ima table - see #174


Modified: branches/advisor/src/front/st/vdba/makimau.sql
===================================================================
--- branches/advisor/src/front/st/vdba/makimau.sql	2008-08-11 15:41:02 UTC (rev 185)
+++ branches/advisor/src/front/st/vdba/makimau.sql	2008-08-11 15:42:43 UTC (rev 186)
@@ -2067,32 +2067,48 @@
     query_text varchar(1000) not null not default
         is 'exp.scf.scm.stm.query_text',
     frequency integer4 not null not default
-        is 'exp.scf.scm.stm.frequency',
+        is 'exp.scf.scm.stm.frequency'
+)
+as import from 'tables'
+with dbms = IMA,
+structure = unique sortkeyed,
+key = (server, query_key);
+\p\g
+
+drop table ima_scm_workload\p\g
+
+register table ima_scm_workload (
+    server varchar(64) not null not default is 'SERVER',
+    database varchar(32) not null not default
+        is 'exp.scf.scm.wkl.database',
+    query_key integer4 not null not default
+        is 'exp.scf.scm.wkl.query_key',
     opf_cpu integer4 not null not default
-        is 'exp.scf.scm.stm.opf_cpu',
+        is 'exp.scf.scm.wkl.opf_cpu',
     opf_dio integer4 not null not default
-        is 'exp.scf.scm.stm.opf_dio',
+        is 'exp.scf.scm.wkl.opf_dio',
     qef_cpu integer4 not null not default
-        is 'exp.scf.scm.stm.qef_cpu',
+        is 'exp.scf.scm.wkl.qef_cpu',
     qef_dio integer4 not null not default
-        is 'exp.scf.scm.stm.qef_dio',
+        is 'exp.scf.scm.wkl.qef_dio',
     est_cpu integer4 not null not default
-        is 'exp.scf.scm.stm.est_cpu',
+        is 'exp.scf.scm.wkl.est_cpu',
     est_dio integer4 not null not default
-        is 'exp.scf.scm.stm.est_dio',
+        is 'exp.scf.scm.wkl.est_dio',
     pages_touched integer4 not null not default
-        is 'exp.scf.scm.stm.pages_touched',
+        is 'exp.scf.scm.wkl.pages_touched',
     time integer4 not null not default
-        is 'exp.scf.scm.stm.time',
+        is 'exp.scf.scm.wkl.time',
     wctime integer4 not null not default
-        is 'exp.scf.scm.stm.wctime'
+        is 'exp.scf.scm.wkl.wctime'
 )
 as import from 'tables'
 with dbms = IMA,
-structure = unique sortkeyed,
-key = (server, query_key);
+structure = sortkeyed,
+key = (server);
 \p\g
 
+
 drop table ima_scm_tables\p\g
 
 register table ima_scm_tables (
@@ -2339,6 +2355,8 @@
 \p\g
 grant select on ima_scm_statements to public with grant option;
 \p\g
+grant select on ima_scm_workload to public with grant option;
+\p\g
 grant select on ima_scm_tables to public with grant option;
 \p\g
 grant select on ima_scm_attributes to public with grant option;




More information about the svn-commits mailing list