17995 lines
1,006 KiB
HTML
17995 lines
1,006 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>pgBadger :: PostgreSQL Log Analyzer</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<meta http-equiv="Expires" content="Fri Sep 6 16:45:18 2024">
|
|
<meta http-equiv="Generator" content="pgBadger v12.0">
|
|
<meta http-equiv="Date" content="Fri Sep 6 16:45:18 2024">
|
|
<link rel="shortcut icon" href="data:image/x-icon;base64,
|
|
AAABAAEAIyMQAAEABAA8BAAAFgAAACgAAAAjAAAARgAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
AAAAAAAAAgAAGRsZACgqKQA2OTcASEpJAFpdWwBoa2kAeHt5AImMigCeoZ8AsLOxAMTHxQDR1NIA
|
|
5enmAPv+/AAAAAAA///////////////////////wAAD///////////H///////////AAAP//////
|
|
//9Fq7Yv////////8AAA////////8V7u7qD////////wAAD///////8B7qWN5AL///////AAAP//
|
|
///y8Avrc3rtMCH/////8AAA/////xABvbAAAJ6kAA/////wAAD////wAG5tQAAADp6RAP////AA
|
|
AP//MQBd7C2lRESOWe5xAD//8AAA//8APO7iC+7e7u4A3uxwBf/wAAD/9Aju7iAAvu7u0QAN7ukA
|
|
7/AAAP/wCe7kAAAF7ugAAAHO6xD/8AAA//AK7CAAAAHO1AAAABnrEP/wAAD/8ArAAAAAAc7kAAAA
|
|
AIwQ//AAAP/wCjAAAAAC3uQAAAAAHBCf8AAA//AIEBVnIATu5gAXZhAFEP/wAAD/8AIAqxdwBu7p
|
|
AFoX0QIQ//AAAP/wAAPsBCAL7u4QBwfmAAD/8AAA//AAA8owAC7u7lAAKbYAAJ/wAAD/8AAAAAAA
|
|
fu7uwAAAAAAA//AAAP/wAAAAAADu7u7jAAAAAAD/8AAA//AAAAAABe7u7uoAAAAAAP/wAAD/8AAA
|
|
AAAL7u7u7QAAAAAAn/AAAP/wAAAAAB3u7u7uYAAAAAD/8AAA//MAAAAATu7u7u6QAAAAAP/wAAD/
|
|
/wAAAAAM7u7u7TAAAAAD//AAAP//IQAAAAKu7u7UAAAAAB//8AAA////IAAAAAju7BAAAAAP///w
|
|
AAD////2AAA1je7ulUAAA/////AAAP/////xEAnO7u7pIAH/////8AAA//////9CABju6iACP///
|
|
///wAAD////////wAAggAP////////AAAP////////8wAAA/////////8AAA///////////w////
|
|
///////wAAD///////////////////////AAAP/////gAAAA//+//+AAAAD//Af/4AAAAP/4A//g
|
|
AAAA//AA/+AAAAD/oAA/4AAAAP8AAB/gAAAA/gAAD+AAAADwAAAB4AAAAPAAAADgAAAA4AAAAGAA
|
|
AADgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAAYAAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AAA
|
|
AOAAAABgAAAA4AAAAOAAAADgAAAA4AAAAOAAAADgAAAA4AAAAGAAAADgAAAA4AAAAOAAAADgAAAA
|
|
8AAAAOAAAADwAAAB4AAAAPwAAAfgAAAA/gAAD+AAAAD/gAA/4AAAAP/AAH/gAAAA//gD/+AAAAD/
|
|
/Af/4AAAAP//v//gAAAA/////+AAAAA
|
|
" />
|
|
<link href="../../../12/jquery.jqplot.min.css" rel="stylesheet">
|
|
<script type="text/javascript" src="../../../12/jquery.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jquery.jqplot.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.pieRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.barRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.dateAxisRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.canvasTextRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.categoryAxisRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.canvasAxisTickRenderer.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.highlighter.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.highlighter.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.cursor.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/jqplot.pointLabels.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/bean.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/underscore.min.js"></script>
|
|
<link href="../../../12/bootstrap.min.css" rel="stylesheet">
|
|
<link href="../../../12/fontawesome.min.css" rel="stylesheet">
|
|
<script type="text/javascript" src="../../../12/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="../../../12/pgbadger_slide.min.js"></script>
|
|
<link href="../../../12/pgbadger.min.css" rel="stylesheet">
|
|
<script type="text/javascript" src="../../../12/pgbadger.min.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<form method="POST" target="explain" action="http://explain.depesz.com/"><input type="hidden" name="is_public" value="0"><input type="hidden" name="is_anon" value="0"><input type="hidden" name="plan" value=""></form>
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container-fluid">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a data-placement="bottom" rel="tooltip" data-original-title="PostgreSQL Log Analyzer" href="" id="pgbadger-brand" class="navbar-brand"><img src="data:image/png;base64,
|
|
iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A
|
|
/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94ICA0KBOR+CxEAAAaZSURBVFjD
|
|
vVhdTFNbFv76B0WwNkIlMq0ElMSmhTCNKCigQIaQSEXFS1DxP0E04UUFiRoYnAxqfPDBPzBEQgAJ
|
|
kmu8IwESjZkhAZQgiPFFRo2ZBIXgAA20YCvnm4e556S9tPx49a7kpHvvtffa31nnW2uvXeAHyYUL
|
|
F5a8Rr7UBbdu3ZLaJSUlfw4ODj4WEBBQoNPpjm/btu0voq6npwc/VA4dOgQAIKmMj48vCwoKGlUo
|
|
FARAmUxGf39/W1JSUndXV9dy/BFSXFycqtFoJgEQANVqNSsqKmg2mymOKZVKV0pKytnvuvG+ffuk
|
|
9o4dO+KMRuPPMpmMAKjX61leXk53efDgAWNjYwlAAMC1a9f+Jy4uLqm1tdX/dwE5ceIEAKCmpibC
|
|
YDDc0ev1AgAGBgby+vXrfP/+vUAvYrfbhXv37jE6OloAQJ1OR51O98v58+czRNuCICwOxMaNG6V2
|
|
fn7+nWXLlv1X9IZCoRA2bNjAvXv3ChcvXuTw8PAcMFVVVczLy2NqaioDAgKkTxcQEDCTnJz8r6VG
|
|
i9xkMpljYmIcoiHR7e6PWq1mZWWlB5APHz5Qr9fzt3PdbWg0Gubk5Oy7evWqCgCGh4fngqioqAAA
|
|
REdH/02r1foEAYBRUVFsb28nSQqC4PE7Pj7OlJQUn2DEF9Hr9Y0kFT69Ul1dnSaGqi8gANjf3+8B
|
|
QBSxPzo6yk2bNvnykGTbYrH8AwCOHz8+F4zFYpnPAAFw586dtNvtXEhu3769oK3/pyyqvWbgvr6+
|
|
BTnV3d0Nh8PhU08SLpcLr1+/XhRH6+rqIr/5OBgZGcHg4KBPvUwmw8jICG7evLkoezKZTPbNYADg
|
|
xo0b8+p7e3u/S9LlYh9vIhJ4MdwTn7q6OtPv8gwAFBUVSRxx/0SDg4OL4t6SS4j4+Hj09/ejtbUV
|
|
W7Zs8dA9fPhwDnEBoLS01GN83bp1qK+vx4sXL6Qj5pvAyOVyxMbGIiQkBJ2dncjOzobRaISYObu6
|
|
uiDyT/zt6OgAACiVSpSUlODt27d48+YNLBaLNEehUEAuly8MJigoCJGRkZDJZOjr60NbWxsmJiZg
|
|
MBgQHh6OrKwsAMDU1BRqamo81jY0NGBsbAwAsH//fmzevBkGgwEOhwM2mw3379+XvKXT6RYG43K5
|
|
cOrUKWi1WszMzCAvLw/Nzc3IyMhAcHAwmpubPcJ8enpa6j99+hRfvnwBALS3t6OrqwuZmZlwuVww
|
|
m834/PkzVCoVEhMToVarF44mlUrFx48fMyEhwYP1fn5+lMvlHmOxsbEcGhoiSc7MzHDXrl1zosXf
|
|
39+jv2rVKr569YqrV69eXDRNTU2htrYWfn5+0pjT6ZxThwwNDWFiYkLSe8vMoqdEXhUXF0OlUnlE
|
|
4bxgvn79iqioKAwMDMBsNvt0o0qlglKplMjubQNRwsLCUF1djdOnT8PhcMAt8frOwO5vv379enR2
|
|
diIjI8PrBmlpaQgPDwcABAYGYuvWrV7nhYaG4tGjRzh69KjEy9nZWdFzX7wu2r59uwCAZWVlnJ2d
|
|
9ciukZGRHt++o6PDaxa22WwMDg72mDs+Pu4xp76+Xiol3E9tD7l8+bJGo9EQAFNTU4WXL196gDIa
|
|
jQTAZ8+eSWPT09O02+2cnp6W5k5NTVGpVFKhUEgEJ8l3797xzJkzwq8lLI8cOdL4ax3lCSQ/Px8A
|
|
kJycnC9eReRyuXD48GF+/PiRJDkwMMCIiAiOjY2xra2NOTk5zMrKYmZmJrOyspiTk8NLly6RJI8d
|
|
O8aqqiqSpNPp5Llz5ygW9StWrGBMTMx1AMjNzcW89YjVav2T1Wr9p+jmoKAg4eTJkyTJwsJC2mw2
|
|
pqWlzXuI3r17lyRZW1vLsLAwwa26s5tMJnNlZaVsSXfk0tLSpJCQkA9yufwrAIaEhAg9PT389OmT
|
|
8Pz5c1+nMJ1Op9Da2sr09HRBvG0uX758fPfu3edF2wkJCYs/QcvLy6W20Wj868qVK1+KG3Z3dwsk
|
|
2dvby7NnzzIxMZFFRUVsamoiSWF0dFQqI8LDw4U1a9bcaWhoiACAPXv2fFuZUFBQILWzs7PD0tPT
|
|
/65Wq6nVaklSIMnGxkYePHiQ165d4+TkJEnSarUSAE0m08+5ublxv72rfzchuTo0NPT9gQMHvIZ2
|
|
S0sLAUxeuXIl9Yde+t2LpvT09J9yc3P/3dLS4uzp6eGTJ0+EwsLCz9HR0WUklQBQWFj4Y/+FIImo
|
|
qCixqwXwk8FgKACwPy8vzyIqmpqa8IeJG6DvJv8DFUCCOQ08CmkAAAAASUVORK5CYII=
|
|
" class="pull-left" style="width:50px;height:auto"> pgBadger</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav" id="navigation">
|
|
|
|
<li id="menu-overview" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Overview <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#global-stats">Global Stats</a></li>
|
|
|
|
<li><a href="#sql-traffic">SQL Traffic</a></li>
|
|
<li><a href="#select-traffic">Select Traffic</a></li>
|
|
<li><a href="#write-traffic">Write Traffic</a></li>
|
|
<li><a href="#duration-traffic">Queries duration</a></li>
|
|
<li><a href="#prepared-queries-ratio">Prepared queries ratio</a></li>
|
|
<li><a href="#general-activity">General Activity</a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-connections" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Connections <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="#established-connections">Established connections</a></li>
|
|
|
|
<li><a href="#connections-per-database">Connections per database</a></li>
|
|
<li><a href="#connections-per-user">Connections per user</a></li>
|
|
<li><a href="#connections-per-host">Connections per host</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-sessions" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Sessions <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="#simultaneous-sessions">Simultaneous sessions</a></li>
|
|
|
|
<li><a href="#histogram-session-times">Histogram of sessions times</a></li>
|
|
<li><a href="#sessions-per-database">Sessions per database</a></li>
|
|
<li><a href="#sessions-per-user">Sessions per user</a></li>
|
|
<li><a href="#sessions-per-host">Sessions per host</a></li>
|
|
<li><a href="#sessions-per-app">Sessions per application</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-checkpoints" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Checkpoints <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#checkpoints-buffers">Checkpoints buffers</a></li>
|
|
<li><a href="#checkpoints-files">Checkpoints files</a></li>
|
|
<li><a href="#checkpoints-distance">Checkpoints distance</a></li>
|
|
<li><a href="#checkpoint-activity">Checkpoint activity</a></li>
|
|
<li><a href="#checkpoints-cause">Checkpoint causes</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-tempfiles" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Temp Files <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#tempfiles-size">Size of temporary files</a></li>
|
|
<li><a href="#tempfiles-number">Number of temporary files</a></li>
|
|
<li><a href="#tempfiles-activity">Temporary files activity</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="#queries-generating-most-temporary-files">Queries generating the most files (N)</a></li>
|
|
<li><a href="#queries-generating-largest-temporary-files">Queries generating the largest files</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-vacuums" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Vacuums <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#vacuums-count">Vacuums distribution</a></li>
|
|
<li><a href="#vacuums-activity">Vacuums activity</a></li>
|
|
<li><a href="#analyzes-per-table">Analyzes per Tables</a></li>
|
|
<li><a href="#vacuums-per-table">Vacuums per Tables</a></li>
|
|
<li><a href="#tuples-removed-per-table">Tuples removed</a></li>
|
|
<li><a href="#pages-removed-per-table">Page removed</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-locks" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Locks <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#locks-type">Locks by type</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="#queries-most-frequent-waiting">Most frequent waiting queries (N)</a></li>
|
|
<li><a href="#queries-that-waited-most">Queries that waited the most</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-queries" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Queries <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#queries-by-type">Queries by type</a></li>
|
|
<li><a href="#queries-by-database">Queries by database</a></li>
|
|
<li><a href="#queries-by-user">Queries by user</a></li>
|
|
<li><a href="#duration-by-user">Duration by user</a></li>
|
|
<li><a href="#queries-by-host">Queries by host</a></li>
|
|
<li><a href="#queries-by-application">Queries by application</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="#queries-cancelled-number">Number of cancelled queries</a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-topqueries" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Top <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#histogram-query-times">Histogram of query times</a></li>
|
|
<li><a href="#slowest-individual-queries">Slowest individual queries</a></li>
|
|
<li><a href="#time-consuming-queries">Time Consuming queries (N)</a></li>
|
|
<li><a href="#most-frequent-queries">Most frequent queries (N)</a></li>
|
|
<li><a href="#normalized-slowest-queries">Normalized slowest queries</a></li>
|
|
<li><a href="#time-consuming-prepare">Time consuming prepare</a></li>
|
|
<li><a href="#time-consuming-bind">Time consuming bind</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-events" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Events <span class="caret"></span></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#log-levels">Log levels</a></li>
|
|
<li><a href="#minutes-errors-levels">Events distribution</a></li>
|
|
|
|
<li class="divider"></li>
|
|
<li><a href="#most-frequent-errors-events">Most frequent errors/events</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="menu-info" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#global-stats"><i class="glyphicon icon-info-sign icon-large"></i></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container" id="main-container">
|
|
|
|
<ul id="slides">
|
|
|
|
<li class="slide" id="info-slide">
|
|
|
|
<div class="row analysis-item" id="global-info">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-info-sign"></i> Global information</h2>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="tab-info">
|
|
|
|
<ul>
|
|
<li>Generated on Fri Sep 6 16:45:18 2024</li>
|
|
<li>Log file: /opt/docker/data/log/postgresql-2024-09-06_164309.json</li>
|
|
<li>Parsed 1,657 log entries in 2s</li>
|
|
<li>Log start from 2024-09-06 16:43:09 to 2024-09-06 16:45:13</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
|
|
<li class="slide active-slide" id="overview-slide">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-eye-open"></i> Overview</h1>
|
|
|
|
<div class="row analysis-item" id="global-stats">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-dashboard"></i> Global Stats</h2>
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#tab-queries" data-toggle="tab"><i class="glyphicon icon-question-sign"></i> Queries</a></li>
|
|
<li><a href="#tab-durations" data-toggle="tab"><i class="glyphicon icon-time"></i> Durations</a></li>
|
|
<li><a href="#tab-events" data-toggle="tab"><i class="glyphicon icon-bullhorn"></i> Events</a></li>
|
|
<li><a href="#tab-vacuums" data-toggle="tab"><i class="glyphicon icon-cogs"></i> Vacuums</a></li>
|
|
<li><a href="#tab-tempfiles" data-toggle="tab"><i class="glyphicon icon-file"></i> Temporary files</a></li>
|
|
<li><a href="#tab-sessions" data-toggle="tab"><i class="glyphicon icon-off"></i> Sessions</a></li>
|
|
<li><a href="#tab-connections" data-toggle="tab"><i class="glyphicon icon-external-link-sign"></i> Connections</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="tab-queries">
|
|
<ul>
|
|
<li class="first"><span class="figure">17</span> <span class="figure-label">Number of unique normalized queries</span></li>
|
|
<li><span class="figure">348</span> <span class="figure-label">Number of queries</span></li>
|
|
<li><span class="figure">150ms</span> <span class="figure-label">Total query duration</span></li>
|
|
<li><span class="figure">2024-09-06 16:43:29</span> <span class="figure-label">First query</span></li>
|
|
<li><span class="figure">2024-09-06 16:45:13</span> <span class="figure-label">Last query</span></li>
|
|
<li><span class="figure">73 queries/s at 2024-09-06 16:43:29</span> <span class="figure-label">Query peak</span></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-durations">
|
|
<ul>
|
|
<li class="first"><span class="figure">150ms</span> <span class="figure-label">Total query duration</span></li>
|
|
<li><span class="figure">15ms</span> <span class="figure-label">Prepare/parse total duration</span></li>
|
|
<li><span class="figure">44ms</span> <span class="figure-label">Bind total duration</span></li>
|
|
<li><span class="figure">89ms</span> <span class="figure-label">Execute total duration</span></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-events">
|
|
<ul>
|
|
<li class="first"><span class="figure">1</span> <span class="figure-label">Number of events</span></li>
|
|
<li><span class="figure">1</span> <span class="figure-label">Number of unique normalized events</span></li>
|
|
<li><span class="figure">1</span> <span class="figure-label">Max number of times the same event was reported</span></li>
|
|
<li><span class="figure">0</span> <span class="figure-label">Number of cancellation</span></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-vacuums">
|
|
<ul>
|
|
<li class="first"><span class="figure">0</span> <span class="figure-label">Total number of automatic vacuums</span></li>
|
|
<li><span class="figure">0</span> <span class="figure-label">Total number of automatic analyzes</span></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-tempfiles">
|
|
<ul>
|
|
<li class="first"><span class="figure">0</span> <span class="figure-label">Number temporary file</span></li>
|
|
<li><span class="figure">0</span> <span class="figure-label">Max size of temporary file</span></li>
|
|
<li><span class="figure">0.00 B</span> <span class="figure-label">Average size of temporary file</span></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-sessions">
|
|
<ul>
|
|
<li class="first"><span class="figure">0</span> <span class="figure-label">Total number of sessions</span></li>
|
|
<li><span class="figure">0 sessions at </span> <span class="figure-label">Session peak</span></li>
|
|
<li><span class="figure">0ms</span> <span class="figure-label">Total duration of sessions</span></li>
|
|
<li><span class="figure">0ms</span> <span class="figure-label">Average duration of sessions</span></li>
|
|
<li><span class="figure">348</span> <span class="figure-label">Average queries per session</span></li>
|
|
<li><span class="figure">150ms</span> <span class="figure-label">Average queries duration per session</span></li>
|
|
<li><span class="figure">n/a</span> <span class="figure-label">Average idle time per session</span></li>
|
|
|
|
</ul>
|
|
</div>
|
|
<div class="tab-pane" id="tab-connections">
|
|
<ul>
|
|
<li class="first"><span class="figure">8</span> <span class="figure-label">Total number of connections</span></li>
|
|
|
|
<li><span class="figure">8 connections/s at 2024-09-06 16:43:29</span> <span class="figure-label">Connection peak</span></li>
|
|
|
|
<li><span class="figure">1</span> <span class="figure-label">Total number of databases</span></li>
|
|
</ul>
|
|
</div>
|
|
</div> <!-- end div tab-content -->
|
|
</div> <!-- end div tabbable -->
|
|
</div> <!-- end div global-stats -->
|
|
|
|
<div id="sql-traffic" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-road"></i> SQL Traffic</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">73 queries/s</span> <span class="figure-label">Query Peak</span></li>
|
|
<li><span class="figure">2024-09-06 16:43:29</span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="queriespersecond_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var queriespersecond_graph_1_d1 = [[1725633600000, 73],[1725633900000, 52],[1725634200000, 0]];
|
|
var queriespersecond_graph_1_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var queriespersecond_graph_1_d3 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
var series_arr = [ { label: "Maximum", color: "#6e9dc9" },{ label: "Average", color: "#f4ab3a" },{ label: "Minimum", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(1, 'btn btn-default');
|
|
charts.push(['linegraph', 'queriespersecond_graph', 'Queries per second (5 minutes average)', 'Queries per second', series_arr, [queriespersecond_graph_1_d1,queriespersecond_graph_1_d2,queriespersecond_graph_1_d3]]);
|
|
add_download_button_event(1, 'queriespersecond_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of sql-traffic -->
|
|
|
|
<div id="select-traffic" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-road"></i> SELECT Traffic</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">51 queries/s</span> <span class="figure-label">Query Peak</span></li>
|
|
<li><span class="figure">2024-09-06 16:43:29</span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="selectqueries_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var selectqueries_graph_4_d1 = [[1725633600000, 51],[1725633900000, 29],[1725634200000, 0]];
|
|
var selectqueries_graph_4_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var selectqueries_graph_4_d3 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
var series_arr = [ { label: "Maximum", color: "#6e9dc9" },{ label: "Average", color: "#f4ab3a" },{ label: "Minimum", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(4, 'btn btn-default');
|
|
charts.push(['linegraph', 'selectqueries_graph', 'SELECT queries (5 minutes period)', 'Queries per second', series_arr, [selectqueries_graph_4_d1,selectqueries_graph_4_d2,selectqueries_graph_4_d3]]);
|
|
add_download_button_event(4, 'selectqueries_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of select-traffic -->
|
|
|
|
<div id="write-traffic" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-road"></i> INSERT/UPDATE/DELETE Traffic</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">23 queries/s</span> <span class="figure-label">Query Peak</span></li>
|
|
<li><span class="figure">2024-09-06 16:45:12</span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="writequeries_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var writequeries_graph_5_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var writequeries_graph_5_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var writequeries_graph_5_d3 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
var series_arr = [ { label: "DELETE queries", color: "#6e9dc9" },{ label: "INSERT queries", color: "#f4ab3a" },{ label: "UPDATE queries", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(5, 'btn btn-default');
|
|
charts.push(['linegraph', 'writequeries_graph', 'Write queries (5 minutes period)', 'Queries', series_arr, [writequeries_graph_5_d1,writequeries_graph_5_d2,writequeries_graph_5_d3]]);
|
|
add_download_button_event(5, 'writequeries_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of write-traffic -->
|
|
|
|
<div id="duration-traffic" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Queries duration</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">150ms</span> <span class="figure-label">Total query duration</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="durationqueries_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var durationqueries_graph_6_d1 = [[1725633600000, 0.247],[1725633900000, 0.268],[1725634200000, 0.000]];
|
|
var durationqueries_graph_6_d2 = [[1725633600000, 0.295],[1725633900000, 0.475],[1725634200000, 0.000]];
|
|
var durationqueries_graph_6_d3 = [[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633600000, 0.221],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725633900000, 0.010],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000],[1725634200000, 0.000]];
|
|
|
|
var series_arr = [ { label: "All queries", color: "#6e9dc9" },{ label: "Select queries", color: "#f4ab3a" },{ label: "Write queries", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(6, 'btn btn-default');
|
|
charts.push(['linegraph', 'durationqueries_graph', 'Average queries duration (5 minutes average)', 'Duration', series_arr, [durationqueries_graph_6_d1,durationqueries_graph_6_d2,durationqueries_graph_6_d3]]);
|
|
add_download_button_event(6, 'durationqueries_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of duration-traffic -->
|
|
|
|
<div id="prepared-queries-ratio" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-cog"></i> Prepared queries ratio</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0.00</span> <span class="figure-label">Ratio of bind vs prepare</span></li>
|
|
<li><span class="figure">0.00 %</span> <span class="figure-label">Ratio between prepared and "usual" statements</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="bindpreparequeries_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var bindpreparequeries_graph_7_d1 = [[1725633600000, 107],[1725633900000, 20],[1725634200000, 0]];
|
|
var bindpreparequeries_graph_7_d2 = [[1725633600000, 168],[1725633900000, 180],[1725634200000, 0]];
|
|
var bindpreparequeries_graph_7_d3 = [[1725633600000, 1.57],[1725633900000, 9.00],[1725634200000, 0.00]];
|
|
|
|
var series_arr = [ { label: "Prepare/Parse", color: "#6e9dc9" },{ label: "Execute/Bind", color: "#f4ab3a" },{ label: "Bind vs prepare", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(7, 'btn btn-default');
|
|
charts.push(['linegraph', 'bindpreparequeries_graph', 'Bind versus prepare statements (5 minutes average)', 'Number of statements', series_arr, [bindpreparequeries_graph_7_d1,bindpreparequeries_graph_7_d2,bindpreparequeries_graph_7_d3]]);
|
|
add_download_button_event(7, 'bindpreparequeries_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of prepared-queries-ratio -->
|
|
|
|
<div class="analysis-item row" id="general-activity">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-calendar"></i> General Activity</h2>
|
|
<div class="col-md-12 tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#general-activity-queries" data-toggle="tab">Queries</a></li>
|
|
<li><a href="#general-activity-select-queries" data-toggle="tab">Read Queries</a></li>
|
|
<li><a href="#general-activity-write-queries" data-toggle="tab">Write Queries</a></li>
|
|
<li><a href="#general-activity-prepared-queries" data-toggle="tab">Prepared Queries</a></li>
|
|
<li><a href="#general-activity-connections" data-toggle="tab">Connections</a></li>
|
|
<li><a href="#general-activity-sessions" data-toggle="tab">Sessions</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="active tab-pane" id="general-activity-queries">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Latency Percentile(90)</th>
|
|
<th>Latency Percentile(95)</th>
|
|
<th>Latency Percentile(99)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>348</td>
|
|
<td>0ms</td>
|
|
<td>4ms</td>
|
|
<td>0ms</td>
|
|
<td>48ms</td>
|
|
<td>48ms</td>
|
|
<td>48ms</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="general-activity-select-queries">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>SELECT</th>
|
|
<th>COPY TO</th>
|
|
<th>Average Duration</th>
|
|
<th>Latency Percentile(90)</th>
|
|
<th>Latency Percentile(95)</th>
|
|
<th>Latency Percentile(99)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>206</td>
|
|
<td>0</td>
|
|
<td>0ms</td>
|
|
<td>47ms</td>
|
|
<td>47ms</td>
|
|
<td>47ms</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="general-activity-write-queries">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>INSERT</th>
|
|
<th>UPDATE</th>
|
|
<th>DELETE</th>
|
|
<th>COPY FROM</th>
|
|
<th>Average Duration</th>
|
|
<th>Latency Percentile(90)</th>
|
|
<th>Latency Percentile(95)</th>
|
|
<th>Latency Percentile(99)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>0</td>
|
|
<td>0</td>
|
|
<td>0</td>
|
|
<td>0</td>
|
|
<td>0ms</td><td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="general-activity-prepared-queries">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Prepare</th>
|
|
<th>Bind</th>
|
|
<th>Bind/Prepare</th>
|
|
<th>Percentage of prepare</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>127</td>
|
|
<td>348</td>
|
|
<td>2.74</td>
|
|
<td>38.25%</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="general-activity-connections">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Average / Second</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>8</td>
|
|
<td>0.00/s</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="general-activity-sessions">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Average Duration</th>
|
|
<th>Average idle time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Sep 06</td>
|
|
<td>16</td>
|
|
<td>0</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> <!-- end of div tab-content -->
|
|
<span class="pull-right">↑ <small><a href="#general-activity" class="">Back to the top of the <em>General Activity</em> table</a></small></span>
|
|
</div>
|
|
|
|
</div><!-- end of general activity -->
|
|
|
|
</li>
|
|
<li class="slide" id="connections-slide" style="display:none;">
|
|
<h1 class="page-header"><i class="glyphicon icon-external-link-sign"></i> Connections</h1>
|
|
|
|
|
|
<div id="established-connections" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-random"></i> Established Connections</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">8 connections</span> <span class="figure-label">Connection Peak</span></li>
|
|
<li><span class="figure">2024-09-06 16:43:29</span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="connectionspersecond_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var connectionspersecond_graph_2_d1 = [[1725633600000, 8],[1725633900000, 0],[1725634200000, 0]];
|
|
var connectionspersecond_graph_2_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var connectionspersecond_graph_2_d3 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
var series_arr = [ { label: "Maximum", color: "#6e9dc9" },{ label: "Average", color: "#f4ab3a" },{ label: "Minimum", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(2, 'btn btn-default');
|
|
charts.push(['linegraph', 'connectionspersecond_graph', 'Connections per second (5 minutes average)', 'Connections per second', series_arr, [connectionspersecond_graph_2_d1,connectionspersecond_graph_2_d2,connectionspersecond_graph_2_d3]]);
|
|
add_download_button_event(2, 'connectionspersecond_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of Established connections -->
|
|
|
|
<div class="analysis-item row" id="connections-per-database">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-list-alt"></i> Connections per database</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">wedeojpa</span> <span class="figure-label">Main Database</span></li>
|
|
<li><span class="figure">8 connections</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#connections-per-database-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#connections-per-database-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="connections-per-database-graph">
|
|
<div id="graph_databaseconnections" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_8 = [ ['wedeojpa', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(8, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_databaseconnections', 'Connections per database', data_8]);
|
|
add_download_button_event(8, 'graph_databaseconnections');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="connections-per-database-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Database</th>
|
|
<th>User</th>
|
|
<th>Count</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>wedeojpa</td><td> </td><td>8</td></tr><tr><td> </td><td>onlineed</td><td>8</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of connections per database -->
|
|
|
|
<div class="analysis-item row" id="connections-per-user">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-user"></i> Connections per user</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">onlineed</span> <span class="figure-label">Main User</span></li>
|
|
<li><span class="figure">8 connections</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#connections-per-user-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#connections-per-user-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="connections-per-user-graph">
|
|
<div id="graph_userconnections" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_9 = [ ['onlineed', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(9, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_userconnections', 'Connections per user', data_9]);
|
|
add_download_button_event(9, 'graph_userconnections');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="connections-per-user-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Count</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>onlineed</td><td>8</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of connections per user -->
|
|
|
|
<div class="analysis-item row" id="connections-per-host">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-sitemap"></i> Connections per host</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">payara.docker_default</span> <span class="figure-label">Main host with 8 connections</span></li>
|
|
<li><span class="figure">8</span> <span class="figure-label">Total connections</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#connections-per-host-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#connections-per-host-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="connections-per-host-graph">
|
|
<div id="graph_hostconnections" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_10 = [ ['payara.docker_default', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(10, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_hostconnections', 'Connections per host', data_10]);
|
|
add_download_button_event(10, 'graph_hostconnections');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="connections-per-host-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Host</th>
|
|
<th>Count</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>payara.docker_default</td><td>8</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of connections per host -->
|
|
|
|
</li>
|
|
<li class="slide" id="sessions-slide" style="display:none;">
|
|
<h1 class="page-header"><i class="glyphicon icon-off"></i> Sessions</h1>
|
|
|
|
|
|
<div id="simultaneous-sessions" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-random"></i> Simultaneous sessions</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 sessions</span> <span class="figure-label">Session Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="sessionspersecond_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var sessionspersecond_graph_3_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var sessionspersecond_graph_3_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var sessionspersecond_graph_3_d3 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
var series_arr = [ { label: "Maximum", color: "#6e9dc9" },{ label: "Average", color: "#f4ab3a" },{ label: "Minimum", color: "#ac7fa8" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(3, 'btn btn-default');
|
|
charts.push(['linegraph', 'sessionspersecond_graph', 'Number of sessions/second (5 minutes average)', 'Sessions', series_arr, [sessionspersecond_graph_3_d1,sessionspersecond_graph_3_d2,sessionspersecond_graph_3_d3]]);
|
|
add_download_button_event(3, 'sessionspersecond_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of Simultaneous sessions -->
|
|
|
|
<div class="analysis-item row" id="histogram-session-times">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-signal"></i> Histogram of session times</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure"></span> <span class="figure-label"> duration</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#histogram-session-times-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#histogram-session-times-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="histogram-session-times-graph">
|
|
<div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
</div>
|
|
<div class="tab-pane" id="histogram-session-times-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Range</th>
|
|
<th>Count</th>
|
|
<th>Percentage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="3"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by type -->
|
|
|
|
<div class="analysis-item row" id="sessions-per-database">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-list-alt"></i> Sessions per database</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown</span> <span class="figure-label">Main Database</span></li>
|
|
<li><span class="figure">0 sessions</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#sessions-per-database-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#sessions-per-database-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="sessions-per-database-graph">
|
|
|
|
<h3 class="">Sessions per database</h3>
|
|
<div id="graph_databasesessions" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="sessions-per-database-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Database</th>
|
|
<th>Count</th>
|
|
<th>Total Duration</th>
|
|
<th>Average Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="5"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of sessions per database -->
|
|
|
|
<div class="analysis-item row" id="sessions-per-user">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-user"></i> Sessions per user</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown</span> <span class="figure-label">Main User</span></li>
|
|
<li><span class="figure">0 sessions</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#sessions-per-user-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#sessions-per-user-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="sessions-per-user-graph">
|
|
|
|
<h3 class="">Sessions per user</h3>
|
|
<div id="graph_usersessions" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="sessions-per-user-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Count</th>
|
|
<th>Total Duration</th>
|
|
<th>Average Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="4"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of sessions per user -->
|
|
|
|
<div class="analysis-item row" id="sessions-per-host">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-sitemap"></i> Sessions per host</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown</span> <span class="figure-label">Main Host</span></li>
|
|
<li><span class="figure">0 sessions</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#sessions-per-host-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#sessions-per-host-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="sessions-per-host-graph">
|
|
|
|
<h3 class="">Sessions per host</h3>
|
|
<div id="graph_hostsessions" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="sessions-per-host-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Host</th>
|
|
<th>Count</th>
|
|
<th>Total Duration</th>
|
|
<th>Average Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="4"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of sessions per host -->
|
|
|
|
<div class="analysis-item row" id="sessions-per-app">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-sitemap"></i> Sessions per application</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown</span> <span class="figure-label">Main Host</span></li>
|
|
<li><span class="figure">0 sessions</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#sessions-per-app-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#sessions-per-app-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="sessions-per-app-graph">
|
|
|
|
<h3 class="">Sessions per application</h3>
|
|
<div id="graph_appsessions" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="sessions-per-app-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Application</th>
|
|
<th>Count</th>
|
|
<th>Total Duration</th>
|
|
<th>Average Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="4"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of sessions per app -->
|
|
|
|
</li>
|
|
<li class="slide" id="checkpoints-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-pencil"></i> Checkpoints / Restartpoints</h1>
|
|
|
|
<div id="checkpoints-buffers" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-paste"></i> Checkpoints Buffers</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 buffers</span> <span class="figure-label">Checkpoint Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
<li><span class="figure"> seconds</span> <span class="figure-label">Highest write time</span></li>
|
|
<li><span class="figure"> seconds</span> <span class="figure-label">Sync time</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Checkpoint write buffers (5 minutes period)</h3>
|
|
<div id="checkpointwritebuffers_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Checkpoints Buffers -->
|
|
|
|
<div id="checkpoints-files" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-file-alt"></i> Checkpoints Wal files</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 files</span> <span class="figure-label">Wal files usage Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Checkpoint Wal files usage (5 minutes period)</h3>
|
|
<div id="checkpointfiles_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Checkpoints Files -->
|
|
|
|
<div id="checkpoints-distance" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-file-alt"></i> Checkpoints distance</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 Mo</span> <span class="figure-label">Distance Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="checkpointdistance_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var checkpointdistance_graph_17_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var checkpointdistance_graph_17_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
|
|
var series_arr = [ { label: "distance", color: "#6e9dc9" },{ label: "estimate", color: "#f4ab3a" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(17, 'btn btn-default');
|
|
charts.push(['linegraph', 'checkpointdistance_graph', 'Checkpoint mean distance and estimate (5 minutes period)', 'Number of bytes', series_arr, [checkpointdistance_graph_17_d1,checkpointdistance_graph_17_d2]]);
|
|
add_download_button_event(17, 'checkpointdistance_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of Checkpoints Files -->
|
|
|
|
<div class="analysis-item row" id="checkpoint-activity">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-calendar"></i> Checkpoints Activity</h2>
|
|
<div class="col-md-12 tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#checkpoint-activity-buffers" data-toggle="tab">Checkpoints Buffers</a></li>
|
|
<li><a href="#checkpoint-activity-files" data-toggle="tab">Checkpoints files</a></li>
|
|
<li><a href="#checkpoint-activity-warnings" data-toggle="tab">Checkpoints Warnings</a></li>
|
|
<li><a href="#checkpoint-activity-distance" data-toggle="tab">Checkpoints distance</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="active tab-pane" id="checkpoint-activity-buffers">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Written buffers</th>
|
|
<th>Write time</th>
|
|
<th>Sync time</th>
|
|
<th>Total time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0</td><td>0s</td><td>0s</td><td>0s</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="checkpoint-activity-files">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Added</th>
|
|
<th>Removed</th>
|
|
<th>Recycled</th>
|
|
<th>Synced files</th>
|
|
<th>Longest sync</th>
|
|
<th>Average sync</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0s</td><td>0s</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="checkpoint-activity-warnings">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Avg time (sec)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0</td><td>0s</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="tab-pane" id="checkpoint-activity-distance">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Mean distance</th>
|
|
<th>Mean estimate</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0.00 kB</td><td>0.00 kB</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> <!-- end of div tab-content -->
|
|
<span class="pull-right">↑ <small><a href="#checkpoint-activity" class="">Back to the top of the <em>Checkpoint Activity</em> table</a></small></span>
|
|
</div>
|
|
|
|
</div><!-- end of checkpoint activity -->
|
|
|
|
<div class="analysis-item row" id="checkpoints-cause">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-table"></i> Checkpoint causes</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown (0)</span> <span class="figure-label">Main checkpoint cause</span></li>
|
|
<li><span class="figure">0 checkpoints</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#checkpoints-cause-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#checkpoints-cause-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="checkpoints-cause-graph">
|
|
|
|
<h3 class="">Checkpoint causes</h3>
|
|
<div id="graph_checkpointcause" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="checkpoints-cause-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Cause</th>
|
|
<th>Number of checkpoints</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="2"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of checkpoints per table -->
|
|
|
|
</li>
|
|
<li class="slide" id="tempfiles-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-pencil"></i> Temporary Files</h1>
|
|
|
|
<div id="tempfiles-size" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-resize-full"></i> Size of temporary files</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0</span> <span class="figure-label">Temp Files size Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Size of temporary files (5 minutes period)</h3>
|
|
<div id="temporarydata_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Size of temporary files -->
|
|
|
|
<div id="tempfiles-number" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-th"></i> Number of temporary files</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 per second</span> <span class="figure-label">Temp Files Peak</span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Number of temporary files (5 minutes period)</h3>
|
|
<div id="temporaryfile_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Number of temporary files -->
|
|
|
|
<div class="analysis-item row" id="tempfiles-activity">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-calendar"></i> Temporary Files Activity</h2>
|
|
<div class="col-md-12 tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#tempfiles-activity-count" data-toggle="tab">Temp Files</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="active tab-pane" id="tempfiles-activity-count">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Total size</th>
|
|
<th>Average size</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0</td><td>0</td><td>0</td>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> <!-- end of div tab-content -->
|
|
<span class="pull-right">↑ <small><a href="#tempfiles-activity" class="">Back to the top of the <em>Temporary Files Activity</em> table</a></small></span>
|
|
</div>
|
|
|
|
</div><!-- end of tempfile activity -->
|
|
|
|
</li>
|
|
<li class="slide" id="vacuums-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-cogs"></i> Vacuums</h1>
|
|
|
|
<div id="vacuums-count" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-pencil"></i> Vacuums / Analyzes Distribution</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 sec</span> <span class="figure-label">Highest CPU-cost vacuum <br />Table <br />Database </span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
<li><span class="figure">0 sec</span> <span class="figure-label">Highest CPU-cost analyze <br />Table <br />Database </span></li>
|
|
<li><span class="figure"></span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Autovacuum actions (5 minutes period)</h3>
|
|
<div id="autovacuum_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Autovacuum actions -->
|
|
|
|
<div class="analysis-item row" id="analyzes-per-table">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-table"></i> Analyzes per table</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown (0)</span> <span class="figure-label">Main table analyzed (database )</span></li>
|
|
<li><span class="figure">0 analyzes</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#analyzes-per-table-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#analyzes-per-table-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="analyzes-per-table-graph">
|
|
|
|
<h3 class="">Analyzes per tables</h3>
|
|
<div id="graph_tableanalyzes" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="analyzes-per-table-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Table</th>
|
|
<th>Number of analyzes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="2"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of analyzes per table -->
|
|
|
|
<div class="analysis-item row" id="vacuums-per-table">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-table"></i> Vacuums per table</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown (0)</span> <span class="figure-label">Main table vacuumed on database </span></li>
|
|
<li><span class="figure">0 vacuums</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#vacuums-per-table-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#vacuums-per-table-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="vacuums-per-table-graph">
|
|
|
|
<h3 class="">Vacuums per tables</h3>
|
|
<div id="graph_tablevacuums" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="vacuums-per-table-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr><th colspan="2"> </th><th style="text-align:center;">Index</th><th colspan="3" style="text-align:center;">Buffer usage</th><th colspan="2" style="text-align:center;">Skipped</th><th colspan="3" style="text-align:center;">WAL usage</th>
|
|
<tr>
|
|
<th>Table</th>
|
|
<th>Vacuums</th>
|
|
<th>scans</th>
|
|
<th>hits</th>
|
|
<th>misses</th>
|
|
<th>dirtied</th>
|
|
<th>pins</th>
|
|
<th>frozen</th>
|
|
<th>records</th>
|
|
<th>full page</th>
|
|
<th>bytes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="3"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of vacuums per table -->
|
|
|
|
<div class="analysis-item row" id="tuples-removed-per-table">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-table"></i> Tuples removed per table</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown (0)</span> <span class="figure-label">Main table with removed tuples on database </span></li>
|
|
<li><span class="figure">0 tuples</span> <span class="figure-label">Total removed</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#tuples-removed-per-table-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#tuples-removed-per-table-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="tuples-removed-per-table-graph">
|
|
|
|
<h3 class="">Tuples removed per tables</h3>
|
|
<div id="graph_tuplevacuums" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="tuples-removed-per-table-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr><th colspan="2"> </th><th style="text-align:center;">Index</th><th colspan="3" style="text-align:center;">Tuples</th><th colspan="2" style="text-align:center;">Pages</th></tr>
|
|
<tr>
|
|
<th>Table</th>
|
|
<th>Vacuums</th>
|
|
<th>scans</th>
|
|
<th>removed</th>
|
|
<th>remain</th>
|
|
<th>not yet removable</th>
|
|
<th>removed</th>
|
|
<th>remain</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="5"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of tuples removed per table -->
|
|
|
|
<div class="analysis-item row" id="pages-removed-per-table">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-table"></i> Pages removed per table</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown (0)</span> <span class="figure-label">Main table with removed pages on database unknown</span></li>
|
|
<li><span class="figure">0 pages</span> <span class="figure-label">Total removed</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#pages-removed-per-table-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#pages-removed-per-table-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="pages-removed-per-table-graph">
|
|
|
|
<h3 class="">Pages removed per tables</h3>
|
|
<div id="graph_pagevacuums" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="pages-removed-per-table-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Table</th>
|
|
<th>Number of vacuums</th>
|
|
<th>Index scans</th>
|
|
<th>Tuples removed</th>
|
|
<th>Pages removed</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="5"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of pages removed per table -->
|
|
|
|
<div class="analysis-item row" id="vacuums-activity">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-calendar"></i> Autovacuum Activity</h2>
|
|
<div class="col-md-12 tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#vacuums-activity-count" data-toggle="tab">Vacuums / Analyzes</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="active tab-pane" id="vacuums-activity-count">
|
|
<table class="table table-striped table-hover table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>VACUUMs</th>
|
|
<th>ANALYZEs</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td>Sep 06</td><td>16</td><td>0</td><td>0</td>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> <!-- end of div tab-content -->
|
|
<span class="pull-right">↑ <small><a href="#vacuums-activity" class="">Back to the top of the <em>Autovacuum Activity</em> table</a></small></span>
|
|
</div>
|
|
|
|
</div><!-- end of vacuum activity -->
|
|
|
|
</li>
|
|
<li class="slide" id="locks-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-lock"></i> Locks</h1>
|
|
<div class="analysis-item row" id="locks-type">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-lock"></i> Locks by types</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">unknown</span> <span class="figure-label">Main Lock Type</span></li>
|
|
<li><span class="figure">0 locks</span> <span class="figure-label">Total</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#locks-types-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#locks-types-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="locks-types-graph">
|
|
|
|
<h3 class="">Type of locks</h3>
|
|
<div id="graph_lockbytype" class="jqplot-graph piegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="locks-types-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Object</th>
|
|
<th>Count</th>
|
|
<th>Total Duration</th>
|
|
<th>Average Duration (s)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="5"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of locks by type -->
|
|
|
|
<div class="analysis-item row" id="queries-most-frequent-waiting">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-ban-circle"></i> Most frequent waiting queries (N)</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="queries-most-frequent-waiting-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Count</th>
|
|
<th>Total time</th>
|
|
<th>Min time</th>
|
|
<th>Max time</th>
|
|
<th>Avg duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="7"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of queries-most-frequent-waiting -->
|
|
|
|
<div class="analysis-item row" id="queries-that-waited-most">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-ban-circle"></i> Queries that waited the most</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="queries-that-waited-most-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Wait time</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td colspan="3"><div class="jqplot-graph"><blockquote><b>NO DATASET</b></blockquote></div></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of queries-that-waited-most -->
|
|
|
|
</li>
|
|
<li class="slide" id="queries-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-question-sign"></i> Queries</h1>
|
|
<div class="analysis-item row" id="queries-by-type">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-question-sign"></i> Queries by type</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">206</span> <span class="figure-label">Total read queries</span></li>
|
|
<li><span class="figure">126</span> <span class="figure-label">Total write queries</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#queries-by-type-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#queries-by-type-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="queries-by-type-graph">
|
|
<div id="graph_queriesbytype" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_27 = [ ['Others', 16],['SELECT', 206],['Sum query types < 2%', 4],['TCL', 122] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(27, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbytype', 'Type of queries', data_27]);
|
|
add_download_button_event(27, 'graph_queriesbytype');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="queries-by-type-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Count</th>
|
|
<th>Percentage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>SELECT</td><td>206</td><td>59.20%</td></tr><tr><td>INSERT</td><td>0</td><td>0.00%</td></tr><tr><td>UPDATE</td><td>0</td><td>0.00%</td></tr><tr><td>DELETE</td><td>0</td><td>0.00%</td></tr><tr><td>COPY FROM</td><td>0</td><td>0.00%</td></tr><tr><td>COPY TO</td><td>0</td><td>0.00%</td></tr><tr><td>CTE</td><td>0</td><td>0.00%</td></tr><tr><td>DDL</td><td>4</td><td>1.15%</td></tr><tr><td>TCL</td><td>122</td><td>35.06%</td></tr><tr><td>CURSOR</td><td>0</td><td>0.00%</td></tr><tr><td>OTHERS</td><td>16</td><td>4.60%</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by type -->
|
|
|
|
<div class="analysis-item row" id="queries-by-database">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-question-sign"></i> Queries by database</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">wedeojpa</span> <span class="figure-label">Main database</span></li>
|
|
<li><span class="figure">348</span> <span class="figure-label">Requests</span></li>
|
|
<li><span class="figure">89ms (wedeojpa)</span></li>
|
|
<li><span class="figure-label">Main time consuming database</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#queries-by-database-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#queries-by-database-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="queries-by-database-graph">
|
|
<div id="graph_queriesbydatabase" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_28 = [ ['wedeojpa', 348] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(28, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbydatabase', 'Queries per database', data_28]);
|
|
add_download_button_event(28, 'graph_queriesbydatabase');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="queries-by-database-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Database</th>
|
|
<th>Request type</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>wedeojpa</td><td>Total</td><td>348</td><td>89ms</td></tr><tr><td></td><td>ddl</td><td>4</td><td>8ms</td></tr><tr><td></td><td>others</td><td>16</td><td>0ms</td></tr><tr><td></td><td>select</td><td>206</td><td>78ms</td></tr><tr><td></td><td>tcl</td><td>122</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by database -->
|
|
|
|
<div class="analysis-item row" id="queries-by-user">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-question-sign"></i> Queries by user</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">onlineed</span> <span class="figure-label">Main user</span></li>
|
|
<li><span class="figure">348</span> <span class="figure-label">Requests</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#queries-by-user-graph" data-toggle="tab">Queries Chart</a></li>
|
|
<li><a href="#queries-by-user-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="queries-by-user-graph">
|
|
<div id="graph_queriesbyuser" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_29 = [ ['onlineed', 348] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(29, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyuser', 'Queries per user', data_29]);
|
|
add_download_button_event(29, 'graph_queriesbyuser');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="queries-by-user-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Request type</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>onlineed</td><td>Total</td><td>348</td><td>89ms</td></tr><tr><td></td><td>ddl</td><td>4</td><td>8ms</td></tr><tr><td></td><td>others</td><td>16</td><td>0ms</td></tr><tr><td></td><td>select</td><td>206</td><td>78ms</td></tr><tr><td></td><td>tcl</td><td>122</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by user -->
|
|
|
|
<div class="analysis-item row" id="duration-by-user">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Duration by user</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">89ms (onlineed)</span> <span class="figure-label">Main time consuming user</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#duration-by-user-graph" data-toggle="tab">Duration Chart</a></li>
|
|
<li><a href="#duration-by-user-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="duration-by-user-graph">
|
|
<div id="graph_durationbyuser" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_30 = [ ['onlineed', 89.8230000000001] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(30, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_durationbyuser', 'Duration per user', data_30]);
|
|
add_download_button_event(30, 'graph_durationbyuser');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="duration-by-user-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Request type</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>onlineed</td><td>Total</td><td>348</td><td>89ms</td></tr><tr><td></td><td>ddl</td><td>4</td><td>8ms</td></tr><tr><td></td><td>others</td><td>16</td><td>0ms</td></tr><tr><td></td><td>select</td><td>206</td><td>78ms</td></tr><tr><td></td><td>tcl</td><td>122</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of duration by user -->
|
|
|
|
<div class="analysis-item row" id="queries-by-host">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-question-sign"></i> Queries by host</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">payara.docker_default</span> <span class="figure-label">Main host</span></li>
|
|
<li><span class="figure">348</span> <span class="figure-label">Requests</span></li>
|
|
<li><span class="figure">89ms (payara.docker_default)</span></li>
|
|
<li><span class="figure-label">Main time consuming host</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#queries-by-host-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#queries-by-host-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="queries-by-host-graph">
|
|
<div id="graph_queriesbyhost" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_31 = [ ['payara.docker_default', 348] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(31, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyhost', 'Queries per host', data_31]);
|
|
add_download_button_event(31, 'graph_queriesbyhost');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="queries-by-host-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Host</th>
|
|
<th>Request type</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>payara.docker_default</td><td>Total</td><td>348</td><td>89ms</td></tr><tr><td></td><td>ddl</td><td>4</td><td>8ms</td></tr><tr><td></td><td>others</td><td>16</td><td>0ms</td></tr><tr><td></td><td>select</td><td>206</td><td>78ms</td></tr><tr><td></td><td>tcl</td><td>122</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by host -->
|
|
|
|
<div class="analysis-item row" id="queries-by-application">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-question-sign"></i> Queries by application</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">PostgreSQL JDBC Driver</span> <span class="figure-label">Main application</span></li>
|
|
<li><span class="figure">340</span> <span class="figure-label">Requests</span></li>
|
|
<li><span class="figure">89ms (PostgreSQL JDBC Driver)</span></li>
|
|
<li><span class="figure-label">Main time consuming application</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#queries-by-application-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#queries-by-application-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="queries-by-application-graph">
|
|
<div id="graph_queriesbyapplication" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_32 = [ ['PostgreSQL JDBC Driver', 340],['unknown', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(32, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyapplication', 'Queries per application', data_32]);
|
|
add_download_button_event(32, 'graph_queriesbyapplication');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="queries-by-application-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Application</th>
|
|
<th>Request type</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>PostgreSQL JDBC Driver</td><td>Total</td><td>340</td><td>89ms</td></tr><tr><td></td><td>ddl</td><td>4</td><td>8ms</td></tr><tr><td></td><td>others</td><td>8</td><td>0ms</td></tr><tr><td></td><td>select</td><td>206</td><td>78ms</td></tr><tr><td></td><td>tcl</td><td>122</td><td>2ms</td></tr><tr><td>unknown</td><td>Total</td><td>8</td><td>0ms</td></tr><tr><td></td><td>others</td><td>8</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by application -->
|
|
|
|
<div id="queries-cancelled-number" class="analysis-item row">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-th"></i> Number of cancelled queries</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0 per second</span> <span class="figure-label">Cancelled query Peak</span></li>
|
|
<li><span class="figure">2024-09-06 16:44:50</span> <span class="figure-label">Date</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
|
|
<h3 class="">Number of cancelled queries (5 minutes period)</h3>
|
|
<div id="cancelledqueries_graph" class="jqplot-graph linegraph"><blockquote><b>NO DATASET</b></blockquote></div>
|
|
|
|
</div>
|
|
</div><!-- end of Number of cancelled queries -->
|
|
|
|
</li>
|
|
<li class="slide" id="topqueries-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-question-sign"></i> Top Queries</h1>
|
|
<div class="analysis-item row" id="histogram-query-times">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-signal"></i> Histogram of query times</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">338</span> <span class="figure-label">0-1ms duration</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#histogram-query-times-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#histogram-query-times-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="histogram-query-times-graph">
|
|
<div id="graph_histogram_query_times" class="jqplot-graph duration-histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
charts = window.charts || [];
|
|
var bars_34 = [[ '0ms-1ms', 338],[ '1ms-5ms', 10],[ '5ms-10ms', 0],[ '10ms-25ms', 0],[ '25ms-50ms', 0],[ '50ms-100ms', 0],[ '100ms-500ms', 0],[ '500ms-1s', 0],[ '1s-10s', 0],[ '> 10s', 0]];
|
|
create_download_button(34, 'btn btn-default');
|
|
charts.push(['bargraph', 'graph_histogram_query_times', '', 'Queries', [ bars_34 ]]);
|
|
add_download_button_event(34, 'graph_histogram_query_times');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="histogram-query-times-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Range</th>
|
|
<th>Count</th>
|
|
<th>Percentage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>0-1ms</td><td>338</td><td>97.13%</td></tr><tr><td>1-5ms</td><td>10</td><td>2.87%</td></tr><tr><td>5-10ms</td><td>0</td><td>0.00%</td></tr><tr><td>10-25ms</td><td>0</td><td>0.00%</td></tr><tr><td>25-50ms</td><td>0</td><td>0.00%</td></tr><tr><td>50-100ms</td><td>0</td><td>0.00%</td></tr><tr><td>100-500ms</td><td>0</td><td>0.00%</td></tr><tr><td>500-1000ms</td><td>0</td><td>0.00%</td></tr><tr><td>1000-10000ms</td><td>0</td><td>0.00%</td></tr><tr><td> > 10000ms</td><td>0</td><td>0.00%</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of queries by type -->
|
|
|
|
<div class="analysis-item row" id="slowest-individual-queries">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-spinner"></i> Slowest individual queries</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="slowest-individual-queries-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>4ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-1">
|
|
<div id="query-d-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">CONSTRAINT</span> searchfulltext_pkey <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:43:29 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>3ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-2">
|
|
<div id="query-d-2-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:44:48 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>2ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-3">
|
|
<div id="query-d-3-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> searchfulltext;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:43:29 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-4">
|
|
<div id="query-d-4-4" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-5">
|
|
<div id="query-d-5-5" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:43:29 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-6">
|
|
<div id="query-d-6-6" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id <span class="kw1">ON</span> searchfulltext <span class="kw1">USING</span> btree <span class="br0">(</span>document_id <span class="kw1">ASC</span> NULLS <span class="kw1">LAST</span><span class="br0">)</span> <span class="kw1">TABLESPACE</span> pg_default;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:43:29 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-7">
|
|
<div id="query-d-7-7" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:01 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-8">
|
|
<div id="query-d-8-8" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:01 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-9">
|
|
<div id="query-d-9-9" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:44:50 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>1ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-10">
|
|
<div id="query-d-10-10" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:43:29 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-11">
|
|
<div id="query-d-11-11" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-12">
|
|
<div id="query-d-12-12" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:01 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-13">
|
|
<div id="query-d-13-13" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:01 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-14">
|
|
<div id="query-d-14-14" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:44:50 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-15">
|
|
<div id="query-d-15-15" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-16">
|
|
<div id="query-d-16-16" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-17">
|
|
<div id="query-d-17-17" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>18</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-18">
|
|
<div id="query-d-18-18" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:45:12 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>19</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-19">
|
|
<div id="query-d-19-19" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:44:48 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>20</td>
|
|
<td>0ms</td>
|
|
<td id="slowest-individual-queries-examples-rank-20">
|
|
<div id="query-d-20-20" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre class="pre-smallfont">[ <b>Date:</b> 2024-09-06 16:44:51 - <b>Database:</b> wedeojpa - <b>User:</b> onlineed - <b>Remote:</b> payara.docker_default - <b>Application:</b> PostgreSQL JDBC Driver - <b>Bind query:</b> yes ]</pre>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of slowest-individual-queries -->
|
|
|
|
<div class="analysis-item row" id="time-consuming-queries">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Time consuming queries (N)</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="time-consuming-queries-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Total duration</th>
|
|
<th>Times executed</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>45ms</td>
|
|
<td>60
|
|
<p><a href="#Atime_consuming_queries_details_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-1">
|
|
<div id="query-e-1" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_1" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #1</small></h3>
|
|
<div id="time_consuming_queries_details_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_1').on("shown.bs.collapse",function(){
|
|
var bars_35 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_35 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_1 = create_bargraph('time_consuming_queries_details_1', '', 'Queries', [ bars_35, lines_35 ], 'Avg. duration');
|
|
});
|
|
create_download_button(35, 'btn btn-default btn-xs');
|
|
add_download_button_event(35, 'time_consuming_queries_details_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>45ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-1">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-1">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-1">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-1-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-1-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>27ms</td>
|
|
<td>60
|
|
<p><a href="#Atime_consuming_queries_details_2" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>3ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-2">
|
|
<div id="query-e-2" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw2">count</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">from</span>
|
|
public.searchdocument t0;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_2" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #2</small></h3>
|
|
<div id="time_consuming_queries_details_2" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_2').on("shown.bs.collapse",function(){
|
|
var bars_36 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_36 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_2 = create_bargraph('time_consuming_queries_details_2', '', 'Queries', [ bars_36, lines_36 ], 'Avg. duration');
|
|
});
|
|
create_download_button(36, 'btn btn-default btn-xs');
|
|
add_download_button_event(36, 'time_consuming_queries_details_2');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>27ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_2">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-2">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-2">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-2">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-2" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-2-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-2-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-2-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>4ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_3" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-3">
|
|
<div id="query-e-3" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">constraint</span> searchfulltext_pkey <span class="kw1">primary</span> <span class="kw1">key</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_3" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #3</small></h3>
|
|
<div id="time_consuming_queries_details_3" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_3').on("shown.bs.collapse",function(){
|
|
var bars_37 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_37 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',4],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_3 = create_bargraph('time_consuming_queries_details_3', '', 'Queries', [ bars_37, lines_37 ], 'Avg. duration');
|
|
});
|
|
create_download_button(37, 'btn btn-default btn-xs');
|
|
add_download_button_event(37, 'time_consuming_queries_details_3');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>4ms</td><td>4ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_3">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-3">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-3">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-3">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-3" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-3-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">CONSTRAINT</span> searchfulltext_pkey <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 4ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>3ms</td>
|
|
<td>48
|
|
<p><a href="#Atime_consuming_queries_details_4" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-4">
|
|
<div id="query-e-4" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">from</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">or</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> t.typnotnull<span class="br0">)</span> <span class="kw1">as</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">over</span> <span class="br0">(</span><span class="kw1">partition</span> <span class="kw1">by</span> a.attrelid <span class="kw1">order</span> <span class="kw1">by</span> a.attnum<span class="br0">)</span> <span class="kw1">as</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attidentity<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attgenerated<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">as</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">join</span> pg_catalog.pg_class c <span class="kw1">on</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_attribute a <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_type t <span class="kw1">on</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_attrdef def <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_description dsc <span class="kw1">on</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_class dc <span class="kw1">on</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">and</span> dc.relname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_namespace dn <span class="kw1">on</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">and</span> dn.nspname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">where</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span><span class="sy0">.</span>.<span class="sy0">.</span><span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> ?
|
|
<span class="kw1">and</span> <span class="kw1">not</span> a.attisdropped
|
|
<span class="kw1">and</span> n.nspname <span class="kw1">like</span> ?
|
|
<span class="kw1">and</span> c.relname <span class="kw1">like</span> ?<span class="br0">)</span> c
|
|
<span class="kw1">where</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_4" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #4</small></h3>
|
|
<div id="time_consuming_queries_details_4" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_4').on("shown.bs.collapse",function(){
|
|
var bars_38 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',48],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_38 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_4 = create_bargraph('time_consuming_queries_details_4', '', 'Queries', [ bars_38, lines_38 ], 'Avg. duration');
|
|
});
|
|
create_download_button(38, 'btn btn-default btn-xs');
|
|
add_download_button_event(38, 'time_consuming_queries_details_4');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>48</td><td>3ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_4">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-4">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-4">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-4">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-4" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-4-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-4-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-4-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>2ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_5" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-5">
|
|
<div id="query-e-5" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">exists</span> searchfulltext;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_5" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #5</small></h3>
|
|
<div id="time_consuming_queries_details_5" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_5').on("shown.bs.collapse",function(){
|
|
var bars_39 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_39 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_5 = create_bargraph('time_consuming_queries_details_5', '', 'Queries', [ bars_39, lines_39 ], 'Avg. duration');
|
|
});
|
|
create_download_button(39, 'btn btn-default btn-xs');
|
|
add_download_button_event(39, 'time_consuming_queries_details_5');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>2ms</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_5">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-5">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-5">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-5">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-5" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-5-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> searchfulltext;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 2ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>2ms</td>
|
|
<td>61
|
|
<p><a href="#Atime_consuming_queries_details_6" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-6">
|
|
<div id="query-e-6" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">commit</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_6" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #6</small></h3>
|
|
<div id="time_consuming_queries_details_6" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_6').on("shown.bs.collapse",function(){
|
|
var bars_40 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_40 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_6 = create_bargraph('time_consuming_queries_details_6', '', 'Queries', [ bars_40, lines_40 ], 'Avg. duration');
|
|
});
|
|
create_download_button(40, 'btn btn-default btn-xs');
|
|
add_download_button_event(40, 'time_consuming_queries_details_6');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>2ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_6">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-6">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-6">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-6">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-6" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-6-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-6-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-6-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>1ms</td>
|
|
<td>30
|
|
<p><a href="#Atime_consuming_queries_details_7" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-7">
|
|
<div id="query-e-7" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">desc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>
|
|
<span class="kw1">union</span> <span class="kw1">all</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">asc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_7" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #7</small></h3>
|
|
<div id="time_consuming_queries_details_7" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_7').on("shown.bs.collapse",function(){
|
|
var bars_41 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',30],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_41 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_7 = create_bargraph('time_consuming_queries_details_7', '', 'Queries', [ bars_41, lines_41 ], 'Avg. duration');
|
|
});
|
|
create_download_button(41, 'btn btn-default btn-xs');
|
|
add_download_button_event(41, 'time_consuming_queries_details_7');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>30</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_7">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-7">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-7">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-7">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-7" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-7-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-7-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:02
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-7-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>1ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_8" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-8">
|
|
<div id="query-e-8" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> idx_searchfulltext_document_id <span class="kw1">on</span> searchfulltext <span class="kw1">using</span> btree <span class="br0">(</span>document_id <span class="kw1">asc</span> nulls <span class="kw1">last</span><span class="br0">)</span> <span class="kw1">tablespace</span> pg_default;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_8" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #8</small></h3>
|
|
<div id="time_consuming_queries_details_8" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_8').on("shown.bs.collapse",function(){
|
|
var bars_42 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_42 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_8 = create_bargraph('time_consuming_queries_details_8', '', 'Queries', [ bars_42, lines_42 ], 'Avg. duration');
|
|
});
|
|
create_download_button(42, 'btn btn-default btn-xs');
|
|
add_download_button_event(42, 'time_consuming_queries_details_8');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_8">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-8">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-8">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-8">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-8" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-8-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id <span class="kw1">ON</span> searchfulltext <span class="kw1">USING</span> btree <span class="br0">(</span>document_id <span class="kw1">ASC</span> NULLS <span class="kw1">LAST</span><span class="br0">)</span> <span class="kw1">TABLESPACE</span> pg_default;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_9" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-9">
|
|
<div id="query-e-9" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
setting
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">where</span>
|
|
name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_9" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #9</small></h3>
|
|
<div id="time_consuming_queries_details_9" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_9').on("shown.bs.collapse",function(){
|
|
var bars_43 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_43 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_9 = create_bargraph('time_consuming_queries_details_9', '', 'Queries', [ bars_43, lines_43 ], 'Avg. duration');
|
|
});
|
|
create_download_button(43, 'btn btn-default btn-xs');
|
|
add_download_button_event(43, 'time_consuming_queries_details_9');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_9">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-9">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-9">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-9">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-9" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-9-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
setting
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">WHERE</span>
|
|
name <span class="sy0">=</span> 'max_index_keys';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>0ms</td>
|
|
<td>61
|
|
<p><a href="#Atime_consuming_queries_details_10" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-10">
|
|
<div id="query-e-10" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">begin</span>;
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_10" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #10</small></h3>
|
|
<div id="time_consuming_queries_details_10" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_10').on("shown.bs.collapse",function(){
|
|
var bars_44 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_44 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_10 = create_bargraph('time_consuming_queries_details_10', '', 'Queries', [ bars_44, lines_44 ], 'Avg. duration');
|
|
});
|
|
create_download_button(44, 'btn btn-default btn-xs');
|
|
add_download_button_event(44, 'time_consuming_queries_details_10');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_10">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-10">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-10">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-10">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-10" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-10-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-10-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-10-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_queries_details_11" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-11">
|
|
<div id="query-e-11" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
t.typlen
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">where</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">and</span> t.typname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> n.nspname <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_11" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #11</small></h3>
|
|
<div id="time_consuming_queries_details_11" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_11').on("shown.bs.collapse",function(){
|
|
var bars_45 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_45 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_11 = create_bargraph('time_consuming_queries_details_11', '', 'Queries', [ bars_45, lines_45 ], 'Avg. duration');
|
|
});
|
|
create_download_button(45, 'btn btn-default btn-xs');
|
|
add_download_button_event(45, 'time_consuming_queries_details_11');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_11">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-11">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-11">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-11">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-11" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-11-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-11-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_12" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-12">
|
|
<div id="query-e-12" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">exists</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_12" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #12</small></h3>
|
|
<div id="time_consuming_queries_details_12" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_12').on("shown.bs.collapse",function(){
|
|
var bars_46 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_46 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_12 = create_bargraph('time_consuming_queries_details_12', '', 'Queries', [ bars_46, lines_46 ], 'Avg. duration');
|
|
});
|
|
create_download_button(46, 'btn btn-default btn-xs');
|
|
add_download_button_event(46, 'time_consuming_queries_details_12');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_12">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-12">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-12">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-12">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-12" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-12-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>0ms</td>
|
|
<td>8
|
|
<p><a href="#Atime_consuming_queries_details_13" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-13">
|
|
<div id="query-e-13" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> extra_float_digits <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_13" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #13</small></h3>
|
|
<div id="time_consuming_queries_details_13" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_13').on("shown.bs.collapse",function(){
|
|
var bars_47 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_47 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_13 = create_bargraph('time_consuming_queries_details_13', '', 'Queries', [ bars_47, lines_47 ], 'Avg. duration');
|
|
});
|
|
create_download_button(47, 'btn btn-default btn-xs');
|
|
add_download_button_event(47, 'time_consuming_queries_details_13');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_13">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-13">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-13">User(s) involved</button> </p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-13" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-13-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-13-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-13-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_queries_details_14" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-14">
|
|
<div id="query-e-14" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
typinput <span class="sy0">=</span> ?::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">left</span> <span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> ?<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">on</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">where</span>
|
|
pg_type.oid <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">desc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_14" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #14</small></h3>
|
|
<div id="time_consuming_queries_details_14" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_14').on("shown.bs.collapse",function(){
|
|
var bars_48 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_48 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_14 = create_bargraph('time_consuming_queries_details_14', '', 'Queries', [ bars_48, lines_48 ], 'Avg. duration');
|
|
});
|
|
create_download_button(48, 'btn btn-default btn-xs');
|
|
add_download_button_event(48, 'time_consuming_queries_details_14');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_14">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-14">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-14">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-14">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-14" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-14-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-14-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>0ms</td>
|
|
<td>8
|
|
<p><a href="#Atime_consuming_queries_details_15" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-15">
|
|
<div id="query-e-15" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> application_name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_15" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #15</small></h3>
|
|
<div id="time_consuming_queries_details_15" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_15').on("shown.bs.collapse",function(){
|
|
var bars_49 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_49 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_15 = create_bargraph('time_consuming_queries_details_15', '', 'Queries', [ bars_49, lines_49 ], 'Avg. duration');
|
|
});
|
|
create_download_button(49, 'btn btn-default btn-xs');
|
|
add_download_button_event(49, 'time_consuming_queries_details_15');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_15">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-15">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-15">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-15">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-15" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-15-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-15-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-15-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_queries_details_16" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-16">
|
|
<div id="query-e-16" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">any</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">join</span> pg_catalog.pg_namespace n <span class="kw1">on</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">where</span>
|
|
t.oid <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_16" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #16</small></h3>
|
|
<div id="time_consuming_queries_details_16" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_16').on("shown.bs.collapse",function(){
|
|
var bars_50 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_50 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_16 = create_bargraph('time_consuming_queries_details_16', '', 'Queries', [ bars_50, lines_50 ], 'Avg. duration');
|
|
});
|
|
create_download_button(50, 'btn btn-default btn-xs');
|
|
add_download_button_event(50, 'time_consuming_queries_details_16');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_16">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-16">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-16">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-16">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-16" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-16-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">ANY</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_namespace n <span class="kw1">ON</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">WHERE</span>
|
|
t.oid <span class="sy0">=</span> '3802';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_queries_details_17" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-queries-examples-details-rank-17">
|
|
<div id="query-e-17" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> pktable_cat<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">as</span> pktable_schem<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">as</span> pktable_name<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">as</span> pkcolumn_name<span class="sy0">,</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> fktable_cat<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">as</span> fktable_schem<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">as</span> fktable_name<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">as</span> fkcolumn_name<span class="sy0">,</span>
|
|
pos.n <span class="kw1">as</span> key_seq<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confupdtype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> update_rule<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confdeltype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> delete_rule<span class="sy0">,</span>
|
|
con.conname <span class="kw1">as</span> fk_name<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">as</span> pk_name<span class="sy0">,</span>
|
|
<span class="kw1">case</span> <span class="kw1">when</span> con.condeferrable
|
|
<span class="kw1">and</span> con.condeferred <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> con.condeferrable <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
?
|
|
<span class="kw1">end</span> <span class="kw1">as</span> deferrability
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> ?<span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">where</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">and</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">and</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">and</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">and</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">and</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">and</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">and</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">and</span> con.contype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> ?
|
|
<span class="kw1">or</span> pkic.relkind <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">and</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">and</span> fkn.nspname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> fkc.relname <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_queries_details_17" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #17</small></h3>
|
|
<div id="time_consuming_queries_details_17" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_queries_details_17').on("shown.bs.collapse",function(){
|
|
var bars_51 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_51 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_queries_details_17 = create_bargraph('time_consuming_queries_details_17', '', 'Queries', [ bars_51, lines_51 ], 'Avg. duration');
|
|
});
|
|
create_download_button(51, 'btn btn-default btn-xs');
|
|
add_download_button_event(51, 'time_consuming_queries_details_17');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_queries_details_17">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-17">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-17">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-17">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-queries-user-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-user-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-queries-app-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-app-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-queries-examples-rank-17" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-17-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> PKTABLE_CAT<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">AS</span> PKTABLE_SCHEM<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">AS</span> PKTABLE_NAME<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">AS</span> PKCOLUMN_NAME<span class="sy0">,</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> FKTABLE_CAT<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">AS</span> FKTABLE_SCHEM<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">AS</span> FKTABLE_NAME<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">AS</span> FKCOLUMN_NAME<span class="sy0">,</span>
|
|
pos.n <span class="kw1">AS</span> KEY_SEQ<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confupdtype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> UPDATE_RULE<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confdeltype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DELETE_RULE<span class="sy0">,</span>
|
|
con.conname <span class="kw1">AS</span> FK_NAME<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">AS</span> PK_NAME<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> <span class="kw1">WHEN</span> con.condeferrable
|
|
<span class="kw1">AND</span> con.condeferred <span class="kw1">THEN</span>
|
|
<span class="nu0">5</span>
|
|
<span class="kw1">WHEN</span> con.condeferrable <span class="kw1">THEN</span>
|
|
<span class="nu0">6</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="nu0">7</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DEFERRABILITY
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="nu0">32</span><span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">WHERE</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">AND</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">AND</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">AND</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">AND</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">AND</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">AND</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">AND</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">AND</span> con.contype <span class="sy0">=</span> 'f'
|
|
<span class="kw1">AND</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> 'i'
|
|
<span class="kw1">OR</span> pkic.relkind <span class="sy0">=</span> 'I'<span class="br0">)</span>
|
|
<span class="kw1">AND</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">AND</span> fkn.nspname <span class="sy0">=</span> 'public'
|
|
<span class="kw1">AND</span> fkc.relname <span class="sy0">=</span> 'searchdocument'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-queries-examples-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of time-consuming-queries -->
|
|
|
|
<div class="analysis-item row" id="most-frequent-queries">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-signal"></i> Most frequent queries (N)</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="most-frequent-queries-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Times executed</th>
|
|
<th>Total duration</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>61
|
|
<p><a href="#Amost_frequent_queries_details_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>2ms</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-1">
|
|
<div id="query-f-1" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">commit</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_1" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #1</small></h3>
|
|
<div id="most_frequent_queries_details_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_1').on("shown.bs.collapse",function(){
|
|
var bars_52 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_52 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_1 = create_bargraph('most_frequent_queries_details_1', '', 'Queries', [ bars_52, lines_52 ], 'Avg. duration');
|
|
});
|
|
create_download_button(52, 'btn btn-default btn-xs');
|
|
add_download_button_event(52, 'most_frequent_queries_details_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>2ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-1">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-1">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-1">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-1-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-1-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>61
|
|
<p><a href="#Amost_frequent_queries_details_2" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-2">
|
|
<div id="query-f-2" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">begin</span>;
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_2" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #2</small></h3>
|
|
<div id="most_frequent_queries_details_2" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_2').on("shown.bs.collapse",function(){
|
|
var bars_53 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_53 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_2 = create_bargraph('most_frequent_queries_details_2', '', 'Queries', [ bars_53, lines_53 ], 'Avg. duration');
|
|
});
|
|
create_download_button(53, 'btn btn-default btn-xs');
|
|
add_download_button_event(53, 'most_frequent_queries_details_2');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_2">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-2">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-2">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-2">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-2" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-2-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-2-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-2-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>60
|
|
<p><a href="#Amost_frequent_queries_details_3" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>45ms</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-3">
|
|
<div id="query-f-3" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_3" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #3</small></h3>
|
|
<div id="most_frequent_queries_details_3" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_3').on("shown.bs.collapse",function(){
|
|
var bars_54 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_54 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_3 = create_bargraph('most_frequent_queries_details_3', '', 'Queries', [ bars_54, lines_54 ], 'Avg. duration');
|
|
});
|
|
create_download_button(54, 'btn btn-default btn-xs');
|
|
add_download_button_event(54, 'most_frequent_queries_details_3');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>45ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_3">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-3">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-3">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-3">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-3" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-3-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-3-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-3-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>60
|
|
<p><a href="#Amost_frequent_queries_details_4" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>27ms</td>
|
|
<td>0ms</td>
|
|
<td>3ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-4">
|
|
<div id="query-f-4" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw2">count</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">from</span>
|
|
public.searchdocument t0;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_4" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #4</small></h3>
|
|
<div id="most_frequent_queries_details_4" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_4').on("shown.bs.collapse",function(){
|
|
var bars_55 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_55 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_4 = create_bargraph('most_frequent_queries_details_4', '', 'Queries', [ bars_55, lines_55 ], 'Avg. duration');
|
|
});
|
|
create_download_button(55, 'btn btn-default btn-xs');
|
|
add_download_button_event(55, 'most_frequent_queries_details_4');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>27ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_4">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-4">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-4">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-4">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-4" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-4-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-4-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-4-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>48
|
|
<p><a href="#Amost_frequent_queries_details_5" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>3ms</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-5">
|
|
<div id="query-f-5" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">from</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">or</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> t.typnotnull<span class="br0">)</span> <span class="kw1">as</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">over</span> <span class="br0">(</span><span class="kw1">partition</span> <span class="kw1">by</span> a.attrelid <span class="kw1">order</span> <span class="kw1">by</span> a.attnum<span class="br0">)</span> <span class="kw1">as</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attidentity<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attgenerated<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">as</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">join</span> pg_catalog.pg_class c <span class="kw1">on</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_attribute a <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_type t <span class="kw1">on</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_attrdef def <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_description dsc <span class="kw1">on</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_class dc <span class="kw1">on</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">and</span> dc.relname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_namespace dn <span class="kw1">on</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">and</span> dn.nspname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">where</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span><span class="sy0">.</span>.<span class="sy0">.</span><span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> ?
|
|
<span class="kw1">and</span> <span class="kw1">not</span> a.attisdropped
|
|
<span class="kw1">and</span> n.nspname <span class="kw1">like</span> ?
|
|
<span class="kw1">and</span> c.relname <span class="kw1">like</span> ?<span class="br0">)</span> c
|
|
<span class="kw1">where</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_5" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #5</small></h3>
|
|
<div id="most_frequent_queries_details_5" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_5').on("shown.bs.collapse",function(){
|
|
var bars_56 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',48],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_56 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_5 = create_bargraph('most_frequent_queries_details_5', '', 'Queries', [ bars_56, lines_56 ], 'Avg. duration');
|
|
});
|
|
create_download_button(56, 'btn btn-default btn-xs');
|
|
add_download_button_event(56, 'most_frequent_queries_details_5');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>48</td><td>3ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_5">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-5">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-5">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-5">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-5" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-5-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-5-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-5-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>30
|
|
<p><a href="#Amost_frequent_queries_details_6" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-6">
|
|
<div id="query-f-6" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">desc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>
|
|
<span class="kw1">union</span> <span class="kw1">all</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">asc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_6" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #6</small></h3>
|
|
<div id="most_frequent_queries_details_6" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_6').on("shown.bs.collapse",function(){
|
|
var bars_57 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',30],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_57 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_6 = create_bargraph('most_frequent_queries_details_6', '', 'Queries', [ bars_57, lines_57 ], 'Avg. duration');
|
|
});
|
|
create_download_button(57, 'btn btn-default btn-xs');
|
|
add_download_button_event(57, 'most_frequent_queries_details_6');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>30</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_6">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-6">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-6">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-6">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-6" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-6-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-6-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:02
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-6-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>8
|
|
<p><a href="#Amost_frequent_queries_details_7" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-7">
|
|
<div id="query-f-7" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> extra_float_digits <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_7" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #7</small></h3>
|
|
<div id="most_frequent_queries_details_7" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_7').on("shown.bs.collapse",function(){
|
|
var bars_58 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_58 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_7 = create_bargraph('most_frequent_queries_details_7', '', 'Queries', [ bars_58, lines_58 ], 'Avg. duration');
|
|
});
|
|
create_download_button(58, 'btn btn-default btn-xs');
|
|
add_download_button_event(58, 'most_frequent_queries_details_7');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_7">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-7">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-7">User(s) involved</button> </p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-7" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-7-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-7-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-7-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>8
|
|
<p><a href="#Amost_frequent_queries_details_8" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-8">
|
|
<div id="query-f-8" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> application_name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_8" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #8</small></h3>
|
|
<div id="most_frequent_queries_details_8" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_8').on("shown.bs.collapse",function(){
|
|
var bars_59 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_59 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_8 = create_bargraph('most_frequent_queries_details_8', '', 'Queries', [ bars_59, lines_59 ], 'Avg. duration');
|
|
});
|
|
create_download_button(59, 'btn btn-default btn-xs');
|
|
add_download_button_event(59, 'most_frequent_queries_details_8');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_8">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-8">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-8">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-8">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-8" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-8-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-8-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-8-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>2
|
|
<p><a href="#Amost_frequent_queries_details_9" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-9">
|
|
<div id="query-f-9" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
t.typlen
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">where</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">and</span> t.typname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> n.nspname <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_9" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #9</small></h3>
|
|
<div id="most_frequent_queries_details_9" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_9').on("shown.bs.collapse",function(){
|
|
var bars_60 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_60 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_9 = create_bargraph('most_frequent_queries_details_9', '', 'Queries', [ bars_60, lines_60 ], 'Avg. duration');
|
|
});
|
|
create_download_button(60, 'btn btn-default btn-xs');
|
|
add_download_button_event(60, 'most_frequent_queries_details_9');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_9">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-9">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-9">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-9">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-9" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-9-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-9-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>2
|
|
<p><a href="#Amost_frequent_queries_details_10" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-10">
|
|
<div id="query-f-10" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
typinput <span class="sy0">=</span> ?::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">left</span> <span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> ?<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">on</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">where</span>
|
|
pg_type.oid <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">desc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_10" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #10</small></h3>
|
|
<div id="most_frequent_queries_details_10" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_10').on("shown.bs.collapse",function(){
|
|
var bars_61 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_61 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_10 = create_bargraph('most_frequent_queries_details_10', '', 'Queries', [ bars_61, lines_61 ], 'Avg. duration');
|
|
});
|
|
create_download_button(61, 'btn btn-default btn-xs');
|
|
add_download_button_event(61, 'most_frequent_queries_details_10');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_10">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-10">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-10">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-10">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-10" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-10-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-f-10-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>2
|
|
<p><a href="#Amost_frequent_queries_details_11" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-11">
|
|
<div id="query-f-11" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">any</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">join</span> pg_catalog.pg_namespace n <span class="kw1">on</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">where</span>
|
|
t.oid <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_11" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #11</small></h3>
|
|
<div id="most_frequent_queries_details_11" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_11').on("shown.bs.collapse",function(){
|
|
var bars_62 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_62 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_11 = create_bargraph('most_frequent_queries_details_11', '', 'Queries', [ bars_62, lines_62 ], 'Avg. duration');
|
|
});
|
|
create_download_button(62, 'btn btn-default btn-xs');
|
|
add_download_button_event(62, 'most_frequent_queries_details_11');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_11">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-11">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-11">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-11">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-11" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-11-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">ANY</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_namespace n <span class="kw1">ON</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">WHERE</span>
|
|
t.oid <span class="sy0">=</span> '3802';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_12" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-12">
|
|
<div id="query-f-12" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">constraint</span> searchfulltext_pkey <span class="kw1">primary</span> <span class="kw1">key</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_12" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #12</small></h3>
|
|
<div id="most_frequent_queries_details_12" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_12').on("shown.bs.collapse",function(){
|
|
var bars_63 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_63 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',4],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_12 = create_bargraph('most_frequent_queries_details_12', '', 'Queries', [ bars_63, lines_63 ], 'Avg. duration');
|
|
});
|
|
create_download_button(63, 'btn btn-default btn-xs');
|
|
add_download_button_event(63, 'most_frequent_queries_details_12');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>4ms</td><td>4ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_12">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-12">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-12">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-12">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-12" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-12-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">CONSTRAINT</span> searchfulltext_pkey <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 4ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_13" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-13">
|
|
<div id="query-f-13" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">exists</span> searchfulltext;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_13" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #13</small></h3>
|
|
<div id="most_frequent_queries_details_13" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_13').on("shown.bs.collapse",function(){
|
|
var bars_64 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_64 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_13 = create_bargraph('most_frequent_queries_details_13', '', 'Queries', [ bars_64, lines_64 ], 'Avg. duration');
|
|
});
|
|
create_download_button(64, 'btn btn-default btn-xs');
|
|
add_download_button_event(64, 'most_frequent_queries_details_13');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>2ms</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_13">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-13">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-13">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-13">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-13" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-13-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> searchfulltext;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 2ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_14" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-14">
|
|
<div id="query-f-14" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> idx_searchfulltext_document_id <span class="kw1">on</span> searchfulltext <span class="kw1">using</span> btree <span class="br0">(</span>document_id <span class="kw1">asc</span> nulls <span class="kw1">last</span><span class="br0">)</span> <span class="kw1">tablespace</span> pg_default;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_14" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #14</small></h3>
|
|
<div id="most_frequent_queries_details_14" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_14').on("shown.bs.collapse",function(){
|
|
var bars_65 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_65 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_14 = create_bargraph('most_frequent_queries_details_14', '', 'Queries', [ bars_65, lines_65 ], 'Avg. duration');
|
|
});
|
|
create_download_button(65, 'btn btn-default btn-xs');
|
|
add_download_button_event(65, 'most_frequent_queries_details_14');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_14">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-14">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-14">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-14">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-14" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-14-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id <span class="kw1">ON</span> searchfulltext <span class="kw1">USING</span> btree <span class="br0">(</span>document_id <span class="kw1">ASC</span> NULLS <span class="kw1">LAST</span><span class="br0">)</span> <span class="kw1">TABLESPACE</span> pg_default;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_15" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-15">
|
|
<div id="query-f-15" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
setting
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">where</span>
|
|
name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_15" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #15</small></h3>
|
|
<div id="most_frequent_queries_details_15" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_15').on("shown.bs.collapse",function(){
|
|
var bars_66 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_66 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_15 = create_bargraph('most_frequent_queries_details_15', '', 'Queries', [ bars_66, lines_66 ], 'Avg. duration');
|
|
});
|
|
create_download_button(66, 'btn btn-default btn-xs');
|
|
add_download_button_event(66, 'most_frequent_queries_details_15');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_15">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-15">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-15">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-15">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-15" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-15-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
setting
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">WHERE</span>
|
|
name <span class="sy0">=</span> 'max_index_keys';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_16" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-16">
|
|
<div id="query-f-16" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">exists</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_16" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #16</small></h3>
|
|
<div id="most_frequent_queries_details_16" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_16').on("shown.bs.collapse",function(){
|
|
var bars_67 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_67 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_16 = create_bargraph('most_frequent_queries_details_16', '', 'Queries', [ bars_67, lines_67 ], 'Avg. duration');
|
|
});
|
|
create_download_button(67, 'btn btn-default btn-xs');
|
|
add_download_button_event(67, 'most_frequent_queries_details_16');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_16">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-16">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-16">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-16">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-16" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-16-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_queries_details_17" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="most-frequent-queries-examples-details-rank-17">
|
|
<div id="query-f-17" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> pktable_cat<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">as</span> pktable_schem<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">as</span> pktable_name<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">as</span> pkcolumn_name<span class="sy0">,</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> fktable_cat<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">as</span> fktable_schem<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">as</span> fktable_name<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">as</span> fkcolumn_name<span class="sy0">,</span>
|
|
pos.n <span class="kw1">as</span> key_seq<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confupdtype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> update_rule<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confdeltype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> delete_rule<span class="sy0">,</span>
|
|
con.conname <span class="kw1">as</span> fk_name<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">as</span> pk_name<span class="sy0">,</span>
|
|
<span class="kw1">case</span> <span class="kw1">when</span> con.condeferrable
|
|
<span class="kw1">and</span> con.condeferred <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> con.condeferrable <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
?
|
|
<span class="kw1">end</span> <span class="kw1">as</span> deferrability
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> ?<span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">where</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">and</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">and</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">and</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">and</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">and</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">and</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">and</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">and</span> con.contype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> ?
|
|
<span class="kw1">or</span> pkic.relkind <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">and</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">and</span> fkn.nspname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> fkc.relname <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_queries_details_17" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #17</small></h3>
|
|
<div id="most_frequent_queries_details_17" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_queries_details_17').on("shown.bs.collapse",function(){
|
|
var bars_68 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_68 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var most_frequent_queries_details_17 = create_bargraph('most_frequent_queries_details_17', '', 'Queries', [ bars_68, lines_68 ], 'Avg. duration');
|
|
});
|
|
create_download_button(68, 'btn btn-default btn-xs');
|
|
add_download_button_event(68, 'most_frequent_queries_details_17');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_queries_details_17">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-17">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-17">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-17">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="most-frequent-queries-user-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-user-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="most-frequent-queries-app-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-app-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-queries-examples-rank-17" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-f-17-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> PKTABLE_CAT<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">AS</span> PKTABLE_SCHEM<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">AS</span> PKTABLE_NAME<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">AS</span> PKCOLUMN_NAME<span class="sy0">,</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> FKTABLE_CAT<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">AS</span> FKTABLE_SCHEM<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">AS</span> FKTABLE_NAME<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">AS</span> FKCOLUMN_NAME<span class="sy0">,</span>
|
|
pos.n <span class="kw1">AS</span> KEY_SEQ<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confupdtype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> UPDATE_RULE<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confdeltype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DELETE_RULE<span class="sy0">,</span>
|
|
con.conname <span class="kw1">AS</span> FK_NAME<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">AS</span> PK_NAME<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> <span class="kw1">WHEN</span> con.condeferrable
|
|
<span class="kw1">AND</span> con.condeferred <span class="kw1">THEN</span>
|
|
<span class="nu0">5</span>
|
|
<span class="kw1">WHEN</span> con.condeferrable <span class="kw1">THEN</span>
|
|
<span class="nu0">6</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="nu0">7</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DEFERRABILITY
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="nu0">32</span><span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">WHERE</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">AND</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">AND</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">AND</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">AND</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">AND</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">AND</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">AND</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">AND</span> con.contype <span class="sy0">=</span> 'f'
|
|
<span class="kw1">AND</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> 'i'
|
|
<span class="kw1">OR</span> pkic.relkind <span class="sy0">=</span> 'I'<span class="br0">)</span>
|
|
<span class="kw1">AND</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">AND</span> fkn.nspname <span class="sy0">=</span> 'public'
|
|
<span class="kw1">AND</span> fkc.relname <span class="sy0">=</span> 'searchdocument'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-queries-examples-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of most-frequent-queries -->
|
|
|
|
<div class="analysis-item row" id="normalized-slowest-queries">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Normalized slowest queries (N)</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="normalized-slowest-queries-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Times executed</th>
|
|
<th>Total duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td>4ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>4ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-1">
|
|
<div id="query-g-1" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">not</span> <span class="kw1">null</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">collate</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">constraint</span> searchfulltext_pkey <span class="kw1">primary</span> <span class="kw1">key</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_1" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #1</small></h3>
|
|
<div id="normalized_slowest_queries_details_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_1').on("shown.bs.collapse",function(){
|
|
var bars_69 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_69 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',4],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_1 = create_bargraph('normalized_slowest_queries_details_1', '', 'Queries', [ bars_69, lines_69 ], 'Avg. duration');
|
|
});
|
|
create_download_button(69, 'btn btn-default btn-xs');
|
|
add_download_button_event(69, 'normalized_slowest_queries_details_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>4ms</td><td>4ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-1">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-1">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 4ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> searchfulltext <span class="br0">(</span>
|
|
id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
document_id bigint <span class="kw1">NOT</span> <span class="kw1">NULL</span><span class="sy0">,</span>
|
|
state smallint<span class="sy0">,</span>
|
|
statemessage text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
plaintext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
commenttext text <span class="kw1">COLLATE</span> pg_catalog."default"<span class="sy0">,</span>
|
|
createdat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
modifiedat timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
validuntil timestamp <span class="kw1">without</span> time zone<span class="sy0">,</span>
|
|
<span class="kw1">CONSTRAINT</span> searchfulltext_pkey <span class="kw1">PRIMARY</span> <span class="kw1">KEY</span> <span class="br0">(</span>id<span class="br0">)</span>
|
|
<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 4ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td>2ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_2" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>2ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-2">
|
|
<div id="query-g-2" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">table</span> <span class="kw1">if</span> <span class="kw1">exists</span> searchfulltext;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_2" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #2</small></h3>
|
|
<div id="normalized_slowest_queries_details_2" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_2').on("shown.bs.collapse",function(){
|
|
var bars_70 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_70 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_2 = create_bargraph('normalized_slowest_queries_details_2', '', 'Queries', [ bars_70, lines_70 ], 'Avg. duration');
|
|
});
|
|
create_download_button(70, 'btn btn-default btn-xs');
|
|
add_download_button_event(70, 'normalized_slowest_queries_details_2');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>2ms</td><td>2ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_2">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-2">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-2">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-2" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-2-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">TABLE</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> searchfulltext;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 2ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_3" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-3">
|
|
<div id="query-g-3" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">create</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">not</span> <span class="kw1">exists</span> idx_searchfulltext_document_id <span class="kw1">on</span> searchfulltext <span class="kw1">using</span> btree <span class="br0">(</span>document_id <span class="kw1">asc</span> nulls <span class="kw1">last</span><span class="br0">)</span> <span class="kw1">tablespace</span> pg_default;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_3" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #3</small></h3>
|
|
<div id="normalized_slowest_queries_details_3" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_3').on("shown.bs.collapse",function(){
|
|
var bars_71 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_71 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_3 = create_bargraph('normalized_slowest_queries_details_3', '', 'Queries', [ bars_71, lines_71 ], 'Avg. duration');
|
|
});
|
|
create_download_button(71, 'btn btn-default btn-xs');
|
|
add_download_button_event(71, 'normalized_slowest_queries_details_3');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_3">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-3">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-3">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-3" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-3-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">CREATE</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">NOT</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id <span class="kw1">ON</span> searchfulltext <span class="kw1">USING</span> btree <span class="br0">(</span>document_id <span class="kw1">ASC</span> NULLS <span class="kw1">LAST</span><span class="br0">)</span> <span class="kw1">TABLESPACE</span> pg_default;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td>60
|
|
<p><a href="#Anormalized_slowest_queries_details_4" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>45ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-4">
|
|
<div id="query-g-4" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_4" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #4</small></h3>
|
|
<div id="normalized_slowest_queries_details_4" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_4').on("shown.bs.collapse",function(){
|
|
var bars_72 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_72 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_4 = create_bargraph('normalized_slowest_queries_details_4', '', 'Queries', [ bars_72, lines_72 ], 'Avg. duration');
|
|
});
|
|
create_download_button(72, 'btn btn-default btn-xs');
|
|
add_download_button_event(72, 'normalized_slowest_queries_details_4');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>45ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_4">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-4">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-4">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 45ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-4" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-4-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-4-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-4-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>0ms</td>
|
|
<td>3ms</td>
|
|
<td>0ms</td>
|
|
<td>60
|
|
<p><a href="#Anormalized_slowest_queries_details_5" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>27ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-5">
|
|
<div id="query-g-5" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw2">count</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">from</span>
|
|
public.searchdocument t0;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_5" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #5</small></h3>
|
|
<div id="normalized_slowest_queries_details_5" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_5').on("shown.bs.collapse",function(){
|
|
var bars_73 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',60],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_73 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_5 = create_bargraph('normalized_slowest_queries_details_5', '', 'Queries', [ bars_73, lines_73 ], 'Avg. duration');
|
|
});
|
|
create_download_button(73, 'btn btn-default btn-xs');
|
|
add_download_button_event(73, 'normalized_slowest_queries_details_5');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>60</td><td>27ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_5">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-5">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-5">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-5" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-5-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-5-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-5-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_6" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-6">
|
|
<div id="query-g-6" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
setting
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">where</span>
|
|
name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_6" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #6</small></h3>
|
|
<div id="normalized_slowest_queries_details_6" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_6').on("shown.bs.collapse",function(){
|
|
var bars_74 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_74 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_6 = create_bargraph('normalized_slowest_queries_details_6', '', 'Queries', [ bars_74, lines_74 ], 'Avg. duration');
|
|
});
|
|
create_download_button(74, 'btn btn-default btn-xs');
|
|
add_download_button_event(74, 'normalized_slowest_queries_details_6');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_6">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-6">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-6">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-6" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-6-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
setting
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_settings
|
|
<span class="kw1">WHERE</span>
|
|
name <span class="sy0">=</span> 'max_index_keys';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td>48
|
|
<p><a href="#Anormalized_slowest_queries_details_7" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>3ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-7">
|
|
<div id="query-g-7" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">from</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">or</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> t.typnotnull<span class="br0">)</span> <span class="kw1">as</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">over</span> <span class="br0">(</span><span class="kw1">partition</span> <span class="kw1">by</span> a.attrelid <span class="kw1">order</span> <span class="kw1">by</span> a.attnum<span class="br0">)</span> <span class="kw1">as</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attidentity<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attgenerated<span class="sy0">,</span> ?<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">as</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">join</span> pg_catalog.pg_class c <span class="kw1">on</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_attribute a <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">join</span> pg_catalog.pg_type t <span class="kw1">on</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_attrdef def <span class="kw1">on</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_description dsc <span class="kw1">on</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_class dc <span class="kw1">on</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">and</span> dc.relname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">left</span> <span class="kw1">join</span> pg_catalog.pg_namespace dn <span class="kw1">on</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">and</span> dn.nspname <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">where</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span><span class="sy0">.</span>.<span class="sy0">.</span><span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> ?
|
|
<span class="kw1">and</span> <span class="kw1">not</span> a.attisdropped
|
|
<span class="kw1">and</span> n.nspname <span class="kw1">like</span> ?
|
|
<span class="kw1">and</span> c.relname <span class="kw1">like</span> ?<span class="br0">)</span> c
|
|
<span class="kw1">where</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_7" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #7</small></h3>
|
|
<div id="normalized_slowest_queries_details_7" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_7').on("shown.bs.collapse",function(){
|
|
var bars_75 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',48],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_75 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_7 = create_bargraph('normalized_slowest_queries_details_7', '', 'Queries', [ bars_75, lines_75 ], 'Avg. duration');
|
|
});
|
|
create_download_button(75, 'btn btn-default btn-xs');
|
|
add_download_button_event(75, 'normalized_slowest_queries_details_7');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>48</td><td>3ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_7">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-7">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-7">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 3ms - <b>Times executed:</b> 48 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-7" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-7-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-7-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-7-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Anormalized_slowest_queries_details_8" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-8">
|
|
<div id="query-g-8" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
t.typlen
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">where</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">and</span> t.typname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> n.nspname <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_8" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #8</small></h3>
|
|
<div id="normalized_slowest_queries_details_8" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_8').on("shown.bs.collapse",function(){
|
|
var bars_76 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_76 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_8 = create_bargraph('normalized_slowest_queries_details_8', '', 'Queries', [ bars_76, lines_76 ], 'Avg. duration');
|
|
});
|
|
create_download_button(76, 'btn btn-default btn-xs');
|
|
add_download_button_event(76, 'normalized_slowest_queries_details_8');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_8">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-8">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-8">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-8" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-8-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-8-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_9" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-9">
|
|
<div id="query-g-9" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">drop</span> <span class="kw1">index</span> <span class="kw1">if</span> <span class="kw1">exists</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_9" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #9</small></h3>
|
|
<div id="normalized_slowest_queries_details_9" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_9').on("shown.bs.collapse",function(){
|
|
var bars_77 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_77 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_9 = create_bargraph('normalized_slowest_queries_details_9', '', 'Queries', [ bars_77, lines_77 ], 'Avg. duration');
|
|
});
|
|
create_download_button(77, 'btn btn-default btn-xs');
|
|
add_download_button_event(77, 'normalized_slowest_queries_details_9');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_9">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-9">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-9">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-9" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-9-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">DROP</span> <span class="kw1">INDEX</span> <span class="kw1">IF</span> <span class="kw1">EXISTS</span> idx_searchfulltext_document_id;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>30
|
|
<p><a href="#Anormalized_slowest_queries_details_10" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-10">
|
|
<div id="query-g-10" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">desc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">desc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>
|
|
<span class="kw1">union</span> <span class="kw1">all</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
? <span class="kw1">as</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">as</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">as</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">as</span> day
|
|
<span class="kw1">from</span>
|
|
searchdocument
|
|
<span class="kw1">where</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
startyear <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">asc</span><span class="sy0">,</span>
|
|
startday <span class="kw1">asc</span>
|
|
<span class="kw1">limit</span> ?<span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_10" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #10</small></h3>
|
|
<div id="normalized_slowest_queries_details_10" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_10').on("shown.bs.collapse",function(){
|
|
var bars_78 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',30],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_78 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_10 = create_bargraph('normalized_slowest_queries_details_10', '', 'Queries', [ bars_78, lines_78 ], 'Avg. duration');
|
|
});
|
|
create_download_button(78, 'btn btn-default btn-xs');
|
|
add_download_button_event(78, 'normalized_slowest_queries_details_10');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>30</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_10">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-10">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-10">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-10" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-10-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-10-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:02
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-10-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td>61
|
|
<p><a href="#Anormalized_slowest_queries_details_11" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>2ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-11">
|
|
<div id="query-g-11" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">commit</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_11" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #11</small></h3>
|
|
<div id="normalized_slowest_queries_details_11" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_11').on("shown.bs.collapse",function(){
|
|
var bars_79 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_79 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_11 = create_bargraph('normalized_slowest_queries_details_11', '', 'Queries', [ bars_79, lines_79 ], 'Avg. duration');
|
|
});
|
|
create_download_button(79, 'btn btn-default btn-xs');
|
|
add_download_button_event(79, 'normalized_slowest_queries_details_11');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>2ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_11">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-11">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-11">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 2ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-11" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-11-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-11-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-11-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">COMMIT</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Anormalized_slowest_queries_details_12" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-12">
|
|
<div id="query-g-12" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
typinput <span class="sy0">=</span> ?::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">left</span> <span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> ?<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">on</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">where</span>
|
|
pg_type.oid <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">desc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_12" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #12</small></h3>
|
|
<div id="normalized_slowest_queries_details_12" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_12').on("shown.bs.collapse",function(){
|
|
var bars_80 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_80 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_12 = create_bargraph('normalized_slowest_queries_details_12', '', 'Queries', [ bars_80, lines_80 ], 'Avg. duration');
|
|
});
|
|
create_download_button(80, 'btn btn-default btn-xs');
|
|
add_download_button_event(80, 'normalized_slowest_queries_details_12');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_12">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-12">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-12">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-12" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-12-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-12-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> '3802'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Anormalized_slowest_queries_details_13" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-13">
|
|
<div id="query-g-13" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> pktable_cat<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">as</span> pktable_schem<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">as</span> pktable_name<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">as</span> pkcolumn_name<span class="sy0">,</span>
|
|
<span class="kw1">null</span>::text <span class="kw1">as</span> fktable_cat<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">as</span> fktable_schem<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">as</span> fktable_name<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">as</span> fkcolumn_name<span class="sy0">,</span>
|
|
pos.n <span class="kw1">as</span> key_seq<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confupdtype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> update_rule<span class="sy0">,</span>
|
|
<span class="kw1">case</span> con.confdeltype
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> ? <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
<span class="kw1">null</span>
|
|
<span class="kw1">end</span> <span class="kw1">as</span> delete_rule<span class="sy0">,</span>
|
|
con.conname <span class="kw1">as</span> fk_name<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">as</span> pk_name<span class="sy0">,</span>
|
|
<span class="kw1">case</span> <span class="kw1">when</span> con.condeferrable
|
|
<span class="kw1">and</span> con.condeferred <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">when</span> con.condeferrable <span class="kw1">then</span>
|
|
?
|
|
<span class="kw1">else</span>
|
|
?
|
|
<span class="kw1">end</span> <span class="kw1">as</span> deferrability
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span>?<span class="sy0">,</span> ?<span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">where</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">and</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">and</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">and</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">and</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">and</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">and</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">and</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">and</span> con.contype <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> ?
|
|
<span class="kw1">or</span> pkic.relkind <span class="sy0">=</span> ?<span class="br0">)</span>
|
|
<span class="kw1">and</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">and</span> fkn.nspname <span class="sy0">=</span> ?
|
|
<span class="kw1">and</span> fkc.relname <span class="sy0">=</span> ?
|
|
<span class="kw1">order</span> <span class="kw1">by</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_13" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #13</small></h3>
|
|
<div id="normalized_slowest_queries_details_13" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_13').on("shown.bs.collapse",function(){
|
|
var bars_81 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_81 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_13 = create_bargraph('normalized_slowest_queries_details_13', '', 'Queries', [ bars_81, lines_81 ], 'Avg. duration');
|
|
});
|
|
create_download_button(81, 'btn btn-default btn-xs');
|
|
add_download_button_event(81, 'normalized_slowest_queries_details_13');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_13">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-13">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-13">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-13" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-13-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> PKTABLE_CAT<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">AS</span> PKTABLE_SCHEM<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">AS</span> PKTABLE_NAME<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">AS</span> PKCOLUMN_NAME<span class="sy0">,</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> FKTABLE_CAT<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">AS</span> FKTABLE_SCHEM<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">AS</span> FKTABLE_NAME<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">AS</span> FKCOLUMN_NAME<span class="sy0">,</span>
|
|
pos.n <span class="kw1">AS</span> KEY_SEQ<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confupdtype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> UPDATE_RULE<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confdeltype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DELETE_RULE<span class="sy0">,</span>
|
|
con.conname <span class="kw1">AS</span> FK_NAME<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">AS</span> PK_NAME<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> <span class="kw1">WHEN</span> con.condeferrable
|
|
<span class="kw1">AND</span> con.condeferred <span class="kw1">THEN</span>
|
|
<span class="nu0">5</span>
|
|
<span class="kw1">WHEN</span> con.condeferrable <span class="kw1">THEN</span>
|
|
<span class="nu0">6</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="nu0">7</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DEFERRABILITY
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="nu0">32</span><span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">WHERE</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">AND</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">AND</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">AND</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">AND</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">AND</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">AND</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">AND</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">AND</span> con.contype <span class="sy0">=</span> 'f'
|
|
<span class="kw1">AND</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> 'i'
|
|
<span class="kw1">OR</span> pkic.relkind <span class="sy0">=</span> 'I'<span class="br0">)</span>
|
|
<span class="kw1">AND</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">AND</span> fkn.nspname <span class="sy0">=</span> 'public'
|
|
<span class="kw1">AND</span> fkc.relname <span class="sy0">=</span> 'searchdocument'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Anormalized_slowest_queries_details_14" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-14">
|
|
<div id="query-g-14" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">select</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">any</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">from</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">join</span> pg_catalog.pg_namespace n <span class="kw1">on</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">where</span>
|
|
t.oid <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_14" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #14</small></h3>
|
|
<div id="normalized_slowest_queries_details_14" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_14').on("shown.bs.collapse",function(){
|
|
var bars_82 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_82 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_14 = create_bargraph('normalized_slowest_queries_details_14', '', 'Queries', [ bars_82, lines_82 ], 'Avg. duration');
|
|
});
|
|
create_download_button(82, 'btn btn-default btn-xs');
|
|
add_download_button_event(82, 'normalized_slowest_queries_details_14');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_14">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-14">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-14">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-14" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-14-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
n.nspname <span class="sy0">=</span> <span class="kw1">ANY</span> <span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">true</span><span class="br0">)</span><span class="br0">)</span><span class="sy0">,</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
t.typname
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_namespace n <span class="kw1">ON</span> t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">WHERE</span>
|
|
t.oid <span class="sy0">=</span> '3802';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>8
|
|
<p><a href="#Anormalized_slowest_queries_details_15" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-15">
|
|
<div id="query-g-15" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> extra_float_digits <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_15" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #15</small></h3>
|
|
<div id="normalized_slowest_queries_details_15" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_15').on("shown.bs.collapse",function(){
|
|
var bars_83 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_83 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_15 = create_bargraph('normalized_slowest_queries_details_15', '', 'Queries', [ bars_83, lines_83 ], 'Avg. duration');
|
|
});
|
|
create_download_button(83, 'btn btn-default btn-xs');
|
|
add_download_button_event(83, 'normalized_slowest_queries_details_15');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_15">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-15">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-15">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-15" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-15-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-15-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-15-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>61
|
|
<p><a href="#Anormalized_slowest_queries_details_16" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-16">
|
|
<div id="query-g-16" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">begin</span>;
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_16" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #16</small></h3>
|
|
<div id="normalized_slowest_queries_details_16" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_16').on("shown.bs.collapse",function(){
|
|
var bars_84 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',61],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_84 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_16 = create_bargraph('normalized_slowest_queries_details_16', '', 'Queries', [ bars_84, lines_84 ], 'Avg. duration');
|
|
});
|
|
create_download_button(84, 'btn btn-default btn-xs');
|
|
add_download_button_event(84, 'normalized_slowest_queries_details_16');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>61</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_16">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-16">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-16">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 61 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-16" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-16-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-16-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-16-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>8
|
|
<p><a href="#Anormalized_slowest_queries_details_17" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td id="normalized-slowest-queries-examples-details-rank-17">
|
|
<div id="query-g-17" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">set</span> application_name <span class="sy0">=</span> ?;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Anormalized_slowest_queries_details_17" class="collapse">
|
|
<h3>Times Reported <small>Time consuming queries #17</small></h3>
|
|
<div id="normalized_slowest_queries_details_17" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Anormalized_slowest_queries_details_17').on("shown.bs.collapse",function(){
|
|
var bars_85 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',8],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_85 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var normalized_slowest_queries_details_17 = create_bargraph('normalized_slowest_queries_details_17', '', 'Queries', [ bars_85, lines_85 ], 'Avg. duration');
|
|
});
|
|
create_download_button(85, 'btn btn-default btn-xs');
|
|
add_download_button_event(85, 'normalized_slowest_queries_details_17');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Anormalized_slowest_queries_details_17">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-17">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-17">User(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="normalized-slowest-queries-user-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-user-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="normalized-slowest-queries-app-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-app-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="normalized-slowest-queries-examples-rank-17" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-g-17-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-17-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-g-17-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> application_name <span class="sy0">=</span> 'PostgreSQL JDBC Driver';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> wedeojpa
|
|
<b>User:</b> onlineed
|
|
<b>Remote:</b> payara.docker_default
|
|
<b>Application:</b> PostgreSQL JDBC Driver
|
|
<b>Bind query:</b> yes
|
|
</pre>
|
|
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#normalized-slowest-queries-examples-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of normalized-slowest-queries -->
|
|
|
|
<div class="analysis-item row" id="time-consuming-prepare">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Time consuming prepare</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="time-consuming-prepare-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Total duration</th>
|
|
<th>Times executed</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>2ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_prepare_details_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>2ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-1">
|
|
<div id="query-e-1" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_1" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #1</small></h3>
|
|
<div id="time_consuming_prepare_details_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_1').on("shown.bs.collapse",function(){
|
|
var bars_86 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_86 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_1 = create_bargraph('time_consuming_prepare_details_1', '', 'Queries', [ bars_86, lines_86 ], 'Avg. duration');
|
|
});
|
|
create_download_button(86, 'btn btn-default btn-xs');
|
|
add_download_button_event(86, 'time_consuming_prepare_details_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>2ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-1">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-1">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-1">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 2ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-1-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>1ms</td>
|
|
<td>5
|
|
<p><a href="#Atime_consuming_prepare_details_2" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-2">
|
|
<div id="query-e-2" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_2" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #2</small></h3>
|
|
<div id="time_consuming_prepare_details_2" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_2').on("shown.bs.collapse",function(){
|
|
var bars_87 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',5],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_87 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_2 = create_bargraph('time_consuming_prepare_details_2', '', 'Queries', [ bars_87, lines_87 ], 'Avg. duration');
|
|
});
|
|
create_download_button(87, 'btn btn-default btn-xs');
|
|
add_download_button_event(87, 'time_consuming_prepare_details_2');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>5</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_2">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-2">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-2">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-2">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 5 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 5 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-2" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-2-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-2-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-2-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>1ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_3" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-3">
|
|
<div id="query-e-3" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchviewreferencesintext'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_3" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #3</small></h3>
|
|
<div id="time_consuming_prepare_details_3" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_3').on("shown.bs.collapse",function(){
|
|
var bars_88 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_88 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_3 = create_bargraph('time_consuming_prepare_details_3', '', 'Queries', [ bars_88, lines_88 ], 'Avg. duration');
|
|
});
|
|
create_download_button(88, 'btn btn-default btn-xs');
|
|
add_download_button_event(88, 'time_consuming_prepare_details_3');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_3">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-3">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-3">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-3">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-3" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-3-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchviewreferencesintext'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>1ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_prepare_details_4" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-4">
|
|
<div id="query-e-4" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> $<span class="nu0">1</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_4" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #4</small></h3>
|
|
<div id="time_consuming_prepare_details_4" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_4').on("shown.bs.collapse",function(){
|
|
var bars_89 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',2],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_89 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_4 = create_bargraph('time_consuming_prepare_details_4', '', 'Queries', [ bars_89, lines_89 ], 'Avg. duration');
|
|
});
|
|
create_download_button(89, 'btn btn-default btn-xs');
|
|
add_download_button_event(89, 'time_consuming_prepare_details_4');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>2</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_4">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-4">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-4">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-4">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-4" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-4-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> $<span class="nu0">1</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-4-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
typinput <span class="sy0">=</span> 'pg_catalog.array_in'::regproc <span class="kw1">as</span> is_array<span class="sy0">,</span>
|
|
typtype<span class="sy0">,</span>
|
|
typname<span class="sy0">,</span>
|
|
pg_type.oid
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
ns.oid <span class="kw1">as</span> nspoid<span class="sy0">,</span>
|
|
ns.nspname<span class="sy0">,</span>
|
|
r.r
|
|
<span class="kw1">from</span>
|
|
pg_namespace <span class="kw1">as</span> ns
|
|
<span class="kw1">join</span> <span class="br0">(</span>
|
|
<span class="kw1">select</span>
|
|
s.r<span class="sy0">,</span>
|
|
<span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="br0">)</span>[s.r] <span class="kw1">as</span> nspname
|
|
<span class="kw1">from</span>
|
|
<span class="kw2">generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="kw2">array_upper</span><span class="br0">(</span><span class="kw2">current_schemas</span><span class="br0">(</span><span class="kw1">false</span><span class="br0">)</span><span class="sy0">,</span> <span class="nu0">1</span><span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> s <span class="br0">(</span>r<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> r <span class="kw1">using</span> <span class="br0">(</span>nspname<span class="br0">)</span><span class="br0">)</span> <span class="kw1">as</span> sp <span class="kw1">ON</span> sp.nspoid <span class="sy0">=</span> typnamespace
|
|
<span class="kw1">WHERE</span>
|
|
pg_type.oid <span class="sy0">=</span> $<span class="nu0">1</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
sp.r<span class="sy0">,</span>
|
|
pg_type.oid <span class="kw1">DESC</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>1ms</td>
|
|
<td>30
|
|
<p><a href="#Atime_consuming_prepare_details_5" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-5">
|
|
<div id="query-e-5" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_5" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #5</small></h3>
|
|
<div id="time_consuming_prepare_details_5" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_5').on("shown.bs.collapse",function(){
|
|
var bars_90 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',30],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_90 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_5 = create_bargraph('time_consuming_prepare_details_5', '', 'Queries', [ bars_90, lines_90 ], 'Avg. duration');
|
|
});
|
|
create_download_button(90, 'btn btn-default btn-xs');
|
|
add_download_button_event(90, 'time_consuming_prepare_details_5');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>30</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_5">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-5">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-5">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-5">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 22ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 22ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-5" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-5-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-5-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:13
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-5-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:51
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>0ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_prepare_details_6" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-6">
|
|
<div id="query-e-6" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_6" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #6</small></h3>
|
|
<div id="time_consuming_prepare_details_6" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_6').on("shown.bs.collapse",function(){
|
|
var bars_91 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',2],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_91 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_6 = create_bargraph('time_consuming_prepare_details_6', '', 'Queries', [ bars_91, lines_91 ], 'Avg. duration');
|
|
});
|
|
create_download_button(91, 'btn btn-default btn-xs');
|
|
add_download_button_event(91, 'time_consuming_prepare_details_6');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>2</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_6">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-6">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-6">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-6">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-6" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-6-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-6-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>0ms</td>
|
|
<td>5
|
|
<p><a href="#Atime_consuming_prepare_details_7" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-7">
|
|
<div id="query-e-7" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_7" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #7</small></h3>
|
|
<div id="time_consuming_prepare_details_7" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_7').on("shown.bs.collapse",function(){
|
|
var bars_92 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',5],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_92 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_7 = create_bargraph('time_consuming_prepare_details_7', '', 'Queries', [ bars_92, lines_92 ], 'Avg. duration');
|
|
});
|
|
create_download_button(92, 'btn btn-default btn-xs');
|
|
add_download_button_event(92, 'time_consuming_prepare_details_7');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>5</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_7">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-7">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-7">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-7">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 5ms - <b>Times executed:</b> 5 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 5ms - <b>Times executed:</b> 5 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-7" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-7-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-7-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-7-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_8" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-8">
|
|
<div id="query-e-8" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_8" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #8</small></h3>
|
|
<div id="time_consuming_prepare_details_8" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_8').on("shown.bs.collapse",function(){
|
|
var bars_93 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_93 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_8 = create_bargraph('time_consuming_prepare_details_8', '', 'Queries', [ bars_93, lines_93 ], 'Avg. duration');
|
|
});
|
|
create_download_button(93, 'btn btn-default btn-xs');
|
|
add_download_button_event(93, 'time_consuming_prepare_details_8');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_8">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-8">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-8">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-8">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-8" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-8-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>0ms</td>
|
|
<td>8
|
|
<p><a href="#Atime_consuming_prepare_details_9" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-9">
|
|
<div id="query-e-9" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_9" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #9</small></h3>
|
|
<div id="time_consuming_prepare_details_9" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_9').on("shown.bs.collapse",function(){
|
|
var bars_94 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',8],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_94 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_9 = create_bargraph('time_consuming_prepare_details_9', '', 'Queries', [ bars_94, lines_94 ], 'Avg. duration');
|
|
});
|
|
create_download_button(94, 'btn btn-default btn-xs');
|
|
add_download_button_event(94, 'time_consuming_prepare_details_9');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>8</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_9">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-9">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-9">User(s) involved</button> </p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 8 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-9" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-9-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-9-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-9-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SET</span> extra_float_digits <span class="sy0">=</span> <span class="nu0">3</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_10" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-10">
|
|
<div id="query-e-10" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'location'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_10" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #10</small></h3>
|
|
<div id="time_consuming_prepare_details_10" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_10').on("shown.bs.collapse",function(){
|
|
var bars_95 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_95 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_10 = create_bargraph('time_consuming_prepare_details_10', '', 'Queries', [ bars_95, lines_95 ], 'Avg. duration');
|
|
});
|
|
create_download_button(95, 'btn btn-default btn-xs');
|
|
add_download_button_event(95, 'time_consuming_prepare_details_10');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_10">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-10">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-10">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-10">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-10" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-10-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'location'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_11" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-11">
|
|
<div id="query-e-11" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'appuserrole_appuserright'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_11" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #11</small></h3>
|
|
<div id="time_consuming_prepare_details_11" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_11').on("shown.bs.collapse",function(){
|
|
var bars_96 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_96 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_11 = create_bargraph('time_consuming_prepare_details_11', '', 'Queries', [ bars_96, lines_96 ], 'Avg. duration');
|
|
});
|
|
create_download_button(96, 'btn btn-default btn-xs');
|
|
add_download_button_event(96, 'time_consuming_prepare_details_11');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_11">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-11">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-11">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-11">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-11" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-11-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'appuserrole_appuserright'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>0ms</td>
|
|
<td>10
|
|
<p><a href="#Atime_consuming_prepare_details_12" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-12">
|
|
<div id="query-e-12" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_12" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #12</small></h3>
|
|
<div id="time_consuming_prepare_details_12" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_12').on("shown.bs.collapse",function(){
|
|
var bars_97 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',10],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_97 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_12 = create_bargraph('time_consuming_prepare_details_12', '', 'Queries', [ bars_97, lines_97 ], 'Avg. duration');
|
|
});
|
|
create_download_button(97, 'btn btn-default btn-xs');
|
|
add_download_button_event(97, 'time_consuming_prepare_details_12');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>10</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_12">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-12">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-12">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-12">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 10 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 10 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-12" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-12-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-12-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-12-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">BEGIN</span>;
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_13" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-13">
|
|
<div id="query-e-13" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'attachmentcategory'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_13" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #13</small></h3>
|
|
<div id="time_consuming_prepare_details_13" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_13').on("shown.bs.collapse",function(){
|
|
var bars_98 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_98 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_13 = create_bargraph('time_consuming_prepare_details_13', '', 'Queries', [ bars_98, lines_98 ], 'Avg. duration');
|
|
});
|
|
create_download_button(98, 'btn btn-default btn-xs');
|
|
add_download_button_event(98, 'time_consuming_prepare_details_13');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_13">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-13">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-13">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-13">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-13" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-13-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'attachmentcategory'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_14" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-14">
|
|
<div id="query-e-14" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentfacsimile'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_14" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #14</small></h3>
|
|
<div id="time_consuming_prepare_details_14" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_14').on("shown.bs.collapse",function(){
|
|
var bars_99 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_99 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_14 = create_bargraph('time_consuming_prepare_details_14', '', 'Queries', [ bars_99, lines_99 ], 'Avg. duration');
|
|
});
|
|
create_download_button(99, 'btn btn-default btn-xs');
|
|
add_download_button_event(99, 'time_consuming_prepare_details_14');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_14">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-14">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-14">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-14">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-14" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-14-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentfacsimile'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_15" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-15">
|
|
<div id="query-e-15" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentaddresseeperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_15" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #15</small></h3>
|
|
<div id="time_consuming_prepare_details_15" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_15').on("shown.bs.collapse",function(){
|
|
var bars_100 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_100 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_15 = create_bargraph('time_consuming_prepare_details_15', '', 'Queries', [ bars_100, lines_100 ], 'Avg. duration');
|
|
});
|
|
create_download_button(100, 'btn btn-default btn-xs');
|
|
add_download_button_event(100, 'time_consuming_prepare_details_15');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_15">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-15">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-15">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-15">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-15" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-15-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentaddresseeperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_16" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-16">
|
|
<div id="query-e-16" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'textsystem'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_16" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #16</small></h3>
|
|
<div id="time_consuming_prepare_details_16" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_16').on("shown.bs.collapse",function(){
|
|
var bars_101 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_101 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_16 = create_bargraph('time_consuming_prepare_details_16', '', 'Queries', [ bars_101, lines_101 ], 'Avg. duration');
|
|
});
|
|
create_download_button(101, 'btn btn-default btn-xs');
|
|
add_download_button_event(101, 'time_consuming_prepare_details_16');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_16">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-16">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-16">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-16">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-16" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-16-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'textsystem'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_17" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-17">
|
|
<div id="query-e-17" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_17" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #17</small></h3>
|
|
<div id="time_consuming_prepare_details_17" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_17').on("shown.bs.collapse",function(){
|
|
var bars_102 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_102 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_17 = create_bargraph('time_consuming_prepare_details_17', '', 'Queries', [ bars_102, lines_102 ], 'Avg. duration');
|
|
});
|
|
create_download_button(102, 'btn btn-default btn-xs');
|
|
add_download_button_event(102, 'time_consuming_prepare_details_17');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_17">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-17">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-17">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-17">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-17" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-17-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>18</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_18" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-18">
|
|
<div id="query-e-18" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_deliverystation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_18" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #18</small></h3>
|
|
<div id="time_consuming_prepare_details_18" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_18').on("shown.bs.collapse",function(){
|
|
var bars_103 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_103 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_18 = create_bargraph('time_consuming_prepare_details_18', '', 'Queries', [ bars_103, lines_103 ], 'Avg. duration');
|
|
});
|
|
create_download_button(103, 'btn btn-default btn-xs');
|
|
add_download_button_event(103, 'time_consuming_prepare_details_18');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_18">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-18">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-18">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-18">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-18" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-18" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-18" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-18-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_deliverystation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>19</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_19" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-19">
|
|
<div id="query-e-19" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'extendedbiography'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_19" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #19</small></h3>
|
|
<div id="time_consuming_prepare_details_19" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_19').on("shown.bs.collapse",function(){
|
|
var bars_104 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_104 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_19 = create_bargraph('time_consuming_prepare_details_19', '', 'Queries', [ bars_104, lines_104 ], 'Avg. duration');
|
|
});
|
|
create_download_button(104, 'btn btn-default btn-xs');
|
|
add_download_button_event(104, 'time_consuming_prepare_details_19');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_19">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-19">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-19">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-19">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-19" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-19" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-19" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-19-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'extendedbiography'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>20</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_prepare_details_20" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-prepare-examples-details-rank-20">
|
|
<div id="query-e-20" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalworkcoauthorperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_prepare_details_20" class="collapse">
|
|
<h3>Times Reported <small>Time consuming prepare #20</small></h3>
|
|
<div id="time_consuming_prepare_details_20" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_prepare_details_20').on("shown.bs.collapse",function(){
|
|
var bars_105 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_105 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_prepare_details_20 = create_bargraph('time_consuming_prepare_details_20', '', 'Queries', [ bars_105, lines_105 ], 'Avg. duration');
|
|
});
|
|
create_download_button(105, 'btn btn-default btn-xs');
|
|
add_download_button_event(105, 'time_consuming_prepare_details_20');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_prepare_details_20">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-20">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-20">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-20">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-20" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-user-involved-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-prepare-app-involved-rank-20" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-app-involved-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-prepare-examples-rank-20" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-20-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalworkcoauthorperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-prepare-examples-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of time-consuming-preapre -->
|
|
|
|
<div class="analysis-item row" id="time-consuming-bind">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-time"></i> Time consuming bind</h2>
|
|
<div class="col-md-12">
|
|
<table class="table table-striped" id="time-consuming-bind-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Total duration</th>
|
|
<th>Times executed</th>
|
|
<th>Min duration</th>
|
|
<th>Max duration</th>
|
|
<th>Avg duration</th>
|
|
<th>Query</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>3ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_bind_details_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>3ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-1">
|
|
<div id="query-e-1" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_1" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #1</small></h3>
|
|
<div id="time_consuming_bind_details_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_1').on("shown.bs.collapse",function(){
|
|
var bars_106 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',2],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_106 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_1 = create_bargraph('time_consuming_bind_details_1', '', 'Queries', [ bars_106, lines_106 ], 'Avg. duration');
|
|
});
|
|
create_download_button(106, 'btn btn-default btn-xs');
|
|
add_download_button_event(106, 'time_consuming_bind_details_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>2</td><td>3ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-1">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-1">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-1">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-1" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-1-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-1-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
t.typlen
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_type t<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">WHERE</span>
|
|
t.typnamespace <span class="sy0">=</span> n.oid
|
|
<span class="kw1">AND</span> t.typname <span class="sy0">=</span> 'name'
|
|
<span class="kw1">AND</span> n.nspname <span class="sy0">=</span> 'pg_catalog';
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>3ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_2" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>3ms</td>
|
|
<td>3ms</td>
|
|
<td>3ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-2">
|
|
<div id="query-e-2" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> PKTABLE_CAT<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">AS</span> PKTABLE_SCHEM<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">AS</span> PKTABLE_NAME<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">AS</span> PKCOLUMN_NAME<span class="sy0">,</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> FKTABLE_CAT<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">AS</span> FKTABLE_SCHEM<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">AS</span> FKTABLE_NAME<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">AS</span> FKCOLUMN_NAME<span class="sy0">,</span>
|
|
pos.n <span class="kw1">AS</span> KEY_SEQ<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confupdtype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> UPDATE_RULE<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confdeltype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DELETE_RULE<span class="sy0">,</span>
|
|
con.conname <span class="kw1">AS</span> FK_NAME<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">AS</span> PK_NAME<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> <span class="kw1">WHEN</span> con.condeferrable
|
|
<span class="kw1">AND</span> con.condeferred <span class="kw1">THEN</span>
|
|
<span class="nu0">5</span>
|
|
<span class="kw1">WHEN</span> con.condeferrable <span class="kw1">THEN</span>
|
|
<span class="nu0">6</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="nu0">7</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DEFERRABILITY
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="nu0">32</span><span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">WHERE</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">AND</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">AND</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">AND</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">AND</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">AND</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">AND</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">AND</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">AND</span> con.contype <span class="sy0">=</span> 'f'
|
|
<span class="kw1">AND</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> 'i'
|
|
<span class="kw1">OR</span> pkic.relkind <span class="sy0">=</span> 'I'<span class="br0">)</span>
|
|
<span class="kw1">AND</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">AND</span> fkn.nspname <span class="sy0">=</span> 'public'
|
|
<span class="kw1">AND</span> fkc.relname <span class="sy0">=</span> 'searchdocument'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_2" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #2</small></h3>
|
|
<div id="time_consuming_bind_details_2" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_2').on("shown.bs.collapse",function(){
|
|
var bars_107 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_107 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',3],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_2 = create_bargraph('time_consuming_bind_details_2', '', 'Queries', [ bars_107, lines_107 ], 'Avg. duration');
|
|
});
|
|
create_download_button(107, 'btn btn-default btn-xs');
|
|
add_download_button_event(107, 'time_consuming_bind_details_2');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>3ms</td><td>3ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_2">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-2">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-2">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-2">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-2" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-2" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-2-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> PKTABLE_CAT<span class="sy0">,</span>
|
|
pkn.nspname <span class="kw1">AS</span> PKTABLE_SCHEM<span class="sy0">,</span>
|
|
pkc.relname <span class="kw1">AS</span> PKTABLE_NAME<span class="sy0">,</span>
|
|
pka.attname <span class="kw1">AS</span> PKCOLUMN_NAME<span class="sy0">,</span>
|
|
<span class="kw1">NULL</span>::text <span class="kw1">AS</span> FKTABLE_CAT<span class="sy0">,</span>
|
|
fkn.nspname <span class="kw1">AS</span> FKTABLE_SCHEM<span class="sy0">,</span>
|
|
fkc.relname <span class="kw1">AS</span> FKTABLE_NAME<span class="sy0">,</span>
|
|
fka.attname <span class="kw1">AS</span> FKCOLUMN_NAME<span class="sy0">,</span>
|
|
pos.n <span class="kw1">AS</span> KEY_SEQ<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confupdtype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> UPDATE_RULE<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> con.confdeltype
|
|
<span class="kw1">WHEN</span> 'c' <span class="kw1">THEN</span>
|
|
<span class="nu0">0</span>
|
|
<span class="kw1">WHEN</span> 'n' <span class="kw1">THEN</span>
|
|
<span class="nu0">2</span>
|
|
<span class="kw1">WHEN</span> 'd' <span class="kw1">THEN</span>
|
|
<span class="nu0">4</span>
|
|
<span class="kw1">WHEN</span> 'r' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'p' <span class="kw1">THEN</span>
|
|
<span class="nu0">1</span>
|
|
<span class="kw1">WHEN</span> 'a' <span class="kw1">THEN</span>
|
|
<span class="nu0">3</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="kw1">NULL</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DELETE_RULE<span class="sy0">,</span>
|
|
con.conname <span class="kw1">AS</span> FK_NAME<span class="sy0">,</span>
|
|
pkic.relname <span class="kw1">AS</span> PK_NAME<span class="sy0">,</span>
|
|
<span class="kw1">CASE</span> <span class="kw1">WHEN</span> con.condeferrable
|
|
<span class="kw1">AND</span> con.condeferred <span class="kw1">THEN</span>
|
|
<span class="nu0">5</span>
|
|
<span class="kw1">WHEN</span> con.condeferrable <span class="kw1">THEN</span>
|
|
<span class="nu0">6</span>
|
|
<span class="kw1">ELSE</span>
|
|
<span class="nu0">7</span>
|
|
<span class="kw1">END</span> <span class="kw1">AS</span> DEFERRABILITY
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace pkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class pkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute pka<span class="sy0">,</span>
|
|
pg_catalog.pg_namespace fkn<span class="sy0">,</span>
|
|
pg_catalog.pg_class fkc<span class="sy0">,</span>
|
|
pg_catalog.pg_attribute fka<span class="sy0">,</span>
|
|
pg_catalog.pg_constraint con<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.generate_series</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span> <span class="nu0">32</span><span class="br0">)</span> pos <span class="br0">(</span>n<span class="br0">)</span><span class="sy0">,</span>
|
|
pg_catalog.pg_class pkic
|
|
<span class="kw1">WHERE</span>
|
|
pkn.oid <span class="sy0">=</span> pkc.relnamespace
|
|
<span class="kw1">AND</span> pkc.oid <span class="sy0">=</span> pka.attrelid
|
|
<span class="kw1">AND</span> pka.attnum <span class="sy0">=</span> con.confkey[pos.n]
|
|
<span class="kw1">AND</span> con.confrelid <span class="sy0">=</span> pkc.oid
|
|
<span class="kw1">AND</span> fkn.oid <span class="sy0">=</span> fkc.relnamespace
|
|
<span class="kw1">AND</span> fkc.oid <span class="sy0">=</span> fka.attrelid
|
|
<span class="kw1">AND</span> fka.attnum <span class="sy0">=</span> con.conkey[pos.n]
|
|
<span class="kw1">AND</span> con.conrelid <span class="sy0">=</span> fkc.oid
|
|
<span class="kw1">AND</span> con.contype <span class="sy0">=</span> 'f'
|
|
<span class="kw1">AND</span> <span class="br0">(</span>pkic.relkind <span class="sy0">=</span> 'i'
|
|
<span class="kw1">OR</span> pkic.relkind <span class="sy0">=</span> 'I'<span class="br0">)</span>
|
|
<span class="kw1">AND</span> pkic.oid <span class="sy0">=</span> con.conindid
|
|
<span class="kw1">AND</span> fkn.nspname <span class="sy0">=</span> 'public'
|
|
<span class="kw1">AND</span> fkc.relname <span class="sy0">=</span> 'searchdocument'
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
pkn.nspname<span class="sy0">,</span>
|
|
pkc.relname<span class="sy0">,</span>
|
|
con.conname<span class="sy0">,</span>
|
|
pos.n;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-2">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>3ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_3" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>3ms</td>
|
|
<td>3ms</td>
|
|
<td>3ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-3">
|
|
<div id="query-e-3" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchviewreferencesintext'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_3" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #3</small></h3>
|
|
<div id="time_consuming_bind_details_3" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_3').on("shown.bs.collapse",function(){
|
|
var bars_108 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_108 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',3],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_3 = create_bargraph('time_consuming_bind_details_3', '', 'Queries', [ bars_108, lines_108 ], 'Avg. duration');
|
|
});
|
|
create_download_button(108, 'btn btn-default btn-xs');
|
|
add_download_button_event(108, 'time_consuming_bind_details_3');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>3ms</td><td>3ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_3">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-3">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-3">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-3">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-3" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-3" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-3-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchviewreferencesintext'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 3ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-3">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>4</td>
|
|
<td>2ms</td>
|
|
<td>30
|
|
<p><a href="#Atime_consuming_bind_details_4" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-4">
|
|
<div id="query-e-4" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_4" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #4</small></h3>
|
|
<div id="time_consuming_bind_details_4" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_4').on("shown.bs.collapse",function(){
|
|
var bars_109 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',30],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_109 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_4 = create_bargraph('time_consuming_bind_details_4', '', 'Queries', [ bars_109, lines_109 ], 'Avg. duration');
|
|
});
|
|
create_download_button(109, 'btn btn-default btn-xs');
|
|
add_download_button_event(109, 'time_consuming_bind_details_4');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>30</td><td>2ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_4">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-4">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-4">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-4">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-4" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 1ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-4" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-4-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-4-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:50
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-4-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'latest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">DESC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">DESC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>
|
|
<span class="kw1">UNION</span> <span class="kw1">ALL</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
'earliest' <span class="kw1">AS</span> type<span class="sy0">,</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
startyear <span class="kw1">AS</span> year<span class="sy0">,</span>
|
|
startmonth <span class="kw1">AS</span> month<span class="sy0">,</span>
|
|
startday <span class="kw1">AS</span> day
|
|
<span class="kw1">from</span>
|
|
SearchDocument
|
|
<span class="kw1">WHERE</span> <span class="br0">(</span>startday <span class="sy0">+</span> startmonth <span class="sy0">+</span> startyear<span class="br0">)</span> <span class="sy0">!=</span> <span class="nu0">0</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
startyear <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startmonth <span class="kw1">ASC</span><span class="sy0">,</span>
|
|
startday <span class="kw1">ASC</span>
|
|
<span class="kw1">LIMIT</span> <span class="nu0">1</span><span class="br0">)</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-4">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>5</td>
|
|
<td>1ms</td>
|
|
<td>30
|
|
<p><a href="#Atime_consuming_bind_details_5" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-5">
|
|
<div id="query-e-5" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_5" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #5</small></h3>
|
|
<div id="time_consuming_bind_details_5" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_5').on("shown.bs.collapse",function(){
|
|
var bars_110 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',30],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_110 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_5 = create_bargraph('time_consuming_bind_details_5', '', 'Queries', [ bars_110, lines_110 ], 'Avg. duration');
|
|
});
|
|
create_download_button(110, 'btn btn-default btn-xs');
|
|
add_download_button_event(110, 'time_consuming_bind_details_5');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>30</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_5">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-5">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-5">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-5">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 22ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-5" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 22ms - <b>Times executed:</b> 30 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-5" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-5-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-5-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:12
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-5-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
id<span class="sy0">,</span>
|
|
documentid<span class="sy0">,</span>
|
|
datetype<span class="sy0">,</span>
|
|
startyear<span class="sy0">,</span>
|
|
startmonth<span class="sy0">,</span>
|
|
startday<span class="sy0">,</span>
|
|
startdatestatus<span class="sy0">,</span>
|
|
endyear<span class="sy0">,</span>
|
|
endmonth<span class="sy0">,</span>
|
|
endday<span class="sy0">,</span>
|
|
enddatestatus<span class="sy0">,</span>
|
|
author<span class="sy0">,</span>
|
|
coauthors<span class="sy0">,</span>
|
|
addressees<span class="sy0">,</span>
|
|
city<span class="sy0">,</span>
|
|
documentcategory<span class="sy0">,</span>
|
|
ispublishedindb<span class="sy0">,</span>
|
|
createdat<span class="sy0">,</span>
|
|
modifiedat<span class="sy0">,</span>
|
|
validuntil
|
|
<span class="kw1">From</span>
|
|
searchdocument
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
documentid <span class="kw1">asc</span>;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:45:01
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-5">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6</td>
|
|
<td>1ms</td>
|
|
<td>2
|
|
<p><a href="#Atime_consuming_bind_details_6" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>1ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-6">
|
|
<div id="query-e-6" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_6" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #6</small></h3>
|
|
<div id="time_consuming_bind_details_6" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_6').on("shown.bs.collapse",function(){
|
|
var bars_111 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',2],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_111 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_6 = create_bargraph('time_consuming_bind_details_6', '', 'Queries', [ bars_111, lines_111 ], 'Avg. duration');
|
|
});
|
|
create_download_button(111, 'btn btn-default btn-xs');
|
|
add_download_button_event(111, 'time_consuming_bind_details_6');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>2</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_6">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-6">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-6">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-6">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-6" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 2 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-6" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-6-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-6-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'searchdocument'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-6">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>7</td>
|
|
<td>1ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_7" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-7">
|
|
<div id="query-e-7" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_7" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #7</small></h3>
|
|
<div id="time_consuming_bind_details_7" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_7').on("shown.bs.collapse",function(){
|
|
var bars_112 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_112 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_7 = create_bargraph('time_consuming_bind_details_7', '', 'Queries', [ bars_112, lines_112 ], 'Avg. duration');
|
|
});
|
|
create_download_button(112, 'btn btn-default btn-xs');
|
|
add_download_button_event(112, 'time_consuming_bind_details_7');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_7">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-7">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-7">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-7">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-7" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-7" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-7-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'firstprint'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-7">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>8</td>
|
|
<td>1ms</td>
|
|
<td>60
|
|
<p><a href="#Atime_consuming_bind_details_8" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-8">
|
|
<div id="query-e-8" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_8" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #8</small></h3>
|
|
<div id="time_consuming_bind_details_8" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_8').on("shown.bs.collapse",function(){
|
|
var bars_113 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',60],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_113 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_8 = create_bargraph('time_consuming_bind_details_8', '', 'Queries', [ bars_113, lines_113 ], 'Avg. duration');
|
|
});
|
|
create_download_button(113, 'btn btn-default btn-xs');
|
|
add_download_button_event(113, 'time_consuming_bind_details_8');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>60</td><td>1ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_8">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-8">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-8">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-8">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-8" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 27ms - <b>Times executed:</b> 60 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-8" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-8-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:48
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-8-2" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
<dt>
|
|
<div id="query-e-8-3" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="kw2">COUNT</span><span class="br0">(</span>t0.id<span class="br0">)</span>
|
|
<span class="kw1">FROM</span>
|
|
public.SearchDocument t0;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:44:49
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-8">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>9</td>
|
|
<td>1ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_9" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td>1ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-9">
|
|
<div id="query-e-9" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentfacsimile'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_9" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #9</small></h3>
|
|
<div id="time_consuming_bind_details_9" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_9').on("shown.bs.collapse",function(){
|
|
var bars_114 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_114 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_9 = create_bargraph('time_consuming_bind_details_9', '', 'Queries', [ bars_114, lines_114 ], 'Avg. duration');
|
|
});
|
|
create_download_button(114, 'btn btn-default btn-xs');
|
|
add_download_button_event(114, 'time_consuming_bind_details_9');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>1ms</td><td>1ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_9">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-9">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-9">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-9">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-9" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-9" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-9-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentfacsimile'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 1ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-9">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>10</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_10" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-10">
|
|
<div id="query-e-10" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'location'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_10" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #10</small></h3>
|
|
<div id="time_consuming_bind_details_10" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_10').on("shown.bs.collapse",function(){
|
|
var bars_115 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_115 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_10 = create_bargraph('time_consuming_bind_details_10', '', 'Queries', [ bars_115, lines_115 ], 'Avg. duration');
|
|
});
|
|
create_download_button(115, 'btn btn-default btn-xs');
|
|
add_download_button_event(115, 'time_consuming_bind_details_10');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_10">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-10">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-10">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-10">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-10" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-10" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-10-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'location'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-10">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>11</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_11" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-11">
|
|
<div id="query-e-11" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_11" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #11</small></h3>
|
|
<div id="time_consuming_bind_details_11" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_11').on("shown.bs.collapse",function(){
|
|
var bars_116 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_116 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_11 = create_bargraph('time_consuming_bind_details_11', '', 'Queries', [ bars_116, lines_116 ], 'Avg. duration');
|
|
});
|
|
create_download_button(116, 'btn btn-default btn-xs');
|
|
add_download_button_event(116, 'time_consuming_bind_details_11');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_11">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-11">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-11">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-11">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-11" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-11" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-11-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-11">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>12</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_12" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-12">
|
|
<div id="query-e-12" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_attachment'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_12" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #12</small></h3>
|
|
<div id="time_consuming_bind_details_12" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_12').on("shown.bs.collapse",function(){
|
|
var bars_117 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_117 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_12 = create_bargraph('time_consuming_bind_details_12', '', 'Queries', [ bars_117, lines_117 ], 'Avg. duration');
|
|
});
|
|
create_download_button(117, 'btn btn-default btn-xs');
|
|
add_download_button_event(117, 'time_consuming_bind_details_12');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_12">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-12">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-12">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-12">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-12" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-12" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-12-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_attachment'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-12">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>13</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_13" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-13">
|
|
<div id="query-e-13" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_deliverystation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_13" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #13</small></h3>
|
|
<div id="time_consuming_bind_details_13" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_13').on("shown.bs.collapse",function(){
|
|
var bars_118 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_118 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_13 = create_bargraph('time_consuming_bind_details_13', '', 'Queries', [ bars_118, lines_118 ], 'Avg. duration');
|
|
});
|
|
create_download_button(118, 'btn btn-default btn-xs');
|
|
add_download_button_event(118, 'time_consuming_bind_details_13');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_13">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-13">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-13">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-13">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-13" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-13" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-13-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'document_deliverystation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-13">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>14</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_14" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-14">
|
|
<div id="query-e-14" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'testentity'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_14" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #14</small></h3>
|
|
<div id="time_consuming_bind_details_14" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_14').on("shown.bs.collapse",function(){
|
|
var bars_119 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_119 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_14 = create_bargraph('time_consuming_bind_details_14', '', 'Queries', [ bars_119, lines_119 ], 'Avg. duration');
|
|
});
|
|
create_download_button(119, 'btn btn-default btn-xs');
|
|
add_download_button_event(119, 'time_consuming_bind_details_14');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_14">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-14">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-14">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-14">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-14" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-14" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-14-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'testentity'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-14">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>15</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_15" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-15">
|
|
<div id="query-e-15" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentaddresseeperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_15" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #15</small></h3>
|
|
<div id="time_consuming_bind_details_15" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_15').on("shown.bs.collapse",function(){
|
|
var bars_120 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_120 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_15 = create_bargraph('time_consuming_bind_details_15', '', 'Queries', [ bars_120, lines_120 ], 'Avg. duration');
|
|
});
|
|
create_download_button(120, 'btn btn-default btn-xs');
|
|
add_download_button_event(120, 'time_consuming_bind_details_15');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_15">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-15">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-15">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-15">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-15" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-15" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-15-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'documentaddresseeperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-15">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>16</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_16" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-16">
|
|
<div id="query-e-16" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalworkcoauthorperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_16" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #16</small></h3>
|
|
<div id="time_consuming_bind_details_16" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_16').on("shown.bs.collapse",function(){
|
|
var bars_121 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_121 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_16 = create_bargraph('time_consuming_bind_details_16', '', 'Queries', [ bars_121, lines_121 ], 'Avg. duration');
|
|
});
|
|
create_download_button(121, 'btn btn-default btn-xs');
|
|
add_download_button_event(121, 'time_consuming_bind_details_16');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_16">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-16">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-16">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-16">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-16" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-16" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-16-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalworkcoauthorperson'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-16">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>17</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_17" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-17">
|
|
<div id="query-e-17" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'attachmentcategory'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_17" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #17</small></h3>
|
|
<div id="time_consuming_bind_details_17" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_17').on("shown.bs.collapse",function(){
|
|
var bars_122 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_122 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_17 = create_bargraph('time_consuming_bind_details_17', '', 'Queries', [ bars_122, lines_122 ], 'Avg. duration');
|
|
});
|
|
create_download_button(122, 'btn btn-default btn-xs');
|
|
add_download_button_event(122, 'time_consuming_bind_details_17');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_17">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-17">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-17">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-17">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-17" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-17" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-17-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'attachmentcategory'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-17">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>18</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_18" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-18">
|
|
<div id="query-e-18" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'extendedbiography'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_18" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #18</small></h3>
|
|
<div id="time_consuming_bind_details_18" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_18').on("shown.bs.collapse",function(){
|
|
var bars_123 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_123 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_18 = create_bargraph('time_consuming_bind_details_18', '', 'Queries', [ bars_123, lines_123 ], 'Avg. duration');
|
|
});
|
|
create_download_button(123, 'btn btn-default btn-xs');
|
|
add_download_button_event(123, 'time_consuming_bind_details_18');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_18">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-18">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-18">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-18">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-18" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-18" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-18" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-18-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'extendedbiography'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-18">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>19</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_19" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-19">
|
|
<div id="query-e-19" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'textsystem'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_19" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #19</small></h3>
|
|
<div id="time_consuming_bind_details_19" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_19').on("shown.bs.collapse",function(){
|
|
var bars_124 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_124 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_19 = create_bargraph('time_consuming_bind_details_19', '', 'Queries', [ bars_124, lines_124 ], 'Avg. duration');
|
|
});
|
|
create_download_button(124, 'btn btn-default btn-xs');
|
|
add_download_button_event(124, 'time_consuming_bind_details_19');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_19">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-19">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-19">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-19">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-19" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-19" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-19" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-19-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'textsystem'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-19">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>20</td>
|
|
<td>0ms</td>
|
|
<td>1
|
|
<p><a href="#Atime_consuming_bind_details_20" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td>0ms</td>
|
|
<td id="time-consuming-bind-examples-details-rank-20">
|
|
<div id="query-e-20" class="sql sql-mediumsize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson_occupation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Atime_consuming_bind_details_20" class="collapse">
|
|
<h3>Times Reported <small>Time consuming bind #20</small></h3>
|
|
<div id="time_consuming_bind_details_20" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Atime_consuming_bind_details_20').on("shown.bs.collapse",function(){
|
|
var bars_125 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',1],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var lines_125 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',0],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
var time_consuming_bind_details_20 = create_bargraph('time_consuming_bind_details_20', '', 'Queries', [ bars_125, lines_125 ], 'Avg. duration');
|
|
});
|
|
create_download_button(125, 'btn btn-default btn-xs');
|
|
add_download_button_event(125, 'time_consuming_bind_details_20');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
<th>Duration</th>
|
|
<th>Avg duration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td> </td><td>14</td><td>1</td><td>0ms</td><td>0ms</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Atime_consuming_bind_details_20">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
<p> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-20">Examples</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-20">User(s) involved</button> <button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-20">App(s) involved</button></p>
|
|
|
|
<!-- Involved users list collapse -->
|
|
<div id="time-consuming-prepapre-user-involved-rank-20" class="collapse">
|
|
|
|
<pre>[ <b>User:</b> onlineed - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-user-involved-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of user involved collapse -->
|
|
|
|
<!-- Involved apps list collapse -->
|
|
<div id="time-consuming-bind-app-involved-rank-20" class="collapse">
|
|
|
|
<pre>[ <b>Application:</b> PostgreSQL JDBC Driver - <b>Total duration:</b> 0ms - <b>Times executed:</b> 1 ]
|
|
</pre>
|
|
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-app-involved-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of app involved collapse -->
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="time-consuming-bind-examples-rank-20" class="collapse">
|
|
<dl>
|
|
|
|
<dt>
|
|
<div id="query-e-20-1" class="sql sql-largesize"><i class="glyphicon icon-copy" title="Click to select query"></i><span class="kw1">SELECT</span>
|
|
<span class="sy0">*</span>
|
|
<span class="kw1">FROM</span> <span class="br0">(</span>
|
|
<span class="kw1">SELECT</span>
|
|
n.nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
a.attname<span class="sy0">,</span>
|
|
a.atttypid<span class="sy0">,</span>
|
|
a.attnotnull
|
|
<span class="kw1">OR</span> <span class="br0">(</span>t.typtype <span class="sy0">=</span> 'd'
|
|
<span class="kw1">AND</span> t.typnotnull<span class="br0">)</span> <span class="kw1">AS</span> attnotnull<span class="sy0">,</span>
|
|
a.atttypmod<span class="sy0">,</span>
|
|
a.attlen<span class="sy0">,</span>
|
|
t.typtypmod<span class="sy0">,</span>
|
|
<span class="kw2">row_number</span><span class="br0">(</span><span class="br0">)</span> <span class="kw1">OVER</span> <span class="br0">(</span><span class="kw1">PARTITION</span> <span class="kw1">BY</span> a.attrelid <span class="kw1">ORDER</span> <span class="kw1">BY</span> a.attnum<span class="br0">)</span> <span class="kw1">AS</span> attnum<span class="sy0">,</span>
|
|
nullif <span class="br0">(</span>a.attidentity<span class="sy0">,</span> '') as attidentity,nullif(a.attgenerated, ''<span class="br0">)</span> <span class="kw1">as</span> attgenerated<span class="sy0">,</span>
|
|
<span class="kw2">pg_catalog.pg_get_expr</span><span class="br0">(</span>def.adbin<span class="sy0">,</span> def.adrelid<span class="br0">)</span> <span class="kw1">AS</span> adsrc<span class="sy0">,</span>
|
|
dsc.description<span class="sy0">,</span>
|
|
t.typbasetype<span class="sy0">,</span>
|
|
t.typtype
|
|
<span class="kw1">FROM</span>
|
|
pg_catalog.pg_namespace n
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_class c <span class="kw1">ON</span> <span class="br0">(</span>c.relnamespace <span class="sy0">=</span> n.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_attribute a <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> c.oid<span class="br0">)</span>
|
|
<span class="kw1">JOIN</span> pg_catalog.pg_type t <span class="kw1">ON</span> <span class="br0">(</span>a.atttypid <span class="sy0">=</span> t.oid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_attrdef def <span class="kw1">ON</span> <span class="br0">(</span>a.attrelid <span class="sy0">=</span> def.adrelid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> def.adnum<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_description dsc <span class="kw1">ON</span> <span class="br0">(</span>c.oid <span class="sy0">=</span> dsc.objoid
|
|
<span class="kw1">AND</span> a.attnum <span class="sy0">=</span> dsc.objsubid<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_class dc <span class="kw1">ON</span> <span class="br0">(</span>dc.oid <span class="sy0">=</span> dsc.classoid
|
|
<span class="kw1">AND</span> dc.relname <span class="sy0">=</span> 'pg_class'<span class="br0">)</span>
|
|
<span class="kw1">LEFT</span> <span class="kw1">JOIN</span> pg_catalog.pg_namespace dn <span class="kw1">ON</span> <span class="br0">(</span>dc.relnamespace <span class="sy0">=</span> dn.oid
|
|
<span class="kw1">AND</span> dn.nspname <span class="sy0">=</span> 'pg_catalog'<span class="br0">)</span>
|
|
<span class="kw1">WHERE</span>
|
|
c.relkind <span class="kw1">in</span> <span class="br0">(</span>'r'<span class="sy0">,</span> 'p'<span class="sy0">,</span> 'v'<span class="sy0">,</span> 'f'<span class="sy0">,</span> 'm'<span class="br0">)</span>
|
|
<span class="kw1">and</span> a.attnum <span class="sy0">></span> <span class="nu0">0</span>
|
|
<span class="kw1">AND</span> <span class="kw1">NOT</span> a.attisdropped
|
|
<span class="kw1">AND</span> n.nspname <span class="kw1">LIKE</span> 'public'
|
|
<span class="kw1">AND</span> c.relname <span class="kw1">LIKE</span> 'historicalperson_occupation'<span class="br0">)</span> c
|
|
<span class="kw1">WHERE</span>
|
|
<span class="kw1">true</span>
|
|
<span class="kw1">ORDER</span> <span class="kw1">BY</span>
|
|
nspname<span class="sy0">,</span>
|
|
c.relname<span class="sy0">,</span>
|
|
attnum;
|
|
|
|
</div>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:29
|
|
<b>Duration:</b> 0ms
|
|
<b>Database:</b> postgres
|
|
<b>User:</b> wedeojpa
|
|
<b>Remote:</b> onlineed
|
|
<b>Application:</b> payara.docker_default
|
|
<b>Queryid:</b> PostgreSQL JDBC Driver
|
|
</pre>
|
|
</dt>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#time-consuming-bind-examples-rank-20">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of time-consuming-preapre -->
|
|
|
|
</li>
|
|
<li class="slide" id="events-slide" style="display:none;">
|
|
|
|
<h1 class="page-header"><i class="glyphicon icon-bullhorn"></i> Events</h1>
|
|
|
|
<div class="analysis-item row" id="log-levels">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-tags"></i> Log levels</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">824</span> <span class="figure-label">Log entries</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div class="tabbable">
|
|
<ul class="nav nav-tabs">
|
|
<li class="active"><a href="#log-level-graph" data-toggle="tab">Chart</a></li>
|
|
<li><a href="#log-level-table" data-toggle="tab">Table</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="log-level-graph">
|
|
<div id="graph_logstype" class="jqplot-graph piegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var data_127 = [ ['ERROR', 1],['LOG', 823] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(127, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_logstype', 'Logs per type', data_127]);
|
|
add_download_button_event(127, 'graph_logstype');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
<div class="tab-pane" id="log-level-table">
|
|
<table class="table table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Count</th>
|
|
<th>Percentage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>ERROR</td><td>1</td><td>0.12%</td></tr><tr><td>LOG</td><td>823</td><td>99.88%</td></tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!-- end of event flow -->
|
|
|
|
<div class="analysis-item row" id="minutes-errors-levels">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-tags"></i> Events distribution</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">0</span> <span class="figure-label">PANIC entries</span></li>
|
|
<li><span class="figure">0</span> <span class="figure-label">FATAL entries</span></li>
|
|
<li><span class="figure">1</span> <span class="figure-label">ERROR entries</span></li>
|
|
<li><span class="figure">0</span> <span class="figure-label">WARNING entries</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<div id="eventspersecond_graph" class="jqplot-graph linegraph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
var eventspersecond_graph_126_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_126_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_126_d3 = [[1725633600000, 1],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_126_d4 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var series_arr = [ { label: "PANIC", color: "#6e9dc9" },{ label: "FATAL", color: "#f4ab3a" },{ label: "ERROR", color: "#ac7fa8" },{ label: "WARNING", color: "#8dbd0f" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(126, 'btn btn-default');
|
|
charts.push(['linegraph', 'eventspersecond_graph', 'Errors per 5 minutes', 'Errors per 5 minutes', series_arr, [eventspersecond_graph_126_d1,eventspersecond_graph_126_d2,eventspersecond_graph_126_d3,eventspersecond_graph_126_d4]]);
|
|
add_download_button_event(126, 'eventspersecond_graph');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
</div>
|
|
</div><!-- end of errors per minutes -->
|
|
|
|
|
|
<div class="analysis-item row" id="most-frequent-errors-events">
|
|
<h2 class="col-md-12"><i class="glyphicon icon-warning-sign"></i> Most Frequent Errors/Events</h2>
|
|
<div class="col-md-3">
|
|
<h3 class="">Key values</h3>
|
|
<div class="well key-figures">
|
|
<ul>
|
|
<li><span class="figure">1</span> <span class="figure-label">Max number of times the same event was reported</span></li>
|
|
<li><span class="figure">1</span> <span class="figure-label">Total events found</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-9">
|
|
<table class="table table-striped" id="most-frequent-errors-events-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Rank</th>
|
|
<th>Times reported</th>
|
|
<th>Error</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>1</td>
|
|
<td>1
|
|
<p><a href="#Amost_frequent_error_1" class="btn btn-default btn-xs" data-toggle="collapse">Details</a></p>
|
|
</td>
|
|
<td id="most-frequent-errors-events-examples-details-rank-1">
|
|
<div id="event-c-1" class="sql sql-mediumsize">
|
|
<p class="error-pre"><span class="text-success">LOG: database system was shut down at ...</span></p>
|
|
</div>
|
|
<!-- Details collapse -->
|
|
<div id="Amost_frequent_error_1" class="collapse">
|
|
<h3>Times Reported <small>Most Frequent Error / Event #1</small></h3>
|
|
<div id="most_frequent_error_1" class="jqplot-graph histo-graph"></div>
|
|
<script type="text/javascript">
|
|
/* <![CDATA[ */
|
|
$('#Amost_frequent_error_1').on("shown.bs.collapse",function(){
|
|
var bars_129 = [['00:00',0],['01:00',0],['02:00',0],['03:00',0],['04:00',0],['05:00',0],['06:00',0],['07:00',0],['08:00',0],['09:00',0],['10:00',0],['11:00',0],['12:00',0],['13:00',0],['14:00',0],['15:00',0],['16:00',1],['17:00',0],['18:00',0],['19:00',0],['20:00',0],['21:00',0],['22:00',0],['23:00',0]];
|
|
|
|
var most_frequent_error_1 = create_bargraph('most_frequent_error_1', '', 'Events', [ bars_129 ], '');
|
|
});
|
|
create_download_button(129, 'btn btn-default btn-xs');
|
|
add_download_button_event(129, 'most_frequent_error_1');
|
|
/* ]]> */
|
|
</script>
|
|
|
|
<table class="table table-stripped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Day</th>
|
|
<th>Hour</th>
|
|
<th>Count</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td>Sep 06</td><td>16</td><td>1</td></tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#Amost_frequent_error_1">x Hide</button></p>
|
|
</div><!-- end of details collapse -->
|
|
|
|
<p><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-errors-events-examples-rank-1">Examples</button></p>
|
|
|
|
<!-- Examples collapse -->
|
|
<div id="most-frequent-errors-events-examples-rank-1" class="collapse">
|
|
<dl>
|
|
|
|
<dt><span class="text-success">ERROR: database system was shut down at 2024-09-06 16:43:08 CEST</span></dt>
|
|
<p></p>
|
|
<pre><b>Date:</b> 2024-09-06 16:43:09
|
|
</pre>
|
|
|
|
</dl>
|
|
<p class="pull-right"><button type="button" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#most-frequent-errors-events-examples-rank-1">x Hide</button></p>
|
|
</div>
|
|
<!-- end of details collapse -->
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div><!-- end of most-frequent-errors-events -->
|
|
|
|
</li>
|
|
</ul> <!-- end of slides -->
|
|
|
|
<!-- Modal -->
|
|
<div class="modal fade" id="pgbadgerModal">
|
|
<div class="modal-dialog">
|
|
|
|
<!-- Modal content-->
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title">Right click + "Save image as ..." to save the graph as PNG image</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<img src="" />
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div> <!-- End of main-container -->
|
|
|
|
<footer>
|
|
<div class="">
|
|
<small class="pull-right">Report generated by <a href="http://pgbadger.darold.net/" target="_new">pgBadger 12.0.</a></small>
|
|
</div>
|
|
</footer>
|
|
|
|
<div id="littleToc">
|
|
<div id="littleTocTitle"><a href="#top"> ^ </a></div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|