summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 82cad1b)
raw | patch | inline | side by side (parent: 82cad1b)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 31 Oct 2008 19:03:12 +0000 (20:03 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 2 Nov 2008 13:27:42 +0000 (14:27 +0100) |
contrib/oracle/create_schema.ddl | patch | blob | history | |
contrib/oracle/db_systat.sql | patch | blob | history |
index c54c76caaad9689d43ccba8674ad2aa0ab202814..e4dc54f2dab4485fb178a31161e0da93207a4b32 100644 (file)
--
-- Requirements
---------------
--- make shure you have:
+-- make sure you have:
-- write permission in $PWD
-- you have GID of oracle software owner
-- set $ORACLE_HOME
index 073c769628d64f85f7d6f02e8ee395e6a8f20c52..cf2a3c4a58ce29088c5c4151b6df2d701e45f4f3 100644 (file)
FROM v$pgastat
WHERE name = 'cache hit percentage';
--- DB Efficientcy
+-- DB Efficiency
SELECT ROUND(SUM(decode(metric_name, 'Database Wait Time Ratio', VALUE)), 2) AS
database_wait_time_ratio,
ROUND(SUM(decode(metric_name, 'Database CPU Time Ratio', VALUE)), 2) AS