17995 lines
1,007 KiB
HTML
17995 lines
1,007 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>pgBadger :: pgBadger</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:19 2024">
|
|
<meta http-equiv="Generator" content="pgBadger v12.0">
|
|
<meta http-equiv="Date" content="Fri Sep 6 16:45:19 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:19 2024</li>
|
|
<li>Log file: /opt/docker/data/log/postgresql-2024-09-06_164309.json</li>
|
|
<li>Parsed 1,657 log entries in 3s</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_130_d1 = [[1725633600000, 73],[1725633900000, 52],[1725634200000, 0]];
|
|
var queriespersecond_graph_130_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var queriespersecond_graph_130_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(130, 'btn btn-default');
|
|
charts.push(['linegraph', 'queriespersecond_graph', 'Queries per second (5 minutes average)', 'Queries per second', series_arr, [queriespersecond_graph_130_d1,queriespersecond_graph_130_d2,queriespersecond_graph_130_d3]]);
|
|
add_download_button_event(130, '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_133_d1 = [[1725633600000, 51],[1725633900000, 29],[1725634200000, 0]];
|
|
var selectqueries_graph_133_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var selectqueries_graph_133_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(133, 'btn btn-default');
|
|
charts.push(['linegraph', 'selectqueries_graph', 'SELECT queries (5 minutes period)', 'Queries per second', series_arr, [selectqueries_graph_133_d1,selectqueries_graph_133_d2,selectqueries_graph_133_d3]]);
|
|
add_download_button_event(133, '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_134_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var writequeries_graph_134_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var writequeries_graph_134_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(134, 'btn btn-default');
|
|
charts.push(['linegraph', 'writequeries_graph', 'Write queries (5 minutes period)', 'Queries', series_arr, [writequeries_graph_134_d1,writequeries_graph_134_d2,writequeries_graph_134_d3]]);
|
|
add_download_button_event(134, '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_135_d1 = [[1725633600000, 0.247],[1725633900000, 0.268],[1725634200000, 0.000]];
|
|
var durationqueries_graph_135_d2 = [[1725633600000, 0.295],[1725633900000, 0.475],[1725634200000, 0.000]];
|
|
var durationqueries_graph_135_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(135, 'btn btn-default');
|
|
charts.push(['linegraph', 'durationqueries_graph', 'Average queries duration (5 minutes average)', 'Duration', series_arr, [durationqueries_graph_135_d1,durationqueries_graph_135_d2,durationqueries_graph_135_d3]]);
|
|
add_download_button_event(135, '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_136_d1 = [[1725633600000, 107],[1725633900000, 20],[1725634200000, 0]];
|
|
var bindpreparequeries_graph_136_d2 = [[1725633600000, 168],[1725633900000, 180],[1725634200000, 0]];
|
|
var bindpreparequeries_graph_136_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(136, 'btn btn-default');
|
|
charts.push(['linegraph', 'bindpreparequeries_graph', 'Bind versus prepare statements (5 minutes average)', 'Number of statements', series_arr, [bindpreparequeries_graph_136_d1,bindpreparequeries_graph_136_d2,bindpreparequeries_graph_136_d3]]);
|
|
add_download_button_event(136, '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_131_d1 = [[1725633600000, 8],[1725633900000, 0],[1725634200000, 0]];
|
|
var connectionspersecond_graph_131_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var connectionspersecond_graph_131_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(131, 'btn btn-default');
|
|
charts.push(['linegraph', 'connectionspersecond_graph', 'Connections per second (5 minutes average)', 'Connections per second', series_arr, [connectionspersecond_graph_131_d1,connectionspersecond_graph_131_d2,connectionspersecond_graph_131_d3]]);
|
|
add_download_button_event(131, '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_137 = [ ['wedeojpa', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(137, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_databaseconnections', 'Connections per database', data_137]);
|
|
add_download_button_event(137, '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_138 = [ ['onlineed', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(138, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_userconnections', 'Connections per user', data_138]);
|
|
add_download_button_event(138, '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_139 = [ ['payara.docker_default', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(139, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_hostconnections', 'Connections per host', data_139]);
|
|
add_download_button_event(139, '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_132_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var sessionspersecond_graph_132_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var sessionspersecond_graph_132_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(132, 'btn btn-default');
|
|
charts.push(['linegraph', 'sessionspersecond_graph', 'Number of sessions/second (5 minutes average)', 'Sessions', series_arr, [sessionspersecond_graph_132_d1,sessionspersecond_graph_132_d2,sessionspersecond_graph_132_d3]]);
|
|
add_download_button_event(132, '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_146_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var checkpointdistance_graph_146_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
|
|
|
|
var series_arr = [ { label: "distance", color: "#6e9dc9" },{ label: "estimate", color: "#f4ab3a" } ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(146, 'btn btn-default');
|
|
charts.push(['linegraph', 'checkpointdistance_graph', 'Checkpoint mean distance and estimate (5 minutes period)', 'Number of bytes', series_arr, [checkpointdistance_graph_146_d1,checkpointdistance_graph_146_d2]]);
|
|
add_download_button_event(146, '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_156 = [ ['Others', 16],['SELECT', 206],['Sum query types < 2%', 4],['TCL', 122] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(156, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbytype', 'Type of queries', data_156]);
|
|
add_download_button_event(156, '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_157 = [ ['wedeojpa', 348] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(157, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbydatabase', 'Queries per database', data_157]);
|
|
add_download_button_event(157, '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">696</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_158 = [ ['onlineed', 696] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(158, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyuser', 'Queries per user', data_158]);
|
|
add_download_button_event(158, '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>696</td><td>179ms</td></tr><tr><td></td><td>ddl</td><td>8</td><td>17ms</td></tr><tr><td></td><td>others</td><td>32</td><td>0ms</td></tr><tr><td></td><td>select</td><td>412</td><td>157ms</td></tr><tr><td></td><td>tcl</td><td>244</td><td>4ms</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">179ms (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_159 = [ ['onlineed', 179.646] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(159, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_durationbyuser', 'Duration per user', data_159]);
|
|
add_download_button_event(159, '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>696</td><td>179ms</td></tr><tr><td></td><td>ddl</td><td>8</td><td>17ms</td></tr><tr><td></td><td>others</td><td>32</td><td>0ms</td></tr><tr><td></td><td>select</td><td>412</td><td>157ms</td></tr><tr><td></td><td>tcl</td><td>244</td><td>4ms</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">696</span> <span class="figure-label">Requests</span></li>
|
|
<li><span class="figure">179ms (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_160 = [ ['payara.docker_default', 696] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(160, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyhost', 'Queries per host', data_160]);
|
|
add_download_button_event(160, '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>696</td><td>179ms</td></tr><tr><td></td><td>ddl</td><td>8</td><td>17ms</td></tr><tr><td></td><td>others</td><td>32</td><td>0ms</td></tr><tr><td></td><td>select</td><td>412</td><td>157ms</td></tr><tr><td></td><td>tcl</td><td>244</td><td>4ms</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_161 = [ ['PostgreSQL JDBC Driver', 340],['unknown', 8] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(161, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_queriesbyapplication', 'Queries per application', data_161]);
|
|
add_download_button_event(161, '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:45:01</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_163 = [[ '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(163, 'btn btn-default');
|
|
charts.push(['bargraph', 'graph_histogram_query_times', '', 'Queries', [ bars_163 ]]);
|
|
add_download_button_event(163, '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_164 = [['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_164 = [['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_164, lines_164 ], 'Avg. duration');
|
|
});
|
|
create_download_button(164, 'btn btn-default btn-xs');
|
|
add_download_button_event(164, '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_165 = [['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_165 = [['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_165, lines_165 ], 'Avg. duration');
|
|
});
|
|
create_download_button(165, 'btn btn-default btn-xs');
|
|
add_download_button_event(165, '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_166 = [['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_166 = [['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_166, lines_166 ], 'Avg. duration');
|
|
});
|
|
create_download_button(166, 'btn btn-default btn-xs');
|
|
add_download_button_event(166, '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_167 = [['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_167 = [['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_167, lines_167 ], 'Avg. duration');
|
|
});
|
|
create_download_button(167, 'btn btn-default btn-xs');
|
|
add_download_button_event(167, '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_168 = [['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_168 = [['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_168, lines_168 ], 'Avg. duration');
|
|
});
|
|
create_download_button(168, 'btn btn-default btn-xs');
|
|
add_download_button_event(168, '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_169 = [['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_169 = [['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_169, lines_169 ], 'Avg. duration');
|
|
});
|
|
create_download_button(169, 'btn btn-default btn-xs');
|
|
add_download_button_event(169, '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_170 = [['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_170 = [['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_170, lines_170 ], 'Avg. duration');
|
|
});
|
|
create_download_button(170, 'btn btn-default btn-xs');
|
|
add_download_button_event(170, '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_171 = [['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_171 = [['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_171, lines_171 ], 'Avg. duration');
|
|
});
|
|
create_download_button(171, 'btn btn-default btn-xs');
|
|
add_download_button_event(171, '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_172 = [['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_172 = [['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_172, lines_172 ], 'Avg. duration');
|
|
});
|
|
create_download_button(172, 'btn btn-default btn-xs');
|
|
add_download_button_event(172, '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_173 = [['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_173 = [['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_173, lines_173 ], 'Avg. duration');
|
|
});
|
|
create_download_button(173, 'btn btn-default btn-xs');
|
|
add_download_button_event(173, '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_174 = [['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_174 = [['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_174, lines_174 ], 'Avg. duration');
|
|
});
|
|
create_download_button(174, 'btn btn-default btn-xs');
|
|
add_download_button_event(174, '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_175 = [['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_175 = [['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_175, lines_175 ], 'Avg. duration');
|
|
});
|
|
create_download_button(175, 'btn btn-default btn-xs');
|
|
add_download_button_event(175, '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_176 = [['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_176 = [['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_176, lines_176 ], 'Avg. duration');
|
|
});
|
|
create_download_button(176, 'btn btn-default btn-xs');
|
|
add_download_button_event(176, '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_177 = [['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_177 = [['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_177, lines_177 ], 'Avg. duration');
|
|
});
|
|
create_download_button(177, 'btn btn-default btn-xs');
|
|
add_download_button_event(177, '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_178 = [['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_178 = [['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_178, lines_178 ], 'Avg. duration');
|
|
});
|
|
create_download_button(178, 'btn btn-default btn-xs');
|
|
add_download_button_event(178, '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_179 = [['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_179 = [['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_179, lines_179 ], 'Avg. duration');
|
|
});
|
|
create_download_button(179, 'btn btn-default btn-xs');
|
|
add_download_button_event(179, '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_180 = [['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_180 = [['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_180, lines_180 ], 'Avg. duration');
|
|
});
|
|
create_download_button(180, 'btn btn-default btn-xs');
|
|
add_download_button_event(180, '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_181 = [['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_181 = [['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_181, lines_181 ], 'Avg. duration');
|
|
});
|
|
create_download_button(181, 'btn btn-default btn-xs');
|
|
add_download_button_event(181, '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_182 = [['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_182 = [['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_182, lines_182 ], 'Avg. duration');
|
|
});
|
|
create_download_button(182, 'btn btn-default btn-xs');
|
|
add_download_button_event(182, '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_183 = [['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_183 = [['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_183, lines_183 ], 'Avg. duration');
|
|
});
|
|
create_download_button(183, 'btn btn-default btn-xs');
|
|
add_download_button_event(183, '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_184 = [['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_184 = [['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_184, lines_184 ], 'Avg. duration');
|
|
});
|
|
create_download_button(184, 'btn btn-default btn-xs');
|
|
add_download_button_event(184, '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_185 = [['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_185 = [['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_185, lines_185 ], 'Avg. duration');
|
|
});
|
|
create_download_button(185, 'btn btn-default btn-xs');
|
|
add_download_button_event(185, '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_186 = [['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_186 = [['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_186, lines_186 ], 'Avg. duration');
|
|
});
|
|
create_download_button(186, 'btn btn-default btn-xs');
|
|
add_download_button_event(186, '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_187 = [['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_187 = [['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_187, lines_187 ], 'Avg. duration');
|
|
});
|
|
create_download_button(187, 'btn btn-default btn-xs');
|
|
add_download_button_event(187, '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_188 = [['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_188 = [['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_188, lines_188 ], 'Avg. duration');
|
|
});
|
|
create_download_button(188, 'btn btn-default btn-xs');
|
|
add_download_button_event(188, '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_189 = [['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_189 = [['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_189, lines_189 ], 'Avg. duration');
|
|
});
|
|
create_download_button(189, 'btn btn-default btn-xs');
|
|
add_download_button_event(189, '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_190 = [['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_190 = [['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_190, lines_190 ], 'Avg. duration');
|
|
});
|
|
create_download_button(190, 'btn btn-default btn-xs');
|
|
add_download_button_event(190, '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_191 = [['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_191 = [['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_191, lines_191 ], 'Avg. duration');
|
|
});
|
|
create_download_button(191, 'btn btn-default btn-xs');
|
|
add_download_button_event(191, '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_192 = [['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_192 = [['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_192, lines_192 ], 'Avg. duration');
|
|
});
|
|
create_download_button(192, 'btn btn-default btn-xs');
|
|
add_download_button_event(192, '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_193 = [['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_193 = [['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_193, lines_193 ], 'Avg. duration');
|
|
});
|
|
create_download_button(193, 'btn btn-default btn-xs');
|
|
add_download_button_event(193, '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_194 = [['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_194 = [['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_194, lines_194 ], 'Avg. duration');
|
|
});
|
|
create_download_button(194, 'btn btn-default btn-xs');
|
|
add_download_button_event(194, '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_195 = [['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_195 = [['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_195, lines_195 ], 'Avg. duration');
|
|
});
|
|
create_download_button(195, 'btn btn-default btn-xs');
|
|
add_download_button_event(195, '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_196 = [['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_196 = [['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_196, lines_196 ], 'Avg. duration');
|
|
});
|
|
create_download_button(196, 'btn btn-default btn-xs');
|
|
add_download_button_event(196, '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_197 = [['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_197 = [['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_197, lines_197 ], 'Avg. duration');
|
|
});
|
|
create_download_button(197, 'btn btn-default btn-xs');
|
|
add_download_button_event(197, '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_198 = [['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_198 = [['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_198, lines_198 ], 'Avg. duration');
|
|
});
|
|
create_download_button(198, 'btn btn-default btn-xs');
|
|
add_download_button_event(198, '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_199 = [['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_199 = [['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_199, lines_199 ], 'Avg. duration');
|
|
});
|
|
create_download_button(199, 'btn btn-default btn-xs');
|
|
add_download_button_event(199, '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_200 = [['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_200 = [['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_200, lines_200 ], 'Avg. duration');
|
|
});
|
|
create_download_button(200, 'btn btn-default btn-xs');
|
|
add_download_button_event(200, '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_201 = [['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_201 = [['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_201, lines_201 ], 'Avg. duration');
|
|
});
|
|
create_download_button(201, 'btn btn-default btn-xs');
|
|
add_download_button_event(201, '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_202 = [['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_202 = [['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_202, lines_202 ], 'Avg. duration');
|
|
});
|
|
create_download_button(202, 'btn btn-default btn-xs');
|
|
add_download_button_event(202, '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_203 = [['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_203 = [['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_203, lines_203 ], 'Avg. duration');
|
|
});
|
|
create_download_button(203, 'btn btn-default btn-xs');
|
|
add_download_button_event(203, '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_204 = [['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_204 = [['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_204, lines_204 ], 'Avg. duration');
|
|
});
|
|
create_download_button(204, 'btn btn-default btn-xs');
|
|
add_download_button_event(204, '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_205 = [['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_205 = [['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_205, lines_205 ], 'Avg. duration');
|
|
});
|
|
create_download_button(205, 'btn btn-default btn-xs');
|
|
add_download_button_event(205, '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_206 = [['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_206 = [['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_206, lines_206 ], 'Avg. duration');
|
|
});
|
|
create_download_button(206, 'btn btn-default btn-xs');
|
|
add_download_button_event(206, '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_207 = [['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_207 = [['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_207, lines_207 ], 'Avg. duration');
|
|
});
|
|
create_download_button(207, 'btn btn-default btn-xs');
|
|
add_download_button_event(207, '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_208 = [['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_208 = [['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_208, lines_208 ], 'Avg. duration');
|
|
});
|
|
create_download_button(208, 'btn btn-default btn-xs');
|
|
add_download_button_event(208, '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_209 = [['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_209 = [['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_209, lines_209 ], 'Avg. duration');
|
|
});
|
|
create_download_button(209, 'btn btn-default btn-xs');
|
|
add_download_button_event(209, '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_210 = [['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_210 = [['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_210, lines_210 ], 'Avg. duration');
|
|
});
|
|
create_download_button(210, 'btn btn-default btn-xs');
|
|
add_download_button_event(210, '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_211 = [['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_211 = [['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_211, lines_211 ], 'Avg. duration');
|
|
});
|
|
create_download_button(211, 'btn btn-default btn-xs');
|
|
add_download_button_event(211, '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_212 = [['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_212 = [['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_212, lines_212 ], 'Avg. duration');
|
|
});
|
|
create_download_button(212, 'btn btn-default btn-xs');
|
|
add_download_button_event(212, '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_213 = [['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_213 = [['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_213, lines_213 ], 'Avg. duration');
|
|
});
|
|
create_download_button(213, 'btn btn-default btn-xs');
|
|
add_download_button_event(213, '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_214 = [['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_214 = [['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_214, lines_214 ], 'Avg. duration');
|
|
});
|
|
create_download_button(214, 'btn btn-default btn-xs');
|
|
add_download_button_event(214, '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>4ms</td>
|
|
<td>4
|
|
<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_215 = [['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 lines_215 = [['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_215, lines_215 ], 'Avg. duration');
|
|
});
|
|
create_download_button(215, 'btn btn-default btn-xs');
|
|
add_download_button_event(215, '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>4</td><td>4ms</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> 4 ]
|
|
</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> 4 ]
|
|
</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>3ms</td>
|
|
<td>10
|
|
<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_216 = [['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_216 = [['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_216, lines_216 ], 'Avg. duration');
|
|
});
|
|
create_download_button(216, 'btn btn-default btn-xs');
|
|
add_download_button_event(216, '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>10</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_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> 1ms - <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-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> 1ms - <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-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>3ms</td>
|
|
<td>2
|
|
<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_217 = [['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_217 = [['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_217, lines_217 ], 'Avg. duration');
|
|
});
|
|
create_download_button(217, 'btn btn-default btn-xs');
|
|
add_download_button_event(217, '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>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_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> 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-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> 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-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>3ms</td>
|
|
<td>4
|
|
<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_218 = [['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',4],['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_218 = [['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_218, lines_218 ], 'Avg. duration');
|
|
});
|
|
create_download_button(218, 'btn btn-default btn-xs');
|
|
add_download_button_event(218, '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>4</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_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> 4 ]
|
|
</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> 4 ]
|
|
</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>2ms</td>
|
|
<td>60
|
|
<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_219 = [['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_219 = [['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_219, lines_219 ], 'Avg. duration');
|
|
});
|
|
create_download_button(219, 'btn btn-default btn-xs');
|
|
add_download_button_event(219, '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>60</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_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> 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-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> 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-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>4
|
|
<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_220 = [['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',4],['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_220 = [['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_220, lines_220 ], 'Avg. duration');
|
|
});
|
|
create_download_button(220, 'btn btn-default btn-xs');
|
|
add_download_button_event(220, '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>4</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> 4 ]
|
|
</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> 4 ]
|
|
</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>10
|
|
<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_221 = [['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_221 = [['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_221, lines_221 ], 'Avg. duration');
|
|
});
|
|
create_download_button(221, 'btn btn-default btn-xs');
|
|
add_download_button_event(221, '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>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_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> 10ms - <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-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> 10ms - <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-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>2
|
|
<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_222 = [['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_222 = [['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_222, lines_222 ], 'Avg. duration');
|
|
});
|
|
create_download_button(222, 'btn btn-default btn-xs');
|
|
add_download_button_event(222, '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>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_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> 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-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> 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-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>16
|
|
<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_223 = [['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',16],['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_223 = [['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_223, lines_223 ], 'Avg. duration');
|
|
});
|
|
create_download_button(223, 'btn btn-default btn-xs');
|
|
add_download_button_event(223, '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>16</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> 16 ]
|
|
</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>2
|
|
<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_224 = [['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_224 = [['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_224, lines_224 ], 'Avg. duration');
|
|
});
|
|
create_download_button(224, 'btn btn-default btn-xs');
|
|
add_download_button_event(224, '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>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_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> 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-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> 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-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>2
|
|
<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_225 = [['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_225 = [['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_225, lines_225 ], 'Avg. duration');
|
|
});
|
|
create_download_button(225, 'btn btn-default btn-xs');
|
|
add_download_button_event(225, '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>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_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> 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-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> 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-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>20
|
|
<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_226 = [['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',20],['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_226 = [['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_226, lines_226 ], 'Avg. duration');
|
|
});
|
|
create_download_button(226, 'btn btn-default btn-xs');
|
|
add_download_button_event(226, '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>20</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> 20 ]
|
|
</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> 20 ]
|
|
</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>2
|
|
<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_227 = [['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_227 = [['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_227, lines_227 ], 'Avg. duration');
|
|
});
|
|
create_download_button(227, 'btn btn-default btn-xs');
|
|
add_download_button_event(227, '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>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_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> 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-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> 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-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>2
|
|
<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_228 = [['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_228 = [['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_228, lines_228 ], 'Avg. duration');
|
|
});
|
|
create_download_button(228, 'btn btn-default btn-xs');
|
|
add_download_button_event(228, '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>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_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> 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-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> 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-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>2
|
|
<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_229 = [['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_229 = [['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_229, lines_229 ], 'Avg. duration');
|
|
});
|
|
create_download_button(229, 'btn btn-default btn-xs');
|
|
add_download_button_event(229, '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>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_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> 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-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> 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-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>2
|
|
<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_230 = [['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_230 = [['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_230, lines_230 ], 'Avg. duration');
|
|
});
|
|
create_download_button(230, 'btn btn-default btn-xs');
|
|
add_download_button_event(230, '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>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_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> 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-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> 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-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>2
|
|
<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_231 = [['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_231 = [['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_231, lines_231 ], 'Avg. duration');
|
|
});
|
|
create_download_button(231, 'btn btn-default btn-xs');
|
|
add_download_button_event(231, '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>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_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> 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-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> 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-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>2
|
|
<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_232 = [['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_232 = [['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_232, lines_232 ], 'Avg. duration');
|
|
});
|
|
create_download_button(232, 'btn btn-default btn-xs');
|
|
add_download_button_event(232, '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>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_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> 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-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> 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-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>2
|
|
<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_233 = [['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_233 = [['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_233, lines_233 ], 'Avg. duration');
|
|
});
|
|
create_download_button(233, 'btn btn-default btn-xs');
|
|
add_download_button_event(233, '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>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_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> 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-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> 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-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>2
|
|
<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_234 = [['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_234 = [['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_234, lines_234 ], 'Avg. duration');
|
|
});
|
|
create_download_button(234, 'btn btn-default btn-xs');
|
|
add_download_button_event(234, '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>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_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> 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-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> 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-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>7ms</td>
|
|
<td>4
|
|
<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_235 = [['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 lines_235 = [['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_235, lines_235 ], 'Avg. duration');
|
|
});
|
|
create_download_button(235, 'btn btn-default btn-xs');
|
|
add_download_button_event(235, '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>4</td><td>7ms</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> 4 ]
|
|
</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> 4 ]
|
|
</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>7ms</td>
|
|
<td>2
|
|
<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_236 = [['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_236 = [['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_236, lines_236 ], 'Avg. duration');
|
|
});
|
|
create_download_button(236, 'btn btn-default btn-xs');
|
|
add_download_button_event(236, '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>2</td><td>7ms</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> 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-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> 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-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>6ms</td>
|
|
<td>2
|
|
<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_237 = [['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_237 = [['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_237, lines_237 ], 'Avg. duration');
|
|
});
|
|
create_download_button(237, 'btn btn-default btn-xs');
|
|
add_download_button_event(237, '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>2</td><td>6ms</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> 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-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> 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-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>5ms</td>
|
|
<td>60
|
|
<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_238 = [['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_238 = [['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_238, lines_238 ], 'Avg. duration');
|
|
});
|
|
create_download_button(238, 'btn btn-default btn-xs');
|
|
add_download_button_event(238, '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>60</td><td>5ms</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> 2ms - <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-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> 2ms - <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-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>3ms</td>
|
|
<td>60
|
|
<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_239 = [['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_239 = [['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_239, lines_239 ], 'Avg. duration');
|
|
});
|
|
create_download_button(239, 'btn btn-default btn-xs');
|
|
add_download_button_event(239, '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>60</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_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> 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-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> 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-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>3ms</td>
|
|
<td>4
|
|
<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_240 = [['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',4],['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_240 = [['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_240, lines_240 ], 'Avg. duration');
|
|
});
|
|
create_download_button(240, 'btn btn-default btn-xs');
|
|
add_download_button_event(240, '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>4</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_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> 4 ]
|
|
</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> 4 ]
|
|
</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>2ms</td>
|
|
<td>2
|
|
<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_241 = [['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_241 = [['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_241, lines_241 ], 'Avg. duration');
|
|
});
|
|
create_download_button(241, 'btn btn-default btn-xs');
|
|
add_download_button_event(241, '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>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_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> 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-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> 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-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>2ms</td>
|
|
<td>120
|
|
<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_242 = [['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',120],['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_242 = [['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_242, lines_242 ], 'Avg. duration');
|
|
});
|
|
create_download_button(242, 'btn btn-default btn-xs');
|
|
add_download_button_event(242, '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>120</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_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> 54ms - <b>Times executed:</b> 120 ]
|
|
</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> 54ms - <b>Times executed:</b> 120 ]
|
|
</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>2ms</td>
|
|
<td>2
|
|
<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_243 = [['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_243 = [['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_243, lines_243 ], 'Avg. duration');
|
|
});
|
|
create_download_button(243, 'btn btn-default btn-xs');
|
|
add_download_button_event(243, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_244 = [['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_244 = [['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_244, lines_244 ], 'Avg. duration');
|
|
});
|
|
create_download_button(244, 'btn btn-default btn-xs');
|
|
add_download_button_event(244, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_245 = [['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_245 = [['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_245, lines_245 ], 'Avg. duration');
|
|
});
|
|
create_download_button(245, 'btn btn-default btn-xs');
|
|
add_download_button_event(245, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_246 = [['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_246 = [['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_246, lines_246 ], 'Avg. duration');
|
|
});
|
|
create_download_button(246, 'btn btn-default btn-xs');
|
|
add_download_button_event(246, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_247 = [['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_247 = [['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_247, lines_247 ], 'Avg. duration');
|
|
});
|
|
create_download_button(247, 'btn btn-default btn-xs');
|
|
add_download_button_event(247, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_248 = [['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_248 = [['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_248, lines_248 ], 'Avg. duration');
|
|
});
|
|
create_download_button(248, 'btn btn-default btn-xs');
|
|
add_download_button_event(248, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_249 = [['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_249 = [['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_249, lines_249 ], 'Avg. duration');
|
|
});
|
|
create_download_button(249, 'btn btn-default btn-xs');
|
|
add_download_button_event(249, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_250 = [['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_250 = [['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_250, lines_250 ], 'Avg. duration');
|
|
});
|
|
create_download_button(250, 'btn btn-default btn-xs');
|
|
add_download_button_event(250, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_251 = [['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_251 = [['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_251, lines_251 ], 'Avg. duration');
|
|
});
|
|
create_download_button(251, 'btn btn-default btn-xs');
|
|
add_download_button_event(251, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_252 = [['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_252 = [['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_252, lines_252 ], 'Avg. duration');
|
|
});
|
|
create_download_button(252, 'btn btn-default btn-xs');
|
|
add_download_button_event(252, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_253 = [['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_253 = [['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_253, lines_253 ], 'Avg. duration');
|
|
});
|
|
create_download_button(253, 'btn btn-default btn-xs');
|
|
add_download_button_event(253, '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>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_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> 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-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> 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-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>1ms</td>
|
|
<td>2
|
|
<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_254 = [['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_254 = [['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_254, lines_254 ], 'Avg. duration');
|
|
});
|
|
create_download_button(254, 'btn btn-default btn-xs');
|
|
add_download_button_event(254, '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>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_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> 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-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> 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-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_256 = [ ['ERROR', 1],['LOG', 823] ];
|
|
|
|
charts = window.charts || [];
|
|
create_download_button(256, 'btn btn-default');
|
|
charts.push(['piechart', 'graph_logstype', 'Logs per type', data_256]);
|
|
add_download_button_event(256, '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_255_d1 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_255_d2 = [[1725633600000, 0],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_255_d3 = [[1725633600000, 1],[1725633900000, 0],[1725634200000, 0]];
|
|
var eventspersecond_graph_255_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(255, 'btn btn-default');
|
|
charts.push(['linegraph', 'eventspersecond_graph', 'Errors per 5 minutes', 'Errors per 5 minutes', series_arr, [eventspersecond_graph_255_d1,eventspersecond_graph_255_d2,eventspersecond_graph_255_d3,eventspersecond_graph_255_d4]]);
|
|
add_download_button_event(255, '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_258 = [['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_258 ], '');
|
|
});
|
|
create_download_button(258, 'btn btn-default btn-xs');
|
|
add_download_button_event(258, '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>
|