Feature Request - TZSQLMonitor "Exectime: 500ms"
Posted: 24.10.2013, 01:23
@all
in TZSQLMonitor, add time in miliseconds that was taken to execute query from prepare to fetch all rows. There is usefull when optimize the application querys.
Sample:
in TZSQLMonitor, add time in miliseconds that was taken to execute query from prepare to fetch all rows. There is usefull when optimize the application querys.
Sample:
Code: Select all
2013-10-23 22:15:48 cat: Bind prepared, proto: postgresql-8, msg: Statement 455 : 1,1
2013-10-23 22:15:48 cat: exectime: 100ms Execute prepared, proto: postgresql-8, msg: Statement 455
2013-10-23 22:15:48 cat: exectime: 50ms Execute, proto: postgresql-8, msg: SELECT n.nspname,c.relname,a.attname,a.atttypid,a.attnotnull,a.atttypmod,a.attlen,a.attnum,pg_get_expr(def.adbin, def.adrelid) as adsrc,dsc.description FROM pg_catalog.pg_namespace n JOIN pg_catalog.pg_class c ON (c.relnamespace = n.oid) JOIN pg_catalog.pg_attribute a ON (a.attrelid=c.oid) LEFT JOIN pg_catalog.pg_attrdef def ON (a.attrelid=def.adrelid AND a.attnum = def.adnum) LEFT JOIN pg_catalog.pg_description dsc ON (c.oid=dsc.objoid AND a.attnum = dsc.objsubid) LEFT JOIN pg_catalog.pg_class dc ON (dc.oid=dsc.classoid AND dc.relname='pg_class') LEFT JOIN pg_catalog.pg_namespace dn ON (dc.relnamespace=dn.oid AND dn.nspname='pg_catalog') WHERE a.attnum > 0 AND NOT a.attisdropped AND c.relname = E's210ipe' ORDER BY nspname,relname,attnum