Changeset: 2b38ee631449 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2b38ee631449
Modified Files:
        sql/test/Tests/systemfunctions.stable.out
Branch: default
Log Message:

merging


diffs (12 lines):

diff --git a/sql/test/Tests/systemfunctions.stable.out 
b/sql/test/Tests/systemfunctions.stable.out
--- a/sql/test/Tests/systemfunctions.stable.out
+++ b/sql/test/Tests/systemfunctions.stable.out
@@ -325,7 +325,7 @@ Ready.
 [ "sys",       "querylog",     0,      "clob", "-- Trace the SQL input\ncreate 
procedure querylog(filename string) \n\texternal name sql.logfile;"     ]
 [ "sys",       "querylog_calls",       0,      "table",        "-- Each query 
call is stored in the table calls\n-- At regular intervals the query history 
table should be cleaned.\n-- This can be done manually on the SQL console, or 
be integrated\n-- in the keepQuery and keepCall upon need.\n-- The parameters 
are geared at understanding the resource claims\n-- They reflect the effect of 
the total workload mix during execution.\n-- The 'cpu' gives the average cpu 
load percentage over all cores on the \n-- server during execution phase. \n-- 
increasing cpu load indicates better use of multi-cores.\n-- The 'io' indicate 
IOs during complete query run.\n-- The 'space' is the total amount of 
intermediates created in MB.\n-- Reducing the space component improves 
performance/\n-- All timing in usec and all storage in bytes.\n\ncreate 
function sys.querylog_calls()\nreturns table(\n\tid oid,\t\t\t\t -- references 
query plan\n\t\"start\" timestamp,\t-- time the statement was 
started\n\t\"stop\" timestamp,\t--
  time the statement was completely finished\n\targuments string,\t-- actual 
call structure\n\ttuples wrd,\t\t\t-- number of tuples in the result set\n\trun 
bigint,\t\t-- time spent (in usec)  until the result export\n\tship 
bigint,\t\t-- time spent (in usec)  to ship the result set\n\tcpu int,  \t\t-- 
average cpu load percentage during execution\n\tio int,\t\t\t-- percentage time 
waiting for IO to finish \n\tspace bigint\t\t-- total storage size of 
intermediates created (in MB)\n)\nexternal name sql.querylog_calls;"      ]
 [ "sys",       "querylog_catalog",     0,      "table",        "-- The 
contents of this file are subject to the MonetDB Public License\n-- Version 1.1 
(the \"License\"); you may not use this file except in\n-- compliance with the 
License. You may obtain a copy of the License at\n-- 
http://www.monetdb.org/Legal/MonetDBLicense\n--\n-- Software distributed under 
the License is distributed on an \"AS IS\"\n-- basis, WITHOUT WARRANTY OF ANY 
KIND, either express or implied. See the\n-- License for the specific language 
governing rights and limitations\n-- under the License.\n--\n-- The Original 
Code is the MonetDB Database System.\n--\n-- The Initial Developer of the 
Original Code is CWI.\n-- Copyright August 2008-2013 MonetDB B.V.\n-- All 
Rights Reserved.\n\n-- QUERY HISTORY\n-- The query history mechanism of 
MonetDB/SQL relies on a few hooks.\n-- The most important one is a global 
system variable which controls\n--  monitoring of all sessions. \n\ncreate 
function sys.querylog_catalog()\nreturns table
 (\n\tid oid,\n\towner string,\n\tdefined timestamp,\n\tquery string,\n\tpipe 
string,\n\tmal int,\t\t\t-- size of MAL plan\n\toptimize bigint \t-- time in 
usec\n)\nexternal name sql.querylog_catalog;"        ]
-[ "sys",       "querylog_init",        0,      "smallint",     "create 
procedure sys.querylog_init(threshold smallint)\nexternal name 
sql.querylog_init_threshold;"    ]
+[ "sys",       "querylog_enable",      0,      "smallint",     "create 
procedure sys.querylog_enable(threshold smallint)\nexternal name 
sql.querylog_enable_threshold;"        ]
 [ "sys",       "queue",        0,      "table",        "-- The contents of 
this file are subject to the MonetDB Public License\n-- Version 1.1 (the 
\"License\"); you may not use this file except in\n-- compliance with the 
License. You may obtain a copy of the License at\n-- 
http://www.monetdb.org/Legal/MonetDBLicense\n--\n-- Software distributed under 
the License is distributed on an \"AS IS\"\n-- basis, WITHOUT WARRANTY OF ANY 
KIND, either express or implied. See the\n-- License for the specific language 
governing rights and limitations\n-- under the License.\n--\n-- The Original 
Code is the MonetDB Database System.\n--\n-- The Initial Developer of the 
Original Code is CWI.\n-- Copyright August 2008-2013 MonetDB B.V.\n-- All 
Rights Reserved.\n\n-- System monitoring\n\n-- show status of all active SQL 
queries.\ncreate function sys.queue()\nreturns table(\n\tqtag 
bigint,\n\t\"user\" string,\n\tstarted timestamp,\n\testimate 
timestamp,\n\tprogress int,\n\tstatus string,\n\ttag oid,\n\tquery string\n)\
 nexternal name sql.sysmon_queue;"      ]
 [ "sys",       "radians",      0,      "double",       "create function 
radians(d double) \nreturns double\n\treturn d*pi()/180;"      ]
 [ "sys",       "radians",      1,      "double",       ""      ]
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to