-
Global information
- Generated on Tue Mar 29 04:30:27 2022
- Log file: /var/log/postgresql/postgresql-12-main.log
- Parsed 140,125,936 log entries in 1h30m25s
- Log start from 2022-03-28 00:00:00 to 2022-03-28 23:59:59
-
Overview
Global Stats
- 5,382 Number of unique normalized queries
- 5,907,077 Number of queries
- 3h27m31s Total query duration
- 2022-03-28 00:00:00 First query
- 2022-03-28 23:59:59 Last query
- 1,828 queries/s at 2022-03-28 15:42:20 Query peak
- 3h27m31s Total query duration
- 37m Prepare/parse total duration
- 1h7m26s Bind total duration
- 1h43m4s Execute total duration
- 10,244 Number of events
- 19 Number of unique normalized events
- 8,632 Max number of times the same event was reported
- 0 Number of cancellation
- 754 Total number of automatic vacuums
- 1,924 Total number of automatic analyzes
- 9 Number temporary file
- 15.86 MiB Max size of temporary file
- 15.16 MiB Average size of temporary file
- 661,322 Total number of sessions
- 5 sessions at 2022-03-28 09:19:57 Session peak
- 26d43m16s Total duration of sessions
- 3s400ms Average duration of sessions
- 8 Average queries per session
- 18ms Average queries duration per session
- 661,329 Total number of connections
- 67 connections/s at 2022-03-28 11:42:28 Connection peak
- 13 Total number of databases
SQL Traffic
Key values
- 1,828 queries/s Query Peak
- 2022-03-28 15:42:20 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,801 queries/s Query Peak
- 2022-03-28 15:42:20 Date
Queries duration
Key values
- 3h27m31s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
Day Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 28 00 63,253 0ms 112ms 0ms 884ms 1s5ms 1s171ms 01 22,742 0ms 5ms 0ms 14ms 15ms 17ms 02 26,471 0ms 21ms 0ms 14ms 15ms 328ms 03 22,742 0ms 6ms 0ms 14ms 15ms 18ms 04 22,742 0ms 3ms 0ms 14ms 14ms 15ms 05 22,742 0ms 4ms 0ms 14ms 15ms 16ms 06 35,421 0ms 16ms 0ms 215ms 296ms 330ms 07 350,086 0ms 579ms 0ms 8s613ms 9s554ms 11s132ms 08 389,154 0ms 3s288ms 1ms 8s854ms 9s293ms 11s301ms 09 644,172 0ms 6s969ms 1ms 13s926ms 16s384ms 24s827ms 10 843,716 0ms 14s735ms 1ms 18s896ms 22s339ms 43s898ms 11 509,141 0ms 8s33ms 1ms 14s415ms 27s972ms 40s958ms 12 278,109 0ms 105ms 1ms 8s965ms 9s186ms 12s164ms 13 380,890 0ms 9s37ms 1ms 14s726ms 16s854ms 26s688ms 14 583,134 0ms 8s803ms 1ms 13s229ms 14s31ms 20s654ms 15 633,494 0ms 4s942ms 1ms 14s468ms 17s219ms 19s371ms 16 365,504 0ms 1s678ms 1ms 9s298ms 12s834ms 18s517ms 17 108,277 0ms 92ms 0ms 3s713ms 4s9ms 4s233ms 18 64,924 0ms 3s311ms 0ms 1s62ms 1s79ms 5s602ms 19 91,611 0ms 16ms 0ms 1s207ms 1s231ms 1s264ms 20 122,594 0ms 74ms 0ms 1s636ms 1s787ms 2s344ms 21 140,911 0ms 10s984ms 0ms 2s308ms 11s389ms 12s896ms 22 111,555 0ms 104ms 0ms 1s943ms 2s156ms 2s266ms 23 73,692 0ms 70ms 0ms 1s396ms 1s493ms 1s622ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 28 00 40,610 0 0ms 730ms 788ms 933ms 01 7,800 0 0ms 11ms 11ms 13ms 02 11,487 0 0ms 11ms 12ms 13ms 03 7,800 0 0ms 11ms 12ms 13ms 04 7,800 0 0ms 11ms 11ms 12ms 05 7,800 0 0ms 11ms 12ms 12ms 06 19,618 0 0ms 147ms 193ms 302ms 07 297,456 0 0ms 7s260ms 8s28ms 9s908ms 08 315,539 0 1ms 7s416ms 8s47ms 8s978ms 09 520,910 0 1ms 11s683ms 13s51ms 17s501ms 10 690,974 0 1ms 15s367ms 17s599ms 23s856ms 11 394,339 0 1ms 11s263ms 13s566ms 33s489ms 12 212,906 0 1ms 7s919ms 8s676ms 9s124ms 13 293,022 0 1ms 10s190ms 14s118ms 18s196ms 14 466,814 0 1ms 11s408ms 12s393ms 14s368ms 15 493,223 0 1ms 11s947ms 13s336ms 16s516ms 16 271,746 0 1ms 6s486ms 8s644ms 14s99ms 17 74,925 0 0ms 2s60ms 3s227ms 3s692ms 18 42,055 0 0ms 786ms 963ms 980ms 19 59,976 0 0ms 1s71ms 1s89ms 1s116ms 20 87,951 0 0ms 1s273ms 1s332ms 1s523ms 21 101,061 0 1ms 1s748ms 1s977ms 12s361ms 22 78,074 0 1ms 1s576ms 1s682ms 1s916ms 23 48,286 0 0ms 393ms 1s274ms 1s449ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 28 00 62 2,532 0 0 0ms 51ms 57ms 73ms 01 0 60 0 0 0ms 0ms 0ms 1ms 02 0 76 0 0 0ms 0ms 0ms 1ms 03 0 60 0 0 0ms 0ms 0ms 1ms 04 0 60 0 0 0ms 0ms 0ms 0ms 05 0 60 0 0 0ms 0ms 0ms 0ms 06 3 296 4 0 0ms 0ms 4ms 19ms 07 742 12,486 0 0 1ms 228ms 310ms 372ms 08 285 18,916 18 0 1ms 378ms 413ms 542ms 09 1,385 35,144 25 0 1ms 753ms 855ms 908ms 10 781 45,149 43 0 1ms 893ms 977ms 1s120ms 11 197 32,757 7 0 1ms 694ms 749ms 853ms 12 106 16,324 14 0 0ms 249ms 326ms 417ms 13 102 23,901 6 0 1ms 481ms 525ms 573ms 14 1,013 32,734 58 0 1ms 787ms 837ms 962ms 15 10,738 37,878 72 0 1ms 845ms 919ms 1s44ms 16 155 26,053 3 0 1ms 573ms 677ms 978ms 17 10 5,894 0 0 1ms 40ms 282ms 416ms 18 6 2,396 0 0 0ms 19ms 52ms 75ms 19 0 5,302 0 0 0ms 83ms 85ms 91ms 20 1 6,347 0 0 1ms 204ms 244ms 278ms 21 15 8,121 0 0 1ms 195ms 235ms 291ms 22 46 5,944 11 0 1ms 131ms 156ms 259ms 23 1 3,233 0 0 1ms 81ms 112ms 129ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 28 00 35,894 57,948 1.61 83.08% 01 503 22,622 44.97 6.40% 02 4,207 26,325 6.26 36.38% 03 504 22,622 44.88 6.41% 04 504 22,622 44.88 6.41% 05 504 22,622 44.88 6.41% 06 12,565 34,683 2.76 63.07% 07 301,427 323,521 1.07 97.02% 08 325,255 347,349 1.07 97.16% 09 548,271 570,370 1.04 98.35% 10 727,372 749,470 1.03 98.70% 11 414,126 436,223 1.05 96.92% 12 221,869 243,955 1.10 96.74% 13 305,991 328,068 1.07 96.52% 14 486,601 508,740 1.05 97.20% 15 527,022 549,176 1.04 97.25% 16 286,481 308,575 1.08 96.15% 17 73,405 95,547 1.30 90.82% 18 37,101 59,219 1.60 83.45% 19 57,942 80,042 1.38 88.76% 20 86,909 109,023 1.25 92.16% 21 99,925 122,042 1.22 91.51% 22 73,466 95,585 1.30 87.38% 23 43,752 65,850 1.51 84.92% Day Hour Count Average / Second Mar 28 00 5,255 1.46/s 01 121 0.03/s 02 148 0.04/s 03 121 0.03/s 04 121 0.03/s 05 121 0.03/s 06 737 0.20/s 07 24,476 6.80/s 08 39,531 10.98/s 09 71,751 19.93/s 10 91,602 25.45/s 11 66,977 18.60/s 12 33,964 9.43/s 13 49,012 13.61/s 14 67,584 18.77/s 15 76,513 21.25/s 16 52,740 14.65/s 17 12,694 3.53/s 18 5,706 1.58/s 19 11,571 3.21/s 20 13,533 3.76/s 21 16,938 4.71/s 22 12,703 3.53/s 23 7,410 2.06/s Day Hour Count Average Duration Mar 28 00 5,255 627ms 01 121 14s652ms 02 146 48ms 03 122 3m14s 04 121 1m58s 05 121 1m2s 06 737 7s85ms 07 24,469 268ms 08 39,526 688ms 09 71,742 563ms 10 91,600 398ms 11 66,987 802ms 12 33,965 1s102ms 13 49,008 30s293ms 14 67,573 402ms 15 76,510 786ms 16 52,746 1s258ms 17 12,707 10s379ms 18 5,712 14s617ms 19 11,575 8s602ms 20 13,532 678ms 21 16,938 849ms 22 12,700 165ms 23 7,409 1s647ms -
Connections
Established Connections
Key values
- 67 connections Connection Peak
- 2022-03-28 11:42:28 Date
Connections per database
Key values
- db_rskt_running Main Database
- 661,329 connections Total
Database User Count db_ihospital 16,647 developer 16,647 db_rsbri_running 12 developer 12 db_rsbri_simulasi 710 developer 710 db_rscms_running 4 developer 4 db_rscms_simulasi 4 developer 4 db_rsih_running 4 developer 4 db_rsih_simulasi 267,937 developer 267,937 db_rskt_running 297,161 developer 297,161 db_rskt_simulasi 57,642 developer 57,642 db_rsnu_simulasi 9,941 developer 9,941 db_rsrib_running 11,213 developer 11,213 db_rsrib_simulasi 1 developer 1 pacsdb 33 developer 33 postgres 19 developer 19 website_rsbri 1 developer 1 Connections per user
Key values
- developer Main User
- 661,329 connections Total
Connections per host
Key values
- 165.22.51.146 Main host with 657962 connections
- 661,329 Total connections
-
Sessions
Simultaneous sessions
Key values
- 5 sessions Session Peak
- 2022-03-28 09:19:57 Date
Histogram of session times
Key values
- 655,246 0-500ms duration
Sessions per database
Key values
- db_rskt_running Main Database
- 661,322 sessions Total
Database User Count Total Duration Average Duration db_ihospital 16,642 1d8h22m2s 7s1ms db_rsbri_running 12 5h29m55s 27m29s db_rsbri_simulasi 710 7h3m51s 35s818ms db_rscms_simulasi 5 4d12h13m32s 21h38m42s db_rsih_running 4 13s501ms 3s375ms db_rsih_simulasi 267,936 17h33m6s 235ms db_rskt_running 297,163 4d17h5m21s 1s370ms db_rskt_simulasi 57,642 1h46m56s 111ms db_rsnu_simulasi 9,941 2d3h4m54s 18s498ms db_rsrib_running 11,213 6m41s 35ms db_rswb_simulasi 1 4d6h10m46s 4d6h10m46s pacsdb 32 2d8h23m4s 1h45m43s postgres 20 5d9h22m48s 6h28m8s website_rsbri 1 250ms 250ms Sessions per user
Key values
- developer Main User
- 661,322 sessions Total
Sessions per host
Key values
- 165.22.51.146 Main Host
- 661,322 sessions Total
Host Count Total Duration Average Duration 103.146.61.100 4 16d23h2m19s 4d5h45m34s 103.94.120.202 4 7h1m7s 1h45m16s 112.78.44.246 3 5h8m5s 1h42m41s 116.206.40.34 6 13h26m14s 2h14m22s 116.206.40.40 2 5h8m33s 2h34m16s 116.206.40.48 1 2h14m10s 2h14m10s 127.0.0.1 32 2d8h23m4s 1h45m43s 165.22.51.146 657,962 8h48m28s 48ms 182.253.102.139 12 1d4h56m10s 2h24m40s 182.253.31.152 6 19h20m35s 3h13m25s 202.67.40.243 2 6h24m7s 3h12m3s 202.67.40.26 3 4h10m4s 1h23m21s 202.67.40.4 5 9h46m41s 1h57m20s 202.67.46.244 1 4m43s 4m43s 203.123.57.82 5 7h38m45s 1h31m45s 43.248.212.131 3,274 1d19h10m3s 47s466ms Sessions per application
Key values
- [unknown] Main Host
- 661,322 sessions Total
Application Count Total Duration Average Duration Adminer 72 6m22s 5s316ms Navicat 31 1d15m35s 46m57s [unknown] 661,157 2d18h20m52s 361ms pgAdmin 4 - CONN:4536588 1 1h54m12s 1h54m12s pgAdmin 4 - CONN:5387573 2 387ms 193ms pgAdmin 4 - CONN:6550074 1 2h12m41s 2h12m41s pgAdmin 4 - CONN:7792667 1 4h12m47s 4h12m47s pgAdmin 4 - CONN:821166 1 20m33s 20m33s pgAdmin 4 - CONN:8416817 1 20m19s 20m19s pgAdmin 4 - CONN:8733580 1 1h30m40s 1h30m40s pgAdmin 4 - CONN:8774470 10 23h58m56s 2h23m53s pgAdmin 4 - CONN:8961459 2 5h48m10s 2h54m5s pgAdmin 4 - DB:db_ihospital 5 14h7m3s 2h49m24s pgAdmin 4 - DB:db_rsbri_running 1 4h14m29s 4h14m29s pgAdmin 4 - DB:db_rsbri_simulasi 1 4h14m17s 4h14m17s pgAdmin 4 - DB:db_rscms_simulasi 3 4d10h19m18s 1d11h26m26s pgAdmin 4 - DB:db_rsih_simulasi 5 7h56m45s 1h35m21s pgAdmin 4 - DB:db_rskt_running 2 4d9h3m33s 2d4h31m46s pgAdmin 4 - DB:db_rsnu_simulasi 16 1d2h57m38s 1h41m6s pgAdmin 4 - DB:db_rswb_simulasi 1 4d6h10m46s 4d6h10m46s pgAdmin 4 - DB:postgres 8 5d2h38m9s 15h19m46s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 899 buffers Checkpoint Peak
- 2022-03-28 13:23:36 Date
- 90.123 seconds Highest write time
- 0.094 seconds Sync time
Checkpoints Wal files
Key values
- 1 files Wal files usage Peak
- 2022-03-28 21:27:29 Date
Checkpoints distance
Key values
- 12.26 Mo Distance Peak
- 2022-03-28 15:48:12 Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Mar 28 00 526 52.857s 0.051s 52.996s 01 12 1.263s 0.027s 1.376s 02 51 5.188s 0.027s 5.308s 03 38 3.881s 0.029s 3.989s 04 12 1.265s 0.024s 1.397s 05 38 3.885s 0.035s 4.011s 06 82 8.293s 0.052s 8.445s 07 4,181 419.784s 0.2s 420.117s 08 4,612 462.725s 0.221s 463.097s 09 6,039 606.291s 0.293s 606.924s 10 7,978 801.015s 0.461s 801.741s 11 4,656 467.987s 0.259s 468.487s 12 3,033 304.328s 0.204s 304.673s 13 4,016 402.877s 0.191s 403.286s 14 5,704 572.58s 0.322s 573.123s 15 5,653 567.211s 0.231s 567.706s 16 3,015 302.721s 0.135s 303.032s 17 1,024 102.816s 0.094s 103.035s 18 498 50.053s 0.065s 50.217s 19 660 66.267s 0.097s 66.604s 20 756 75.965s 0.12s 76.206s 21 1,294 129.965s 0.097s 130.16s 22 1,125 112.914s 0.067s 113.058s 23 749 75.196s 0.069s 75.369s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 28 00 0 0 0 139 0.009s 0.016s 01 0 0 0 12 0.004s 0.027s 02 0 0 0 28 0.004s 0.025s 03 0 0 0 17 0.006s 0.024s 04 0 0 0 12 0.002s 0.024s 05 0 0 0 17 0.005s 0.031s 06 0 0 0 60 0.012s 0.021s 07 0 0 1 2,451 0.010s 0.012s 08 0 0 2 2,748 0.014s 0.012s 09 0 0 2 3,404 0.014s 0.012s 10 0 0 3 4,886 0.013s 0.012s 11 0 0 2 2,513 0.016s 0.012s 12 0 0 1 1,570 0.018s 0.012s 13 0 0 2 1,820 0.018s 0.012s 14 0 0 2 2,969 0.015s 0.012s 15 0 0 3 2,778 0.014s 0.012s 16 0 0 1 1,153 0.015s 0.012s 17 0 0 0 345 0.012s 0.012s 18 0 0 1 118 0.010s 0.013s 19 0 0 0 136 0.014s 0.015s 20 0 0 0 218 0.014s 0.013s 21 0 0 1 555 0.009s 0.012s 22 0 0 0 372 0.009s 0.012s 23 0 0 1 270 0.008s 0.012s Day Hour Count Avg time (sec) Mar 28 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 28 00 273.00 kB 468.33 kB 01 5.42 kB 172.75 kB 02 22.00 kB 124.25 kB 03 18.92 kB 72.50 kB 04 5.50 kB 83.33 kB 05 18.00 kB 83.25 kB 06 31.83 kB 110.00 kB 07 1,837.83 kB 2,032.83 kB 08 2,236.33 kB 3,230.08 kB 09 3,055.00 kB 3,628.83 kB 10 4,061.25 kB 4,652.08 kB 11 2,437.67 kB 3,662.42 kB 12 1,425.58 kB 2,258.42 kB 13 2,211.67 kB 3,313.50 kB 14 3,207.83 kB 3,925.17 kB 15 3,570.67 kB 4,474.17 kB 16 1,988.75 kB 3,996.50 kB 17 595.00 kB 1,921.75 kB 18 246.25 kB 721.83 kB 19 368.17 kB 469.75 kB 20 479.75 kB 582.92 kB 21 842.75 kB 986.92 kB 22 679.25 kB 1,045.17 kB 23 460.58 kB 672.25 kB -
Temporary Files
Size of temporary files
Key values
- 15.86 MiB Temp Files size Peak
- 2022-03-28 14:38:33 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2022-03-28 21:48:36 Date
Temporary Files Activity
Day Hour Count Total size Average size Mar 28 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 1 14.60 MiB 14.60 MiB 10 2 30.91 MiB 15.45 MiB 11 0 0 0 12 0 0 0 13 1 14.52 MiB 14.52 MiB 14 1 15.86 MiB 15.86 MiB 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 4 60.56 MiB 15.14 MiB 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 4 60.56 MiB 15.14 MiB 15.14 MiB 15.14 MiB select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oid || ? || n.nspname |[...]-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...]
Date: 2022-03-28 21:30:34 Duration: 0ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
2 3 44.98 MiB 14.52 MiB 15.86 MiB 14.99 MiB select n.nspname, c.relname, a.attname, tp.typname from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_namespace n on c.relnamespace = n.oid join pg_type tp on tp.oid = a.atttypid where a.attnum > ? order by nspname, relname;-
SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;
Date: 2022-03-28 13:43:54 Duration: 9s37ms Database: db_rsbri_running User: developer Application: Navicat
-
SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;
Date: 2022-03-28 14:38:33 Duration: 8s803ms Database: db_ihospital User: developer Application: Navicat
-
SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;
Date: 2022-03-28 09:38:14 Duration: 6s969ms Database: db_rskt_running User: developer Application: Navicat
3 2 30.91 MiB 15.45 MiB 15.45 MiB 15.45 MiB select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) and p.prokind != ? union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oi[...]-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...]
Date: 2022-03-28 10:53:09 Duration: 0ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
Queries generating the largest temporary files
Rank Size Query 1 15.86 MiB SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 14:38:33 - Database: db_ihospital - User: developer - Application: Navicat ]
2 15.45 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...][ Date: 2022-03-28 10:53:09 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
3 15.45 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...][ Date: 2022-03-28 10:53:32 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
4 15.14 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...][ Date: 2022-03-28 21:30:34 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
5 15.14 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...][ Date: 2022-03-28 21:31:27 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
6 15.14 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...][ Date: 2022-03-28 21:48:36 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
7 15.14 MiB SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...][ Date: 2022-03-28 21:54:47 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
8 14.60 MiB SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 09:38:14 - Database: db_rskt_running - User: developer - Application: Navicat ]
9 14.52 MiB SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 13:43:54 - Database: db_rsbri_running - User: developer - Application: Navicat ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.loginpemakai_k (711) Main table analyzed (database db_rskt_running)
- 1,924 analyzes Total
Table Number of analyzes db_rskt_running.public.loginpemakai_k 711 db_rsih_simulasi.public.loginpemakai_k 615 db_rskt_simulasi.public.loginpemakai_k 233 db_ihospital.public.loginpemakai_k 106 db_rsrib_running.public.loginpemakai_k 57 db_rsnu_simulasi.public.loginpemakai_k 52 db_rsih_simulasi.public.chat 35 db_rskt_running.public.chat 31 db_rskt_simulasi.public.chat 11 db_rsih_simulasi.public.pendaftaran_t 4 db_rskt_running.public.pendaftaran_t 4 db_rsnu_simulasi.public.chat 3 db_rskt_running.public.pendapatanjasa_r 3 db_rsbri_simulasi.public.loginpemakai_k 3 db_rsrib_running.public.chat 3 db_rsih_simulasi.public.notifikasi_r 3 db_ihospital.public.chat 2 db_rsih_simulasi.public.pelayananpasien_r 2 db_rskt_running.public.waktutunggupelayanan_t 2 db_rsih_simulasi.public.pasienadmisi_t 2 db_rskt_running.public.antrian_t 2 db_rskt_running.public.pembayaranpasien_r 2 db_rsih_simulasi.public.pendapatanjasa_r 2 db_rskt_running.public.pelayananpasien_r 2 db_rskt_running.public.tindakanruangan_m 2 db_rskt_simulasi.public.waktutunggupelayanan_t 1 db_rsih_simulasi.public.pemberianinformasidet_t 1 db_rskt_running.public.pembayaranpelayanan_t 1 db_rsih_simulasi.public.reseptur_t 1 db_rsih_simulasi.public.kasuspenyakitruangan_m 1 db_rskt_running.public.pemeriksaanfisik_t 1 db_rskt_running.public.pasienbatalperiksa_r 1 db_rsih_simulasi.public.tindakanpelayanan_t 1 db_rsih_simulasi.public.kunjunganrs_r 1 db_rsih_simulasi.public.permintaankepenunjang_t 1 db_rskt_running.public.tindakanpelayanan_t 1 db_rsih_simulasi.public.ruanganpegawai_m 1 db_rsih_simulasi.public.resepturdetail_t 1 db_rsih_simulasi.public.kamarruangan_m 1 db_rskt_running.public.kunjungancarabayar_r 1 db_rskt_running.public.rujukanpasien_r 1 db_rsih_simulasi.public.obatalkespasien_t 1 db_rsih_simulasi.public.rl3_1_kegiatanpelayananrawatinap 1 db_rskt_running.public.pertambahanpasien_r 1 db_rskt_running.public.sep_t 1 db_rsih_simulasi.public.tindakanruangan_m 1 db_rsih_simulasi.public.anamnesa_t 1 db_rskt_running.public.kelasruangan_m 1 db_rsih_simulasi.public.pasienkirimkeunitlain_t 1 db_rsih_simulasi.public.detailhasilpemeriksaanlab_t 1 db_rskt_running.public.kunjunganrs_r 1 db_rskt_simulasi.public.antrian_t 1 db_rskt_running.public.kunjunganpoliklinik_r 1 db_rskt_running.public.tandabuktibayar_t 1 db_rskt_running.public.ruanganpegawai_m 1 db_rskt_running.public.rl1_2_indikatorpelayananrumahsakit 1 db_rsih_simulasi.public.asesmentnyeri_t 1 Total 1,924 Vacuums per table
Key values
- public.loginpemakai_k (335) Main table vacuumed on database db_rsih_simulasi
- 754 vacuums Total
Table Number of vacuums Index scans db_rsih_simulasi.public.loginpemakai_k 335 334 db_rskt_running.public.loginpemakai_k 268 230 db_rskt_running.pg_toast.pg_toast_2619 33 33 db_rsih_simulasi.pg_toast.pg_toast_2619 31 31 db_rskt_running.public.chat 23 0 db_rskt_simulasi.public.loginpemakai_k 14 14 db_rskt_simulasi.pg_toast.pg_toast_2619 13 13 db_ihospital.public.loginpemakai_k 7 7 db_ihospital.pg_toast.pg_toast_2619 5 5 db_rsrib_running.pg_toast.pg_toast_2619 3 3 db_rsnu_simulasi.pg_toast.pg_toast_2619 3 3 db_rsih_simulasi.public.pendapatanjasa_r 2 0 db_ihospital.public.chat 2 0 db_rsnu_simulasi.public.chat 2 0 db_rsrib_running.public.chat 1 0 db_rskt_running.public.tindakanruangan_m 1 1 db_rsih_simulasi.public.kelasruangan_m 1 1 db_rsih_simulasi.public.pendaftaran_t 1 1 db_rsih_simulasi.public.kunjunganrs_r 1 0 db_rsih_simulasi.public.kamarruangan_m 1 1 db_rskt_running.public.kasuspenyakitdiagnosa_m 1 1 db_rskt_running.public.ruanganpegawai_m 1 1 db_rskt_running.public.pendapatanjasa_r 1 1 db_rskt_running.public.pendaftaran_t 1 1 db_rskt_running.public.kelasruangan_m 1 1 db_rsih_simulasi.public.tindakanruangan_m 1 1 db_rsih_simulasi.public.obatalkespasien_t 1 1 Total 754 684 Tuples removed per table
Key values
- public.loginpemakai_k (31122) Main table with removed tuples on database db_rskt_running
- 58891 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed db_rskt_running.public.loginpemakai_k 268 230 31122 0 db_rsih_simulasi.public.loginpemakai_k 335 334 9727 9 db_rskt_running.public.tindakanruangan_m 1 1 5493 0 db_rskt_running.pg_toast.pg_toast_2619 33 33 3215 0 db_rsih_simulasi.pg_toast.pg_toast_2619 31 31 2846 20 db_rskt_running.public.chat 23 0 1684 0 db_rskt_running.public.ruanganpegawai_m 1 1 1131 0 db_rskt_simulasi.pg_toast.pg_toast_2619 13 13 1039 8 db_ihospital.pg_toast.pg_toast_2619 5 5 463 0 db_rskt_simulasi.public.loginpemakai_k 14 14 379 2 db_rsrib_running.pg_toast.pg_toast_2619 3 3 288 0 db_rsih_simulasi.public.tindakanruangan_m 1 1 257 0 db_rsnu_simulasi.pg_toast.pg_toast_2619 3 3 216 0 db_ihospital.public.chat 2 0 126 0 db_ihospital.public.loginpemakai_k 7 7 126 0 db_rsnu_simulasi.public.chat 2 0 120 0 db_rsih_simulasi.public.pendapatanjasa_r 2 0 108 0 db_rskt_running.public.pendapatanjasa_r 1 1 104 0 db_rskt_running.public.kelasruangan_m 1 1 89 0 db_rsih_simulasi.public.kelasruangan_m 1 1 87 0 db_rsih_simulasi.public.kunjunganrs_r 1 0 72 0 db_rsih_simulasi.public.kamarruangan_m 1 1 62 0 db_rsrib_running.public.chat 1 0 58 0 db_rskt_running.public.kasuspenyakitdiagnosa_m 1 1 56 0 db_rsih_simulasi.public.pendaftaran_t 1 1 9 0 db_rskt_running.public.pendaftaran_t 1 1 8 0 db_rsih_simulasi.public.obatalkespasien_t 1 1 6 0 Total 754 684 58,891 39 Pages removed per table
Key values
- pg_toast.pg_toast_2619 (20) Main table with removed pages on database db_rsih_simulasi
- 39 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed db_rsih_simulasi.pg_toast.pg_toast_2619 31 31 2846 20 db_rsih_simulasi.public.loginpemakai_k 335 334 9727 9 db_rskt_simulasi.pg_toast.pg_toast_2619 13 13 1039 8 db_rskt_simulasi.public.loginpemakai_k 14 14 379 2 db_rsrib_running.public.chat 1 0 58 0 db_rskt_running.public.chat 23 0 1684 0 db_rskt_running.public.tindakanruangan_m 1 1 5493 0 db_rsih_simulasi.public.kelasruangan_m 1 1 87 0 db_rsih_simulasi.public.pendaftaran_t 1 1 9 0 db_rsih_simulasi.public.kunjunganrs_r 1 0 72 0 db_rsih_simulasi.public.pendapatanjasa_r 2 0 108 0 db_rsih_simulasi.public.kamarruangan_m 1 1 62 0 db_ihospital.pg_toast.pg_toast_2619 5 5 463 0 db_rsrib_running.pg_toast.pg_toast_2619 3 3 288 0 db_rskt_running.public.kasuspenyakitdiagnosa_m 1 1 56 0 db_rskt_running.public.ruanganpegawai_m 1 1 1131 0 db_ihospital.public.chat 2 0 126 0 db_rskt_running.public.loginpemakai_k 268 230 31122 0 db_ihospital.public.loginpemakai_k 7 7 126 0 db_rsnu_simulasi.pg_toast.pg_toast_2619 3 3 216 0 db_rskt_running.public.pendapatanjasa_r 1 1 104 0 db_rskt_running.pg_toast.pg_toast_2619 33 33 3215 0 db_rsnu_simulasi.public.chat 2 0 120 0 db_rskt_running.public.pendaftaran_t 1 1 8 0 db_rskt_running.public.kelasruangan_m 1 1 89 0 db_rsih_simulasi.public.tindakanruangan_m 1 1 257 0 db_rsih_simulasi.public.obatalkespasien_t 1 1 6 0 Total 754 684 58,891 39 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Mar 28 00 2 23 01 0 0 02 0 1 03 0 1 04 0 0 05 0 1 06 0 2 07 24 88 08 42 123 09 62 155 10 97 210 11 70 192 12 26 122 13 50 179 14 91 174 15 99 175 16 77 164 17 18 49 18 1 19 19 1 37 20 16 52 21 37 71 22 23 58 23 18 28 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 3 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 3s766ms 3s766ms 3s766ms 3s766ms alter table ruangan_m add column ruangandepofarmasi_id integer references ruangan_m (ruangan_id) match simple on update restrict on delete restrict;-
alter table ruangan_m add column ruangandepofarmasi_id integer references ruangan_m (ruangan_id) match simple on update restrict on delete restrict;
Date: 2022-03-28 09:39:41 Database: db_rskt_running User: developer Application: Navicat
-
alter table ruangan_m add column ruangandepofarmasi_id integer references ruangan_m (ruangan_id) match simple on update restrict on delete restrict;
Date: 2022-03-28 09:39:32 Database: db_rskt_simulasi User: developer Application: Navicat
2 1 2s871ms 2s871ms 2s871ms 2s871ms select sum(qtystok_in - qtystok_out) as qtystok from "infostokobatalkesruangan_v" "t" where (ruangan_id = ?) and (obatalkes_id = ?) group by obatalkes_id, ruangan_id limit ?;-
SELECT sum(qtystok_in - qtystok_out) AS qtystok FROM "infostokobatalkesruangan_v" "t" WHERE (ruangan_id = 446) AND (obatalkes_id = 80) GROUP BY obatalkes_id, ruangan_id LIMIT 1;
Date: 2022-03-28 15:12:33 Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT sum(qtystok_in - qtystok_out) AS qtystok FROM "infostokobatalkesruangan_v" "t" WHERE (ruangan_id = 446) AND (obatalkes_id = 80) GROUP BY obatalkes_id, ruangan_id LIMIT 1;
Date: 2022-03-28 10:27:55 Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT sum(qtystok_in - qtystok_out) AS qtystok FROM "infostokobatalkesruangan_v" "t" WHERE (ruangan_id = 452) AND (obatalkes_id = 1) GROUP BY obatalkes_id, ruangan_id LIMIT 1;
Date: 2022-03-28 09:41:40 Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
3 1 1s441ms 1s441ms 1s441ms 1s441ms update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '452', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '62', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 16:07:13' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 16:07:14 Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
Queries that waited the most
Rank Wait time Query 1 3s766ms alter table ruangan_m add column ruangandepofarmasi_id integer references ruangan_m (ruangan_id) match simple on update restrict on delete restrict;[ Date: 2022-03-28 09:39:41 - Database: db_rskt_running - User: developer - Application: Navicat ]
2 2s871ms SELECT sum(qtystok_in - qtystok_out) AS qtystok FROM "infostokobatalkesruangan_v" "t" WHERE (ruangan_id = 494) AND (obatalkes_id = 1) GROUP BY obatalkes_id, ruangan_id LIMIT 1;[ Date: 2022-03-28 09:39:41 - Database: db_rskt_running - User: developer - Application: [unknown] ]
3 1s441ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 675;[ Date: 2022-03-28 09:39:41 - Database: db_rskt_running - User: developer - Application: [unknown] ]
-
Queries
Queries by type
Key values
- 4,552,172 Total read queries
- 337,632 Total write queries
Queries by database
Key values
- db_rskt_running Main database
- 2,694,593 Requests
- 1h10s (db_rskt_running)
- Main time consuming database
Database Request type Count Duration db_ihospital Total 115,934 7m42s BEGIN 3 0ms COMMIT 3 3ms INSERT 12 46ms SELECT 90,827 7m32s UPDATE 8,442 7s906ms others 16,647 1s877ms db_rsbri_running Total 81 18s384ms ALTER 1 6ms BEGIN 1 0ms SELECT 66 18s368ms others 13 9ms db_rsbri_simulasi Total 7,271 12s814ms ALTER 1 6ms BEGIN 3 0ms ROLLBACK 2 0ms SELECT 6,276 12s493ms UPDATE 278 228ms others 711 86ms db_rscms_simulasi Total 441 9s3ms BEGIN 1 0ms SELECT 437 8s993ms others 3 9ms db_rsih_running Total 52 11s305ms SELECT 37 11s303ms others 15 2ms db_rsih_simulasi Total 1,904,913 16m36s BEGIN 364 5ms COMMIT 311 502ms CREATE 1 10ms DELETE 83 63ms INSERT 1,520 4s953ms ROLLBACK 53 9ms SELECT 1,499,233 12m55s UPDATE 135,356 3m4s others 267,992 30s505ms db_rskt_running Total 2,694,593 1h10s ALTER 3 3s796ms BEGIN 511 7ms COMMIT 482 1s46ms CREATE 1 45ms DELETE 153 103ms DROP 1 9ms INSERT 13,630 13s917ms ROLLBACK 29 2ms SELECT 2,242,531 56m43s UPDATE 140,089 2m34s others 297,163 33s618ms db_rskt_simulasi Total 477,299 10m23s ALTER 3 21ms BEGIN 47 0ms COMMIT 41 67ms CREATE 1 50ms DELETE 25 3ms DROP 1 7ms INSERT 331 959ms ROLLBACK 6 0ms SELECT 391,873 9m49s UPDATE 27,603 26s898ms others 57,368 6s541ms db_rsnu_simulasi Total 79,537 5m56s BEGIN 2 0ms INSERT 116 234ms ROLLBACK 2 0ms SELECT 65,279 5m51s UPDATE 4,195 4s174ms others 9,943 1s207ms db_rsrib_running Total 94,748 1m8s BEGIN 2 0ms INSERT 32 8ms ROLLBACK 2 0ms SELECT 77,743 1m1s UPDATE 5,756 5s71ms others 11,213 1s246ms pacsdb Total 531,445 5s674ms BEGIN 177,119 617ms COMMIT 177,119 1s800ms INSERT 7 4ms SELECT 177,130 3s248ms UPDATE 4 2ms others 66 1ms postgres Total 690 9s460ms SELECT 668 9s438ms others 22 21ms website_rsbri Total 73 13ms SELECT 72 13ms others 1 0ms Queries by user
Key values
- developer Main user
- 6,878,368 Requests
User Request type Count Duration developer Total 6,878,368 1h50m9s ALTER 8 3s831ms BEGIN 332,800 1s160ms COMMIT 332,688 4s952ms CREATE 3 106ms DELETE 270 205ms DROP 2 17ms INSERT 15,785 20s804ms ROLLBACK 109 19ms SELECT 5,111,676 1h41m19s UPDATE 355,391 6m56s others 729,636 1m22s Duration by user
Key values
- 1h50m9s (developer) Main time consuming user
User Request type Count Duration developer Total 6,878,368 1h50m9s ALTER 8 3s831ms BEGIN 332,800 1s160ms COMMIT 332,688 4s952ms CREATE 3 106ms DELETE 270 205ms DROP 2 17ms INSERT 15,785 20s804ms ROLLBACK 109 19ms SELECT 5,111,676 1h41m19s UPDATE 355,391 6m56s others 729,636 1m22s Queries by host
Key values
- unknown Main host
- 6,878,368 Requests
- 1h50m9s (unknown)
- Main time consuming host
Queries by application
Key values
- [unknown] Main application
- 5,865,438 Requests
- 1h26m25s ([unknown])
- Main time consuming application
Application Request type Count Duration Adminer Total 4,813 3m22s CREATE 1 10ms DELETE 2 7ms SELECT 4,605 3m22s others 205 34ms Navicat Total 219 1m6s ALTER 6 3s818ms CREATE 2 95ms DROP 2 17ms SELECT 165 1m2s UPDATE 1 6ms others 43 5ms [unknown] Total 5,865,438 1h26m25s BEGIN 178,050 630ms COMMIT 177,956 3s420ms DELETE 259 163ms INSERT 15,643 20s109ms ROLLBACK 94 14ms SELECT 4,510,869 1h18m23s UPDATE 321,721 6m23s others 660,846 1m14s pgAdmin 4 - CONN:4536588 Total 11 68ms SELECT 10 65ms others 1 3ms pgAdmin 4 - CONN:5387573 Total 4 1ms BEGIN 2 0ms SELECT 2 1ms pgAdmin 4 - CONN:6550074 Total 101 185ms SELECT 98 176ms others 3 8ms pgAdmin 4 - CONN:7792667 Total 11 23ms SELECT 10 21ms others 1 1ms pgAdmin 4 - CONN:821166 Total 5 11ms ALTER 1 6ms SELECT 3 2ms others 1 2ms pgAdmin 4 - CONN:8416817 Total 5 11ms ALTER 1 6ms SELECT 3 2ms others 1 2ms pgAdmin 4 - CONN:8733580 Total 47 100ms SELECT 46 97ms others 1 3ms pgAdmin 4 - CONN:8774470 Total 192 6s690ms SELECT 182 6s664ms others 10 25ms pgAdmin 4 - CONN:8961459 Total 90 175ms INSERT 5 14ms SELECT 81 146ms UPDATE 1 5ms others 3 8ms pgAdmin 4 - DB:db_ihospital Total 21,264 6m46s SELECT 21,256 6m46s others 8 20ms pgAdmin 4 - DB:db_rsbri_running Total 24 518ms SELECT 23 512ms others 1 5ms pgAdmin 4 - DB:db_rsbri_simulasi Total 190 3s775ms SELECT 189 3s769ms others 1 5ms pgAdmin 4 - DB:db_rscms_simulasi Total 427 8s792ms BEGIN 1 0ms SELECT 425 8s785ms others 1 6ms pgAdmin 4 - DB:db_rsih_simulasi Total 855 17s37ms SELECT 850 17s25ms others 5 12ms pgAdmin 4 - DB:db_rskt_running Total 4 15ms SELECT 3 2ms others 1 12ms pgAdmin 4 - DB:db_rsnu_simulasi Total 12,761 4m36s SELECT 12,743 4m36s others 18 40ms pgAdmin 4 - DB:postgres Total 616 9s388ms SELECT 609 9s369ms others 7 19ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2022-03-28 15:49:59 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 4,942,229 0-1ms duration
Slowest individual queries
Rank Duration Query 1 14s735ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];[ Date: 2022-03-28 10:53:09 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
2 14s91ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];[ Date: 2022-03-28 10:53:32 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
3 10s984ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];[ Date: 2022-03-28 21:30:34 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
4 10s823ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];[ Date: 2022-03-28 21:48:36 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
5 9s659ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];[ Date: 2022-03-28 21:54:47 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
6 9s545ms SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];[ Date: 2022-03-28 21:31:27 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
7 9s37ms SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 13:43:54 - Database: db_rsbri_running - User: developer - Application: Navicat ]
8 8s803ms SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 14:38:33 - Database: db_ihospital - User: developer - Application: Navicat ]
9 8s33ms SELECT 1 FROM "tariftindakanperdaruangan_v" WHERE ("kategoritindakan_nama" LIKE '%antrian%' OR "kelompoktindakan_nama" LIKE '%antrian%' OR "daftartindakan_kode" LIKE '%antrian%' OR "daftartindakan_nama" LIKE '%antrian%' OR "daftartindakan_namalainnya" LIKE '%antrian%' OR "daftartindakan_katakunci" LIKE '%antrian%' OR "perdanama_sk" LIKE '%antrian%' OR "noperda" LIKE '%antrian%' OR "perdatentang" LIKE '%antrian%' OR "ditetapkanoleh" LIKE '%antrian%' OR "tempatditetapkan" LIKE '%antrian%' OR "jenistarif_nama" LIKE '%antrian%' OR "komponentarif_nama" LIKE '%antrian%' OR "jeniskelas_nama" LIKE '%antrian%' OR "kelaspelayanan_nama" LIKE '%antrian%' OR "kelaspelayanan_namalainnya" LIKE '%antrian%' OR "ruangan_nama" LIKE '%antrian%' OR "instalasi_nama" LIKE '%antrian%' OR CAST("daftartindakan_karcis" AS text) LIKE '%antrian%' OR CAST("daftartindakan_visite" AS text) LIKE '%antrian%' OR CAST("daftartindakan_konsul" AS text) LIKE '%antrian%' OR CAST("daftartindakan_akomodasi" AS text) LIKE '%antrian%' OR "carabayar_nama" LIKE '%antrian%' OR "penjamin_nama" LIKE '%antrian%' OR "komponenunit_nama" LIKE '%antrian%') LIMIT 1;[ Date: 2022-03-28 11:32:41 - Database: db_rsih_simulasi - User: developer - Application: Adminer ]
10 6s969ms SELECT n.nspname, c.relname, a.attname, tp.typname FROM pg_attribute a JOIN pg_class c on a.attrelid = c.oid JOIN pg_namespace n on c.relnamespace = n.oid JOIN pg_type tp on tp.oid = a.atttypid WHERE a.attnum > 0 ORDER BY nspname, relname;[ Date: 2022-03-28 09:38:14 - Database: db_rskt_running - User: developer - Application: Navicat ]
11 6s488ms SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';[ Date: 2022-03-28 13:43:55 - Database: db_rsbri_running - User: developer - Application: Navicat ]
12 5s978ms select * from barang_m;[ Date: 2022-03-28 10:58:37 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - CONN:8774470 ]
13 5s910ms SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';[ Date: 2022-03-28 13:44:02 - Database: db_rsbri_simulasi - User: developer - Application: Navicat ]
14 5s213ms SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';[ Date: 2022-03-28 09:39:41 - Database: db_rskt_running - User: developer - Application: Navicat ]
15 5s190ms SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';[ Date: 2022-03-28 09:38:21 - Database: db_rskt_simulasi - User: developer - Application: Navicat ]
16 4s942ms SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';[ Date: 2022-03-28 15:33:52 - Database: db_ihospital - User: developer - Application: Navicat ]
17 4s521ms SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648439067845' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;[ Date: 2022-03-28 11:02:44 - Database: db_rsrib_running - User: developer - Application: [unknown] - Bind query: yes ]
18 4s463ms SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=persalinan/laporanSurveilansPS/UpdateGrafik' AND "t"."kodebugs" = '404' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;[ Date: 2022-03-28 14:58:16 - Database: db_rsrib_running - User: developer - Application: [unknown] - Bind query: yes ]
19 4s97ms SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648432026921' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;[ Date: 2022-03-28 10:30:25 - Database: db_rsrib_running - User: developer - Application: [unknown] - Bind query: yes ]
20 3s954ms SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=%20%20%20%20%20%20%20%20persalinan/informasiPemesananAmbulansPS/index&modulId=12' AND "t"."kodebugs" = '404' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;[ Date: 2022-03-28 14:34:01 - Database: db_rsrib_running - User: developer - Application: [unknown] - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 19m38s 295,497 0ms 87ms 3ms select count(nofitikasi_id) as total from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and (pegawai_id is null or pegawai_id in (...));Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 28 00 2,474 5s335ms 2ms 01 60 168ms 2ms 02 66 172ms 2ms 03 60 167ms 2ms 04 60 161ms 2ms 05 60 165ms 2ms 06 236 328ms 1ms 07 9,700 44s139ms 4ms 08 17,505 1m25s 4ms 09 32,229 2m15s 4ms 10 40,751 3m13s 4ms 11 30,270 2m26s 4ms 12 14,291 1m48s 7ms 13 22,765 2m8s 5ms 14 31,498 2m4s 3ms 15 34,261 1m24s 2ms 16 23,070 56s812ms 2ms 17 5,642 18s18ms 3ms 18 2,349 7s300ms 3ms 19 5,302 18s24ms 3ms 20 6,070 11s799ms 1ms 21 7,838 5s418ms 0ms 22 5,743 2s611ms 0ms 23 3,197 1s914ms 0ms [ User: developer - Total duration: 19m38s - Times executed: 295497 ]
[ Application: [unknown] - Total duration: 19m38s - Times executed: 295497 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 494 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1203));
Date: 2022-03-28 10:58:46 Duration: 87ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1188));
Date: 2022-03-28 09:17:37 Duration: 80ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1233));
Date: 2022-03-28 10:40:01 Duration: 77ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
2 15m3s 149,504 0ms 75ms 6ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 28 00 2,189 3s258ms 1ms 01 60 132ms 2ms 02 66 132ms 2ms 03 60 137ms 2ms 04 60 126ms 2ms 05 60 135ms 2ms 06 117 255ms 2ms 07 7,449 30s881ms 4ms 08 12,597 1m7s 5ms 09 17,317 1m47s 6ms 10 20,324 2m32s 7ms 11 20,590 1m55s 5ms 12 10,412 1m34s 9ms 13 10,846 1m46s 9ms 14 11,222 1m34s 8ms 15 10,723 54s786ms 5ms 16 9,909 36s30ms 3ms 17 4,104 13s147ms 3ms 18 2,349 5s118ms 2ms 19 5,302 12s117ms 2ms 20 2,902 6s895ms 2ms 21 286 798ms 2ms 22 179 517ms 2ms 23 381 984ms 2ms [ User: developer - Total duration: 15m3s - Times executed: 149504 ]
[ Application: [unknown] - Total duration: 15m3s - Times executed: 149504 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:32:09 Duration: 75ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1188)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:19:48 Duration: 72ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:20:31 Duration: 71ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
3 12m41s 91,911 0ms 112ms 8ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 28 00 2,128 3s342ms 1ms 02 6 4ms 0ms 07 5,631 26s522ms 4ms 08 7,098 54s643ms 7ms 09 8,723 1m25s 9ms 10 11,671 2m9s 11ms 11 11,035 1m30s 8ms 12 7,570 1m28s 11ms 13 8,582 1m40s 11ms 14 7,440 1m25s 11ms 15 7,457 46s481ms 6ms 16 5,763 25s343ms 4ms 17 1,811 7s716ms 4ms 18 1,018 2s340ms 2ms 19 3,982 9s551ms 2ms 20 1,710 4s256ms 2ms 21 166 544ms 3ms 22 60 255ms 4ms 23 60 259ms 4ms [ User: developer - Total duration: 12m41s - Times executed: 91911 ]
[ Application: [unknown] - Total duration: 12m41s - Times executed: 91911 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 13:25:02 Duration: 112ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:24:01 Duration: 101ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 08:30:01 Duration: 86ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
4 12m6s 632,671 0ms 961ms 1ms select a.attname, lower(format_type(a.atttypid, a.atttypmod)) as type, pg_get_expr(adbin, adrelid) as adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) as comment from pg_attribute a left join pg_attrdef d on a.attrelid = d.adrelid and a.attnum = d.adnum where a.attnum > ? and not a.attisdropped and a.attrelid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?)) order by a.attnum;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 28 00 4,329 4s405ms 1ms 01 60 61ms 1ms 02 179 166ms 0ms 03 60 62ms 1ms 04 60 59ms 0ms 05 60 62ms 1ms 06 1,943 1s987ms 1ms 07 45,360 42s463ms 0ms 08 44,220 48s285ms 1ms 09 72,017 1m31s 1ms 10 96,128 2m2s 1ms 11 55,066 1m5s 1ms 12 30,850 33s740ms 1ms 13 41,548 48s943ms 1ms 14 64,390 1m20s 1ms 15 66,351 1m18s 1ms 16 37,309 41s610ms 1ms 17 10,938 10s199ms 0ms 18 6,446 4s754ms 0ms 19 9,172 8s343ms 0ms 20 12,987 13s182ms 1ms 21 14,427 14s498ms 1ms 22 11,375 10s264ms 0ms 23 7,396 6s62ms 0ms [ User: developer - Total duration: 12m6s - Times executed: 632671 ]
[ Application: [unknown] - Total duration: 12m6s - Times executed: 632671 ]
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'ruangan_m' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 09:39:41 Duration: 961ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 10:22:10 Duration: 201ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 08:36:14 Duration: 146ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
5 10m35s 35,011 5ms 77ms 18ms select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select count(*) from pg_catalog.pg_stat_activity where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Total", ( select count(*) from pg_catalog.pg_stat_activity where state = ? and datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Active", ( select count(*) from pg_catalog.pg_stat_activity where state = ? and datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Idle") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(xact_commit) + sum(xact_rollback) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Transactions", ( select sum(xact_commit) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Commits", ( select sum(xact_rollback) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Rollbacks") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(tup_inserted) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Inserts", ( select sum(tup_updated) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Updates", ( select sum(tup_deleted) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Deletes") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(tup_fetched) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Fetched", ( select sum(tup_returned) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Returned") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(blks_read) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Reads", ( select sum(blks_hit) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Hits") t;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 28 07 1,767 32s249ms 18ms 08 2,037 38s405ms 18ms 09 1,732 32s736ms 18ms 10 2,105 41s487ms 19ms 11 1,619 31s825ms 19ms 12 123 2s670ms 21ms 13 2,951 59s554ms 20ms 14 6,376 1m55s 18ms 15 6,758 1m51s 16ms 16 4,011 1m9s 17ms 17 27 499ms 18ms 20 35 656ms 18ms 21 1,833 33s235ms 18ms 22 3,231 58s149ms 17ms 23 406 7s257ms 17ms [ User: developer - Total duration: 10m35s - Times executed: 35011 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 6m5s - Times executed: 21219 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 4m4s - Times executed: 12546 ]
[ Application: pgAdmin 4 - DB:db_rsih_simulasi - Total duration: 16s966ms - Times executed: 827 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 8s765ms - Times executed: 419 ]
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Hits") t;
Date: 2022-03-28 09:19:01 Duration: 77ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Hits") t;
Date: 2022-03-28 16:03:59 Duration: 76ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Hits") t;
Date: 2022-03-28 14:41:30 Duration: 72ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
6 6m16s 311,324 0ms 1s444ms 1ms update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 28 00 2,527 2s154ms 0ms 01 60 48ms 0ms 02 70 52ms 0ms 03 60 45ms 0ms 04 60 44ms 0ms 05 60 44ms 0ms 06 262 200ms 0ms 07 10,249 9s329ms 0ms 08 18,202 19s614ms 1ms 09 34,305 40s743ms 1ms 10 43,522 51s150ms 1ms 11 32,072 36s752ms 1ms 12 15,996 15s549ms 0ms 13 23,380 27s658ms 1ms 14 31,819 44s890ms 1ms 15 36,638 48s788ms 1ms 16 25,427 33s991ms 1ms 17 5,809 7s293ms 1ms 18 2,360 1s805ms 0ms 19 5,302 4s425ms 0ms 20 6,176 7s407ms 1ms 21 7,939 11s728ms 1ms 22 5,821 7s509ms 1ms 23 3,208 5s316ms 1ms [ User: developer - Total duration: 6m16s - Times executed: 311324 ]
[ Application: [unknown] - Total duration: 6m16s - Times executed: 311324 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '452', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 1s444ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 867ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '62', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 16:07:13' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 16:07:14 Duration: 176ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
7 3m42s 631,909 0ms 38ms 0ms select conname, consrc, contype, indkey from ( select conname, pg_catalog.pg_get_constraintdef(oid) as consrc, contype, conrelid as relid, null as indkey from pg_catalog.pg_constraint where contype in (...) union all select pc.relname, null, case when indisprimary then ? else ? end, pi.indrelid, indkey from pg_catalog.pg_class pc, pg_catalog.pg_index pi where pc.oid = pi.indexrelid and exists ( select ? from pg_catalog.pg_depend d join pg_catalog.pg_constraint c on (d.refclassid = c.tableoid and d.refobjid = c.oid) where d.classid = pc.tableoid and d.objid = pc.oid and d.deptype = ? and c.contype in (...))) as sub where relid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 28 00 4,329 1s288ms 0ms 01 60 19ms 0ms 02 179 46ms 0ms 03 60 19ms 0ms 04 60 18ms 0ms 05 60 18ms 0ms 06 1,943 523ms 0ms 07 45,323 13s621ms 0ms 08 44,220 14s23ms 0ms 09 71,998 25s969ms 0ms 10 96,088 35s728ms 0ms 11 54,918 20s618ms 0ms 12 30,755 10s381ms 0ms 13 41,435 15s476ms 0ms 14 64,359 24s324ms 0ms 15 66,133 24s248ms 0ms 16 37,248 13s123ms 0ms 17 10,938 3s482ms 0ms 18 6,446 1s784ms 0ms 19 9,172 2s990ms 0ms 20 12,987 4s149ms 0ms 21 14,427 4s630ms 0ms 22 11,375 3s436ms 0ms 23 7,396 2s189ms 0ms [ User: developer - Total duration: 3m42s - Times executed: 631909 ]
[ Application: [unknown] - Total duration: 3m42s - Times executed: 631909 ]
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 15:38:30 Duration: 38ms Database: db_rsnu_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'kelompokmenu_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 09:19:57 Duration: 38ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 11:40:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
8 2m33s 57,592 1ms 33ms 2ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) between ? and ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 28 00 60 139ms 2ms 01 60 133ms 2ms 02 60 127ms 2ms 03 60 135ms 2ms 04 60 130ms 2ms 05 60 138ms 2ms 06 117 256ms 2ms 07 1,818 4s375ms 2ms 08 5,500 13s962ms 2ms 09 8,594 23s346ms 2ms 10 8,652 24s935ms 2ms 11 9,555 26s259ms 2ms 12 2,842 7s43ms 2ms 13 2,264 6s50ms 2ms 14 3,782 10s731ms 2ms 15 3,267 8s666ms 2ms 16 4,145 10s799ms 2ms 17 2,293 5s522ms 2ms 18 1,331 3s1ms 2ms 19 1,320 3s205ms 2ms 20 1,192 2s982ms 2ms 21 120 276ms 2ms 22 119 270ms 2ms 23 321 742ms 2ms [ User: developer - Total duration: 2m33s - Times executed: 57592 ]
[ Application: [unknown] - Total duration: 2m33s - Times executed: 57592 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:58 Duration: 33ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:52:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:31:47 Duration: 28ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
9 2m29s 53 2s319ms 3s581ms 2s819ms select c.relname AS "Name", case c.relkind when ? then ? when ? then ? else ? end AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, ?) AS "Comment", ? AS "Oid", c.reltuples AS "Rows", n.nspname from pg_class c join pg_namespace n on (n.nspname = current_schema() and n.oid = c.relnamespace) where relkind in (...) order by relname;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 28 11 11 31s731ms 2s884ms 13 9 25s691ms 2s854ms 15 33 1m31s 2s787ms [ User: developer - Total duration: 2m29s - Times executed: 53 ]
[ Application: Adminer - Total duration: 2m29s - Times executed: 53 ]
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 11:30:08 Duration: 3s581ms Database: db_rsih_simulasi User: developer Application: Adminer
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 15:00:00 Duration: 3s420ms Database: db_rsih_simulasi User: developer Application: Adminer
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 15:45:01 Duration: 3s405ms Database: db_rsih_running User: developer Application: Adminer
10 1m26s 148 223ms 4s521ms 581ms select * from "reportbugs_r" "t" where "t"."link_bugs" = ? and "t"."kodebugs" = ? and "t"."type_bugs" = ? limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 28 08 1 3s288ms 3s288ms 10 22 15s639ms 710ms 11 4 6s198ms 1s549ms 13 4 6s454ms 1s613ms 14 2 8s417ms 4s208ms 16 108 40s764ms 377ms 18 7 5s280ms 754ms [ User: developer - Total duration: 1m26s - Times executed: 148 ]
[ Application: [unknown] - Total duration: 1m26s - Times executed: 148 ]
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648439067845' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 11:02:44 Duration: 4s521ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=persalinan/laporanSurveilansPS/UpdateGrafik' AND "t"."kodebugs" = '404' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 14:58:16 Duration: 4s463ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648432026921' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 10:30:25 Duration: 4s97ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
11 1m14s 660,708 0ms 20ms 0ms set names ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 28 00 5,253 549ms 0ms 01 120 13ms 0ms 02 146 13ms 0ms 03 120 11ms 0ms 04 120 11ms 0ms 05 120 11ms 0ms 06 736 70ms 0ms 07 24,437 2s523ms 0ms 08 39,472 4s158ms 0ms 09 71,681 8s195ms 0ms 10 91,528 10s693ms 0ms 11 66,932 7s715ms 0ms 12 33,949 3s680ms 0ms 13 48,960 5s489ms 0ms 14 67,547 7s908ms 0ms 15 76,339 8s575ms 0ms 16 52,722 6s169ms 0ms 17 12,679 1s459ms 0ms 18 5,705 607ms 0ms 19 11,569 1s352ms 0ms 20 13,530 1s577ms 0ms 21 16,937 1s901ms 0ms 22 12,699 1s396ms 0ms 23 7,407 812ms 0ms [ User: developer - Total duration: 1m14s - Times executed: 660708 ]
[ Application: [unknown] - Total duration: 1m14s - Times executed: 660708 ]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:30:55 Duration: 20ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:38:56 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 15:09:46 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
12 59s571ms 3,952 9ms 59ms 15ms select count(nofitikasi_id) as total from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and (pegawai_id is null or pegawai_id in (null));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 28 11 207 3s230ms 15ms 12 1,196 17s658ms 14ms 13 81 1s156ms 14ms 14 68 1s184ms 17ms 15 1,199 18s697ms 15ms 16 1,079 15s864ms 14ms 17 122 1s779ms 14ms [ User: developer - Total duration: 59s571ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 59s571ms - Times executed: 3952 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 16:04:20 Duration: 59ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 16:00:55 Duration: 55ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 15:00:15 Duration: 52ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 57s13ms 3,952 9ms 74ms 14ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (null)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 28 11 207 3s26ms 14ms 12 1,196 16s897ms 14ms 13 81 1s133ms 13ms 14 68 1s60ms 15ms 15 1,199 18s74ms 15ms 16 1,079 15s95ms 13ms 17 122 1s724ms 14ms [ User: developer - Total duration: 57s13ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 57s13ms - Times executed: 3952 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:00:15 Duration: 74ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:07:53 Duration: 64ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:59 Duration: 52ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
14 55s919ms 3,952 9ms 58ms 14ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (null)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 28 11 207 2s987ms 14ms 12 1,196 16s589ms 13ms 13 81 1s98ms 13ms 14 68 1s41ms 15ms 15 1,199 17s642ms 14ms 16 1,079 14s853ms 13ms 17 122 1s705ms 13ms [ User: developer - Total duration: 55s919ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 55s919ms - Times executed: 3952 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:08:21 Duration: 58ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:59 Duration: 51ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:27:03 Duration: 50ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
15 41s12ms 4 9s545ms 10s984ms 10s253ms select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oid || ? || n.nspname |[...];Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 28 21 4 41s12ms 10s253ms [ User: developer - Total duration: 41s12ms - Times executed: 4 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 41s12ms - Times executed: 4 ]
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:30:34 Duration: 10s984ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:48:36 Duration: 10s823ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:54:47 Duration: 9s659ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
16 37s672ms 139,742 0ms 30ms 0ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 28 00 286 144ms 0ms 06 119 1ms 0ms 07 2,251 286ms 0ms 08 3,130 750ms 0ms 09 13,728 3s263ms 0ms 10 19,220 5s62ms 0ms 11 9,127 2s736ms 0ms 12 3,879 988ms 0ms 13 11,919 3s320ms 0ms 14 19,918 6s183ms 0ms 15 23,538 7s121ms 0ms 16 11,989 3s738ms 0ms 17 1,538 399ms 0ms 20 3,168 746ms 0ms 21 7,552 1s957ms 0ms 22 5,564 727ms 0ms 23 2,816 243ms 0ms [ User: developer - Total duration: 37s672ms - Times executed: 139742 ]
[ Application: [unknown] - Total duration: 37s672ms - Times executed: 139742 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:04:48 Duration: 30ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:20:01 Duration: 24ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (70)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:34:11 Duration: 21ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
17 32s49ms 373 18ms 159ms 85ms select count(*) from "pasien_m" "t" left join kecamatan_m on t.kecamatan_id = kecamatan_m.kecamatan_id left join kelurahan_m on t.kelurahan_id = kelurahan_m.kelurahan_id where (lower(statusrekammedis) = ?) and (ispasienluar = false);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 28 07 63 4s857ms 77ms 08 52 4s489ms 86ms 09 57 5s130ms 90ms 10 94 8s664ms 92ms 11 43 3s588ms 83ms 12 18 1s354ms 75ms 13 15 1s318ms 87ms 14 19 1s721ms 90ms 15 7 522ms 74ms 16 3 241ms 80ms 17 2 160ms 80ms [ User: developer - Total duration: 32s49ms - Times executed: 373 ]
[ Application: [unknown] - Total duration: 32s49ms - Times executed: 373 ]
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:48:00 Duration: 159ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:00:02 Duration: 156ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:30:51 Duration: 155ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 31s749ms 125,161 0ms 29ms 0ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 28 00 286 152ms 0ms 06 119 3ms 0ms 07 1,541 170ms 0ms 08 3,032 766ms 0ms 09 12,284 2s792ms 0ms 10 17,965 4s673ms 0ms 11 7,968 2s37ms 0ms 12 2,361 585ms 0ms 13 9,292 2s321ms 0ms 14 16,794 4s702ms 0ms 15 21,220 6s17ms 0ms 16 11,670 3s398ms 0ms 17 1,529 373ms 0ms 20 3,168 705ms 0ms 21 7,552 1s956ms 0ms 22 5,564 807ms 0ms 23 2,816 284ms 0ms [ User: developer - Total duration: 31s749ms - Times executed: 125161 ]
[ Application: [unknown] - Total duration: 31s749ms - Times executed: 125161 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:21:18 Duration: 29ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:00:01 Duration: 22ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:58:26 Duration: 14ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
19 28s826ms 2 14s91ms 14s735ms 14s413ms select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) and p.prokind != ? union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oi[...];Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 28 10 2 28s826ms 14s413ms [ User: developer - Total duration: 28s826ms - Times executed: 2 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 28s826ms - Times executed: 2 ]
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];
Date: 2022-03-28 10:53:09 Duration: 14s735ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];
Date: 2022-03-28 10:53:32 Duration: 14s91ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
20 27s743ms 5 4s942ms 6s488ms 5s548ms select c.oid, n.nspname as schemaname, c.relname as viewname, c.relacl, pg_get_userbyid(c.relowner) as viewowner, obj_description(c.oid) as description, pg_get_viewdef(c.oid, true) as definition, c.reloptions as options from pg_class c left join pg_namespace n on c.relnamespace = n.oid where c.relkind = ?::"char" and n.nspname = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 28 09 2 10s403ms 5s201ms 13 2 12s398ms 6s199ms 15 1 4s942ms 4s942ms [ User: developer - Total duration: 27s743ms - Times executed: 5 ]
[ Application: Navicat - Total duration: 27s743ms - Times executed: 5 ]
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 13:43:55 Duration: 6s488ms Database: db_rsbri_running User: developer Application: Navicat
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 13:44:02 Duration: 5s910ms Database: db_rsbri_simulasi User: developer Application: Navicat
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 09:39:41 Duration: 5s213ms Database: db_rskt_running User: developer Application: Navicat
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 660,708 1m14s 0ms 20ms 0ms set names ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 28 00 5,253 549ms 0ms 01 120 13ms 0ms 02 146 13ms 0ms 03 120 11ms 0ms 04 120 11ms 0ms 05 120 11ms 0ms 06 736 70ms 0ms 07 24,437 2s523ms 0ms 08 39,472 4s158ms 0ms 09 71,681 8s195ms 0ms 10 91,528 10s693ms 0ms 11 66,932 7s715ms 0ms 12 33,949 3s680ms 0ms 13 48,960 5s489ms 0ms 14 67,547 7s908ms 0ms 15 76,339 8s575ms 0ms 16 52,722 6s169ms 0ms 17 12,679 1s459ms 0ms 18 5,705 607ms 0ms 19 11,569 1s352ms 0ms 20 13,530 1s577ms 0ms 21 16,937 1s901ms 0ms 22 12,699 1s396ms 0ms 23 7,407 812ms 0ms [ User: developer - Total duration: 1m14s - Times executed: 660708 ]
[ Application: [unknown] - Total duration: 1m14s - Times executed: 660708 ]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:30:55 Duration: 20ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:38:56 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 15:09:46 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
2 632,671 12m6s 0ms 961ms 1ms select a.attname, lower(format_type(a.atttypid, a.atttypmod)) as type, pg_get_expr(adbin, adrelid) as adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) as comment from pg_attribute a left join pg_attrdef d on a.attrelid = d.adrelid and a.attnum = d.adnum where a.attnum > ? and not a.attisdropped and a.attrelid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?)) order by a.attnum;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 28 00 4,329 4s405ms 1ms 01 60 61ms 1ms 02 179 166ms 0ms 03 60 62ms 1ms 04 60 59ms 0ms 05 60 62ms 1ms 06 1,943 1s987ms 1ms 07 45,360 42s463ms 0ms 08 44,220 48s285ms 1ms 09 72,017 1m31s 1ms 10 96,128 2m2s 1ms 11 55,066 1m5s 1ms 12 30,850 33s740ms 1ms 13 41,548 48s943ms 1ms 14 64,390 1m20s 1ms 15 66,351 1m18s 1ms 16 37,309 41s610ms 1ms 17 10,938 10s199ms 0ms 18 6,446 4s754ms 0ms 19 9,172 8s343ms 0ms 20 12,987 13s182ms 1ms 21 14,427 14s498ms 1ms 22 11,375 10s264ms 0ms 23 7,396 6s62ms 0ms [ User: developer - Total duration: 12m6s - Times executed: 632671 ]
[ Application: [unknown] - Total duration: 12m6s - Times executed: 632671 ]
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'ruangan_m' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 09:39:41 Duration: 961ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 10:22:10 Duration: 201ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 08:36:14 Duration: 146ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
3 631,909 3m42s 0ms 38ms 0ms select conname, consrc, contype, indkey from ( select conname, pg_catalog.pg_get_constraintdef(oid) as consrc, contype, conrelid as relid, null as indkey from pg_catalog.pg_constraint where contype in (...) union all select pc.relname, null, case when indisprimary then ? else ? end, pi.indrelid, indkey from pg_catalog.pg_class pc, pg_catalog.pg_index pi where pc.oid = pi.indexrelid and exists ( select ? from pg_catalog.pg_depend d join pg_catalog.pg_constraint c on (d.refclassid = c.tableoid and d.refobjid = c.oid) where d.classid = pc.tableoid and d.objid = pc.oid and d.deptype = ? and c.contype in (...))) as sub where relid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?));Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 28 00 4,329 1s288ms 0ms 01 60 19ms 0ms 02 179 46ms 0ms 03 60 19ms 0ms 04 60 18ms 0ms 05 60 18ms 0ms 06 1,943 523ms 0ms 07 45,323 13s621ms 0ms 08 44,220 14s23ms 0ms 09 71,998 25s969ms 0ms 10 96,088 35s728ms 0ms 11 54,918 20s618ms 0ms 12 30,755 10s381ms 0ms 13 41,435 15s476ms 0ms 14 64,359 24s324ms 0ms 15 66,133 24s248ms 0ms 16 37,248 13s123ms 0ms 17 10,938 3s482ms 0ms 18 6,446 1s784ms 0ms 19 9,172 2s990ms 0ms 20 12,987 4s149ms 0ms 21 14,427 4s630ms 0ms 22 11,375 3s436ms 0ms 23 7,396 2s189ms 0ms [ User: developer - Total duration: 3m42s - Times executed: 631909 ]
[ Application: [unknown] - Total duration: 3m42s - Times executed: 631909 ]
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 15:38:30 Duration: 38ms Database: db_rsnu_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'kelompokmenu_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 09:19:57 Duration: 38ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 11:40:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
4 621,654 25s193ms 0ms 13ms 0ms select attnum, attname from pg_catalog.pg_attribute where attrelid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?)) and attnum in (...);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 28 00 4,298 155ms 0ms 01 60 1ms 0ms 02 179 5ms 0ms 03 60 1ms 0ms 04 60 1ms 0ms 05 60 1ms 0ms 06 1,943 63ms 0ms 07 44,317 1s667ms 0ms 08 43,418 1s606ms 0ms 09 70,149 2s994ms 0ms 10 93,984 4s165ms 0ms 11 54,392 2s280ms 0ms 12 30,392 1s179ms 0ms 13 40,976 1s699ms 0ms 14 62,864 2s779ms 0ms 15 65,137 2s605ms 0ms 16 36,976 1s409ms 0ms 17 10,912 408ms 0ms 18 6,444 215ms 0ms 19 9,172 329ms 0ms 20 12,869 486ms 0ms 21 14,265 489ms 0ms 22 11,337 383ms 0ms 23 7,390 260ms 0ms [ User: developer - Total duration: 25s193ms - Times executed: 621654 ]
[ Application: [unknown] - Total duration: 25s193ms - Times executed: 621654 ]
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'notifikasi_r' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) AND attnum IN (1);
Date: 2022-03-28 10:46:09 Duration: 13ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'modul_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) AND attnum IN (1);
Date: 2022-03-28 15:11:30 Duration: 12ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'menumodul_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) AND attnum IN (1);
Date: 2022-03-28 12:09:00 Duration: 11ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
5 311,324 6m16s 0ms 1s444ms 1ms update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 28 00 2,527 2s154ms 0ms 01 60 48ms 0ms 02 70 52ms 0ms 03 60 45ms 0ms 04 60 44ms 0ms 05 60 44ms 0ms 06 262 200ms 0ms 07 10,249 9s329ms 0ms 08 18,202 19s614ms 1ms 09 34,305 40s743ms 1ms 10 43,522 51s150ms 1ms 11 32,072 36s752ms 1ms 12 15,996 15s549ms 0ms 13 23,380 27s658ms 1ms 14 31,819 44s890ms 1ms 15 36,638 48s788ms 1ms 16 25,427 33s991ms 1ms 17 5,809 7s293ms 1ms 18 2,360 1s805ms 0ms 19 5,302 4s425ms 0ms 20 6,176 7s407ms 1ms 21 7,939 11s728ms 1ms 22 5,821 7s509ms 1ms 23 3,208 5s316ms 1ms [ User: developer - Total duration: 6m16s - Times executed: 311324 ]
[ Application: [unknown] - Total duration: 6m16s - Times executed: 311324 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '452', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 1s444ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 867ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '62', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 16:07:13' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 16:07:14 Duration: 176ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
6 297,101 22s844ms 0ms 17ms 0ms select * from chat where (chat_to = ? and chat_recd = ?) order by chat_sent asc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 28 00 2,431 123ms 0ms 01 60 2ms 0ms 02 64 3ms 0ms 03 60 2ms 0ms 04 60 2ms 0ms 05 60 2ms 0ms 06 227 14ms 0ms 07 9,435 694ms 0ms 08 17,310 1s254ms 0ms 09 31,996 2s522ms 0ms 10 40,273 3s217ms 0ms 11 30,312 2s324ms 0ms 12 15,394 1s12ms 0ms 13 22,731 1s736ms 0ms 14 31,337 2s503ms 0ms 15 35,189 2s840ms 0ms 16 24,015 1s855ms 0ms 17 5,745 390ms 0ms 18 2,343 143ms 0ms 19 5,302 413ms 0ms 20 6,040 497ms 0ms 21 7,809 625ms 0ms 22 5,717 399ms 0ms 23 3,191 260ms 0ms [ User: developer - Total duration: 22s844ms - Times executed: 297101 ]
[ Application: [unknown] - Total duration: 22s844ms - Times executed: 297101 ]
-
SELECT * FROM chat WHERE (chat_to = 'alifiacitra' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:20:03 Duration: 17ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:01:16 Duration: 13ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:07:16 Duration: 13ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
7 295,497 19m38s 0ms 87ms 3ms select count(nofitikasi_id) as total from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and (pegawai_id is null or pegawai_id in (...));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 28 00 2,474 5s335ms 2ms 01 60 168ms 2ms 02 66 172ms 2ms 03 60 167ms 2ms 04 60 161ms 2ms 05 60 165ms 2ms 06 236 328ms 1ms 07 9,700 44s139ms 4ms 08 17,505 1m25s 4ms 09 32,229 2m15s 4ms 10 40,751 3m13s 4ms 11 30,270 2m26s 4ms 12 14,291 1m48s 7ms 13 22,765 2m8s 5ms 14 31,498 2m4s 3ms 15 34,261 1m24s 2ms 16 23,070 56s812ms 2ms 17 5,642 18s18ms 3ms 18 2,349 7s300ms 3ms 19 5,302 18s24ms 3ms 20 6,070 11s799ms 1ms 21 7,838 5s418ms 0ms 22 5,743 2s611ms 0ms 23 3,197 1s914ms 0ms [ User: developer - Total duration: 19m38s - Times executed: 295497 ]
[ Application: [unknown] - Total duration: 19m38s - Times executed: 295497 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 494 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1203));
Date: 2022-03-28 10:58:46 Duration: 87ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1188));
Date: 2022-03-28 09:17:37 Duration: 80ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1233));
Date: 2022-03-28 10:40:01 Duration: 77ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
8 200,391 10s565ms 0ms 12ms 0ms select "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" from "pegawai_m" "pegawai" where ("pegawai"."pegawai_id" = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 28 00 2,696 146ms 0ms 02 221 9ms 0ms 06 934 38ms 0ms 07 17,224 866ms 0ms 08 18,496 921ms 0ms 09 34,652 1s917ms 0ms 10 42,362 2s277ms 0ms 11 14,282 768ms 0ms 12 10,052 519ms 0ms 13 9,996 522ms 0ms 14 20,240 1s144ms 0ms 15 16,344 816ms 0ms 16 8,343 418ms 0ms 17 839 40ms 0ms 18 316 13ms 0ms 20 1,277 60ms 0ms 21 1,081 43ms 0ms 22 850 32ms 0ms 23 186 8ms 0ms [ User: developer - Total duration: 10s565ms - Times executed: 200391 ]
[ Application: [unknown] - Total duration: 10s565ms - Times executed: 200391 ]
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = '1475');
Date: 2022-03-28 09:42:45 Duration: 12ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = '1139');
Date: 2022-03-28 09:27:16 Duration: 9ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = '1441');
Date: 2022-03-28 14:54:51 Duration: 8ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
9 178,053 630ms 0ms 2ms 0ms begin;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 28 00 7,396 26ms 0ms 01 7,380 23ms 0ms 02 7,380 22ms 0ms 03 7,380 22ms 0ms 04 7,380 23ms 0ms 05 7,380 23ms 0ms 06 7,381 24ms 0ms 07 7,477 28ms 0ms 08 7,455 25ms 0ms 09 7,494 27ms 0ms 10 7,615 32ms 0ms 11 7,428 30ms 0ms 12 7,404 26ms 0ms 13 7,414 27ms 0ms 14 7,475 30ms 0ms 15 7,524 28ms 0ms 16 7,409 26ms 0ms 17 7,385 26ms 0ms 18 7,380 24ms 0ms 19 7,380 26ms 0ms 20 7,381 27ms 0ms 21 7,387 25ms 0ms 22 7,388 24ms 0ms 23 7,380 25ms 0ms [ User: developer - Total duration: 630ms - Times executed: 178053 ]
[ Application: [unknown] - Total duration: 630ms - Times executed: 178050 ]
[ Application: pgAdmin 4 - CONN:5387573 - Total duration: 0ms - Times executed: 2 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 0ms - Times executed: 1 ]
-
BEGIN;
Date: 2022-03-28 11:29:59 Duration: 2ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
-
BEGIN;
Date: 2022-03-28 10:56:19 Duration: 2ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
-
BEGIN;
Date: 2022-03-28 17:05:42 Duration: 1ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
10 177,956 3s420ms 0ms 128ms 0ms commit;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 28 00 7,383 85ms 0ms 01 7,380 66ms 0ms 02 7,380 67ms 0ms 03 7,380 66ms 0ms 04 7,380 67ms 0ms 05 7,380 67ms 0ms 06 7,381 68ms 0ms 07 7,474 193ms 0ms 08 7,446 172ms 0ms 09 7,484 264ms 0ms 10 7,593 609ms 0ms 11 7,418 261ms 0ms 12 7,404 140ms 0ms 13 7,407 129ms 0ms 14 7,470 254ms 0ms 15 7,508 263ms 0ms 16 7,409 119ms 0ms 17 7,384 74ms 0ms 18 7,380 67ms 0ms 19 7,380 72ms 0ms 20 7,381 81ms 0ms 21 7,386 83ms 0ms 22 7,388 73ms 0ms 23 7,380 69ms 0ms [ User: developer - Total duration: 3s420ms - Times executed: 177956 ]
[ Application: [unknown] - Total duration: 3s420ms - Times executed: 177956 ]
-
COMMIT;
Date: 2022-03-28 11:51:14 Duration: 128ms Database: db_rskt_running User: developer Application: [unknown]
-
COMMIT;
Date: 2022-03-28 10:54:14 Duration: 88ms Database: db_rskt_running User: developer Application: [unknown]
-
COMMIT;
Date: 2022-03-28 10:38:14 Duration: 67ms Database: db_rsih_simulasi User: developer Application: [unknown]
11 172,780 3s149ms 0ms 9ms 0ms select distinct t0_st.pk from study t0_st, series t1_s where ((t1_s.pps_iuid is null and t1_s.src_aet = ? and t0_st.updated_time < ?)) and t0_st.pk = t1_s.study_fk;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 28 00 7,190 139ms 0ms 01 7,200 118ms 0ms 02 7,200 119ms 0ms 03 7,200 116ms 0ms 04 7,200 117ms 0ms 05 7,200 119ms 0ms 06 7,200 118ms 0ms 07 7,200 125ms 0ms 08 7,200 127ms 0ms 09 7,200 145ms 0ms 10 7,200 146ms 0ms 11 7,200 150ms 0ms 12 7,190 140ms 0ms 13 7,200 139ms 0ms 14 7,200 149ms 0ms 15 7,200 158ms 0ms 16 7,200 138ms 0ms 17 7,200 127ms 0ms 18 7,200 118ms 0ms 19 7,200 127ms 0ms 20 7,200 134ms 0ms 21 7,200 129ms 0ms 22 7,200 118ms 0ms 23 7,200 122ms 0ms [ User: developer - Total duration: 3s149ms - Times executed: 172780 ]
[ Application: [unknown] - Total duration: 3s149ms - Times executed: 172780 ]
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = 'FCR-CSL' AND t0_st.updated_time < '2022-03-28 00:07:00.001')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-28 00:07:05 Duration: 9ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = 'STORESCP2' AND t0_st.updated_time < '2022-03-28 15:57:07.032')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-28 15:57:12 Duration: 9ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = 'magic' AND t0_st.updated_time < '2022-03-28 15:18:51.65')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-28 15:18:56 Duration: 8ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
12 149,504 15m3s 0ms 75ms 6ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 28 00 2,189 3s258ms 1ms 01 60 132ms 2ms 02 66 132ms 2ms 03 60 137ms 2ms 04 60 126ms 2ms 05 60 135ms 2ms 06 117 255ms 2ms 07 7,449 30s881ms 4ms 08 12,597 1m7s 5ms 09 17,317 1m47s 6ms 10 20,324 2m32s 7ms 11 20,590 1m55s 5ms 12 10,412 1m34s 9ms 13 10,846 1m46s 9ms 14 11,222 1m34s 8ms 15 10,723 54s786ms 5ms 16 9,909 36s30ms 3ms 17 4,104 13s147ms 3ms 18 2,349 5s118ms 2ms 19 5,302 12s117ms 2ms 20 2,902 6s895ms 2ms 21 286 798ms 2ms 22 179 517ms 2ms 23 381 984ms 2ms [ User: developer - Total duration: 15m3s - Times executed: 149504 ]
[ Application: [unknown] - Total duration: 15m3s - Times executed: 149504 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:32:09 Duration: 75ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1188)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:19:48 Duration: 72ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:20:31 Duration: 71ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 144,210 3s570ms 0ms 8ms 0ms select * from "ruangan_m" "t" where "t"."ruangan_id" = ? limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 28 00 2,825 65ms 0ms 02 231 4ms 0ms 06 926 17ms 0ms 07 16,608 374ms 0ms 08 13,187 290ms 0ms 09 17,568 448ms 0ms 10 28,913 748ms 0ms 11 9,661 246ms 0ms 12 5,065 125ms 0ms 13 5,921 147ms 0ms 14 17,694 490ms 0ms 15 13,395 322ms 0ms 16 7,582 183ms 0ms 17 844 19ms 0ms 18 334 6ms 0ms 20 1,127 32ms 0ms 21 1,268 26ms 0ms 22 870 17ms 0ms 23 191 4ms 0ms [ User: developer - Total duration: 3s570ms - Times executed: 144210 ]
[ Application: [unknown] - Total duration: 3s570ms - Times executed: 144210 ]
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 7 LIMIT 1;
Date: 2022-03-28 14:02:44 Duration: 8ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 2 LIMIT 1;
Date: 2022-03-28 14:23:54 Duration: 7ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 226 LIMIT 1;
Date: 2022-03-28 10:50:00 Duration: 7ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
14 139,742 37s672ms 0ms 30ms 0ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 28 00 286 144ms 0ms 06 119 1ms 0ms 07 2,251 286ms 0ms 08 3,130 750ms 0ms 09 13,728 3s263ms 0ms 10 19,220 5s62ms 0ms 11 9,127 2s736ms 0ms 12 3,879 988ms 0ms 13 11,919 3s320ms 0ms 14 19,918 6s183ms 0ms 15 23,538 7s121ms 0ms 16 11,989 3s738ms 0ms 17 1,538 399ms 0ms 20 3,168 746ms 0ms 21 7,552 1s957ms 0ms 22 5,564 727ms 0ms 23 2,816 243ms 0ms [ User: developer - Total duration: 37s672ms - Times executed: 139742 ]
[ Application: [unknown] - Total duration: 37s672ms - Times executed: 139742 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:04:48 Duration: 30ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:20:01 Duration: 24ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (70)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:34:11 Duration: 21ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
15 125,161 31s749ms 0ms 29ms 0ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 28 00 286 152ms 0ms 06 119 3ms 0ms 07 1,541 170ms 0ms 08 3,032 766ms 0ms 09 12,284 2s792ms 0ms 10 17,965 4s673ms 0ms 11 7,968 2s37ms 0ms 12 2,361 585ms 0ms 13 9,292 2s321ms 0ms 14 16,794 4s702ms 0ms 15 21,220 6s17ms 0ms 16 11,670 3s398ms 0ms 17 1,529 373ms 0ms 20 3,168 705ms 0ms 21 7,552 1s956ms 0ms 22 5,564 807ms 0ms 23 2,816 284ms 0ms [ User: developer - Total duration: 31s749ms - Times executed: 125161 ]
[ Application: [unknown] - Total duration: 31s749ms - Times executed: 125161 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:21:18 Duration: 29ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:00:01 Duration: 22ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:58:26 Duration: 14ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
16 107,687 3s54ms 0ms 7ms 0ms select * from chat where ((chat_to = ? and chat_from = ?) or (chat_to = ? and chat_from = ?)) order by chat_sent desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 28 00 2,576 67ms 0ms 02 112 2ms 0ms 06 344 8ms 0ms 07 13,443 361ms 0ms 08 11,007 277ms 0ms 09 12,293 366ms 0ms 10 20,119 614ms 0ms 11 7,559 206ms 0ms 12 3,926 107ms 0ms 13 5,042 147ms 0ms 14 11,763 334ms 0ms 15 9,630 287ms 0ms 16 6,257 168ms 0ms 17 656 19ms 0ms 18 338 7ms 0ms 20 969 31ms 0ms 21 948 24ms 0ms 22 546 17ms 0ms 23 159 4ms 0ms [ User: developer - Total duration: 3s54ms - Times executed: 107687 ]
[ Application: [unknown] - Total duration: 3s54ms - Times executed: 107687 ]
-
SELECT * FROM chat WHERE ((chat_to = 'sysadmin' AND chat_from = 'ajengwulandari') or (chat_to = 'ajengwulandari' AND chat_from = 'sysadmin')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-28 10:11:16 Duration: 7ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE ((chat_to = 'sysadmin' AND chat_from = 'rusnanto') or (chat_to = 'rusnanto' AND chat_from = 'sysadmin')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-28 15:18:40 Duration: 6ms Database: db_rsnu_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE ((chat_to = 'achmadirvan' AND chat_from = 'aan') or (chat_to = 'aan' AND chat_from = 'achmadirvan')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-28 16:05:02 Duration: 4ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
17 91,911 12m41s 0ms 112ms 8ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 28 00 2,128 3s342ms 1ms 02 6 4ms 0ms 07 5,631 26s522ms 4ms 08 7,098 54s643ms 7ms 09 8,723 1m25s 9ms 10 11,671 2m9s 11ms 11 11,035 1m30s 8ms 12 7,570 1m28s 11ms 13 8,582 1m40s 11ms 14 7,440 1m25s 11ms 15 7,457 46s481ms 6ms 16 5,763 25s343ms 4ms 17 1,811 7s716ms 4ms 18 1,018 2s340ms 2ms 19 3,982 9s551ms 2ms 20 1,710 4s256ms 2ms 21 166 544ms 3ms 22 60 255ms 4ms 23 60 259ms 4ms [ User: developer - Total duration: 12m41s - Times executed: 91911 ]
[ Application: [unknown] - Total duration: 12m41s - Times executed: 91911 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 13:25:02 Duration: 112ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:24:01 Duration: 101ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 08:30:01 Duration: 86ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 78,090 1s381ms 0ms 11ms 0ms select "gelarbelakang"."gelarbelakang_id" AS "t1_c0", "gelarbelakang"."gelarbelakang_nama" AS "t1_c1", "gelarbelakang"."gelarbelakang_namalainnya" AS "t1_c2", "gelarbelakang"."gelarbelakang_aktif" AS "t1_c3" from "gelarbelakang_m" "gelarbelakang" where ("gelarbelakang"."gelarbelakang_id" = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 28 00 49 0ms 0ms 02 925 11ms 0ms 06 385 4ms 0ms 07 1,922 28ms 0ms 08 3,550 61ms 0ms 09 9,788 181ms 0ms 10 15,093 298ms 0ms 11 5,369 100ms 0ms 12 2,742 52ms 0ms 13 3,615 67ms 0ms 14 10,883 207ms 0ms 15 20,911 322ms 0ms 16 1,113 18ms 0ms 17 309 4ms 0ms 18 4 0ms 0ms 20 380 5ms 0ms 21 613 8ms 0ms 22 430 5ms 0ms 23 9 0ms 0ms [ User: developer - Total duration: 1s381ms - Times executed: 78090 ]
[ Application: [unknown] - Total duration: 1s381ms - Times executed: 78090 ]
-
SELECT "gelarbelakang"."gelarbelakang_id" AS "t1_c0", "gelarbelakang"."gelarbelakang_nama" AS "t1_c1", "gelarbelakang"."gelarbelakang_namalainnya" AS "t1_c2", "gelarbelakang"."gelarbelakang_aktif" AS "t1_c3" FROM "gelarbelakang_m" "gelarbelakang" WHERE ("gelarbelakang"."gelarbelakang_id" = '26');
Date: 2022-03-28 10:38:35 Duration: 11ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT "gelarbelakang"."gelarbelakang_id" AS "t1_c0", "gelarbelakang"."gelarbelakang_nama" AS "t1_c1", "gelarbelakang"."gelarbelakang_namalainnya" AS "t1_c2", "gelarbelakang"."gelarbelakang_aktif" AS "t1_c3" FROM "gelarbelakang_m" "gelarbelakang" WHERE ("gelarbelakang"."gelarbelakang_id" = '35');
Date: 2022-03-28 10:58:56 Duration: 4ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT "gelarbelakang"."gelarbelakang_id" AS "t1_c0", "gelarbelakang"."gelarbelakang_nama" AS "t1_c1", "gelarbelakang"."gelarbelakang_namalainnya" AS "t1_c2", "gelarbelakang"."gelarbelakang_aktif" AS "t1_c3" FROM "gelarbelakang_m" "gelarbelakang" WHERE ("gelarbelakang"."gelarbelakang_id" = '75');
Date: 2022-03-28 14:58:13 Duration: 4ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
19 57,592 2m33s 1ms 33ms 2ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) between ? and ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 28 00 60 139ms 2ms 01 60 133ms 2ms 02 60 127ms 2ms 03 60 135ms 2ms 04 60 130ms 2ms 05 60 138ms 2ms 06 117 256ms 2ms 07 1,818 4s375ms 2ms 08 5,500 13s962ms 2ms 09 8,594 23s346ms 2ms 10 8,652 24s935ms 2ms 11 9,555 26s259ms 2ms 12 2,842 7s43ms 2ms 13 2,264 6s50ms 2ms 14 3,782 10s731ms 2ms 15 3,267 8s666ms 2ms 16 4,145 10s799ms 2ms 17 2,293 5s522ms 2ms 18 1,331 3s1ms 2ms 19 1,320 3s205ms 2ms 20 1,192 2s982ms 2ms 21 120 276ms 2ms 22 119 270ms 2ms 23 321 742ms 2ms [ User: developer - Total duration: 2m33s - Times executed: 57592 ]
[ Application: [unknown] - Total duration: 2m33s - Times executed: 57592 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:58 Duration: 33ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:52:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:31:47 Duration: 28ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
20 41,681 3s954ms 0ms 11ms 0ms select * from "kelompokmenu_k" "t" where kelmenu_aktif = ? order by kelmenu_urutan;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 28 00 291 23ms 0ms 02 5 0ms 0ms 06 196 14ms 0ms 07 4,572 406ms 0ms 08 3,368 300ms 0ms 09 3,955 386ms 0ms 10 5,396 558ms 0ms 11 3,277 318ms 0ms 12 2,204 202ms 0ms 13 2,519 250ms 0ms 14 3,535 368ms 0ms 15 3,264 329ms 0ms 16 1,855 169ms 0ms 17 1,025 89ms 0ms 18 971 83ms 0ms 19 964 86ms 0ms 20 1,156 109ms 0ms 21 1,101 88ms 0ms 22 1,052 89ms 0ms 23 975 76ms 0ms [ User: developer - Total duration: 3s954ms - Times executed: 41681 ]
[ Application: [unknown] - Total duration: 3s954ms - Times executed: 41681 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = 't' ORDER BY kelmenu_urutan;
Date: 2022-03-28 15:12:07 Duration: 11ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = 't' ORDER BY kelmenu_urutan;
Date: 2022-03-28 10:18:53 Duration: 8ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = 't' ORDER BY kelmenu_urutan;
Date: 2022-03-28 10:34:59 Duration: 8ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 14s91ms 14s735ms 14s413ms 2 28s826ms select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) and p.prokind != ? union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oi[...];Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 28 10 2 28s826ms 14s413ms [ User: developer - Total duration: 28s826ms - Times executed: 2 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 28s826ms - Times executed: 2 ]
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];
Date: 2022-03-28 10:53:09 Duration: 14s735ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) AND p.prokind != 'a' UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oi[...];
Date: 2022-03-28 10:53:32 Duration: 14s91ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
2 9s545ms 10s984ms 10s253ms 4 41s12ms select obj_type, obj_name, pg_catalog.replace(obj_path, ? || sn.schema_name || ?, ? || case sn.schema_name when ? then ? when ? then ? when ? then ? else sn.schema_name end || ?) as obj_path, schema_name, show_node, other_info, case when sn.schema_name in (...) then case when case when sn.schema_name = any (?) then false else true end then ? else ? end else ? end as catalog_level from ( select case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when c.relkind = ? then ? when c.relkind = ? then ? when c.relkind = ? then ? else ? end || c.oid || ? || c.relname as obj_path, n.nspname as schema_name, case when c.relkind = ? then true when c.relkind = ? then true when c.relkind = ? then true else false end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relkind in (...) then case when n.nspname = any (?) then false else true end else true end union select case when c.relispartition then ? else ? end::text as obj_type, c.relname as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select c.oid as oid, ? as height, c.relkind, case c.relispartition when true then ? else ? end || c.oid || ? || c.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || c.oid || ? || c.relname end as path from table_path_data order by height desc limit ?) obj_path, n.nspname as schema_name, case when c.relispartition then true else true end as show_node, null as other_info from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in (...) and case when c.relispartition then case when n.nspname = any (?) then false else true end else true end union select ?::text as obj_type, cls.relname as obj_name, ? || n.oid || ? || n.nspname || ? || case when tab.relkind = ? then ? || tab.oid || ? || ? || tab.relname when tab.relkind in (...) then ( with recursive table_path_data as ( select tab.oid as oid, ? as height, tab.relkind, case tab.relispartition when true then ? else ? end || tab.oid || ? || tab.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || tab.oid || ? || tab.relname end as path from table_path_data order by height desc limit ?) end || ? || cls.oid || ? || cls.relname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_index idx join pg_catalog.pg_class cls on cls.oid = indexrelid join pg_catalog.pg_class tab on tab.oid = indrelid join pg_catalog.pg_namespace n on n.oid = tab.relnamespace left join pg_catalog.pg_depend dep on (dep.classid = cls.tableoid and dep.objid = cls.oid and dep.refobjsubid = ? and dep.refclassid = ( select oid from pg_catalog.pg_class where relname = ?) and dep.deptype = ?) left outer join pg_catalog.pg_constraint con on (con.tableoid = dep.refclassid and con.oid = dep.refobjid) left outer join pg_catalog.pg_description des on des.objoid = cls.oid left outer join pg_catalog.pg_description desp on (desp.objoid = con.oid and desp.objsubid = ?) where contype is null and case when n.nspname = any (?) then false else true end union select case when t.typname in (...) then ? when p.prokind = ? then ? else ? end::text as obj_type, p.proname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.typname in (...) then ? when p.prokind = ? then ? else ? end || p.oid || ? || p.proname as obj_path, n.nspname as schema_name, case when t.typname in (...) then true when p.prokind = ? then true else true end as show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) as other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng on lng.oid = p.prolang where p.prokind in (...) and case when t.typname in (...) then lng.lanname not in (...) else true end and ( case when n.nspname = any (?) then false else true end) union select ?::text as obj_type, evtname as obj_name, ? || oid || ? || evtname as obj_path, ?::text as schema_name, true as show_node, null as other_info from pg_catalog.pg_event_trigger union select ?::text as obj_type, n.nspname as obj_name, ? || n.oid || ? || n.nspname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_namespace n where case when n.nspname = any (?) then false else true end union select ?::text as obj_type, a.attname as obj_name, ? || n.oid || ? || n.nspname || ? || case when t.relkind in (...) then ? when t.relkind = ? then ? when t.relkind = ? then ? else ? end || t.oid || ? || t.relname || ? || a.attnum || ? || a.attname as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in (...) left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > ? and not t.relispartition union select case when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? when c.contype = ? then ? end::text as obj_type, case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_name, ? || n.oid || ? || n.nspname || ? || ( with recursive table_path_data as ( select t.oid as oid, ? as height, t.relkind, case t.relispartition when true then ? else ? end || t.oid || ? || t.relname as path union select rel.oid, pt.height + ? as height, rel.relkind, case rel.relispartition when true then ? else ? end || rel.oid || ? || rel.relname || ? || pt.path as path from pg_catalog.pg_class rel join pg_catalog.pg_namespace nsp on rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh on inh.inhparent = rel.oid join table_path_data pt on inh.inhrelid = pt.oid ) select case when relkind = ? then path else ? || t.oid || ? || t.relname end as path from table_path_data order by height desc limit ?) || case when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.oid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid when c.contype = ? then ? || c.conindid end || ? || case when tf.relname is null then c.conname else c.conname || ? || tf.relname end as obj_path, n.nspname as schema_name, true as show_node, null as other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = ? and c.contype in (...) and case when n.nspname = any (?) then false else true end union select ?::text as obj_type, r.rulename as obj_name, ? || n.oid || ? || n.nspname |[...];Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 28 21 4 41s12ms 10s253ms [ User: developer - Total duration: 41s12ms - Times executed: 4 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 41s12ms - Times executed: 4 ]
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:30:34 Duration: 10s984ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:48:36 Duration: 10s823ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
SELECT obj_type, obj_name, pg_catalog.REPLACE(obj_path, '/' || sn.schema_name || '/', '/' || CASE sn.schema_name WHEN 'pg_catalog' THEN 'PostgreSQL Catalog (pg_catalog)' WHEN 'pgagent' THEN 'pgAgent Job Scheduler (pgagent)' WHEN 'information_schema' THEN 'ANSI (information_schema)' ELSE sn.schema_name END || '/') AS obj_path, schema_name, show_node, other_info, CASE WHEN sn.schema_name IN ('pg_catalog', 'pgagent', 'information_schema') THEN CASE WHEN CASE WHEN sn.schema_name = ANY ('{information_schema}') THEN false ELSE true END THEN 'D' ELSE 'O' END ELSE 'N' END AS catalog_level FROM ( SELECT CASE WHEN c.relkind = 'S' THEN 'sequence' WHEN c.relkind = 'v' THEN 'view' WHEN c.relkind = 'm' THEN 'mview' ELSE 'should not happen' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN c.relkind = 'S' THEN ':sequence.' WHEN c.relkind = 'v' THEN ':view.' WHEN c.relkind = 'm' THEN ':mview.' ELSE 'should not happen' END || c.oid || ':/' || c.relname AS obj_path, n.nspname AS schema_name, CASE WHEN c.relkind = 'S' THEN True WHEN c.relkind = 'v' THEN True WHEN c.relkind = 'm' THEN True ELSE False END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('S', 'v', 'm') AND CASE WHEN c.relkind in ('S', 'm') THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT CASE WHEN c.relispartition THEN 'partition' ELSE 'table' END::text AS obj_type, c.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select c.oid as oid, 0 as height, c.relkind, CASE c.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || c.oid || ':/' || c.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || c.oid || ':/' || c.relname END AS path from table_path_data order by height desc limit 1) obj_path, n.nspname AS schema_name, CASE WHEN c.relispartition THEN True ELSE True END AS show_node, NULL AS other_info FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind in ('p', 'r', 't') AND CASE WHEN c.relispartition THEN CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END ELSE true END UNION SELECT 'index'::text AS obj_type, cls.relname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case when tab.relkind = 'm' then ':mview.' || tab.oid || ':' || '/' || tab.relname WHEN tab.relkind in ('r', 't', 'p') THEN ( WITH RECURSIVE table_path_data as ( select tab.oid as oid, 0 as height, tab.relkind, CASE tab.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || tab.oid || ':/' || tab.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || tab.oid || ':/' || tab.relname END AS path from table_path_data order by height desc limit 1) end || '/:index.' || cls.oid || ':/' || cls.relname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info FROM pg_catalog.pg_index idx JOIN pg_catalog.pg_class cls ON cls.oid = indexrelid JOIN pg_catalog.pg_class tab ON tab.oid = indrelid JOIN pg_catalog.pg_namespace n ON n.oid = tab.relnamespace LEFT JOIN pg_catalog.pg_depend dep ON (dep.classid = cls.tableoid AND dep.objid = cls.oid AND dep.refobjsubid = '0' AND dep.refclassid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pg_constraint') AND dep.deptype = 'i') LEFT OUTER JOIN pg_catalog.pg_constraint con ON (con.tableoid = dep.refclassid AND con.oid = dep.refobjid) LEFT OUTER JOIN pg_catalog.pg_description des ON des.objoid = cls.oid LEFT OUTER JOIN pg_catalog.pg_description desp ON (desp.objoid = con.oid AND desp.objsubid = 0) WHERE contype IS NULL AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION SELECT CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN 'trigger_function' WHEN p.prokind = 'p' THEN 'procedure' ELSE 'function' END::text AS obj_type, p.proname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN ':trigger_function.' WHEN p.prokind = 'p' THEN ':procedure.' ELSE ':function.' END || p.oid || ':/' || p.proname AS obj_path, n.nspname AS schema_name, CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN True WHEN p.prokind = 'p' THEN True ELSE True END AS show_node, pg_catalog.pg_get_function_identity_arguments(p.oid) AS other_info from pg_catalog.pg_proc p join pg_catalog.pg_namespace n on p.pronamespace = n.oid join pg_catalog.pg_type t on p.prorettype = t.oid join pg_catalog.pg_language lng ON lng.oid = p.prolang WHERE p.prokind IN ('f', 'w', 'p') AND CASE WHEN t.typname IN ('trigger', 'event_trigger') THEN lng.lanname NOT IN ('edbspl', 'sql', 'internal') ELSE true END AND ( CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END) UNION select 'event_trigger'::text AS obj_type, evtname AS obj_name, ':event_trigger.' || oid || ':/' || evtname AS obj_path, ''::text AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_event_trigger UNION select 'schema'::text AS obj_type, n.nspname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname as obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_namespace n where CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'column'::text AS obj_type, a.attname AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || case WHEN t.relkind in ('r', 't', 'p') THEN ':table.' WHEN t.relkind = 'v' THEN ':view.' WHEN t.relkind = 'm' THEN ':mview.' else 'should not happen' end || t.oid || ':/' || t.relname || '/:column.' || a.attnum || ':/' || a.attname AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_attribute a inner join pg_catalog.pg_class t on a.attrelid = t.oid and t.relkind in ('r', 't', 'p', 'v', 'm') left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where a.attnum > 0 and not t.relispartition UNION SELECT CASE WHEN c.contype = 'c' THEN 'check_constraint' WHEN c.contype = 'f' THEN 'foreign_key' WHEN c.contype = 'p' THEN 'primary_key' WHEN c.contype = 'u' THEN 'unique_constraint' WHEN c.contype = 'x' THEN 'exclusion_constraint' END::text AS obj_type, case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_name, ':schema.' || n.oid || ':/' || n.nspname || '/' || ( WITH RECURSIVE table_path_data as ( select t.oid as oid, 0 as height, t.relkind, CASE t.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || t.oid || ':/' || t.relname as path union select rel.oid, pt.height + 1 as height, rel.relkind, CASE rel.relispartition WHEN true THEN ':partition.' ELSE ':table.' END || rel.oid || ':/' || rel.relname || '/' || pt.path as path from pg_catalog.pg_class rel JOIN pg_catalog.pg_namespace nsp ON rel.relnamespace = nsp.oid join pg_catalog.pg_inherits inh ON inh.inhparent = rel.oid join table_path_data pt ON inh.inhrelid = pt.oid ) select CASE WHEN relkind = 'p' THEN path ELSE ':table.' || t.oid || ':/' || t.relname END AS path from table_path_data order by height desc limit 1) || CASE WHEN c.contype = 'c' THEN '/:check_constraint.' || c.oid WHEN c.contype = 'f' THEN '/:foreign_key.' || c.oid WHEN c.contype = 'p' THEN '/:primary_key.' || c.conindid WHEN c.contype = 'u' THEN '/:unique_constraint.' || c.conindid WHEN c.contype = 'x' THEN '/:exclusion_constraint.' || c.conindid END || ':/' || case when tf.relname is null then c.conname else c.conname || ' -> ' || tf.relname end AS obj_path, n.nspname AS schema_name, True AS show_node, NULL AS other_info from pg_catalog.pg_constraint c left join pg_catalog.pg_class t on c.conrelid = t.oid left join pg_catalog.pg_class tf on c.confrelid = tf.oid left join pg_catalog.pg_namespace n on t.relnamespace = n.oid where c.contypid = 0 AND c.contype IN ('c', 'f', 'p', 'u', 'x') AND CASE WHEN n.nspname = ANY ('{information_schema}') THEN false ELSE true END UNION select 'rule'::text AS obj_type, r.rulename AS obj_name, ':schema.' || n.oid || ':/' || n.nspname |[...];
Date: 2022-03-28 21:54:47 Duration: 9s659ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
3 4s942ms 6s488ms 5s548ms 5 27s743ms select c.oid, n.nspname as schemaname, c.relname as viewname, c.relacl, pg_get_userbyid(c.relowner) as viewowner, obj_description(c.oid) as description, pg_get_viewdef(c.oid, true) as definition, c.reloptions as options from pg_class c left join pg_namespace n on c.relnamespace = n.oid where c.relkind = ?::"char" and n.nspname = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 28 09 2 10s403ms 5s201ms 13 2 12s398ms 6s199ms 15 1 4s942ms 4s942ms [ User: developer - Total duration: 27s743ms - Times executed: 5 ]
[ Application: Navicat - Total duration: 27s743ms - Times executed: 5 ]
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 13:43:55 Duration: 6s488ms Database: db_rsbri_running User: developer Application: Navicat
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 13:44:02 Duration: 5s910ms Database: db_rsbri_simulasi User: developer Application: Navicat
-
SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public';
Date: 2022-03-28 09:39:41 Duration: 5s213ms Database: db_rskt_running User: developer Application: Navicat
4 2s319ms 3s581ms 2s819ms 53 2m29s select c.relname AS "Name", case c.relkind when ? then ? when ? then ? else ? end AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, ?) AS "Comment", ? AS "Oid", c.reltuples AS "Rows", n.nspname from pg_class c join pg_namespace n on (n.nspname = current_schema() and n.oid = c.relnamespace) where relkind in (...) order by relname;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 28 11 11 31s731ms 2s884ms 13 9 25s691ms 2s854ms 15 33 1m31s 2s787ms [ User: developer - Total duration: 2m29s - Times executed: 53 ]
[ Application: Adminer - Total duration: 2m29s - Times executed: 53 ]
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 11:30:08 Duration: 3s581ms Database: db_rsih_simulasi User: developer Application: Adminer
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 15:00:00 Duration: 3s420ms Database: db_rsih_simulasi User: developer Application: Adminer
-
SELECT c.relname AS "Name", CASE c.relkind WHEN 'r' THEN 'table' WHEN 'm' THEN 'materialized view' ELSE 'view' END AS "Engine", pg_relation_size(c.oid) AS "Data_length", pg_total_relation_size(c.oid) - pg_relation_size(c.oid) AS "Index_length", obj_description(c.oid, 'pg_class') AS "Comment", '' AS "Oid", c.reltuples as "Rows", n.nspname FROM pg_class c JOIN pg_namespace n ON (n.nspname = current_schema() AND n.oid = c.relnamespace) WHERE relkind IN ('r', 'm', 'v', 'f', 'p') ORDER BY relname;
Date: 2022-03-28 15:45:01 Duration: 3s405ms Database: db_rsih_running User: developer Application: Adminer
5 223ms 4s521ms 581ms 148 1m26s select * from "reportbugs_r" "t" where "t"."link_bugs" = ? and "t"."kodebugs" = ? and "t"."type_bugs" = ? limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 28 08 1 3s288ms 3s288ms 10 22 15s639ms 710ms 11 4 6s198ms 1s549ms 13 4 6s454ms 1s613ms 14 2 8s417ms 4s208ms 16 108 40s764ms 377ms 18 7 5s280ms 754ms [ User: developer - Total duration: 1m26s - Times executed: 148 ]
[ Application: [unknown] - Total duration: 1m26s - Times executed: 148 ]
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648439067845' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 11:02:44 Duration: 4s521ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=persalinan/laporanSurveilansPS/UpdateGrafik' AND "t"."kodebugs" = '404' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 14:58:16 Duration: 4s463ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648432026921' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-28 10:30:25 Duration: 4s97ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
6 18ms 159ms 85ms 373 32s49ms select count(*) from "pasien_m" "t" left join kecamatan_m on t.kecamatan_id = kecamatan_m.kecamatan_id left join kelurahan_m on t.kelurahan_id = kelurahan_m.kelurahan_id where (lower(statusrekammedis) = ?) and (ispasienluar = false);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 28 07 63 4s857ms 77ms 08 52 4s489ms 86ms 09 57 5s130ms 90ms 10 94 8s664ms 92ms 11 43 3s588ms 83ms 12 18 1s354ms 75ms 13 15 1s318ms 87ms 14 19 1s721ms 90ms 15 7 522ms 74ms 16 3 241ms 80ms 17 2 160ms 80ms [ User: developer - Total duration: 32s49ms - Times executed: 373 ]
[ Application: [unknown] - Total duration: 32s49ms - Times executed: 373 ]
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:48:00 Duration: 159ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:00:02 Duration: 156ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT COUNT(*) FROM "pasien_m" "t" LEFT JOIN kecamatan_m ON t.kecamatan_id = kecamatan_m.kecamatan_id LEFT JOIN kelurahan_m ON t.kelurahan_id = kelurahan_m.kelurahan_id WHERE (LOWER(statusrekammedis) = 'aktif') AND (ispasienluar = FALSE);
Date: 2022-03-28 10:30:51 Duration: 155ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
7 5ms 77ms 18ms 35,011 10m35s select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select count(*) from pg_catalog.pg_stat_activity where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Total", ( select count(*) from pg_catalog.pg_stat_activity where state = ? and datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Active", ( select count(*) from pg_catalog.pg_stat_activity where state = ? and datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Idle") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(xact_commit) + sum(xact_rollback) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Transactions", ( select sum(xact_commit) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Commits", ( select sum(xact_rollback) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Rollbacks") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(tup_inserted) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Inserts", ( select sum(tup_updated) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Updates", ( select sum(tup_deleted) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Deletes") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(tup_fetched) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Fetched", ( select sum(tup_returned) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Returned") t union all select ? as chart_name, pg_catalog.row_to_json(t) as chart_data from ( select ( select sum(blks_read) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Reads", ( select sum(blks_hit) from pg_catalog.pg_stat_database where datname = ( select datname from pg_catalog.pg_database where oid = ?)) AS "Hits") t;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 28 07 1,767 32s249ms 18ms 08 2,037 38s405ms 18ms 09 1,732 32s736ms 18ms 10 2,105 41s487ms 19ms 11 1,619 31s825ms 19ms 12 123 2s670ms 21ms 13 2,951 59s554ms 20ms 14 6,376 1m55s 18ms 15 6,758 1m51s 16ms 16 4,011 1m9s 17ms 17 27 499ms 18ms 20 35 656ms 18ms 21 1,833 33s235ms 18ms 22 3,231 58s149ms 17ms 23 406 7s257ms 17ms [ User: developer - Total duration: 10m35s - Times executed: 35011 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 6m5s - Times executed: 21219 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 4m4s - Times executed: 12546 ]
[ Application: pgAdmin 4 - DB:db_rsih_simulasi - Total duration: 16s966ms - Times executed: 827 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 8s765ms - Times executed: 419 ]
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1449886)) AS "Hits") t;
Date: 2022-03-28 09:19:01 Duration: 77ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Hits") t;
Date: 2022-03-28 16:03:59 Duration: 76ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
-
/*pga4dash*/ SELECT 'session_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Idle") t UNION ALL SELECT 'tps_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(xact_commit) + sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Rollbacks") t UNION ALL SELECT 'ti_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_inserted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Deletes") t UNION ALL SELECT 'to_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(tup_fetched) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Returned") t UNION ALL SELECT 'bio_stats' AS chart_name, pg_catalog.row_to_json(t) AS chart_data FROM ( SELECT ( SELECT sum(blks_read) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 72326)) AS "Hits") t;
Date: 2022-03-28 14:41:30 Duration: 72ms Database: db_ihospital User: developer Application: pgAdmin 4 - DB:db_ihospital
8 9ms 59ms 15ms 3,952 59s571ms select count(nofitikasi_id) as total from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and (pegawai_id is null or pegawai_id in (null));Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 28 11 207 3s230ms 15ms 12 1,196 17s658ms 14ms 13 81 1s156ms 14ms 14 68 1s184ms 17ms 15 1,199 18s697ms 15ms 16 1,079 15s864ms 14ms 17 122 1s779ms 14ms [ User: developer - Total duration: 59s571ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 59s571ms - Times executed: 3952 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 16:04:20 Duration: 59ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 16:00:55 Duration: 55ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-28 15:00:15 Duration: 52ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
9 9ms 74ms 14ms 3,952 57s13ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (null)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 28 11 207 3s26ms 14ms 12 1,196 16s897ms 14ms 13 81 1s133ms 13ms 14 68 1s60ms 15ms 15 1,199 18s74ms 15ms 16 1,079 15s95ms 13ms 17 122 1s724ms 14ms [ User: developer - Total duration: 57s13ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 57s13ms - Times executed: 3952 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:00:15 Duration: 74ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:07:53 Duration: 64ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:59 Duration: 52ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
10 9ms 58ms 14ms 3,952 55s919ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (null)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 28 11 207 2s987ms 14ms 12 1,196 16s589ms 13ms 13 81 1s98ms 13ms 14 68 1s41ms 15ms 15 1,199 17s642ms 14ms 16 1,079 14s853ms 13ms 17 122 1s705ms 13ms [ User: developer - Total duration: 55s919ms - Times executed: 3952 ]
[ Application: [unknown] - Total duration: 55s919ms - Times executed: 3952 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:08:21 Duration: 58ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:59 Duration: 51ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:27:03 Duration: 50ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
11 0ms 112ms 8ms 91,911 12m41s select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 28 00 2,128 3s342ms 1ms 02 6 4ms 0ms 07 5,631 26s522ms 4ms 08 7,098 54s643ms 7ms 09 8,723 1m25s 9ms 10 11,671 2m9s 11ms 11 11,035 1m30s 8ms 12 7,570 1m28s 11ms 13 8,582 1m40s 11ms 14 7,440 1m25s 11ms 15 7,457 46s481ms 6ms 16 5,763 25s343ms 4ms 17 1,811 7s716ms 4ms 18 1,018 2s340ms 2ms 19 3,982 9s551ms 2ms 20 1,710 4s256ms 2ms 21 166 544ms 3ms 22 60 255ms 4ms 23 60 259ms 4ms [ User: developer - Total duration: 12m41s - Times executed: 91911 ]
[ Application: [unknown] - Total duration: 12m41s - Times executed: 91911 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 13:25:02 Duration: 112ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 446 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:24:01 Duration: 101ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 08:30:01 Duration: 86ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
12 0ms 75ms 6ms 149,504 15m3s select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 28 00 2,189 3s258ms 1ms 01 60 132ms 2ms 02 66 132ms 2ms 03 60 137ms 2ms 04 60 126ms 2ms 05 60 135ms 2ms 06 117 255ms 2ms 07 7,449 30s881ms 4ms 08 12,597 1m7s 5ms 09 17,317 1m47s 6ms 10 20,324 2m32s 7ms 11 20,590 1m55s 5ms 12 10,412 1m34s 9ms 13 10,846 1m46s 9ms 14 11,222 1m34s 8ms 15 10,723 54s786ms 5ms 16 9,909 36s30ms 3ms 17 4,104 13s147ms 3ms 18 2,349 5s118ms 2ms 19 5,302 12s117ms 2ms 20 2,902 6s895ms 2ms 21 286 798ms 2ms 22 179 517ms 2ms 23 381 984ms 2ms [ User: developer - Total duration: 15m3s - Times executed: 149504 ]
[ Application: [unknown] - Total duration: 15m3s - Times executed: 149504 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1419)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:32:09 Duration: 75ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1188)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:19:48 Duration: 72ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 471 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:20:31 Duration: 71ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 0ms 87ms 3ms 295,497 19m38s select count(nofitikasi_id) as total from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and (pegawai_id is null or pegawai_id in (...));Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 28 00 2,474 5s335ms 2ms 01 60 168ms 2ms 02 66 172ms 2ms 03 60 167ms 2ms 04 60 161ms 2ms 05 60 165ms 2ms 06 236 328ms 1ms 07 9,700 44s139ms 4ms 08 17,505 1m25s 4ms 09 32,229 2m15s 4ms 10 40,751 3m13s 4ms 11 30,270 2m26s 4ms 12 14,291 1m48s 7ms 13 22,765 2m8s 5ms 14 31,498 2m4s 3ms 15 34,261 1m24s 2ms 16 23,070 56s812ms 2ms 17 5,642 18s18ms 3ms 18 2,349 7s300ms 3ms 19 5,302 18s24ms 3ms 20 6,070 11s799ms 1ms 21 7,838 5s418ms 0ms 22 5,743 2s611ms 0ms 23 3,197 1s914ms 0ms [ User: developer - Total duration: 19m38s - Times executed: 295497 ]
[ Application: [unknown] - Total duration: 19m38s - Times executed: 295497 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 494 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1203));
Date: 2022-03-28 10:58:46 Duration: 87ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1188));
Date: 2022-03-28 09:17:37 Duration: 80ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1233));
Date: 2022-03-28 10:40:01 Duration: 77ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
14 1ms 33ms 2ms 57,592 2m33s select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) between ? and ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 28 00 60 139ms 2ms 01 60 133ms 2ms 02 60 127ms 2ms 03 60 135ms 2ms 04 60 130ms 2ms 05 60 138ms 2ms 06 117 256ms 2ms 07 1,818 4s375ms 2ms 08 5,500 13s962ms 2ms 09 8,594 23s346ms 2ms 10 8,652 24s935ms 2ms 11 9,555 26s259ms 2ms 12 2,842 7s43ms 2ms 13 2,264 6s50ms 2ms 14 3,782 10s731ms 2ms 15 3,267 8s666ms 2ms 16 4,145 10s799ms 2ms 17 2,293 5s522ms 2ms 18 1,331 3s1ms 2ms 19 1,320 3s205ms 2ms 20 1,192 2s982ms 2ms 21 120 276ms 2ms 22 119 270ms 2ms 23 321 742ms 2ms [ User: developer - Total duration: 2m33s - Times executed: 57592 ]
[ Application: [unknown] - Total duration: 2m33s - Times executed: 57592 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:03:58 Duration: 33ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:52:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE isread = false AND instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) between '2022-03-28' AND '2022-03-29' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:31:47 Duration: 28ms Database: db_rskt_simulasi User: developer Application: [unknown] Bind query: yes
15 0ms 1s444ms 1ms 311,324 6m16s update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 28 00 2,527 2s154ms 0ms 01 60 48ms 0ms 02 70 52ms 0ms 03 60 45ms 0ms 04 60 44ms 0ms 05 60 44ms 0ms 06 262 200ms 0ms 07 10,249 9s329ms 0ms 08 18,202 19s614ms 1ms 09 34,305 40s743ms 1ms 10 43,522 51s150ms 1ms 11 32,072 36s752ms 1ms 12 15,996 15s549ms 0ms 13 23,380 27s658ms 1ms 14 31,819 44s890ms 1ms 15 36,638 48s788ms 1ms 16 25,427 33s991ms 1ms 17 5,809 7s293ms 1ms 18 2,360 1s805ms 0ms 19 5,302 4s425ms 0ms 20 6,176 7s407ms 1ms 21 7,939 11s728ms 1ms 22 5,821 7s509ms 1ms 23 3,208 5s316ms 1ms [ User: developer - Total duration: 6m16s - Times executed: 311324 ]
[ Application: [unknown] - Total duration: 6m16s - Times executed: 311324 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '452', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 1s444ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 09:39:40' WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 09:39:41 Duration: 867ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '62', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-28 16:07:13' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 16:07:14 Duration: 176ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
16 0ms 961ms 1ms 632,671 12m6s select a.attname, lower(format_type(a.atttypid, a.atttypmod)) as type, pg_get_expr(adbin, adrelid) as adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) as comment from pg_attribute a left join pg_attrdef d on a.attrelid = d.adrelid and a.attnum = d.adnum where a.attnum > ? and not a.attisdropped and a.attrelid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?)) order by a.attnum;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 28 00 4,329 4s405ms 1ms 01 60 61ms 1ms 02 179 166ms 0ms 03 60 62ms 1ms 04 60 59ms 0ms 05 60 62ms 1ms 06 1,943 1s987ms 1ms 07 45,360 42s463ms 0ms 08 44,220 48s285ms 1ms 09 72,017 1m31s 1ms 10 96,128 2m2s 1ms 11 55,066 1m5s 1ms 12 30,850 33s740ms 1ms 13 41,548 48s943ms 1ms 14 64,390 1m20s 1ms 15 66,351 1m18s 1ms 16 37,309 41s610ms 1ms 17 10,938 10s199ms 0ms 18 6,446 4s754ms 0ms 19 9,172 8s343ms 0ms 20 12,987 13s182ms 1ms 21 14,427 14s498ms 1ms 22 11,375 10s264ms 0ms 23 7,396 6s62ms 0ms [ User: developer - Total duration: 12m6s - Times executed: 632671 ]
[ Application: [unknown] - Total duration: 12m6s - Times executed: 632671 ]
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'ruangan_m' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 09:39:41 Duration: 961ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 10:22:10 Duration: 201ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, pg_get_expr(adbin, adrelid) AS adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'pemeriksaanfisik_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) ORDER BY a.attnum;
Date: 2022-03-28 08:36:14 Duration: 146ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
17 0ms 38ms 0ms 631,909 3m42s select conname, consrc, contype, indkey from ( select conname, pg_catalog.pg_get_constraintdef(oid) as consrc, contype, conrelid as relid, null as indkey from pg_catalog.pg_constraint where contype in (...) union all select pc.relname, null, case when indisprimary then ? else ? end, pi.indrelid, indkey from pg_catalog.pg_class pc, pg_catalog.pg_index pi where pc.oid = pi.indexrelid and exists ( select ? from pg_catalog.pg_depend d join pg_catalog.pg_constraint c on (d.refclassid = c.tableoid and d.refobjid = c.oid) where d.classid = pc.tableoid and d.objid = pc.oid and d.deptype = ? and c.contype in (...))) as sub where relid = ( select oid from pg_catalog.pg_class where relname = ? and relnamespace = ( select oid from pg_catalog.pg_namespace where nspname = ?));Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 28 00 4,329 1s288ms 0ms 01 60 19ms 0ms 02 179 46ms 0ms 03 60 19ms 0ms 04 60 18ms 0ms 05 60 18ms 0ms 06 1,943 523ms 0ms 07 45,323 13s621ms 0ms 08 44,220 14s23ms 0ms 09 71,998 25s969ms 0ms 10 96,088 35s728ms 0ms 11 54,918 20s618ms 0ms 12 30,755 10s381ms 0ms 13 41,435 15s476ms 0ms 14 64,359 24s324ms 0ms 15 66,133 24s248ms 0ms 16 37,248 13s123ms 0ms 17 10,938 3s482ms 0ms 18 6,446 1s784ms 0ms 19 9,172 2s990ms 0ms 20 12,987 4s149ms 0ms 21 14,427 4s630ms 0ms 22 11,375 3s436ms 0ms 23 7,396 2s189ms 0ms [ User: developer - Total duration: 3m42s - Times executed: 631909 ]
[ Application: [unknown] - Total duration: 3m42s - Times executed: 631909 ]
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 15:38:30 Duration: 38ms Database: db_rsnu_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'kelompokmenu_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 09:19:57 Duration: 38ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT conname, consrc, contype, indkey FROM ( SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid = pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p'))) AS sub WHERE relid = ( SELECT oid FROM pg_catalog.pg_class WHERE relname = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-28 11:40:01 Duration: 28ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 0ms 30ms 0ms 139,742 37s672ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 28 00 286 144ms 0ms 06 119 1ms 0ms 07 2,251 286ms 0ms 08 3,130 750ms 0ms 09 13,728 3s263ms 0ms 10 19,220 5s62ms 0ms 11 9,127 2s736ms 0ms 12 3,879 988ms 0ms 13 11,919 3s320ms 0ms 14 19,918 6s183ms 0ms 15 23,538 7s121ms 0ms 16 11,989 3s738ms 0ms 17 1,538 399ms 0ms 20 3,168 746ms 0ms 21 7,552 1s957ms 0ms 22 5,564 727ms 0ms 23 2,816 243ms 0ms [ User: developer - Total duration: 37s672ms - Times executed: 139742 ]
[ Application: [unknown] - Total duration: 37s672ms - Times executed: 139742 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:04:48 Duration: 30ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 15:20:01 Duration: 24ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (70)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 16:34:11 Duration: 21ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
19 0ms 29ms 0ms 125,161 31s749ms select isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi from notifikasi_r where isread = false and instalasi_id = ? and create_ruangan = ? and modul_id = ? and date(tglnotifikasi) = ? and (pegawai_id is null or pegawai_id in (...)) order by tglnotifikasi desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 28 00 286 152ms 0ms 06 119 3ms 0ms 07 1,541 170ms 0ms 08 3,032 766ms 0ms 09 12,284 2s792ms 0ms 10 17,965 4s673ms 0ms 11 7,968 2s37ms 0ms 12 2,361 585ms 0ms 13 9,292 2s321ms 0ms 14 16,794 4s702ms 0ms 15 21,220 6s17ms 0ms 16 11,670 3s398ms 0ms 17 1,529 373ms 0ms 20 3,168 705ms 0ms 21 7,552 1s956ms 0ms 22 5,564 807ms 0ms 23 2,816 284ms 0ms [ User: developer - Total duration: 31s749ms - Times executed: 125161 ]
[ Application: [unknown] - Total duration: 31s749ms - Times executed: 125161 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 14:21:18 Duration: 29ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 11:00:01 Duration: 22ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 353 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-28' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-28 10:58:26 Duration: 14ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
20 0ms 20ms 0ms 660,708 1m14s set names ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 28 00 5,253 549ms 0ms 01 120 13ms 0ms 02 146 13ms 0ms 03 120 11ms 0ms 04 120 11ms 0ms 05 120 11ms 0ms 06 736 70ms 0ms 07 24,437 2s523ms 0ms 08 39,472 4s158ms 0ms 09 71,681 8s195ms 0ms 10 91,528 10s693ms 0ms 11 66,932 7s715ms 0ms 12 33,949 3s680ms 0ms 13 48,960 5s489ms 0ms 14 67,547 7s908ms 0ms 15 76,339 8s575ms 0ms 16 52,722 6s169ms 0ms 17 12,679 1s459ms 0ms 18 5,705 607ms 0ms 19 11,569 1s352ms 0ms 20 13,530 1s577ms 0ms 21 16,937 1s901ms 0ms 22 12,699 1s396ms 0ms 23 7,407 812ms 0ms [ User: developer - Total duration: 1m14s - Times executed: 660708 ]
[ Application: [unknown] - Total duration: 1m14s - Times executed: 660708 ]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:30:55 Duration: 20ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 11:38:56 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-28 15:09:46 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 12m2s 1,369,123 0ms 38ms 0ms SELECT ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Mar 28 03 126 69ms 0ms 04 120 68ms 0ms 05 120 70ms 0ms 06 122 71ms 0ms 07 124 74ms 0ms 08 132 77ms 0ms 09 5,186 2s290ms 0ms 10 1,740 1s54ms 0ms 11 692 431ms 0ms 12 448 275ms 0ms 13 154 94ms 0ms 14 2,832 1s172ms 0ms 15 3,754 1s462ms 0ms 16 5,992 2s374ms 0ms 17 15,806 6s654ms 0ms 18 16,862 8s334ms 0ms 19 16,300 10s152ms 0ms 20 4,876 3s255ms 0ms 21 1,058 603ms 0ms 22 12,100 6s550ms 0ms 23 15,994 8s647ms 0ms Mar 28 00 8,658 4s422ms 0ms 01 120 69ms 0ms 02 358 132ms 0ms 03 120 69ms 0ms 04 120 66ms 0ms 05 120 69ms 0ms 06 3,886 1s305ms 0ms 07 90,683 36s294ms 0ms 08 88,440 41s598ms 0ms 09 144,015 1m16s 0ms 10 192,217 1m44s 0ms 11 109,984 1m4s 0ms 12 61,605 32s71ms 0ms 13 82,983 47s419ms 0ms 14 128,749 1m11s 0ms 15 132,487 1m11s 0ms 16 74,557 43s437ms 0ms 17 21,876 11s457ms 0ms 18 12,892 5s893ms 0ms 19 18,344 9s899ms 0ms 20 25,975 13s398ms 0ms 21 28,854 14s671ms 0ms 22 22,750 11s107ms 0ms 23 14,792 7s253ms 0ms [ User: developer - Total duration: 17m1s - Times executed: 1369123 ]
[ Application: [unknown] - Total duration: 17m1s - Times executed: 1369123 ]
-
SELECT ;
Date: 2022-03-28 16:04:05 Duration: 38ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT ;
Date: 2022-03-28 14:15:16 Duration: 33ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT ;
Date: 2022-03-28 16:10:00 Duration: 32ms Database: postgres User: db_rskt_running Remote: developer
2 9m45s 1,018,779 0ms 48ms 0ms ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 1 0ms 0ms 03 174 86ms 0ms 04 180 91ms 0ms 05 180 92ms 0ms 06 180 89ms 0ms 07 180 96ms 0ms 08 180 94ms 0ms 09 3,479 1s716ms 0ms 10 2,441 1s251ms 0ms 11 990 508ms 0ms 12 672 346ms 0ms 13 231 118ms 0ms 14 348 193ms 0ms 15 200 107ms 0ms 16 1,008 526ms 0ms 17 7,613 4s255ms 0ms 18 16,141 8s663ms 0ms 19 22,145 12s850ms 0ms 20 7,120 4s209ms 0ms 21 1,333 682ms 0ms 22 14,848 7s514ms 0ms 23 18,456 9s476ms 0ms 00 7,520 3s992ms 0ms 01 180 97ms 0ms 02 206 103ms 0ms 03 180 96ms 0ms 04 180 92ms 0ms 05 180 95ms 0ms 06 758 363ms 0ms 07 29,759 16s114ms 0ms 08 53,411 30s20ms 0ms 09 100,572 1m 0ms 10 127,679 1m17s 0ms 11 94,777 58s269ms 0ms 12 47,177 27s93ms 0ms 13 68,947 40s824ms 0ms 14 95,451 58s273ms 0ms 15 108,712 1m 0ms 16 75,879 41s628ms 0ms 17 17,338 9s553ms 0ms 18 7,059 3s729ms 0ms 19 15,906 9s4ms 0ms 20 18,285 9s875ms 0ms 21 23,608 11s578ms 0ms 22 17,310 8s259ms 0ms 23 9,605 4s558ms 0ms [ User: developer - Total duration: 59m33s - Times executed: 1018779 ]
[ Application: [unknown] - Total duration: 59m33s - Times executed: 1018779 ]
-
;
Date: 2022-03-28 10:22:00 Duration: 48ms Database: postgres User: db_rskt_simulasi Remote: developer
-
;
Date: 2022-03-28 09:21:07 Duration: 32ms Database: postgres User: db_rskt_running Remote: developer
-
;
Date: 2022-03-28 09:09:54 Duration: 31ms Database: postgres User: db_rsrib_running Remote: developer
3 3m19s 132,374 0ms 31ms 1ms SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 09 1,076 1s406ms 1ms 10 747 986ms 1ms 11 270 357ms 1ms 12 164 219ms 1ms 13 17 22ms 1ms 14 49 66ms 1ms 15 5 6ms 1ms 16 280 387ms 1ms 17 1,536 2s246ms 1ms 18 2,144 3s115ms 1ms 19 3,448 5s436ms 1ms 20 1,084 1s747ms 1ms 22 1,008 1s379ms 1ms 23 1,157 1s619ms 1ms 00 287 409ms 1ms 06 113 150ms 1ms 07 2,206 3s207ms 1ms 08 4,531 6s496ms 1ms 09 9,075 14s320ms 1ms 10 12,203 19s553ms 1ms 11 8,615 13s660ms 1ms 12 4,775 6s877ms 1ms 13 12,099 18s597ms 1ms 14 15,020 24s89ms 1ms 15 16,811 25s428ms 1ms 16 11,656 17s273ms 1ms 17 1,786 2s553ms 1ms 18 302 418ms 1ms 19 983 1s472ms 1ms 20 3,186 4s522ms 1ms 21 7,500 10s290ms 1ms 22 5,430 7s251ms 1ms 23 2,811 3s733ms 1ms [ User: developer - Total duration: 10s951ms - Times executed: 132374 ]
[ Application: [unknown] - Total duration: 10s951ms - Times executed: 132374 ]
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 15:26:35 Duration: 31ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 09:41:48 Duration: 28ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:55:07 Duration: 24ms Database: postgres User: db_rsih_simulasi Remote: developer
4 1m50s 219,310 0ms 17ms 0ms SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 14 177 90ms 0ms 15 20 11ms 0ms 16 790 366ms 0ms 17 4,352 1s931ms 0ms 18 4,776 2s104ms 0ms 19 2,183 1s110ms 0ms 20 101 47ms 0ms 21 111 52ms 0ms 22 1,432 630ms 0ms 23 4,953 2s273ms 0ms 00 2,696 1s314ms 0ms 02 221 89ms 0ms 06 934 408ms 0ms 07 17,228 8s111ms 0ms 08 18,496 8s683ms 0ms 09 34,653 18s62ms 0ms 10 42,366 22s697ms 0ms 11 14,291 7s392ms 0ms 12 10,053 4s943ms 0ms 13 9,996 5s38ms 0ms 14 20,242 10s789ms 0ms 15 16,346 8s90ms 0ms 16 8,343 4s105ms 0ms 17 839 421ms 0ms 18 316 129ms 0ms 20 1,277 646ms 0ms 21 1,082 504ms 0ms 22 850 388ms 0ms 23 186 89ms 0ms [ User: developer - Total duration: 11s472ms - Times executed: 219310 ]
[ Application: [unknown] - Total duration: 11s472ms - Times executed: 219310 ]
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 15:31:48 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 11:39:03 Duration: 16ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 15:10:31 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
5 1m47s 673,411 0ms 40ms 0ms SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 03 63 9ms 0ms 04 60 8ms 0ms 05 60 8ms 0ms 06 61 9ms 0ms 07 62 9ms 0ms 08 66 10ms 0ms 09 2,509 324ms 0ms 10 867 137ms 0ms 11 346 56ms 0ms 12 224 36ms 0ms 13 77 12ms 0ms 14 1,416 177ms 0ms 15 1,876 221ms 0ms 16 2,991 358ms 0ms 17 7,700 1s3ms 0ms 18 8,327 1s175ms 0ms 19 8,112 1s369ms 0ms 20 2,437 443ms 0ms 21 528 78ms 0ms 22 6,041 878ms 0ms 23 7,934 1s196ms 0ms 00 4,298 639ms 0ms 01 60 9ms 0ms 02 179 19ms 0ms 03 60 9ms 0ms 04 60 8ms 0ms 05 60 8ms 0ms 06 1,943 213ms 0ms 07 44,317 5s819ms 0ms 08 43,418 6s181ms 0ms 09 70,149 11s679ms 0ms 10 93,984 15s982ms 0ms 11 54,392 9s379ms 0ms 12 30,392 4s715ms 0ms 13 40,976 6s958ms 0ms 14 62,864 10s929ms 0ms 15 65,137 10s600ms 0ms 16 36,976 5s986ms 0ms 17 10,912 1s649ms 0ms 18 6,444 828ms 0ms 19 9,172 1s389ms 0ms 20 12,869 1s959ms 0ms 21 14,265 2s80ms 0ms 22 11,337 1s569ms 0ms 23 7,390 1s10ms 0ms [ User: developer - Total duration: 26s990ms - Times executed: 673411 ]
[ Application: [unknown] - Total duration: 26s990ms - Times executed: 673411 ]
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 11:07:59 Duration: 40ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 10:52:21 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 15:38:41 Duration: 15ms Database: postgres User: db_rskt_simulasi Remote: developer
6 1m9s 47,973 0ms 27ms 1ms SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 18 2,027 2s553ms 1ms 19 3,503 4s840ms 1ms 20 1,226 1s712ms 1ms 21 382 495ms 1ms 22 3,518 4s455ms 1ms 23 3,500 4s520ms 1ms 00 2,084 2s785ms 1ms 07 83 114ms 1ms 08 1,128 1s718ms 1ms 09 3,116 4s837ms 1ms 10 3,503 5s666ms 1ms 11 5,518 8s547ms 1ms 12 2,272 3s416ms 1ms 13 3,030 4s872ms 1ms 14 3,810 6s62ms 1ms 15 2,000 2s959ms 1ms 16 2,110 3s10ms 1ms 17 1,491 1s968ms 1ms 18 1,200 1s480ms 1ms 19 1,200 1s617ms 1ms 20 1,072 1s480ms 1ms 23 200 254ms 1ms [ User: developer - Total duration: 2s655ms - Times executed: 47973 ]
[ Application: [unknown] - Total duration: 2s655ms - Times executed: 47973 ]
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 16:12:01 Duration: 27ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:00:02 Duration: 22ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:57:00 Duration: 18ms Database: postgres User: db_rskt_running Remote: developer
7 50s560ms 32,798 0ms 33ms 1ms SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 09 6,969 10s785ms 1ms 10 10,313 16s388ms 1ms 11 2,639 4s69ms 1ms 14 4,741 7s361ms 1ms 15 5,795 8s536ms 1ms 16 2,201 3s213ms 1ms 17 140 204ms 1ms [ User: developer - Total duration: 2s767ms - Times executed: 32798 ]
[ Application: [unknown] - Total duration: 2s767ms - Times executed: 32798 ]
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 16:04:22 Duration: 33ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:31:01 Duration: 21ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:24:46 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer
8 44s679ms 31,145 0ms 24ms 1ms SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 16 25 31ms 1ms 17 798 1s45ms 1ms 18 1,032 1s312ms 1ms 19 341 475ms 1ms 22 322 397ms 1ms 23 1,357 1s717ms 1ms 02 4 4ms 1ms 08 1,600 2s240ms 1ms 09 3,758 5s554ms 1ms 10 3,321 5s84ms 1ms 11 4,452 6s925ms 1ms 13 107 162ms 1ms 14 1,132 1s753ms 1ms 15 3,221 4s596ms 1ms 16 3,353 4s817ms 1ms 17 1,025 1s422ms 1ms 18 650 799ms 1ms 19 2,939 3s988ms 1ms 20 1,602 2s190ms 1ms 21 106 156ms 1ms [ User: developer - Total duration: 2s937ms - Times executed: 31145 ]
[ Application: [unknown] - Total duration: 2s937ms - Times executed: 31145 ]
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 09:17:16 Duration: 24ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:00:05 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 16:31:53 Duration: 16ms Database: postgres User: db_rskt_running Remote: developer
9 20s925ms 14,690 0ms 22ms 1ms SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 07 2,069 2s785ms 1ms 08 2,398 3s270ms 1ms 09 2,212 3s212ms 1ms 10 2,446 3s646ms 1ms 11 1,883 2s766ms 1ms 12 1,362 1s885ms 1ms 13 1,587 2s305ms 1ms 14 192 304ms 1ms 15 362 512ms 1ms 16 155 204ms 1ms 17 24 32ms 1ms [ User: developer - Total duration: 1s440ms - Times executed: 14690 ]
[ Application: [unknown] - Total duration: 1s440ms - Times executed: 14690 ]
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 07:55:21 Duration: 22ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:52:53 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 07:43:56 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
10 19s136ms 44,310 0ms 25ms 0ms SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 03 1 0ms 0ms 09 155 54ms 0ms 10 4 1ms 0ms 14 262 102ms 0ms 15 435 160ms 0ms 16 506 188ms 0ms 17 678 263ms 0ms 18 322 119ms 0ms 19 64 26ms 0ms 20 5 1ms 0ms 21 4 1ms 0ms 22 81 28ms 0ms 23 178 68ms 0ms 00 290 116ms 0ms 02 5 1ms 0ms 06 196 68ms 0ms 07 4,571 1s875ms 0ms 08 3,366 1s404ms 0ms 09 3,949 1s836ms 0ms 10 5,393 2s478ms 0ms 11 3,274 1s477ms 0ms 12 2,202 955ms 0ms 13 2,514 1s155ms 0ms 14 3,535 1s678ms 0ms 15 3,261 1s417ms 0ms 16 1,822 758ms 0ms 17 1,025 420ms 0ms 18 971 370ms 0ms 19 964 405ms 0ms 20 1,153 483ms 0ms 21 1,098 441ms 0ms 22 1,051 394ms 0ms 23 975 378ms 0ms [ User: developer - Total duration: 19s933ms - Times executed: 44310 ]
[ Application: [unknown] - Total duration: 19s933ms - Times executed: 44310 ]
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 14:01:04 Duration: 25ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 09:54:00 Duration: 19ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 15:16:00 Duration: 18ms Database: postgres User: db_rskt_running Remote: developer
11 14s865ms 345 28ms 89ms 43ms SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 07 54 2s196ms 40ms 08 52 2s78ms 39ms 09 57 2s402ms 42ms 10 93 4s351ms 46ms 11 39 1s724ms 44ms 12 17 635ms 37ms 13 8 357ms 44ms 14 15 668ms 44ms 15 6 274ms 45ms 16 2 82ms 41ms 17 2 94ms 47ms [ User: developer - Total duration: 1s705ms - Times executed: 345 ]
[ Application: [unknown] - Total duration: 1s705ms - Times executed: 345 ]
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 10:24:51 Duration: 89ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 09:19:34 Duration: 85ms Database: postgres User: db_rskt_simulasi Remote: developer
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 10:11:59 Duration: 83ms Database: postgres User: db_rskt_simulasi Remote: developer
12 13s729ms 44,377 0ms 17ms 0ms SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 03 1 0ms 0ms 08 1 0ms 0ms 09 155 41ms 0ms 10 5 1ms 0ms 14 262 71ms 0ms 15 435 119ms 0ms 16 505 126ms 0ms 17 678 182ms 0ms 18 322 86ms 0ms 19 64 18ms 0ms 20 5 1ms 0ms 21 4 0ms 0ms 22 81 20ms 0ms 23 178 48ms 0ms 00 291 80ms 0ms 02 5 1ms 0ms 06 196 47ms 0ms 07 4,572 1s335ms 0ms 08 3,368 995ms 0ms 09 3,955 1s279ms 0ms 10 5,396 1s811ms 0ms 11 3,277 1s20ms 0ms 12 2,204 676ms 0ms 13 2,519 835ms 0ms 14 3,535 1s251ms 0ms 15 3,264 1s45ms 0ms 16 1,855 558ms 0ms 17 1,025 304ms 0ms 18 971 264ms 0ms 19 964 283ms 0ms 20 1,156 354ms 0ms 21 1,101 308ms 0ms 22 1,052 287ms 0ms 23 975 265ms 0ms [ User: developer - Total duration: 4s173ms - Times executed: 44377 ]
[ Application: [unknown] - Total duration: 4s173ms - Times executed: 44377 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-28 14:51:00 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-28 10:51:39 Duration: 15ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-28 13:10:00 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
13 13s489ms 140,496 0ms 16ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 09 1,128 91ms 0ms 10 755 63ms 0ms 11 270 21ms 0ms 12 164 13ms 0ms 13 17 1ms 0ms 14 59 5ms 0ms 15 8 1ms 0ms 16 311 25ms 0ms 17 1,676 143ms 0ms 18 2,207 179ms 0ms 19 3,461 319ms 0ms 20 1,088 103ms 0ms 22 1,041 85ms 0ms 23 1,157 98ms 0ms 00 287 24ms 0ms 06 133 11ms 0ms 07 2,325 205ms 0ms 08 4,824 433ms 0ms 09 10,369 1s130ms 0ms 10 14,197 1s499ms 0ms 11 9,989 1s36ms 0ms 12 5,167 468ms 0ms 13 12,493 1s252ms 0ms 14 14,704 1s547ms 0ms 15 17,506 1s651ms 0ms 16 12,739 1s166ms 0ms 17 1,844 165ms 0ms 18 308 23ms 0ms 19 983 85ms 0ms 20 3,301 299ms 0ms 21 7,625 656ms 0ms 22 5,534 446ms 0ms 23 2,826 231ms 0ms [ User: developer - Total duration: 3m17s - Times executed: 140496 ]
[ Application: [unknown] - Total duration: 3m17s - Times executed: 140496 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 10:05:01 Duration: 16ms Database: postgres User: db_rsih_simulasi Remote: developer
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 10:24:55 Duration: 12ms Database: postgres User: db_rsih_simulasi Remote: developer
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 14:30:51 Duration: 12ms Database: postgres User: db_rsih_simulasi Remote: developer
14 12s279ms 8,423 0ms 15ms 1ms SELECT * FROM chat WHERE (chat_to = 'titis' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 08 868 1s176ms 1ms 09 1,167 1s726ms 1ms 10 1,171 1s743ms 1ms 11 1,173 1s732ms 1ms 12 1,176 1s630ms 1ms 13 1,171 1s736ms 1ms 14 1,167 1s754ms 1ms 15 530 780ms 1ms [ User: developer - Total duration: 423ms - Times executed: 8423 ]
[ Application: [unknown] - Total duration: 423ms - Times executed: 8423 ]
-
SELECT * FROM chat WHERE (chat_to = 'titis' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:25:02 Duration: 15ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'titis' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 09:17:13 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'titis' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:46:35 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
15 11s838ms 8,178 0ms 15ms 1ms SELECT * FROM chat WHERE (chat_to = 'nando' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 07 1,341 1s785ms 1ms 08 1,964 2s680ms 1ms 09 1,427 2s115ms 1ms 10 2,016 3s73ms 1ms 11 1,405 2s148ms 1ms 12 25 35ms 1ms [ User: developer - Total duration: 402ms - Times executed: 8178 ]
[ Application: [unknown] - Total duration: 402ms - Times executed: 8178 ]
-
SELECT * FROM chat WHERE (chat_to = 'nando' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:02:41 Duration: 15ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'nando' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:07:59 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'nando' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:54:08 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
16 11s491ms 763 0ms 112ms 15ms SELECT COUNT(pendaftaran_id) AS jumlah;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 14 2 2ms 1ms 16 6 69ms 11ms 17 12 176ms 14ms 18 12 171ms 14ms 22 2 2ms 1ms 07 36 509ms 14ms 08 39 491ms 12ms 09 174 2s839ms 16ms 10 76 1s162ms 15ms 11 72 1s61ms 14ms 12 37 522ms 14ms 13 60 864ms 14ms 14 128 2s191ms 17ms 15 29 302ms 10ms 16 6 77ms 12ms 20 34 514ms 15ms 21 20 305ms 15ms 22 18 225ms 12ms [ User: developer - Total duration: 1s352ms - Times executed: 763 ]
[ Application: [unknown] - Total duration: 1s352ms - Times executed: 763 ]
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 14:13:31 Duration: 112ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 10:01:50 Duration: 72ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 11:30:51 Duration: 65ms Database: postgres User: db_rsih_simulasi Remote: developer
17 9s794ms 6,765 0ms 17ms 1ms SELECT * FROM chat WHERE (chat_to = 'meysari' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 07 129 178ms 1ms 08 1,171 1s590ms 1ms 09 1,146 1s673ms 1ms 10 1,179 1s783ms 1ms 11 1,190 1s784ms 1ms 12 1,188 1s686ms 1ms 13 762 1s98ms 1ms [ User: developer - Total duration: 357ms - Times executed: 6765 ]
[ Application: [unknown] - Total duration: 357ms - Times executed: 6765 ]
-
SELECT * FROM chat WHERE (chat_to = 'meysari' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:51:19 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'meysari' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:20:02 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'meysari' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:12:29 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
18 9s404ms 6,375 0ms 24ms 1ms SELECT * FROM chat WHERE (chat_to = 'dwiesti' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 09 732 1s81ms 1ms 10 1,188 1s815ms 1ms 11 986 1s453ms 1ms 12 976 1s339ms 1ms 13 747 1s115ms 1ms 14 1,096 1s629ms 1ms 15 650 969ms 1ms [ User: developer - Total duration: 331ms - Times executed: 6375 ]
[ Application: [unknown] - Total duration: 331ms - Times executed: 6375 ]
-
SELECT * FROM chat WHERE (chat_to = 'dwiesti' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:25:02 Duration: 24ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'dwiesti' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 15:14:58 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'dwiesti' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:12:43 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
19 8s566ms 5,927 0ms 14ms 1ms SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 07 883 1s179ms 1ms 08 1,476 2s83ms 1ms 09 1,220 1s805ms 1ms 10 1,025 1s571ms 1ms 11 829 1s248ms 1ms 12 467 640ms 1ms 13 27 39ms 1ms [ User: developer - Total duration: 320ms - Times executed: 5927 ]
[ Application: [unknown] - Total duration: 320ms - Times executed: 5927 ]
-
SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 08:33:47 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 12:35:02 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 08:48:41 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
20 8s562ms 453 4ms 68ms 18ms SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 17 8 168ms 21ms 18 2 55ms 27ms 19 1 25ms 25ms 07 28 379ms 13ms 08 37 597ms 16ms 09 85 1s616ms 19ms 10 67 1s607ms 23ms 11 23 324ms 14ms 12 24 428ms 17ms 13 22 375ms 17ms 14 57 1s126ms 19ms 15 56 1s8ms 18ms 16 18 306ms 17ms 20 7 181ms 25ms 21 11 185ms 16ms 22 5 121ms 24ms 23 2 52ms 26ms [ User: developer - Total duration: 110ms - Times executed: 453 ]
[ Application: [unknown] - Total duration: 110ms - Times executed: 453 ]
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 10:24:00 Duration: 68ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 16:12:26 Duration: 63ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 10:22:12 Duration: 53ms Database: postgres User: db_rsih_simulasi Remote: developer
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 35m13s 1,369,123 0ms 50ms 1ms SELECT ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 28 03 126 199ms 1ms 04 120 190ms 1ms 05 120 197ms 1ms 06 122 203ms 1ms 07 124 214ms 1ms 08 132 232ms 1ms 09 5,186 6s776ms 1ms 10 1,740 3s2ms 1ms 11 692 1s231ms 1ms 12 448 814ms 1ms 13 154 268ms 1ms 14 2,832 3s482ms 1ms 15 3,754 4s368ms 1ms 16 5,992 7s15ms 1ms 17 15,806 19s874ms 1ms 18 16,862 24s446ms 1ms 19 16,300 29s115ms 1ms 20 4,876 9s187ms 1ms 21 1,058 1s701ms 1ms 22 12,100 18s830ms 1ms 23 15,994 24s977ms 1ms Mar 28 00 8,658 12s886ms 1ms 01 120 198ms 1ms 02 358 397ms 1ms 03 120 199ms 1ms 04 120 190ms 1ms 05 120 196ms 1ms 06 3,886 4s47ms 1ms 07 90,683 1m50s 1ms 08 88,440 2m2s 1ms 09 144,015 3m45s 1ms 10 192,217 5m7s 1ms 11 109,984 3m5s 1ms 12 61,605 1m33s 1ms 13 82,983 2m16s 1ms 14 128,749 3m30s 1ms 15 132,487 3m30s 1ms 16 74,557 2m3s 1ms 17 21,876 33s2ms 1ms 18 12,892 17s107ms 1ms 19 18,344 28s647ms 1ms 20 25,975 38s662ms 1ms 21 28,854 42s305ms 1ms 22 22,750 32s144ms 1ms 23 14,792 20s778ms 1ms [ User: developer - Total duration: 17m1s - Times executed: 1369123 ]
[ Application: [unknown] - Total duration: 17m1s - Times executed: 1369123 ]
-
SELECT ;
Date: 2022-03-28 10:31:48 Duration: 50ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 'loginpemakai_k', $2 = 'public'
-
SELECT ;
Date: 2022-03-28 16:10:00 Duration: 42ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'kelompokmenu_k', $2 = 'public'
-
SELECT ;
Date: 2022-03-28 09:17:00 Duration: 42ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 'loginpemakai_k', $2 = 'public'
2 11m31s 1,018,779 0ms 164ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 1 0ms 0ms 03 174 96ms 0ms 04 180 99ms 0ms 05 180 101ms 0ms 06 180 102ms 0ms 07 180 109ms 0ms 08 180 106ms 0ms 09 3,479 2s11ms 0ms 10 2,441 1s454ms 0ms 11 990 590ms 0ms 12 672 392ms 0ms 13 231 133ms 0ms 14 348 223ms 0ms 15 200 119ms 0ms 16 1,008 614ms 0ms 17 7,613 5s89ms 0ms 18 16,141 9s973ms 0ms 19 22,145 14s666ms 0ms 20 7,120 4s770ms 0ms 21 1,333 768ms 0ms 22 14,848 8s493ms 0ms 23 18,456 10s755ms 0ms 00 7,520 4s557ms 0ms 01 180 109ms 0ms 02 206 117ms 0ms 03 180 107ms 0ms 04 180 104ms 0ms 05 180 106ms 0ms 06 758 423ms 0ms 07 29,759 18s886ms 0ms 08 53,411 35s98ms 0ms 09 100,572 1m11s 0ms 10 127,679 1m32s 0ms 11 94,777 1m8s 0ms 12 47,177 31s168ms 0ms 13 68,947 48s297ms 0ms 14 95,451 1m9s 0ms 15 108,712 1m13s 0ms 16 75,879 49s683ms 0ms 17 17,338 10s981ms 0ms 18 7,059 4s123ms 0ms 19 15,906 10s99ms 0ms 20 18,285 11s823ms 0ms 21 23,608 14s274ms 0ms 22 17,310 9s928ms 0ms 23 9,605 5s555ms 0ms [ User: developer - Total duration: 59m33s - Times executed: 1018779 ]
[ Application: [unknown] - Total duration: 59m33s - Times executed: 1018779 ]
-
;
Date: 2022-03-28 10:22:00 Duration: 164ms Database: postgres User: db_rskt_simulasi Remote: developer
-
;
Date: 2022-03-28 10:51:37 Duration: 146ms Database: postgres User: db_rskt_running Remote: developer
-
;
Date: 2022-03-28 15:31:45 Duration: 143ms Database: postgres User: db_rskt_running Remote: developer
3 2m38s 673,411 0ms 21ms 0ms SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 03 63 12ms 0ms 04 60 11ms 0ms 05 60 12ms 0ms 06 61 12ms 0ms 07 62 13ms 0ms 08 66 13ms 0ms 09 2,509 480ms 0ms 10 867 187ms 0ms 11 346 72ms 0ms 12 224 48ms 0ms 13 77 16ms 0ms 14 1,416 291ms 0ms 15 1,876 356ms 0ms 16 2,991 560ms 0ms 17 7,700 1s551ms 0ms 18 8,327 1s707ms 0ms 19 8,112 1s915ms 0ms 20 2,437 608ms 0ms 21 528 111ms 0ms 22 6,041 1s237ms 0ms 23 7,934 1s672ms 0ms 00 4,298 926ms 0ms 01 60 12ms 0ms 02 179 31ms 0ms 03 60 12ms 0ms 04 60 11ms 0ms 05 60 12ms 0ms 06 1,943 347ms 0ms 07 44,317 9s283ms 0ms 08 43,418 9s371ms 0ms 09 70,149 17s535ms 0ms 10 93,984 24s43ms 0ms 11 54,392 13s648ms 0ms 12 30,392 6s907ms 0ms 13 40,976 10s168ms 0ms 14 62,864 16s112ms 0ms 15 65,137 15s470ms 0ms 16 36,976 8s412ms 0ms 17 10,912 2s380ms 0ms 18 6,444 1s269ms 0ms 19 9,172 2s28ms 0ms 20 12,869 2s873ms 0ms 21 14,265 2s998ms 0ms 22 11,337 2s282ms 0ms 23 7,390 1s501ms 0ms [ User: developer - Total duration: 26s990ms - Times executed: 673411 ]
[ Application: [unknown] - Total duration: 26s990ms - Times executed: 673411 ]
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 09:20:01 Duration: 21ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 'lookup_m', $2 = 'public'
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 14:44:00 Duration: 18ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'menumodul_k', $2 = 'public'
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-28 09:25:37 Duration: 18ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'pendaftaran_t', $2 = 'public'
4 1m50s 132,374 0ms 18ms 0ms SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 09 1,076 721ms 0ms 10 747 506ms 0ms 11 270 187ms 0ms 12 164 112ms 0ms 13 17 11ms 0ms 14 49 37ms 0ms 15 5 4ms 0ms 16 280 208ms 0ms 17 1,536 1s316ms 0ms 18 2,144 1s830ms 0ms 19 3,448 3s190ms 0ms 20 1,084 1s15ms 0ms 22 1,008 756ms 0ms 23 1,157 863ms 0ms 00 287 218ms 0ms 06 113 81ms 0ms 07 2,206 1s765ms 0ms 08 4,531 3s530ms 0ms 09 9,075 7s930ms 0ms 10 12,203 10s846ms 0ms 11 8,615 7s660ms 0ms 12 4,775 3s764ms 0ms 13 12,099 10s341ms 0ms 14 15,020 13s293ms 0ms 15 16,811 14s14ms 0ms 16 11,656 9s531ms 0ms 17 1,786 1s418ms 0ms 18 302 251ms 0ms 19 983 892ms 0ms 20 3,186 2s495ms 0ms 21 7,500 5s608ms 0ms 22 5,430 3s913ms 0ms 23 2,811 2s48ms 0ms [ User: developer - Total duration: 10s951ms - Times executed: 132374 ]
[ Application: [unknown] - Total duration: 10s951ms - Times executed: 132374 ]
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:25:01 Duration: 18ms Database: postgres User: db_rsnu_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 09:36:49 Duration: 16ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 15:00:15 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer
5 1m37s 140,496 0ms 21ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 09 1,128 695ms 0ms 10 755 480ms 0ms 11 270 175ms 0ms 12 164 104ms 0ms 13 17 10ms 0ms 14 59 33ms 0ms 15 8 4ms 0ms 16 311 193ms 0ms 17 1,676 1s32ms 0ms 18 2,207 1s380ms 0ms 19 3,461 2s377ms 0ms 20 1,088 751ms 0ms 22 1,041 679ms 0ms 23 1,157 787ms 0ms 00 287 212ms 0ms 06 133 74ms 0ms 07 2,325 1s520ms 0ms 08 4,824 3s197ms 0ms 09 10,369 7s363ms 0ms 10 14,197 9s797ms 0ms 11 9,989 6s963ms 0ms 12 5,167 3s379ms 0ms 13 12,493 9s185ms 0ms 14 14,704 11s401ms 0ms 15 17,506 12s414ms 0ms 16 12,739 8s477ms 0ms 17 1,844 1s255ms 0ms 18 308 178ms 0ms 19 983 638ms 0ms 20 3,301 2s262ms 0ms 21 7,625 5s64ms 0ms 22 5,534 3s579ms 0ms 23 2,826 1s818ms 0ms [ User: developer - Total duration: 3m17s - Times executed: 140496 ]
[ Application: [unknown] - Total duration: 3m17s - Times executed: 140496 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 09:30:14 Duration: 21ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-28 09:30:14'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 16:04:19 Duration: 19ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '58', $3 = 'chat', $4 = '2022-03-28 16:04:19'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-28 14:00:03 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '353', $3 = 'chat', $4 = '2022-03-28 14:00:03'
6 1m34s 219,310 0ms 27ms 0ms SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 14 177 78ms 0ms 15 20 8ms 0ms 16 790 305ms 0ms 17 4,352 1s541ms 0ms 18 4,776 1s691ms 0ms 19 2,183 917ms 0ms 20 101 37ms 0ms 21 111 43ms 0ms 22 1,432 497ms 0ms 23 4,953 1s829ms 0ms 00 2,696 1s56ms 0ms 02 221 70ms 0ms 06 934 379ms 0ms 07 17,228 6s962ms 0ms 08 18,496 7s421ms 0ms 09 34,653 15s447ms 0ms 10 42,366 19s645ms 0ms 11 14,291 6s416ms 0ms 12 10,053 4s202ms 0ms 13 9,996 4s380ms 0ms 14 20,242 9s275ms 0ms 15 16,346 6s818ms 0ms 16 8,343 3s446ms 0ms 17 839 353ms 0ms 18 316 102ms 0ms 20 1,277 544ms 0ms 21 1,082 416ms 0ms 22 850 297ms 0ms 23 186 73ms 0ms [ User: developer - Total duration: 11s472ms - Times executed: 219310 ]
[ Application: [unknown] - Total duration: 11s472ms - Times executed: 219310 ]
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 16:03:58 Duration: 27ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '1173'
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 14:03:10 Duration: 21ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '1090'
-
SELECT "pegawai"."pegawai_id" AS "t1_c0", "pegawai"."kabupaten_id" AS "t1_c1", "pegawai"."pangkat_id" AS "t1_c2", "pegawai"."pendkualifikasi_id" AS "t1_c3", "pegawai"."kelurahan_id" AS "t1_c4", "pegawai"."kelompokpegawai_id" AS "t1_c5", "pegawai"."profilrs_id" AS "t1_c6", "pegawai"."pengangkatantphl_id" AS "t1_c7", "pegawai"."pendidikan_id" AS "t1_c8", "pegawai"."loginpemakai_id" AS "t1_c9", "pegawai"."kecamatan_id" AS "t1_c10", "pegawai"."registerpensiun_id" AS "t1_c11", "pegawai"."suku_id" AS "t1_c12", "pegawai"."jabatan_id" AS "t1_c13", "pegawai"."esselon_id" AS "t1_c14", "pegawai"."propinsi_id" AS "t1_c15", "pegawai"."statuskepemilikanrumah_id" AS "t1_c16", "pegawai"."gelarbelakang_id" AS "t1_c17", "pegawai"."nomorindukpegawai" AS "t1_c18", "pegawai"."no_kartupegawainegerisipil" AS "t1_c19", "pegawai"."no_karis_karsu" AS "t1_c20", "pegawai"."no_taspen" AS "t1_c21", "pegawai"."no_askes" AS "t1_c22", "pegawai"."jenisidentitas" AS "t1_c23", "pegawai"."noidentitas" AS "t1_c24", "pegawai"."gelardepan" AS "t1_c25", "pegawai"."nama_pegawai" AS "t1_c26", "pegawai"."nama_keluarga" AS "t1_c27", "pegawai"."tempatlahir_pegawai" AS "t1_c28", "pegawai"."tgl_lahirpegawai" AS "t1_c29", "pegawai"."jeniskelamin" AS "t1_c30", "pegawai"."statusperkawinan" AS "t1_c31", "pegawai"."alamat_pegawai" AS "t1_c32", "pegawai"."agama" AS "t1_c33", "pegawai"."golongandarah" AS "t1_c34", "pegawai"."rhesus" AS "t1_c35", "pegawai"."alamatemail" AS "t1_c36", "pegawai"."notelp_pegawai" AS "t1_c37", "pegawai"."nomobile_pegawai" AS "t1_c38", "pegawai"."warganegara_pegawai" AS "t1_c39", "pegawai"."jeniswaktukerja" AS "t1_c40", "pegawai"."kelompokjabatan" AS "t1_c41", "pegawai"."kategoripegawai" AS "t1_c42", "pegawai"."kategoripegawaiasal" AS "t1_c43", "pegawai"."photopegawai" AS "t1_c44", "pegawai"."nofingerprint" AS "t1_c45", "pegawai"."tinggibadan" AS "t1_c46", "pegawai"."beratbadan" AS "t1_c47", "pegawai"."kemampuanbahasa" AS "t1_c48", "pegawai"."warnakulit" AS "t1_c49", "pegawai"."nip_lama" AS "t1_c50", "pegawai"."no_rekening" AS "t1_c51", "pegawai"."bank_no_rekening" AS "t1_c52", "pegawai"."npwp" AS "t1_c53", "pegawai"."tglditerima" AS "t1_c54", "pegawai"."tglberhenti" AS "t1_c55", "pegawai"."gajipokok" AS "t1_c56", "pegawai"."create_time" AS "t1_c57", "pegawai"."update_time" AS "t1_c58", "pegawai"."create_loginpemakai_id" AS "t1_c59", "pegawai"."update_loginpemakai_id" AS "t1_c60", "pegawai"."create_ruangan" AS "t1_c61", "pegawai"."pegawai_aktif" AS "t1_c62", "pegawai"."suratizinpraktek" AS "t1_c63", "pegawai"."unit_perusahaan" AS "t1_c64", "pegawai"."golonganpegawai_id" AS "t1_c65", "pegawai"."deskripsi" AS "t1_c66", "pegawai"."garis_latitude" AS "t1_c67", "pegawai"."garis_longitude" AS "t1_c68", "pegawai"."jenistenagamedis_id" AS "t1_c69", "pegawai"."tglmasaaktifpeg" AS "t1_c70", "pegawai"."tglmasaaktifpeg_sd" AS "t1_c71", "pegawai"."shift_id" AS "t1_c72", "pegawai"."surattandaregistrasi" AS "t1_c73", "pegawai"."file_kontrak" AS "t1_c74", "pegawai"."masa_str" AS "t1_c75", "pegawai"."masa_sip" AS "t1_c76", "pegawai"."masa_tenagasehat" AS "t1_c77", "pegawai"."masa_medis" AS "t1_c78", "pegawai"."unitkerja_id" AS "t1_c79", "pegawai"."nominal_sip" AS "t1_c80", "pegawai"."alamat_pegawai_ktp" AS "t1_c81", "pegawai"."tglterdaftarnpwp" AS "t1_c82", "pegawai"."tglcatatkepnpwp" AS "t1_c83", "pegawai"."alamatnpwp" AS "t1_c84", "pegawai"."no_bpjs_kesehatan" AS "t1_c85", "pegawai"."no_bpjs_ketenagakerjaan" AS "t1_c86", "pegawai"."ptkp_id" AS "t1_c87", "pegawai"."kode_objekpajak" AS "t1_c88", "pegawai"."keterampilan" AS "t1_c89", "pegawai"."keahlian" AS "t1_c90", "pegawai"."minat" AS "t1_c91", "pegawai"."bakat" AS "t1_c92", "pegawai"."kode_negara" AS "t1_c93", "pegawai"."jenispegawai" AS "t1_c94", "pegawai"."inisial" AS "t1_c95", "pegawai"."cabang_pegawai" AS "t1_c96", "pegawai"."golongan" AS "t1_c97", "pegawai"."grade" AS "t1_c98", "pegawai"."cabang_bank" AS "t1_c99", "pegawai"."atasnama" AS "t1_c100", "pegawai"."tglmasuk_bpjs_ketenagakerjaan" AS "t1_c101", "pegawai"."tglkeluar_bpjs_ketenagakerjaan" AS "t1_c102", "pegawai"."nopeserta_asuransi" AS "t1_c103", "pegawai"."kodegroup_komponen" AS "t1_c104", "pegawai"."levelakses" AS "t1_c105", "pegawai"."nokontrak" AS "t1_c106", "pegawai"."keterangankontrak" AS "t1_c107", "pegawai"."metode_pph_21" AS "t1_c108", "pegawai"."tglpenghapusankemenkes" AS "t1_c109", "pegawai"."pegawaipenghapusankemenkes" AS "t1_c110", "pegawai"."tglpengiriminkemenkes" AS "t1_c111", "pegawai"."pegawaipengirimkemenkes" AS "t1_c112", "pegawai"."tglubahpengirimankemenkes" AS "t1_c113", "pegawai"."pegawaiubahpengirimankemenkes" AS "t1_c114", "pegawai"."logpenghapusandatakemenkes" AS "t1_c115", "pegawai"."statuspengiriman" AS "t1_c116", "pegawai"."dokterprioritas" AS "t1_c117", "pegawai"."kodedokter_bpjs" AS "t1_c118", "pegawai"."kabupaten_domisili_id" AS "t1_c119", "pegawai"."kecamatan_domisili_id" AS "t1_c120", "pegawai"."kelurahan_domisili_id" AS "t1_c121", "pegawai"."propinsi_domisili_id" AS "t1_c122", "pegawai"."kodejabatan_id" AS "t1_c123", "pegawai"."subkelompok_id" AS "t1_c124", "pegawai"."jabatanfungsional_id" AS "t1_c125", "pegawai"."pensiun_usia" AS "t1_c126", "pegawai"."pensiun_tmt" AS "t1_c127", "pegawai"."pensiun_tgledit" AS "t1_c128", "pegawai"."jurusan_id" AS "t1_c129", "pegawai"."eselon_id" AS "t1_c130", "pegawai"."smf_id" AS "t1_c131", "pegawai"."divisi_id" AS "t1_c132", "pegawai"."is_domisili_ktp" AS "t1_c133", "pegawai"."spesialissubspesialis_id" AS "t1_c134" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-28 09:28:23 Duration: 20ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '1415'
7 56s926ms 44,310 0ms 22ms 1ms SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 03 1 2ms 2ms 09 155 175ms 1ms 10 4 4ms 1ms 14 262 309ms 1ms 15 435 494ms 1ms 16 506 569ms 1ms 17 678 798ms 1ms 18 322 361ms 1ms 19 64 76ms 1ms 20 5 5ms 1ms 21 4 4ms 1ms 22 81 88ms 1ms 23 178 202ms 1ms 00 290 359ms 1ms 02 5 5ms 1ms 06 196 208ms 1ms 07 4,571 5s601ms 1ms 08 3,366 4s101ms 1ms 09 3,949 5s384ms 1ms 10 5,393 7s460ms 1ms 11 3,274 4s396ms 1ms 12 2,202 2s829ms 1ms 13 2,514 3s408ms 1ms 14 3,535 4s918ms 1ms 15 3,261 4s327ms 1ms 16 1,822 2s280ms 1ms 17 1,025 1s226ms 1ms 18 971 1s121ms 1ms 19 964 1s192ms 1ms 20 1,153 1s418ms 1ms 21 1,098 1s262ms 1ms 22 1,051 1s213ms 1ms 23 975 1s115ms 1ms [ User: developer - Total duration: 19s933ms - Times executed: 44310 ]
[ Application: [unknown] - Total duration: 19s933ms - Times executed: 44310 ]
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 16:04:22 Duration: 22ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '15'
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 09:19:58 Duration: 16ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '76'
-
SELECT "t"."menu_id" AS "t0_c0", "t"."kelmenu_id" AS "t0_c1", "t"."modul_id" AS "t0_c2", "t"."menu_nama" AS "t0_c3", "t"."menu_namalainnya" AS "t0_c4", "t"."menu_key" AS "t0_c5", "t"."menu_url" AS "t0_c6", "t"."menu_fungsi" AS "t0_c7", "t"."menu_urutan" AS "t0_c8", "t"."menu_aktif" AS "t0_c9", "t"."menu_icon" AS "t0_c10", "t"."menu_shortcut" AS "t0_c11", "kelompokmenu"."kelmenu_id" AS "t1_c0", "kelompokmenu"."kelmenu_nama" AS "t1_c1", "kelompokmenu"."kelmenu_namalainnya" AS "t1_c2", "kelompokmenu"."kelmenu_key" AS "t1_c3", "kelompokmenu"."kelmenu_url" AS "t1_c4", "kelompokmenu"."kelmenu_urutan" AS "t1_c5", "kelompokmenu"."kelmenu_aktif" AS "t1_c6", "kelompokmenu"."kelmenu_icon" AS "t1_c7", "modulk"."modul_id" AS "t2_c0", "modulk"."kelompokmodul_id" AS "t2_c1", "modulk"."modul_nama" AS "t2_c2", "modulk"."modul_namalainnya" AS "t2_c3", "modulk"."modul_fungsi" AS "t2_c4", "modulk"."tglrevisimodul" AS "t2_c5", "modulk"."tglupdatemodul" AS "t2_c6", "modulk"."url_modul" AS "t2_c7", "modulk"."icon_modul" AS "t2_c8", "modulk"."modul_key" AS "t2_c9", "modulk"."modul_urutan" AS "t2_c10", "modulk"."modul_kategori" AS "t2_c11", "modulk"."imagemodul" AS "t2_c12", "modulk"."modul_aktif" AS "t2_c13" FROM "menumodul_k" "t" LEFT OUTER JOIN "kelompokmenu_k" "kelompokmenu" ON ("t"."kelmenu_id" = "kelompokmenu"."kelmenu_id") LEFT OUTER JOIN "modul_k" "modulk" ON ("t"."modul_id" = "modulk"."modul_id") WHERE ((t.menu_aktif = true) AND (modulk.modul_id = $1)) ORDER BY kelompokmenu.kelmenu_urutan, menu_urutan;
Date: 2022-03-28 11:41:00 Duration: 16ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '76'
8 38s271ms 47,973 0ms 20ms 0ms SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 18 2,027 1s362ms 0ms 19 3,503 2s565ms 0ms 20 1,226 923ms 0ms 21 382 262ms 0ms 22 3,518 2s365ms 0ms 23 3,500 2s418ms 0ms 00 2,084 1s476ms 0ms 07 83 58ms 0ms 08 1,128 1s9ms 0ms 09 3,116 2s696ms 0ms 10 3,503 3s237ms 0ms 11 5,518 4s841ms 0ms 12 2,272 1s918ms 0ms 13 3,030 2s802ms 0ms 14 3,810 3s464ms 0ms 15 2,000 1s583ms 0ms 16 2,110 1s639ms 0ms 17 1,491 1s57ms 0ms 18 1,200 795ms 0ms 19 1,200 870ms 0ms 20 1,072 785ms 0ms 23 200 135ms 0ms [ User: developer - Total duration: 2s655ms - Times executed: 47973 ]
[ Application: [unknown] - Total duration: 2s655ms - Times executed: 47973 ]
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-27 19:39:18 Duration: 20ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:30:26 Duration: 18ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'wahyucahya' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 16:00:02 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
9 35s415ms 48,725 0ms 20ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 675;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 18 2,094 1s363ms 0ms 19 3,537 2s537ms 0ms 20 1,226 924ms 0ms 21 387 261ms 0ms 22 3,525 2s330ms 0ms 23 3,579 2s409ms 0ms 00 2,180 1s492ms 0ms 07 107 67ms 0ms 08 1,153 811ms 0ms 09 3,210 2s390ms 0ms 10 3,627 2s818ms 0ms 11 5,613 4s213ms 0ms 12 2,278 1s658ms 0ms 13 3,064 2s268ms 0ms 14 3,870 3s134ms 0ms 15 2,000 1s567ms 0ms 16 2,110 1s564ms 0ms 17 1,491 1s63ms 0ms 18 1,200 779ms 0ms 19 1,200 850ms 0ms 20 1,072 770ms 0ms 23 202 139ms 0ms [ User: developer - Total duration: 58s220ms - Times executed: 48725 ]
[ Application: [unknown] - Total duration: 58s220ms - Times executed: 48725 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 14:00:44 Duration: 20ms Database: postgres User: db_rskt_simulasi Remote: developer parameters: $1 = 't', $2 = '480', $3 = 'chat', $4 = '2022-03-28 14:00:44'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-27 19:44:54 Duration: 15ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '272', $3 = 'chat', $4 = '2022-03-27 19:44:54'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 675;
Date: 2022-03-28 16:03:20 Duration: 15ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-28 16:03:19'
10 28s195ms 32,798 0ms 28ms 0ms SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 09 6,969 6s13ms 0ms 10 10,313 9s35ms 0ms 11 2,639 2s261ms 0ms 14 4,741 4s177ms 0ms 15 5,795 4s823ms 0ms 16 2,201 1s771ms 0ms 17 140 110ms 0ms [ User: developer - Total duration: 2s767ms - Times executed: 32798 ]
[ Application: [unknown] - Total duration: 2s767ms - Times executed: 32798 ]
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 14:13:31 Duration: 28ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:56:18 Duration: 19ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'yelianirachmi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:43:37 Duration: 18ms Database: postgres User: db_rsih_simulasi Remote: developer
11 25s383ms 34,336 0ms 15ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 793;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 09 7,317 5s452ms 0ms 10 10,888 8s3ms 0ms 11 2,641 1s972ms 0ms 14 5,022 3s843ms 0ms 15 6,123 4s446ms 0ms 16 2,205 1s571ms 0ms 17 140 94ms 0ms [ User: developer - Total duration: 32s764ms - Times executed: 34336 ]
[ Application: [unknown] - Total duration: 32s764ms - Times executed: 34336 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 793;
Date: 2022-03-28 11:05:38 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '353', $3 = 'chat', $4 = '2022-03-28 11:05:38'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 793;
Date: 2022-03-28 14:54:06 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '353', $3 = 'chat', $4 = '2022-03-28 14:54:06'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 793;
Date: 2022-03-28 09:21:25 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '353', $3 = 'chat', $4 = '2022-03-28 09:21:25'
12 24s836ms 31,145 0ms 17ms 0ms SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 16 25 16ms 0ms 17 798 564ms 0ms 18 1,032 711ms 0ms 19 341 261ms 0ms 22 322 220ms 0ms 23 1,357 938ms 0ms 02 4 2ms 0ms 08 1,600 1s238ms 0ms 09 3,758 3s96ms 0ms 10 3,321 2s864ms 0ms 11 4,452 3s981ms 0ms 13 107 85ms 0ms 14 1,132 950ms 0ms 15 3,221 2s502ms 0ms 16 3,353 2s685ms 0ms 17 1,025 800ms 0ms 18 650 438ms 0ms 19 2,939 2s183ms 0ms 20 1,602 1s211ms 0ms 21 106 82ms 0ms [ User: developer - Total duration: 2s937ms - Times executed: 31145 ]
[ Application: [unknown] - Total duration: 2s937ms - Times executed: 31145 ]
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 11:32:05 Duration: 17ms Database: postgres User: db_rskt_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 09:20:12 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 08:15:26 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
13 23s160ms 31,908 0ms 25ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 16 39 19ms 0ms 17 847 561ms 0ms 18 1,043 685ms 0ms 19 343 266ms 0ms 22 349 209ms 0ms 23 1,399 912ms 0ms 02 10 3ms 0ms 08 1,654 1s187ms 0ms 09 3,802 2s898ms 0ms 10 3,391 2s708ms 0ms 11 4,478 3s384ms 0ms 13 119 94ms 0ms 14 1,217 917ms 0ms 15 3,321 2s428ms 0ms 16 3,542 2s460ms 0ms 17 1,025 698ms 0ms 18 661 415ms 0ms 19 2,939 2s74ms 0ms 20 1,623 1s155ms 0ms 21 106 77ms 0ms [ User: developer - Total duration: 40s298ms - Times executed: 31908 ]
[ Application: [unknown] - Total duration: 40s298ms - Times executed: 31908 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-28 10:32:42 Duration: 25ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '477', $3 = 'chat', $4 = '2022-03-28 10:32:42'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-27 19:17:14 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '58', $3 = 'chat', $4 = '2022-03-27 19:17:14'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-28 15:02:46 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '84', $3 = 'chat', $4 = '2022-03-28 15:02:46'
14 22s602ms 345 43ms 195ms 65ms SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 07 54 3s126ms 57ms 08 52 3s230ms 62ms 09 57 3s636ms 63ms 10 93 6s777ms 72ms 11 39 2s668ms 68ms 12 17 908ms 53ms 13 8 552ms 69ms 14 15 1s112ms 74ms 15 6 348ms 58ms 16 2 122ms 61ms 17 2 118ms 59ms [ User: developer - Total duration: 1s705ms - Times executed: 345 ]
[ Application: [unknown] - Total duration: 1s705ms - Times executed: 345 ]
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 10:11:59 Duration: 195ms Database: postgres User: db_rskt_simulasi Remote: developer parameters: $1 = '2022-03-28 00:00:00', $2 = '2022-03-28 23:59:59'
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 14:14:06 Duration: 186ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-28 00:00:00', $2 = '2022-03-28 23:59:59'
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 10:52:02 Duration: 165ms Database: postgres User: db_rskt_simulasi Remote: developer parameters: $1 = '2022-03-28 00:00:00', $2 = '2022-03-28 23:59:59'
15 17s957ms 44,377 0ms 20ms 0ms SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 03 1 0ms 0ms 08 1 2ms 2ms 09 155 56ms 0ms 10 5 2ms 0ms 14 262 103ms 0ms 15 435 152ms 0ms 16 505 158ms 0ms 17 678 225ms 0ms 18 322 100ms 0ms 19 64 22ms 0ms 20 5 2ms 0ms 21 4 1ms 0ms 22 81 25ms 0ms 23 178 59ms 0ms 00 291 102ms 0ms 02 5 1ms 0ms 06 196 64ms 0ms 07 4,572 1s749ms 0ms 08 3,368 1s322ms 0ms 09 3,955 1s765ms 0ms 10 5,396 2s363ms 0ms 11 3,277 1s365ms 0ms 12 2,204 879ms 0ms 13 2,519 1s109ms 0ms 14 3,535 1s575ms 0ms 15 3,264 1s362ms 0ms 16 1,855 708ms 0ms 17 1,025 384ms 0ms 18 971 349ms 0ms 19 964 360ms 0ms 20 1,156 447ms 0ms 21 1,101 405ms 0ms 22 1,052 381ms 0ms 23 975 344ms 0ms [ User: developer - Total duration: 4s173ms - Times executed: 44377 ]
[ Application: [unknown] - Total duration: 4s173ms - Times executed: 44377 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-28 09:19:58 Duration: 20ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't'
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-28 14:11:34 Duration: 19ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't'
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-27 15:22:28 Duration: 14ms Database: postgres User: db_rskt_simulasi Remote: developer parameters: $1 = 't'
16 17s659ms 244 50ms 131ms 72ms SELECT * FROM "informasikasirrawatjalan_v" "t" WHERE ((statusperiksa = 'SUDAH DI PERIKSA') AND (statusperiksa <> 'BATAL PERIKSA')) AND (alihstatus = false) ORDER BY tgl_pendaftaran DESC LIMIT 10;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 07 151 10s396ms 68ms 08 1 95ms 95ms 10 11 921ms 83ms 13 4 267ms 66ms 14 39 3s66ms 78ms 15 35 2s694ms 76ms 16 3 218ms 72ms [ User: developer - Total duration: 671ms - Times executed: 244 ]
[ Application: [unknown] - Total duration: 671ms - Times executed: 244 ]
-
SELECT * FROM "informasikasirrawatjalan_v" "t" WHERE ((statusperiksa = 'SUDAH DI PERIKSA') AND (statusperiksa <> 'BATAL PERIKSA')) AND (alihstatus = false) ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 15:07:33 Duration: 131ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "informasikasirrawatjalan_v" "t" WHERE ((statusperiksa = 'SUDAH DI PERIKSA') AND (statusperiksa <> 'BATAL PERIKSA')) AND (alihstatus = false) ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 15:04:55 Duration: 125ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "informasikasirrawatjalan_v" "t" WHERE ((statusperiksa = 'SUDAH DI PERIKSA') AND (statusperiksa <> 'BATAL PERIKSA')) AND (alihstatus = false) ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-28 10:52:00 Duration: 124ms Database: postgres User: db_rskt_running Remote: developer
17 14s521ms 453 14ms 111ms 32ms SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 17 8 268ms 33ms 18 2 64ms 32ms 19 1 38ms 38ms 07 28 731ms 26ms 08 37 1s99ms 29ms 09 85 2s749ms 32ms 10 67 2s429ms 36ms 11 23 686ms 29ms 12 24 734ms 30ms 13 22 687ms 31ms 14 57 1s855ms 32ms 15 56 1s829ms 32ms 16 18 543ms 30ms 20 7 249ms 35ms 21 11 304ms 27ms 22 5 174ms 34ms 23 2 74ms 37ms [ User: developer - Total duration: 110ms - Times executed: 453 ]
[ Application: [unknown] - Total duration: 110ms - Times executed: 453 ]
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 10:24:00 Duration: 111ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '4894'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 09:21:30 Duration: 77ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1915'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-28 14:48:59 Duration: 73ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1918'
18 14s477ms 323,700 0ms 6ms 0ms SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = $1 AND t0_st.updated_time < $2)) AND t0_st.pk = t1_s.study_fk;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 03 6,930 272ms 0ms 04 7,200 284ms 0ms 05 7,200 290ms 0ms 06 7,200 297ms 0ms 07 7,200 310ms 0ms 08 7,200 315ms 0ms 09 7,190 307ms 0ms 10 7,200 308ms 0ms 11 7,200 313ms 0ms 12 7,200 317ms 0ms 13 7,200 331ms 0ms 14 7,200 329ms 0ms 15 7,200 327ms 0ms 16 7,200 312ms 0ms 17 7,200 319ms 0ms 18 7,200 311ms 0ms 19 7,200 343ms 0ms 20 7,200 325ms 0ms 21 7,200 326ms 0ms 22 7,200 309ms 0ms 23 7,200 320ms 0ms 00 7,190 332ms 0ms 01 7,200 299ms 0ms 02 7,200 300ms 0ms 03 7,200 292ms 0ms 04 7,200 296ms 0ms 05 7,200 300ms 0ms 06 7,200 299ms 0ms 07 7,200 320ms 0ms 08 7,200 328ms 0ms 09 7,200 367ms 0ms 10 7,200 370ms 0ms 11 7,200 379ms 0ms 12 7,190 359ms 0ms 13 7,200 363ms 0ms 14 7,200 381ms 0ms 15 7,200 368ms 0ms 16 7,200 331ms 0ms 17 7,200 308ms 0ms 18 7,200 297ms 0ms 19 7,200 327ms 0ms 20 7,200 336ms 0ms 21 7,200 327ms 0ms 22 7,200 299ms 0ms 23 7,200 311ms 0ms [ User: developer - Total duration: 5s777ms - Times executed: 323700 ]
[ Application: [unknown] - Total duration: 5s777ms - Times executed: 323700 ]
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = $1 AND t0_st.updated_time < $2)) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-28 11:41:04 Duration: 6ms Database: postgres User: pacsdb Remote: developer parameters: $1 = 'ct99', $2 = '2022-03-28 11:40:59.548'
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = $1 AND t0_st.updated_time < $2)) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-27 15:07:01 Duration: 5ms Database: postgres User: pacsdb Remote: developer parameters: $1 = 'FCR-CSL', $2 = '2022-03-27 15:06:56.999'
-
SELECT DISTINCT t0_st.pk FROM study t0_st, series t1_s WHERE ((t1_s.pps_iuid IS NULL AND t1_s.src_aet = $1 AND t0_st.updated_time < $2)) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-28 09:07:33 Duration: 5ms Database: postgres User: pacsdb Remote: developer parameters: $1 = 'MOD_AET', $2 = '2022-03-28 09:07:28.135'
19 13s807ms 763 0ms 89ms 18ms SELECT COUNT(pendaftaran_id) AS jumlah;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 14 2 8ms 4ms 16 6 67ms 11ms 17 12 363ms 30ms 18 12 229ms 19ms 22 2 8ms 4ms 07 36 683ms 18ms 08 39 914ms 23ms 09 174 3s154ms 18ms 10 76 1s802ms 23ms 11 72 1s564ms 21ms 12 37 500ms 13ms 13 60 810ms 13ms 14 128 1s911ms 14ms 15 29 418ms 14ms 16 6 64ms 10ms 20 34 559ms 16ms 21 20 459ms 22ms 22 18 282ms 15ms [ User: developer - Total duration: 1s352ms - Times executed: 763 ]
[ Application: [unknown] - Total duration: 1s352ms - Times executed: 763 ]
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 14:56:36 Duration: 89ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 11:33:44 Duration: 87ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-28 09:09:54 Duration: 84ms Database: postgres User: db_rsrib_running Remote: developer
20 11s540ms 14,690 0ms 20ms 0ms SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 07 2,069 1s522ms 0ms 08 2,398 1s820ms 0ms 09 2,212 1s746ms 0ms 10 2,446 1s990ms 0ms 11 1,883 1s531ms 0ms 12 1,362 1s67ms 0ms 13 1,587 1s286ms 0ms 14 192 159ms 0ms 15 362 286ms 0ms 16 155 110ms 0ms 17 24 17ms 0ms [ User: developer - Total duration: 1s440ms - Times executed: 14690 ]
[ Application: [unknown] - Total duration: 1s440ms - Times executed: 14690 ]
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 12:39:01 Duration: 20ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 10:53:02 Duration: 11ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-28 13:37:41 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
-
Events
Log levels
Key values
- 24,048,848 Log entries
Events distribution
Key values
- 0 PANIC entries
- 8632 FATAL entries
- 1612 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 8,632 Max number of times the same event was reported
- 10,244 Total events found
Rank Times reported Error 1 8,632 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 28 00 360 01 359 02 361 03 360 04 360 05 360 06 360 07 360 08 364 09 356 10 359 11 359 12 360 13 360 14 358 15 358 16 359 17 359 18 360 19 360 20 360 21 360 22 360 23 360 - FATAL: database "db_rsrib_simulasi" does not exist
- FATAL: database "db_rswb_simulasi_old" does not exist
- FATAL: database "template1" does not exist
Detail: The database subdirectory "base/232280" is missing.
Date: 2022-03-28 00:00:05
Detail: The database subdirectory "base/375734" is missing.
Date: 2022-03-28 00:00:18
Detail: The database subdirectory "base/1" is missing.
Date: 2022-03-28 00:00:25
2 1,438 ERROR: could not open file "...": No such file or directory
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 28 00 60 01 60 02 60 03 60 04 60 05 60 06 60 07 60 08 60 09 60 10 60 11 59 12 60 13 60 14 60 15 60 16 59 17 60 18 60 19 60 20 60 21 60 22 60 23 60 - ERROR: could not open file "base/1130948/2659": No such file or directory
Date: 2022-03-28 00:00:03
3 95 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 28 08 5 09 5 10 82 11 1 23 2 - ERROR: syntax error at or near ")" at character 79
- ERROR: syntax error at or near "AND" at character 94
- ERROR: syntax error at or near ")" at character 90
Statement: SELECT * FROM "antrian_t" "t" WHERE (((DATE(tglantrian)=$1) AND (antrian_id < )) AND (pendaftaran_id IS NULL)) AND (modelantrian_id = ) ORDER BY modelantrian_id DESC, antrian_id DESC LIMIT 1
Date: 2022-03-28 08:20:17 Database: db_rskt_running Application: [unknown] User: developer Remote:
Statement: SELECT * FROM "tindakanpelayanan_t" "t" WHERE pendaftaran_id = 1803 AND daftartindakan_id = AND date(tgl_tindakan) = '2022-03-28' LIMIT 1
Date: 2022-03-28 10:26:00 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
Statement: SELECT * FROM "asuransipasien_m" "t" WHERE (((LOWER(nopeserta) LIKE $1) AND (penjamin_id=)) AND (asuransipasien_aktif is true)) AND (pasien_id is null) ORDER BY namapemilikasuransi LIMIT 5
Date: 2022-03-28 11:23:09 Database: db_rskt_running Application: [unknown] User: developer Remote:
4 22 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 28 00 13 07 1 08 3 09 1 10 3 21 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: DEALLOCATE pdo_stmt_00000018
Date: 2022-03-28 00:02:39 Database: db_rskt_running Application: [unknown] User: developer Remote:
5 14 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 28 00 13 07 1 - ERROR: duplicate key value violates unique constraint "pk_kasuspenyakitdiagnosa_m"
- ERROR: duplicate key value violates unique constraint "nopembayaran_unique"
Detail: Key (jeniskasuspenyakit_id, diagnosa_id)=(20, 3762) already exists.
Statement: INSERT INTO "kasuspenyakitdiagnosa_m" ("jeniskasuspenyakit_id", "diagnosa_id") VALUES ($1, $2)Date: 2022-03-28 00:02:39 Database: db_rskt_running Application: [unknown] User: developer Remote:
Detail: Key (nopembayaran)=(K-220328-016) already exists.
Statement: INSERT INTO "pembayaranpelayanan_t" ("persensubsidiasuransi", "persensubsidipemerintah", "persensubsidirs", "persendiscount", "total_inacbg", "selisihuntungrugibpjs", "totalsisatagihan", "tglpembayaran", "totalbiayatindakan", "totalbiayaoa", "totalbiayapelayanan", "totaldiscount", "totalsubsidirs", "totalpembebasan", "totalbayartindakan", "totaliurbiaya", "keterangan", "nopembayaran", "ruanganpelakhir_id", "carabayar_id", "penjamin_id", "pendaftaran_id", "pasien_id", "pasienadmisi_id", "create_time", "create_loginpemakai_id", "create_ruangan", "ruangan_id", "totalsubsidiasuransi", "totalsubsidipemerintah", "statusbayar", "update_time", "tgljatuhtempo", "update_loginpemakai_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34)Date: 2022-03-28 07:45:18 Database: db_rskt_running Application: [unknown] User: developer Remote:
6 11 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 28 08 3 09 1 10 5 11 1 23 1 - ERROR: invalid input syntax for type integer: ""
- ERROR: invalid input syntax for type integer: "null" at character 57
Statement: SELECT * FROM "pasienadmisi_t" "t" WHERE "t"."pendaftaran_id"=$1 LIMIT 1
Date: 2022-03-28 08:40:46 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
Statement: select * from tariftindakan_m where komponentarif_id = 'null'
Date: 2022-03-28 23:13:23 Database: db_rsih_simulasi Application: pgAdmin 4 - CONN:8961459 User: developer Remote:
7 8 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 28 15 8 - ERROR: missing FROM-clause entry for table "d" at character 106
Statement: SELECT * FROM "tariftindakan_m" "t" WHERE ((((t.komponentarif_id =6) AND (daftartindakan_id = 101)) AND (d.daftartindakan_konsul = true and d.daftartindakan_karcis = true)) AND (t.kelaspelayanan_id = 6)) AND (t.jenistarif_id = 6)
Date: 2022-03-28 15:25:20 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
8 5 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 28 10 1 13 1 15 1 21 1 22 1 - ERROR: relation "suppliergizi_m" does not exist at character 15
- ERROR: relation "jadwalmakanan_m" does not exist at character 15
- ERROR: relation "detailpemeriskaantriage_m" does not exist at character 15
Statement: select * from suppliergizi_m
Date: 2022-03-28 10:04:07 Database: db_rsnu_simulasi Application: pgAdmin 4 - CONN:8774470 User: developer Remote:
Statement: select * from jadwalmakanan_m
Date: 2022-03-28 13:35:22 Database: db_rsnu_simulasi Application: pgAdmin 4 - CONN:8774470 User: developer Remote:
Statement: select * from detailpemeriskaantriage_m
Date: 2022-03-28 15:04:21 Database: db_ihospital Application: pgAdmin 4 - CONN:7792667 User: developer Remote:
9 4 ERROR: function to_number(...) does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 28 15 4 - ERROR: function to_number(character varying) does not exist at character 12
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: SELECT max(to_number(noantrian)) as noantrian FROM "antrian_t" WHERE "tglantrian"::date = '2022-03-28' AND "modelantrian_id" = 5Date: 2022-03-28 15:52:17 Database: db_rsih_simulasi Application: Adminer User: developer Remote:
10 3 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 28 10 3 - ERROR: update or delete on table "pasienkirimkeunitlain_t" violates foreign key constraint "fk_pasienma_relation_pasienkir" on table "pasienmasukpenunjang_t"
Detail: Key (pasienkirimkeunitlain_id)=(19387) is still referenced from table "pasienmasukpenunjang_t".
Statement: DELETE FROM "pasienkirimkeunitlain_t" WHERE "pasienkirimkeunitlain_t"."pasienkirimkeunitlain_id"=19387Date: 2022-03-28 10:25:43 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
11 3 ERROR: function to_char(...) does not exist
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 28 15 3 - ERROR: function to_char(character varying) does not exist at character 12
- ERROR: function to_char(character varying, unknown) does not exist at character 12
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: SELECT max(TO_CHAR(noantrian)) as noantrian FROM "antrian_t" WHERE "tglantrian"::date = '2022-03-28' AND "modelantrian_id" = 5Date: 2022-03-28 15:53:54 Database: db_rsih_simulasi Application: Adminer User: developer Remote:
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: SELECT max(TO_CHAR(noantrian,'9999')) as noantrian FROM "antrian_t" WHERE "tglantrian"::date = '2022-03-28' AND "modelantrian_id" = 5Date: 2022-03-28 15:56:11 Database: db_rsih_simulasi Application: Adminer User: developer Remote:
12 2 ERROR: column "..." of relation "..." already exists
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 28 13 2 - ERROR: column "maximumbpjsantrian" of relation "jadwaldokter_m" already exists
Statement: alter table jadwaldokter_m add column maximumbpjsantrian integer default 0
Date: 2022-03-28 13:43:51 Database: db_rsbri_running Application: Navicat User: developer Remote:
13 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 28 09 1 - ERROR: process 2187489 still waiting for AccessShareLock on relation 760850 of database 760324 after 1000.218 ms
Detail: Process holding the lock: 2185033. Wait queue: 2187457, 2187489.
Statement: SELECT sum(qtystok_in - qtystok_out) AS qtystok FROM "infostokobatalkesruangan_v" "t" WHERE (ruangan_id = 494) AND (obatalkes_id = 1) GROUP BY obatalkes_id, ruangan_id LIMIT 1Date: 2022-03-28 09:39:39 Database: db_rskt_running Application: [unknown] User: developer Remote:
14 1 ERROR: insert or update on table "..." violates foreign key constraint "..."
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 28 21 1 - ERROR: insert or update on table "pemeriksaanfisik_t" violates foreign key constraint "pemeriksaanfisik_t_pegawai_id_fkey"
Detail: Key (pegawai_id)=(0) is not present in table "pegawai_m".
Statement: INSERT INTO "pemeriksaanfisik_t" ("jn_paten", "jn_obstruktifpartial", "jn_obstruktifnormal", "jn_stridor", "pgd_simetri", "pgd_asimetri", "pgp_normal", "pgp_kussmaul", "pgp_takipnea", "pgp_retraktif", "pgp_dangkal", "sirkulasi_nadicarotis", "sirkulasi_nadiradialis", "cfr_kecil_2", "cfr_besar_2", "jn_gargling", "kulit_normal", "kulit_jaundice", "kulit_cyanosis", "kulit_pucat", "kulit_berkeringat", "adakelgastrointestinal", "pembatasanmakanan", "gigipalsu", "mual", "muntah", "pendengaran", "penglihatan", "defekasi", "miksi", "hamil", "resikodekubitus", "terdapatluka", "hambatanpembelajaran", "butuhpenerjemah", "rambut_mengkilat", "rambut_kusam", "rambut_mudahrontok", "rambut_kotor", "rambut_bersih", "mata_konjungtiva_anemis", "mata_sklera_ikterik", "mata_penglihatan", "hidung_bersih", "sumbatanjalannafas", "bibir_simetris", "gigi_karies", "leher_kelenjartiroid_teraba", "leher_kelgetahbening_teraba", "dada_bentukmamae_simetris", "dada_tumor", "dada_kolostrum", "bentuk_ekstremitas", "ekstremitas_kelainan_oedema", "ekstremitas_kelainan_varies", "ekstremitas_kelainan_parese", "ekstremitas_kelainan_atropi", "abdo_insp_pelebaranvena", "abdo_insp_nigra", "abdo_insp_striae", "kontraksi_palpasi", "frekuensiteratur", "riwayatjatuh_skor", "diagnosismedis_skor", "alatbantujalan_skor", "memakaiterapiheparin_skor", "caraberjalan_skor", "statusmental_skor", "resikojatuh_skor", "keluhan_nyeri", "skala_wongbaker_nrs", "rasanyeri_tajam", "rasanyeri_tumpul", "rasanyeri_ditarik", "rasanyeri_ditusuk", "rasanyeri_dibakar", "rasanyeri_dipukul", "rasanyeri_berdenyut", "rasanyeri_ditikam", "rasanyeri_kram", "rasanyeri_berpindah", "leher_anemia", "leher_leterus", "leher_cyanosis", "leher_dyspneu", "tl_pengantar_pasien", "ada_sensibilitas", "is_ews", "is_pews", "is_mews", "fungsional_tidur", "fungsional_jalansendiri", "fungsional_alatbantu", "fungsional_kursiroda", "fungsional_prothese", "fungsional_deformitas", "fungsional_resikojatuh", "fungsional_lainlain", "paramedis_nama", "pegawai_id", "pendaftaran_id", "pasien_id", "tglperiksafisik", "create_time", "create_ruangan", "create_loginpemakai_id", "is_masalahperkawinan", "ket_masalahperkawinanlain", "is_traumakehidupan", "ket_traumakehidupan", "inspeksi", "palpasi", "au_parurhkanan_1", "au_parurhkanan_2", "au_parurhkanan_3", "au_parurhkiri_1", "au_parurhkiri_2", "au_parurhkiri_3", "au_paruwhkanan_1", "au_paruwhkanan_2", "au_paruwhkanan_3", "au_paruwhkiri_1", "au_paruwhkiri_2", "au_paruwhkiri_3", "au_cardios1", "au_cardios2", "au_cardios3", "au_cardios4", "td_systolic", "td_diastolic", "tekanandarah", "meanarteripressure", "detaknadi", "denyutjantung", "pernapasan", "suhutubuh", "tinggibadan_cm", "beratbadan_kg", "bb_ideal", "kelainanpadabagtubuh", "tandavital_reflekcahaya", "tandavital_spo2", "gcs_eye", "gcs_verbal", "gcs_motorik", "gcs_id", "denyutjantung_janin", "tinggifundus_uteri", "abd_inspeksi", "abd_palpasi", "leopold_1", "leopold_2", "leopold_3", "leopold_4", "abd_perkusi", "abd_auskultasi", "keadaanumum", "akral", "is_masalahperkawinan_cerai", "is_masalahperkawinan_simpanan", "is_masalahperkawinan_istribaru", "is_masalahperkawinan_lainlain", "tl_homecare_tgl", "mews_suhu", "ews_suhu") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165)Date: 2022-03-28 21:52:40 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
15 1 ERROR: operator does not exist: text[] ~~ unknown
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 28 11 1 - ERROR: operator does not exist: text[] ~~ unknown at character 55
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: SELECT 1 FROM "codigos_area" WHERE ("string_to_array" LIKE '%antrian%') LIMIT 1Date: 2022-03-28 11:30:29 Database: db_rsih_simulasi Application: Adminer User: developer Remote:
16 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 28 16 1 - ERROR: canceling statement due to user request
Statement: select * from pasien_m
Date: 2022-03-28 16:03:54 Database: db_rsih_simulasi Application: pgAdmin 4 - CONN:8961459 User: developer Remote:
17 1 LOG: process ... still waiting for AccessExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 28 09 1 - ERROR: process 2187457 still waiting for AccessExclusiveLock on relation 760850 of database 760324 after 1000.102 ms
Detail: Process holding the lock: 2185033. Wait queue: 2187457, 2187489.
Statement: alter table ruangan_m add column ruangandepofarmasi_id integer references ruangan_m(ruangan_id) match simple on update restrict on delete restrictDate: 2022-03-28 09:39:39 Database: db_rskt_running Application: Navicat User: developer Remote:
18 1 ERROR: could not open relation with OID 1447419
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 28 09 1 - ERROR: could not open relation with OID 1447419
Statement: SELECT c.oid, n.nspname AS schemaname, c.relname AS viewname, c.relacl, pg_get_userbyid(c.relowner) AS viewowner, obj_description(c.oid) AS description, pg_get_viewdef(c.oid, true) AS definition, c.reloptions AS options FROM pg_class c LEFT JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'v'::"char" AND n.nspname = 'public'
Date: 2022-03-28 09:40:35 Database: db_rskt_simulasi Application: Navicat User: developer Remote:
19 1 LOG: process ... still waiting for RowShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #19
Day Hour Count Mar 28 09 1 - ERROR: process 2187525 still waiting for RowShareLock on relation 760850 of database 760324 after 1000.104 ms
Detail: Process holding the lock: 2185033. Wait queue: 2187457, 2187489, 2187525, 2187539.
Statement: UPDATE "loginpemakai_k" SET "statuslogin"=$1, "ruanganaktifitas"=$2, "crudaktifitas"=$3, "waktuterakhiraktifitas"=$4 WHERE "loginpemakai_k"."loginpemakai_id"=675Date: 2022-03-28 09:39:41 Database: db_rskt_running Application: [unknown] User: developer Remote: