-
Global information
- Generated on Fri Mar 25 04:13:10 2022
- Log file: /var/log/postgresql/postgresql-12-main.log
- Parsed 120,725,787 log entries in 1h13m8s
- Log start from 2022-03-24 00:00:43 to 2022-03-24 23:59:58
-
Overview
Global Stats
- 3,642 Number of unique normalized queries
- 5,191,771 Number of queries
- 2h46m44s Total query duration
- 2022-03-24 00:00:44 First query
- 2022-03-24 23:59:58 Last query
- 1,223 queries/s at 2022-03-24 09:45:54 Query peak
- 2h46m44s Total query duration
- 30m29s Prepare/parse total duration
- 56m16s Bind total duration
- 1h19m58s Execute total duration
- 7,940 Number of events
- 11 Number of unique normalized events
- 7,592 Max number of times the same event was reported
- 0 Number of cancellation
- 736 Total number of automatic vacuums
- 1,862 Total number of automatic analyzes
- 14 Number temporary file
- 15.86 MiB Max size of temporary file
- 15.15 MiB Average size of temporary file
- 566,272 Total number of sessions
- 7 sessions at 2022-03-24 10:52:22 Session peak
- 10d13h40m58s Total duration of sessions
- 1s612ms Average duration of sessions
- 9 Average queries per session
- 17ms Average queries duration per session
- 566,291 Total number of connections
- 56 connections/s at 2022-03-24 11:32:33 Connection peak
- 15 Total number of databases
SQL Traffic
Key values
- 1,223 queries/s Query Peak
- 2022-03-24 09:45:54 Date
SELECT Traffic
Key values
- 0 queries/s Query Peak
- Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1,206 queries/s Query Peak
- 2022-03-24 09:45:54 Date
Queries duration
Key values
- 2h46m44s 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 24 00 25,815 0ms 306ms 3ms 4s518ms 4s620ms 5s690ms 01 23,419 0ms 25ms 0ms 42ms 43ms 47ms 02 23,372 0ms 23ms 0ms 39ms 41ms 45ms 03 23,390 0ms 28ms 0ms 41ms 41ms 54ms 04 23,484 0ms 21ms 0ms 41ms 41ms 50ms 05 23,404 0ms 29ms 0ms 43ms 45ms 49ms 06 30,159 0ms 58ms 0ms 244ms 359ms 521ms 07 238,292 0ms 27s536ms 0ms 4s459ms 11s42ms 31s436ms 08 400,909 0ms 12s933ms 1ms 15s917ms 19s409ms 23s491ms 09 483,656 0ms 11s605ms 0ms 8s944ms 10s116ms 19s393ms 10 587,439 0ms 6s227ms 0ms 9s663ms 13s55ms 22s345ms 11 567,346 0ms 8s135ms 1ms 12s963ms 18s630ms 27s797ms 12 311,962 0ms 4s516ms 1ms 9s394ms 10s27ms 10s923ms 13 350,642 0ms 10s701ms 1ms 8s768ms 9s890ms 17s117ms 14 586,116 0ms 4s678ms 1ms 15s49ms 16s280ms 19s388ms 15 569,097 0ms 489ms 0ms 10s903ms 11s450ms 11s893ms 16 296,812 0ms 127ms 0ms 4s777ms 5s672ms 6s372ms 17 120,798 0ms 92ms 0ms 2s972ms 4s159ms 4s219ms 18 42,720 0ms 52ms 0ms 1s121ms 1s192ms 1s229ms 19 41,230 0ms 92ms 0ms 732ms 851ms 1s67ms 20 34,837 0ms 67ms 0ms 230ms 250ms 474ms 21 117,688 0ms 401ms 0ms 2s115ms 2s504ms 2s944ms 22 153,469 0ms 396ms 0ms 4s79ms 5s447ms 12s599ms 23 115,715 0ms 692ms 0ms 3s273ms 4s338ms 4s734ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 24 00 10,111 0 9ms 4s353ms 4s507ms 4s698ms 01 8,295 0 0ms 37ms 38ms 39ms 02 8,250 0 0ms 35ms 36ms 38ms 03 8,268 0 0ms 36ms 37ms 43ms 04 8,362 0 0ms 37ms 37ms 38ms 05 8,283 0 0ms 37ms 39ms 43ms 06 14,283 0 0ms 189ms 227ms 451ms 07 193,321 0 0ms 3s426ms 4s36ms 10s884ms 08 321,498 0 1ms 7s12ms 15s423ms 19s2ms 09 387,139 0 0ms 7s22ms 8s273ms 18s122ms 10 470,068 0 0ms 8s115ms 8s517ms 13s380ms 11 437,560 0 1ms 9s200ms 12s42ms 17s601ms 12 228,826 0 1ms 7s473ms 8s678ms 9s311ms 13 279,760 0 1ms 7s777ms 8s256ms 9s735ms 14 476,146 0 1ms 13s75ms 14s295ms 16s669ms 15 446,967 0 1ms 9s334ms 9s845ms 10s422ms 16 217,227 0 0ms 3s623ms 4s73ms 4s943ms 17 92,921 0 1ms 2s238ms 2s756ms 3s771ms 18 24,264 0 0ms 910ms 1s70ms 1s143ms 19 23,493 0 0ms 406ms 688ms 933ms 20 17,114 0 0ms 109ms 197ms 226ms 21 87,945 0 0ms 1s768ms 1s998ms 2s545ms 22 122,715 0 0ms 3s52ms 3s709ms 5s642ms 23 89,199 0 0ms 2s294ms 3s127ms 4s207ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 24 00 384 119 0 0 0ms 2ms 4ms 6ms 01 0 120 0 0 0ms 1ms 1ms 2ms 02 0 120 0 0 0ms 1ms 1ms 1ms 03 0 120 0 0 0ms 1ms 1ms 2ms 04 0 120 0 0 0ms 1ms 1ms 2ms 05 0 120 0 0 0ms 1ms 1ms 2ms 06 9 358 0 0 0ms 2ms 9ms 17ms 07 353 10,117 0 0 3ms 148ms 257ms 409ms 08 380 21,349 16 0 1ms 466ms 533ms 639ms 09 201 26,678 21 0 1ms 585ms 748ms 798ms 10 902 33,489 15 0 1ms 696ms 841ms 1s6ms 11 736 38,846 7 0 1ms 866ms 954ms 1s507ms 12 98 22,627 5 0 1ms 460ms 739ms 907ms 13 411 18,339 3 0 1ms 357ms 418ms 505ms 14 777 31,265 9 0 1ms 621ms 685ms 861ms 15 352 35,402 21 0 1ms 771ms 830ms 925ms 16 101 21,472 4 0 1ms 501ms 576ms 653ms 17 90 4,165 4 0 1ms 48ms 102ms 309ms 18 6 1,077 0 0 0ms 17ms 28ms 37ms 19 0 842 0 0 0ms 4ms 20ms 34ms 20 0 954 0 0 0ms 12ms 16ms 26ms 21 78 4,840 0 0 0ms 74ms 84ms 104ms 22 525 5,487 0 0 1ms 96ms 168ms 216ms 23 339 4,203 0 0 1ms 109ms 124ms 223ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 24 00 3,294 25,131 7.63 31.03% 01 972 23,112 23.78 11.55% 02 968 23,108 23.87 11.57% 03 960 23,100 24.06 11.44% 04 1,042 23,182 22.25 12.28% 05 960 23,100 24.06 11.42% 06 7,169 29,309 4.09 48.94% 07 196,267 218,407 1.11 96.31% 08 334,029 356,166 1.07 97.32% 09 404,770 426,908 1.05 97.76% 10 494,679 516,787 1.04 98.06% 11 461,960 484,101 1.05 96.82% 12 241,708 263,848 1.09 96.09% 13 288,752 310,867 1.08 96.73% 14 498,629 520,790 1.04 98.12% 15 473,064 495,181 1.05 98.00% 16 230,859 252,976 1.10 96.67% 17 89,810 111,907 1.25 92.42% 18 18,031 40,110 2.22 71.14% 19 16,986 39,090 2.30 69.80% 20 10,699 32,817 3.07 59.22% 21 85,530 107,604 1.26 92.10% 22 121,413 143,492 1.18 94.32% 23 86,365 108,470 1.26 92.13% Day Hour Count Average / Second Mar 24 00 626 0.17/s 01 248 0.07/s 02 242 0.07/s 03 242 0.07/s 04 242 0.07/s 05 241 0.07/s 06 749 0.21/s 07 19,675 5.47/s 08 42,719 11.87/s 09 54,719 15.20/s 10 68,075 18.91/s 11 75,346 20.93/s 12 45,598 12.67/s 13 37,322 10.37/s 14 63,005 17.50/s 15 71,404 19.83/s 16 43,211 12.00/s 17 8,802 2.44/s 18 2,613 0.73/s 19 2,133 0.59/s 20 2,008 0.56/s 21 10,061 2.79/s 22 9,860 2.74/s 23 7,150 1.99/s Day Hour Count Average Duration Mar 24 00 628 43s656ms 01 243 23ms 02 243 1m2s 03 240 21ms 04 244 1m39s 05 240 22ms 06 751 18s404ms 07 19,668 75ms 08 42,704 701ms 09 54,715 129ms 10 68,072 596ms 11 75,344 306ms 12 45,599 566ms 13 37,317 1s338ms 14 63,009 1s440ms 15 71,402 2s230ms 16 43,215 1s295ms 17 8,807 6s270ms 18 2,621 1m1s 19 2,134 40s744ms 20 2,010 7s180ms 21 10,057 736ms 22 9,860 1s718ms 23 7,149 737ms -
Connections
Established Connections
Key values
- 56 connections Connection Peak
- 2022-03-24 11:32:33 Date
Connections per database
Key values
- db_rskt_running Main Database
- 566,291 connections Total
Database User Count db_ihospital 30,651 developer 30,651 db_rsbri_running 1 developer 1 db_rscms_running 3 developer 3 db_rscms_simulasi 5 developer 5 db_rsih_running 1 developer 1 db_rsih_simulasi 207,412 developer 207,412 db_rskt_running 262,905 developer 262,905 db_rskt_simulasi 27,749 developer 27,749 db_rsnu_running 1,754 developer 1,754 db_rsnu_simulasi 22,269 developer 22,269 db_rsrib_running 13,455 developer 13,455 db_rsrib_simulasi 2 developer 2 db_rswb_running 2 developer 2 db_rswb_simulasi 22 developer 22 db_rswb_simulasi_new 3 developer 3 db_rswb_simulasi_old 3 developer 3 pacsdb 18 developer 18 postgres 32 developer 32 website_rsbin 2 developer 2 website_rskt 2 developer 2 Connections per user
Key values
- developer Main User
- 566,291 connections Total
Connections per host
Key values
- 165.22.51.146 Main host with 563462 connections
- 566,291 Total connections
Host Count 103.146.61.100 38 103.94.120.202 1 114.122.104.105 47 114.125.94.171 51 114.142.172.42 1 114.142.173.24 2 114.142.173.4 1 114.142.173.56 2 116.206.14.22 1 116.206.15.21 1 116.206.15.52 1 116.206.40.65 4 116.206.40.72 1 116.206.40.73 1 125.164.17.200 1 125.164.18.89 1 125.164.23.89 1 127.0.0.1 22 165.22.51.146 563,462 182.253.102.138 24 182.253.31.152 5 202.67.40.203 9 202.67.46.30 3 36.79.200.223 2 43.248.212.131 2,609 -
Sessions
Simultaneous sessions
Key values
- 7 sessions Session Peak
- 2022-03-24 10:52:22 Date
Histogram of session times
Key values
- 561,750 0-500ms duration
Sessions per database
Key values
- db_rskt_running Main Database
- 566,272 sessions Total
Database User Count Total Duration Average Duration db_ihospital 30,651 15h12m58s 1s787ms db_rsbri_running 1 66ms 66ms db_rscms_simulasi 4 1h25m31s 21m22s db_rsih_running 1 5h25m20s 5h25m20s db_rsih_simulasi 207,415 3d6h42m 1s365ms db_rskt_running 262,903 14h32m45s 199ms db_rskt_simulasi 27,748 9h56m18s 1s289ms db_rsnu_running 1,754 2h4m28s 4s258ms db_rsnu_simulasi 22,268 1d14h52m25s 6s284ms db_rsrib_running 13,455 8m55s 39ms db_rswb_running 2 6m 3m db_rswb_simulasi 21 1h19m30s 3m47s pacsdb 17 2d3h17m58s 3h1m3s postgres 30 1d10h36m44s 1h9m13s website_rskt 2 343ms 171ms Sessions per user
Key values
- developer Main User
- 566,272 sessions Total
Sessions per host
Key values
- 165.22.51.146 Main Host
- 566,272 sessions Total
Host Count Total Duration Average Duration 103.146.61.100 26 3h34m50s 8m15s 103.94.120.202 1 15m36s 15m36s 114.122.104.105 47 4h12m24s 5m22s 114.125.94.171 51 4h55m44s 5m47s 114.142.172.28 2 6h51m12s 3h25m36s 114.142.172.42 1 2h20m13s 2h20m13s 114.142.173.24 2 4h40m1s 2h20m 114.142.173.4 1 2h26m7s 2h26m7s 114.142.173.56 2 5h30m34s 2h45m17s 116.206.14.22 1 52m34s 52m34s 116.206.15.21 1 4h11m37s 4h11m37s 116.206.15.54 1 4h10m1s 4h10m1s 116.206.15.62 1 4h11m18s 4h11m18s 116.206.40.65 4 12h41m9s 3h10m17s 116.206.40.72 1 5m40s 5m40s 116.206.40.73 1 2h15m13s 2h15m13s 127.0.0.1 21 2d3h17m59s 2h26m34s 165.22.51.146 563,458 7h32m5s 48ms 182.253.102.138 23 2d10h46m2s 2h33m18s 182.253.31.152 5 21h8s 4h12m1s 202.67.40.203 9 16h45m39s 1h51m44s 202.67.46.30 3 8h13m12s 2h44m24s 36.79.200.223 1 316ms 316ms 43.248.212.131 2,609 1d2h51m29s 37s60ms Sessions per application
Key values
- [unknown] Main Host
- 566,272 sessions Total
Application Count Total Duration Average Duration Navicat 99 9h8m9s 5m32s [unknown] 566,102 2d11h13m53s 376ms pgAdmin 4 - CONN:3283370 1 2h12m1s 2h12m1s pgAdmin 4 - CONN:3627817 1 355ms 355ms pgAdmin 4 - CONN:410896 1 2h39m13s 2h39m13s pgAdmin 4 - CONN:5306309 1 17m11s 17m11s pgAdmin 4 - CONN:5516900 1 28m54s 28m54s pgAdmin 4 - CONN:5733966 1 1h8m19s 1h8m19s pgAdmin 4 - CONN:6499888 1 2h13m10s 2h13m10s pgAdmin 4 - CONN:8322518 2 29m45s 14m52s pgAdmin 4 - CONN:889910 5 11h19m54s 2h15m58s pgAdmin 4 - CONN:9745902 3 7h54m24s 2h38m8s pgAdmin 4 - DB:db_ihospital 4 12h28m 3h7m pgAdmin 4 - DB:db_rscms_simulasi 2 386ms 193ms pgAdmin 4 - DB:db_rsih_running 1 5h25m20s 5h25m20s pgAdmin 4 - DB:db_rsih_simulasi 23 2d13h21m13s 2h40m3s pgAdmin 4 - DB:db_rskt_running 1 8h49m16s 8h49m16s pgAdmin 4 - DB:db_rskt_simulasi 1 8h49m16s 8h49m16s pgAdmin 4 - DB:db_rsnu_simulasi 11 1d32m31s 2h13m51s pgAdmin 4 - DB:db_rswb_simulasi 2 49m36s 24m48s pgAdmin 4 - DB:postgres 9 1d10h20m43s 3h48m58s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 4,681 buffers Checkpoint Peak
- 2022-03-24 23:20:15 Date
- 269.463 seconds Highest write time
- 0.240 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2022-03-24 23:20:15 Date
Checkpoints distance
Key values
- 55.94 Mo Distance Peak
- 2022-03-24 23:20:15 Date
Checkpoints Activity
Day Hour Written buffers Write time Sync time Total time Mar 24 00 159 16.011s 0.038s 16.182s 01 66 6.692s 0.041s 6.832s 02 50 5.078s 0.026s 5.202s 03 50 5.079s 0.036s 5.223s 04 75 7.593s 0.036s 7.759s 05 100 10.104s 0.039s 10.235s 06 160 16.132s 0.055s 16.305s 07 5,382 513.077s 0.155s 513.351s 08 5,729 574.769s 0.36s 575.415s 09 4,169 418.667s 0.44s 419.471s 10 7,162 718.463s 0.696s 719.821s 11 5,309 533.345s 0.432s 534.231s 12 5,497 551.205s 0.212s 551.779s 13 5,009 502.45s 0.254s 502.906s 14 6,649 667.093s 0.563s 668.002s 15 5,667 569.039s 0.265s 569.686s 16 3,642 365.084s 0.246s 365.976s 17 1,540 154.558s 0.222s 155s 18 339 34.072s 0.062s 34.228s 19 259 26.063s 0.036s 26.196s 20 293 29.455s 0.08s 29.625s 21 802 80.516s 0.092s 80.692s 22 2,083 208.727s 0.088s 208.933s 23 6,038 405.65s 0.099s 405.874s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 24 00 0 0 0 37 0.006s 0.024s 01 0 0 0 22 0.013s 0.036s 02 0 0 0 18 0.003s 0.023s 03 0 0 0 17 0.006s 0.03s 04 0 0 0 22 0.006s 0.027s 05 0 0 0 20 0.015s 0.025s 06 0 0 0 84 0.016s 0.019s 07 0 0 2 1,541 0.009s 0.012s 08 0 0 2 3,613 0.066s 0.012s 09 0 0 1 2,296 0.057s 0.012s 10 0 0 3 3,099 0.041s 0.013s 11 0 0 2 2,952 0.052s 0.012s 12 0 0 3 1,431 0.060s 0.012s 13 0 0 1 2,828 0.011s 0.012s 14 0 0 3 3,486 0.023s 0.012s 15 0 0 2 3,276 0.014s 0.012s 16 0 0 2 1,805 0.036s 0.012s 17 0 0 0 851 0.068s 0.014s 18 0 0 1 106 0.010s 0.021s 19 0 0 0 52 0.006s 0.019s 20 0 0 0 77 0.019s 0.021s 21 0 0 0 331 0.010s 0.012s 22 0 0 1 685 0.010s 0.012s 23 0 0 2 667 0.011s 0.012s Day Hour Count Avg time (sec) Mar 24 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 24 00 89.45 kB 280.73 kB 01 33.67 kB 199.92 kB 02 23.83 kB 108.75 kB 03 24.64 kB 106.91 kB 04 37.08 kB 120.08 kB 05 36.58 kB 128.00 kB 06 82.00 kB 169.33 kB 07 2,564.58 kB 5,697.67 kB 08 2,680.67 kB 8,329.83 kB 09 2,238.58 kB 4,202.50 kB 10 3,819.92 kB 5,521.83 kB 11 3,232.33 kB 7,578.50 kB 12 3,051.83 kB 8,823.67 kB 13 2,459.00 kB 5,290.58 kB 14 3,430.75 kB 4,045.00 kB 15 3,181.42 kB 4,573.58 kB 16 2,223.42 kB 3,169.00 kB 17 746.75 kB 1,763.17 kB 18 161.58 kB 734.50 kB 19 132.58 kB 294.75 kB 20 133.92 kB 252.25 kB 21 395.33 kB 494.67 kB 22 1,028.00 kB 1,146.08 kB 23 3,094.92 kB 15,454.92 kB -
Temporary Files
Size of temporary files
Key values
- 15.86 MiB Temp Files size Peak
- 2022-03-24 11:56:49 Date
Number of temporary files
Key values
- 1 per second Temp Files Peak
- 2022-03-24 07:20:12 Date
Temporary Files Activity
Day Hour Count Total size Average size Mar 24 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 2 29.17 MiB 14.59 MiB 08 8 121.04 MiB 15.13 MiB 09 2 30.59 MiB 15.30 MiB 10 0 0 0 11 1 15.86 MiB 15.86 MiB 12 0 0 0 13 1 15.45 MiB 15.45 MiB 14 0 0 0 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 0 0 0 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 6 92.72 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-24 08:48:31 Duration: 0ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
2 5 73.08 MiB 14.38 MiB 15.14 MiB 14.62 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-24 07:20:12 Duration: 0ms Database: db_rswb_simulasi User: developer Application: pgAdmin 4 - DB:db_rswb_simulasi
3 3 46.32 MiB 14.60 MiB 15.86 MiB 15.44 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-24 08:05:30 Duration: 12s890ms Database: db_rsnu_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-24 08:14:56 Duration: 2s578ms Database: db_rskt_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-24 11:56:49 Duration: 1s597ms Database: db_ihospital User: developer Application: Navicat
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-24 08:05:30 - Database: db_rsnu_running - User: developer - Application: Navicat ]
2 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-24 11:56:49 - Database: db_ihospital - User: developer - Application: Navicat ]
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-24 08:48:31 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
4 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-24 08:49:09 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
5 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-24 08:50:04 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
6 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-24 08:52:38 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
7 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-24 09:29:14 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
8 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-24 13:06:01 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
9 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-24 09:39:30 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
10 14.79 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-24 07:20:12 - Database: db_rswb_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rswb_simulasi ]
11 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-24 08:14:56 - Database: db_rskt_running - User: developer - Application: Navicat ]
12 14.38 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-24 07:44:02 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
13 14.38 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-24 08:24:46 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
14 14.38 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-24 08:35:32 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
-
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 (682) Main table analyzed (database db_rskt_running)
- 1,862 analyzes Total
Table Number of analyzes db_rskt_running.public.loginpemakai_k 682 db_rsih_simulasi.public.loginpemakai_k 511 db_ihospital.public.loginpemakai_k 185 db_rsnu_simulasi.public.loginpemakai_k 125 db_rskt_simulasi.public.loginpemakai_k 119 db_rsrib_running.public.loginpemakai_k 67 db_rskt_running.public.chat 40 db_rsih_simulasi.public.chat 31 db_rsnu_running.public.loginpemakai_k 11 db_rsnu_simulasi.public.chat 11 db_rsrib_running.public.chat 10 db_ihospital.public.chat 8 db_rskt_simulasi.public.chat 7 db_rsih_simulasi.public.pendaftaran_t 5 db_rskt_running.public.pendaftaran_t 5 db_rskt_running.public.pembayaranpasien_r 3 db_rsih_simulasi.public.pasienadmisi_t 3 db_rskt_running.public.waktutunggupelayanan_t 3 db_rskt_running.public.pendapatanjasa_r 3 db_rsih_simulasi.public.notifikasi_r 2 db_rskt_running.public.pelayananpasien_r 2 db_rsih_simulasi.public.tindakanpelayanan_t 2 db_rsnu_simulasi.public.kabupaten_m 2 db_rsih_simulasi.public.kamarruangan_m 1 db_rskt_running.public.rujukanpasien_r 1 db_rsih_simulasi.public.pemberianinformasidet_t 1 db_rsih_simulasi.public.masukkamar_t 1 db_rskt_running.public.pemeriksaanfisik_t 1 db_rskt_running.public.notifikasi_r 1 db_rsih_simulasi.public.pasienpulang_t 1 db_rskt_running.public.tindakansudahbayar_t 1 db_rskt_running.public.tindakanpelayanan_t 1 db_rskt_running.public.kunjunganrs_r 1 db_rskt_running.public.kasuspenyakitpasien_r 1 db_rskt_running.public.pembayaranpelayanan_t 1 db_rskt_running.public.pertambahanpasien_r 1 db_rskt_running.public.rl3_15_kegiatancarabayar 1 db_rskt_running.public.sep_t 1 db_rskt_running.public.kunjunganpoliklinik_r 1 db_rsih_simulasi.public.pendapatanjasa_r 1 db_rskt_running.public.tandabuktibayar_t 1 db_rskt_running.public.anamnesa_t 1 db_rsih_simulasi.public.pelayananpasien_r 1 db_rskt_running.public.antrian_t 1 db_rskt_running.public.jurnaldetail_t 1 db_rskt_running.public.kunjungancarabayar_r 1 db_rsnu_running.public.kabupaten_m 1 db_rsih_simulasi.public.pasienpulang_r 1 Total 1,862 Vacuums per table
Key values
- public.loginpemakai_k (302) Main table vacuumed on database db_rsih_simulasi
- 736 vacuums Total
Table Number of vacuums Index scans db_rsih_simulasi.public.loginpemakai_k 302 298 db_rskt_running.public.loginpemakai_k 164 124 db_ihospital.public.loginpemakai_k 121 121 db_rskt_running.pg_toast.pg_toast_2619 32 32 db_rsih_simulasi.pg_toast.pg_toast_2619 26 26 db_rskt_running.public.chat 22 0 db_rsnu_simulasi.public.loginpemakai_k 10 10 db_ihospital.pg_toast.pg_toast_2619 9 9 db_rsnu_simulasi.pg_toast.pg_toast_2619 9 9 db_rsnu_simulasi.public.chat 9 0 db_rskt_simulasi.pg_toast.pg_toast_2619 7 7 db_ihospital.public.chat 6 0 db_rskt_simulasi.public.loginpemakai_k 5 5 db_rsrib_running.pg_toast.pg_toast_2619 4 4 db_rsrib_running.public.chat 2 0 db_rsih_simulasi.public.pendapatanjasa_r 2 0 db_rskt_running.public.antrian_t 1 1 db_rskt_running.public.notifikasi_r 1 1 db_rsrib_running.public.loginpemakai_k 1 1 db_rsih_simulasi.public.pasienpulang_r 1 0 db_rsih_simulasi.public.pendaftaran_t 1 1 db_rskt_running.public.pendaftaran_t 1 1 Total 736 650 Tuples removed per table
Key values
- public.loginpemakai_k (17160) Main table with removed tuples on database db_rskt_running
- 34091 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed db_rskt_running.public.loginpemakai_k 164 124 17160 0 db_rsih_simulasi.public.loginpemakai_k 302 298 4223 0 db_rskt_running.pg_toast.pg_toast_2619 32 32 3017 0 db_rsih_simulasi.pg_toast.pg_toast_2619 26 26 2346 41 db_rskt_running.public.chat 22 0 1583 0 db_ihospital.public.loginpemakai_k 121 121 1431 0 db_ihospital.pg_toast.pg_toast_2619 9 9 818 4 db_rsnu_simulasi.pg_toast.pg_toast_2619 9 9 650 13 db_rskt_simulasi.pg_toast.pg_toast_2619 7 7 549 7 db_rsnu_simulasi.public.chat 9 0 543 0 db_rskt_running.public.notifikasi_r 1 1 474 0 db_ihospital.public.chat 6 0 396 0 db_rsrib_running.pg_toast.pg_toast_2619 4 4 384 0 db_rsrib_running.public.chat 2 0 116 0 db_rsih_simulasi.public.pendapatanjasa_r 2 0 108 0 db_rsnu_simulasi.public.loginpemakai_k 10 10 101 0 db_rsih_simulasi.public.pasienpulang_r 1 0 83 0 db_rskt_simulasi.public.loginpemakai_k 5 5 50 0 db_rskt_running.public.antrian_t 1 1 29 0 db_rskt_running.public.pendaftaran_t 1 1 13 0 db_rsrib_running.public.loginpemakai_k 1 1 12 0 db_rsih_simulasi.public.pendaftaran_t 1 1 5 0 Total 736 650 34,091 65 Pages removed per table
Key values
- pg_toast.pg_toast_2619 (41) Main table with removed pages on database db_rsih_simulasi
- 65 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed db_rsih_simulasi.pg_toast.pg_toast_2619 26 26 2346 41 db_rsnu_simulasi.pg_toast.pg_toast_2619 9 9 650 13 db_rskt_simulasi.pg_toast.pg_toast_2619 7 7 549 7 db_ihospital.pg_toast.pg_toast_2619 9 9 818 4 db_rsrib_running.pg_toast.pg_toast_2619 4 4 384 0 db_rsih_simulasi.public.loginpemakai_k 302 298 4223 0 db_rskt_running.public.loginpemakai_k 164 124 17160 0 db_rskt_running.public.antrian_t 1 1 29 0 db_rsrib_running.public.chat 2 0 116 0 db_rskt_running.public.notifikasi_r 1 1 474 0 db_rsnu_simulasi.public.loginpemakai_k 10 10 101 0 db_rsrib_running.public.loginpemakai_k 1 1 12 0 db_ihospital.public.chat 6 0 396 0 db_rsih_simulasi.public.pasienpulang_r 1 0 83 0 db_ihospital.public.loginpemakai_k 121 121 1431 0 db_rskt_simulasi.public.loginpemakai_k 5 5 50 0 db_rsih_simulasi.public.pendaftaran_t 1 1 5 0 db_rskt_running.public.chat 22 0 1583 0 db_rskt_running.public.pendaftaran_t 1 1 13 0 db_rsnu_simulasi.public.chat 9 0 543 0 db_rsih_simulasi.public.pendapatanjasa_r 2 0 108 0 db_rskt_running.pg_toast.pg_toast_2619 32 32 3017 0 Total 736 650 34,091 65 Autovacuum Activity
Day Hour VACUUMs ANALYZEs Mar 24 00 0 1 01 0 1 02 0 1 03 0 2 04 0 1 05 1 1 06 0 4 07 20 75 08 54 168 09 62 168 10 83 194 11 114 234 12 83 161 13 51 140 14 60 182 15 97 190 16 78 148 17 10 30 18 0 9 19 0 8 20 1 9 21 2 46 22 9 52 23 11 37 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 27s517ms 27s517ms 27s517ms 27s517ms insert into "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_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, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48);
Date: 2022-03-24 07:48:13 Database: db_rskt_running User: developer Application: [unknown]
Queries that waited the most
Rank Wait time Query 1 27s517ms INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_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, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48);[ Date: 2022-03-24 07:48:13 - Database: db_rskt_running - User: developer - Application: [unknown] ]
-
Queries
Queries by type
Key values
- 3,982,015 Total read queries
- 288,076 Total write queries
Queries by database
Key values
- db_rskt_running Main database
- 2,378,152 Requests
- 47m22s (db_rskt_running)
- Main time consuming database
Database Request type Count Duration db_ihospital Total 207,691 2m12s BEGIN 8 0ms COMMIT 7 36ms INSERT 25 506ms SELECT 161,229 1m39s UPDATE 15,766 29s736ms others 30,656 3s140ms db_rsbri_running Total 5 2ms SELECT 4 2ms others 1 0ms db_rscms_simulasi Total 66 29s289ms BEGIN 2 0ms SELECT 61 29s266ms others 3 22ms db_rsih_running Total 10 109ms SELECT 9 107ms others 1 2ms db_rsih_simulasi Total 1,507,984 13m23s BEGIN 232 2ms COMMIT 217 732ms DELETE 15 38ms INSERT 716 4s379ms ROLLBACK 15 3ms SELECT 1,194,407 10m16s UPDATE 104,974 2m40s others 207,408 21s522ms db_rskt_running Total 2,378,152 47m22s BEGIN 532 7ms COMMIT 521 1s727ms DELETE 89 113ms INSERT 2,619 41s833ms ROLLBACK 11 2ms SELECT 1,983,515 44m10s UPDATE 127,954 2m1s others 262,911 26s848ms db_rskt_simulasi Total 220,507 3m13s BEGIN 16 0ms COMMIT 14 18ms DELETE 1 0ms INSERT 67 437ms ROLLBACK 2 0ms SELECT 179,527 2m58s UPDATE 13,434 11s585ms others 27,446 2s691ms db_rsnu_running Total 10,982 1m21s INSERT 546 1s629ms SELECT 7,215 1m17s UPDATE 1,453 1s812ms others 1,768 178ms db_rsnu_simulasi Total 170,325 10m5s BEGIN 7 0ms COMMIT 7 12ms INSERT 1,761 3s344ms SELECT 134,961 9m45s UPDATE 11,316 14s213ms others 22,273 2s357ms db_rsrib_running Total 162,994 1m5s BEGIN 9 0ms INSERT 3 15ms ROLLBACK 9 2ms SELECT 142,189 58s303ms UPDATE 7,329 5s839ms others 13,455 1s403ms db_rswb_running Total 13 4s825ms SELECT 9 4s825ms others 4 0ms db_rswb_simulasi Total 379 13s493ms BEGIN 1 0ms CREATE 1 59ms DROP 1 3ms SELECT 350 13s400ms others 26 29ms pacsdb Total 531,115 5s682ms BEGIN 177,021 613ms COMMIT 177,021 1s823ms INSERT 5 57ms SELECT 177,029 3s183ms UPDATE 3 4ms others 36 0ms postgres Total 1,402 20s656ms SELECT 1,366 20s623ms others 36 33ms website_rskt Total 146 17ms SELECT 144 17ms others 2 0ms Queries by user
Key values
- developer Main user
- 5,191,771 Requests
User Request type Count Duration developer Total 5,191,771 1h19m58s BEGIN 177,828 624ms COMMIT 177,787 4s351ms CREATE 1 59ms DELETE 105 152ms DROP 1 3ms INSERT 5,742 52s203ms ROLLBACK 37 9ms SELECT 3,982,015 1h12m18s UPDATE 282,229 5m44s others 566,026 58s231ms Duration by user
Key values
- 1h19m58s (developer) Main time consuming user
User Request type Count Duration developer Total 5,191,771 1h19m58s BEGIN 177,828 624ms COMMIT 177,787 4s351ms CREATE 1 59ms DELETE 105 152ms DROP 1 3ms INSERT 5,742 52s203ms ROLLBACK 37 9ms SELECT 3,982,015 1h12m18s UPDATE 282,229 5m44s others 566,026 58s231ms Queries by host
Key values
- unknown Main host
- 5,191,771 Requests
- 1h19m58s (unknown)
- Main time consuming host
Queries by application
Key values
- [unknown] Main application
- 5,167,254 Requests
- 1h9m13s ([unknown])
- Main time consuming application
Application Request type Count Duration Navicat Total 3,290 2m23s INSERT 1,100 4s623ms SELECT 576 2m14s UPDATE 1,481 4s120ms others 133 17ms [unknown] Total 5,167,254 1h9m13s BEGIN 177,824 624ms COMMIT 177,787 4s351ms DELETE 105 152ms INSERT 4,641 47s575ms ROLLBACK 37 9ms SELECT 3,960,298 1h1m42s UPDATE 280,748 5m40s others 565,814 58s1ms pgAdmin 4 - CONN:3283370 Total 8 638ms SELECT 7 636ms others 1 1ms pgAdmin 4 - CONN:3627817 Total 2 0ms BEGIN 1 0ms SELECT 1 0ms pgAdmin 4 - CONN:5306309 Total 7 194ms SELECT 6 192ms others 1 2ms pgAdmin 4 - CONN:5516900 Total 11 36ms SELECT 10 34ms others 1 1ms pgAdmin 4 - CONN:5733966 Total 7 109ms SELECT 6 106ms others 1 2ms pgAdmin 4 - CONN:6499888 Total 5 7ms SELECT 4 4ms others 1 2ms pgAdmin 4 - CONN:8322518 Total 14 51ms BEGIN 1 0ms DROP 1 3ms SELECT 11 45ms others 1 2ms pgAdmin 4 - CONN:889910 Total 91 2s259ms SELECT 86 2s248ms others 5 11ms pgAdmin 4 - CONN:9745902 Total 84 562ms INSERT 1 3ms SELECT 79 548ms others 4 9ms pgAdmin 4 - DB:db_ihospital Total 219 14s767ms SELECT 214 14s758ms others 5 9ms pgAdmin 4 - DB:db_rscms_simulasi Total 52 28s985ms BEGIN 2 0ms SELECT 49 28s968ms others 1 17ms pgAdmin 4 - DB:db_rsih_running Total 10 109ms SELECT 9 107ms others 1 2ms pgAdmin 4 - DB:db_rsih_simulasi Total 13,503 4m2s SELECT 13,483 4m2s others 20 48ms pgAdmin 4 - DB:db_rskt_running Total 13 18ms SELECT 10 10ms others 3 7ms pgAdmin 4 - DB:db_rskt_simulasi Total 8 13ms SELECT 6 6ms others 2 6ms pgAdmin 4 - DB:db_rsnu_simulasi Total 5,564 2m57s SELECT 5,551 2m57s others 13 28ms pgAdmin 4 - DB:db_rswb_simulasi Total 280 13s396ms CREATE 1 59ms SELECT 271 13s312ms others 8 24ms pgAdmin 4 - DB:postgres Total 1,349 20s576ms SELECT 1,338 20s545ms others 11 30ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2022-03-24 05:29:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 4,394,023 0-1ms duration
Slowest individual queries
Rank Duration Query 1 27s536ms INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '41 Thn 08 Bln 04 Hr', '2022-03-24 07:47:44', '459', '12', '1058', '1', '398', '1', '10841', NULL, NULL, '2', '3', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN LAMA', '59', '2', '634', '2022-03-24 07:47:45', '001', '3', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 07:47:44', '20220324074745591', NULL, NULL, NULL);[ Date: 2022-03-24 07:48:13 - Database: db_rskt_running - User: developer - Application: [unknown] - Bind query: yes ]
2 12s933ms 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-24 08:50:04 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
3 12s890ms 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-24 08:05:30 - Database: db_rsnu_running - User: developer - Application: Navicat ]
4 12s176ms 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-24 08:52:38 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
5 11s605ms 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-24 09:39:30 - Database: db_ihospital - User: developer - Application: pgAdmin 4 - DB:db_ihospital ]
6 11s523ms 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-24 08:49:09 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
7 11s176ms 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-24 09:29:14 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
8 10s822ms 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-24 08:48:31 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
9 10s701ms 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-24 13:06:01 - Database: db_rsnu_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rsnu_simulasi ]
10 10s695ms 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-24 08:35:32 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
11 9s353ms 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-24 08:24:46 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
12 9s319ms 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-24 07:20:12 - Database: db_rswb_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rswb_simulasi ]
13 8s661ms 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-24 07:44:02 - Database: db_rscms_simulasi - User: developer - Application: pgAdmin 4 - DB:db_rscms_simulasi ]
14 8s135ms SELECT COUNT(*) FROM "tariftindakanperdaruangan_v" "t" join ruangan_m r on r.ruangan_id = t.ruangan_id WHERE r.ruangan_aktif = true;[ Date: 2022-03-24 11:21:15 - Database: db_rsrib_running - User: developer - Application: [unknown] - Bind query: yes ]
15 6s227ms 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-24 10:26:04 - Database: db_rsnu_running - User: developer - Application: Navicat ]
16 5s945ms 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-24 10:26:11 - Database: db_rsnu_simulasi - User: developer - Application: Navicat ]
17 5s868ms 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-24 11:27:07 - Database: db_rsnu_running - User: developer - Application: Navicat ]
18 5s693ms 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-24 11:27:19 - Database: db_rsnu_running - User: developer - Application: Navicat ]
19 5s614ms select * from kelurahan_m order by kelurahan_id desc;[ Date: 2022-03-24 10:05:21 - Database: db_rsnu_running - User: developer - Application: Navicat ]
20 5s592ms 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-24 11:27:54 - Database: db_rsnu_running - User: developer - Application: Navicat ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m59s 542,144 0ms 132ms 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 #1
Day Hour Count Duration Avg duration Mar 24 00 506 448ms 0ms 01 123 133ms 1ms 02 122 125ms 1ms 03 120 123ms 1ms 04 135 129ms 0ms 05 120 124ms 1ms 06 843 927ms 1ms 07 26,765 24s325ms 0ms 08 46,468 51s30ms 1ms 09 53,847 1m6s 1ms 10 65,313 1m14s 1ms 11 61,483 1m11s 1ms 12 32,010 35s731ms 1ms 13 36,752 39s929ms 1ms 14 64,660 1m14s 1ms 15 61,315 1m15s 1ms 16 29,948 31s633ms 1ms 17 12,141 12s251ms 1ms 18 3,149 2s286ms 0ms 19 2,925 2s139ms 0ms 20 1,468 1s355ms 0ms 21 11,318 10s208ms 0ms 22 18,541 15s235ms 0ms 23 12,072 10s646ms 0ms [ User: developer - Total duration: 9m59s - Times executed: 542144 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 542144 ]
-
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-24 12:00:13 Duration: 132ms 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-24 12:09:01 Duration: 129ms 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-24 15:10:36 Duration: 126ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
2 9m59s 240,077 0ms 70ms 2ms 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 #2
Day Hour Count Duration Avg duration Mar 24 00 119 303ms 2ms 01 120 296ms 2ms 02 120 291ms 2ms 03 120 289ms 2ms 04 120 288ms 2ms 05 120 295ms 2ms 06 342 842ms 2ms 07 8,503 23s586ms 2ms 08 18,068 39s188ms 2ms 09 23,898 55s452ms 2ms 10 30,217 1m5s 2ms 11 30,866 56s101ms 1ms 12 17,693 35s792ms 2ms 13 13,916 44s345ms 3ms 14 25,759 1m11s 2ms 15 31,505 1m21s 2ms 16 20,618 44s782ms 2ms 17 3,818 26s983ms 7ms 18 1,054 6s295ms 5ms 19 813 3s752ms 4ms 20 944 1s173ms 1ms 21 4,364 10s848ms 2ms 22 3,934 15s326ms 3ms 23 3,046 14s890ms 4ms [ User: developer - Total duration: 9m59s - Times executed: 240077 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 240077 ]
-
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 (1203));
Date: 2022-03-24 15:06:50 Duration: 70ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:44:56 Duration: 63ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:33:02 Duration: 60ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
3 7m48s 113,461 0ms 80ms 4ms 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 #3
Day Hour Count Duration Avg duration Mar 24 00 119 229ms 1ms 01 120 214ms 1ms 02 120 205ms 1ms 03 120 209ms 1ms 04 120 210ms 1ms 05 120 210ms 1ms 06 342 640ms 1ms 07 6,383 18s396ms 2ms 08 9,400 30s788ms 3ms 09 6,920 46s588ms 6ms 10 10,783 51s349ms 4ms 11 9,707 41s289ms 4ms 12 6,607 26s510ms 4ms 13 9,183 33s881ms 3ms 14 12,998 55s559ms 4ms 15 15,652 1m2s 3ms 16 10,163 33s639ms 3ms 17 3,701 24s740ms 6ms 18 1,054 5s507ms 5ms 19 813 2s852ms 3ms 20 381 801ms 2ms 21 3,602 7s892ms 2ms 22 2,984 12s398ms 4ms 23 2,069 12s135ms 5ms [ User: developer - Total duration: 7m48s - Times executed: 113461 ]
[ Application: [unknown] - Total duration: 7m48s - Times executed: 113461 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 80ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1203)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 63ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1445)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:27:29 Duration: 54ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
4 6m6s 1,263 197ms 4s678ms 290ms select * from "reportbugs_r" "t" where "t"."link_bugs" = ? and "t"."kodebugs" = ? and "t"."type_bugs" = ? limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 24 00 384 1m32s 241ms 09 4 4s160ms 1s40ms 11 10 7s903ms 790ms 12 93 26s935ms 289ms 13 122 36s126ms 296ms 14 385 2m 312ms 15 102 30s99ms 295ms 21 63 18s555ms 294ms 22 100 29s385ms 293ms [ User: developer - Total duration: 6m6s - Times executed: 1263 ]
[ Application: [unknown] - Total duration: 6m6s - Times executed: 1263 ]
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648105749796' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-24 14:25:35 Duration: 4s678ms 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=informasi/informasiAntrianPoliklinik/SetDropdownPegawai&model_nama=INInfokunjunganrjV' AND "t"."kodebugs" = '500' AND "t"."type_bugs" = 'PHP warning' LIMIT 1;
Date: 2022-03-24 11:19:49 Duration: 4s133ms 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=laboratorium/ambilTiketPenunjangInternalLB/indexLab&modulId=8' AND "t"."kodebugs" = '500' AND "t"."type_bugs" = 'PHP warning' LIMIT 1;
Date: 2022-03-24 14:44:15 Duration: 4s10ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
5 5m54s 19,126 5ms 78ms 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 24 00 59 1s135ms 19ms 01 60 1s105ms 18ms 02 22 400ms 18ms 03 42 775ms 18ms 04 60 1s84ms 18ms 05 60 1s132ms 18ms 06 101 1s767ms 17ms 08 1,354 25s585ms 18ms 09 1,706 34s139ms 20ms 10 1,727 35s13ms 20ms 11 5,658 1m33s 16ms 12 2,385 45s651ms 19ms 13 2,269 40s165ms 17ms 14 2,051 41s427ms 20ms 15 1,423 28s661ms 20ms 16 128 2s507ms 19ms 17 11 208ms 18ms 21 10 190ms 19ms [ User: developer - Total duration: 5m54s - Times executed: 19126 ]
[ Application: pgAdmin 4 - DB:db_rsih_simulasi - Total duration: 4m2s - Times executed: 13398 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 1m45s - Times executed: 5389 ]
[ Application: pgAdmin 4 - DB:db_rswb_simulasi - Total duration: 3s626ms - Times executed: 189 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 2s855ms - Times executed: 146 ]
[ Application: pgAdmin 4 - DB:db_rsih_running - Total duration: 93ms - Times executed: 4 ]
-
/*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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 15:44:56 Duration: 78ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 11:39:01 Duration: 73ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 10:51:58 Duration: 67ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_simulasi
6 5m36s 54,423 0ms 63ms 6ms 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 #6
Day Hour Count Duration Avg duration Mar 24 00 59 88ms 1ms 01 60 85ms 1ms 02 60 85ms 1ms 03 60 84ms 1ms 04 60 83ms 1ms 05 60 86ms 1ms 06 60 84ms 1ms 07 2,129 9s669ms 4ms 08 2,206 14s681ms 6ms 09 2,986 37s531ms 12ms 10 4,315 36s17ms 8ms 11 4,286 28s423ms 6ms 12 4,120 21s122ms 5ms 13 5,266 24s990ms 4ms 14 6,072 39s454ms 6ms 15 10,956 51s924ms 4ms 16 5,652 23s955ms 4ms 17 2,085 21s670ms 10ms 18 587 4s608ms 7ms 19 597 2s447ms 4ms 20 79 165ms 2ms 21 58 65ms 1ms 22 919 7s798ms 8ms 23 1,691 11s427ms 6ms [ User: developer - Total duration: 5m36s - Times executed: 54423 ]
[ Application: [unknown] - Total duration: 5m36s - Times executed: 54423 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:00:02 Duration: 63ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 56ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:07:46 Duration: 55ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
7 5m32s 268,589 0ms 232ms 1ms update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 24 00 119 103ms 0ms 01 120 95ms 0ms 02 120 91ms 0ms 03 120 92ms 0ms 04 120 95ms 0ms 05 120 96ms 0ms 06 350 266ms 0ms 07 8,857 8s261ms 0ms 08 20,037 23s365ms 1ms 09 25,792 33s596ms 1ms 10 32,335 40s779ms 1ms 11 36,615 47s914ms 1ms 12 22,067 30s941ms 1ms 13 17,586 20s337ms 1ms 14 29,957 35s276ms 1ms 15 34,466 44s362ms 1ms 16 21,107 28s120ms 1ms 17 4,003 4s623ms 1ms 18 1,064 836ms 0ms 19 830 655ms 0ms 20 947 743ms 0ms 21 4,473 3s416ms 0ms 22 4,180 4s257ms 1ms 23 3,204 3s828ms 1ms [ User: developer - Total duration: 5m32s - Times executed: 268589 ]
[ Application: [unknown] - Total duration: 5m32s - Times executed: 268589 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '1', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:10:01' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:10:02 Duration: 232ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 09:12:02' WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 09:12:02 Duration: 180ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '352', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:05:03' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:05:03 Duration: 174ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
8 3m2s 13,195 9ms 67ms 13ms 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 24 08 1,069 13s953ms 13ms 09 1,201 16s890ms 14ms 10 1,195 16s895ms 14ms 11 1,589 22s269ms 14ms 12 2,359 31s312ms 13ms 13 2,363 32s512ms 13ms 14 2,336 33s455ms 14ms 15 1,083 15s493ms 14ms [ User: developer - Total duration: 3m2s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 3m2s - Times executed: 13195 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 11:20:27 Duration: 67ms 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 = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 14:23:00 Duration: 66ms 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 = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 14:23:06 Duration: 64ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
9 2m59s 13,195 9ms 76ms 13ms 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 24 08 1,069 14s67ms 13ms 09 1,201 16s674ms 13ms 10 1,195 16s706ms 13ms 11 1,589 21s773ms 13ms 12 2,359 30s741ms 13ms 13 2,363 31s916ms 13ms 14 2,336 32s639ms 13ms 15 1,083 15s121ms 13ms [ User: developer - Total duration: 2m59s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 2m59s - Times executed: 13195 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:20:27 Duration: 76ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:08:56 Duration: 52ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:30:08 Duration: 43ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
10 2m58s 541,284 0ms 25ms 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 #10
Day Hour Count Duration Avg duration Mar 24 00 506 88ms 0ms 01 123 42ms 0ms 02 122 39ms 0ms 03 120 38ms 0ms 04 135 40ms 0ms 05 120 38ms 0ms 06 843 229ms 0ms 07 26,765 7s315ms 0ms 08 46,468 15s233ms 0ms 09 53,847 19s150ms 0ms 10 65,146 22s176ms 0ms 11 60,831 21s576ms 0ms 12 32,010 10s806ms 0ms 13 36,752 11s871ms 0ms 14 64,631 21s318ms 0ms 15 61,303 21s172ms 0ms 16 29,948 9s707ms 0ms 17 12,141 3s538ms 0ms 18 3,149 875ms 0ms 19 2,925 798ms 0ms 20 1,468 452ms 0ms 21 11,318 3s169ms 0ms 22 18,541 5s61ms 0ms 23 12,072 3s459ms 0ms [ User: developer - Total duration: 2m58s - Times executed: 541284 ]
[ Application: [unknown] - Total duration: 2m58s - Times executed: 541284 ]
-
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 = 'tindakanpelayanan_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:25:30 Duration: 25ms Database: db_rsih_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 = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:50:01 Duration: 16ms 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-24 10:30:03 Duration: 16ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
11 2m55s 13,195 8ms 47ms 13ms 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 #11
Day Hour Count Duration Avg duration Mar 24 08 1,069 13s818ms 12ms 09 1,201 16s349ms 13ms 10 1,195 16s332ms 13ms 11 1,589 21s400ms 13ms 12 2,359 30s5ms 12ms 13 2,363 31s110ms 13ms 14 2,336 31s780ms 13ms 15 1,083 15s14ms 13ms [ User: developer - Total duration: 2m55s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 2m55s - Times executed: 13195 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:19:56 Duration: 47ms 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 = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:10:03 Duration: 47ms 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 = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:23:09 Duration: 44ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
12 2m19s 59,038 1ms 22ms 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 #12
Day Hour Count Duration Avg duration Mar 24 00 60 138ms 2ms 01 60 134ms 2ms 02 60 125ms 2ms 03 60 128ms 2ms 04 60 133ms 2ms 05 60 126ms 2ms 06 282 582ms 2ms 07 4,254 9s82ms 2ms 08 7,194 16s694ms 2ms 09 3,934 9s647ms 2ms 10 6,468 16s195ms 2ms 11 5,421 13s593ms 2ms 12 2,487 5s755ms 2ms 13 3,917 9s300ms 2ms 14 6,926 17s26ms 2ms 15 4,696 11s722ms 2ms 16 4,511 10s140ms 2ms 17 1,616 3s617ms 2ms 18 467 1s41ms 2ms 19 216 485ms 2ms 20 302 646ms 2ms 21 3,544 7s936ms 2ms 22 2,065 4s664ms 2ms 23 378 880ms 2ms [ User: developer - Total duration: 2m19s - Times executed: 59038 ]
[ Application: [unknown] - Total duration: 2m19s - Times executed: 59038 ]
-
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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 12:00:13 Duration: 22ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1311)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:13:00 Duration: 19ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1316)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:23:29 Duration: 18ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 1m27s 17 4s216ms 6s227ms 5s123ms 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 #13
Day Hour Count Duration Avg duration Mar 24 08 6 27s136ms 4s522ms 09 1 4s807ms 4s807ms 10 2 12s172ms 6s86ms 11 7 38s461ms 5s494ms 12 1 4s516ms 4s516ms [ User: developer - Total duration: 1m27s - Times executed: 17 ]
[ Application: Navicat - Total duration: 1m27s - Times executed: 17 ]
-
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-24 10:26:04 Duration: 6s227ms Database: db_rsnu_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-24 10:26:11 Duration: 5s945ms Database: db_rsnu_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-24 11:27:07 Duration: 5s868ms Database: db_rsnu_running User: developer Application: Navicat
14 1m9s 6 10s701ms 12s933ms 11s555ms 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 #14
Day Hour Count Duration Avg duration Mar 24 08 4 47s455ms 11s863ms 09 1 11s176ms 11s176ms 13 1 10s701ms 10s701ms [ User: developer - Total duration: 1m9s - Times executed: 6 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 1m9s - Times executed: 6 ]
-
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-24 08:50:04 Duration: 12s933ms 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-24 08:52:38 Duration: 12s176ms 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-24 08:49:09 Duration: 11s523ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
15 58s 565,778 0ms 17ms 0ms set names ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 24 00 625 64ms 0ms 01 243 23ms 0ms 02 242 23ms 0ms 03 240 22ms 0ms 04 242 22ms 0ms 05 240 22ms 0ms 06 749 68ms 0ms 07 19,643 1s837ms 0ms 08 42,633 4s282ms 0ms 09 54,691 5s849ms 0ms 10 68,012 7s10ms 0ms 11 75,292 7s835ms 0ms 12 45,587 4s539ms 0ms 13 37,262 3s814ms 0ms 14 62,937 6s602ms 0ms 15 71,379 7s655ms 0ms 16 43,187 4s173ms 0ms 17 8,774 861ms 0ms 18 2,607 252ms 0ms 19 2,130 218ms 0ms 20 2,007 196ms 0ms 21 10,053 935ms 0ms 22 9,856 967ms 0ms 23 7,147 720ms 0ms [ User: developer - Total duration: 58s - Times executed: 565778 ]
[ Application: [unknown] - Total duration: 58s - Times executed: 565778 ]
-
SET NAMES 'utf8';
Date: 2022-03-24 15:29:30 Duration: 17ms Database: db_rsih_simulasi User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-24 15:42:57 Duration: 16ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-24 13:25:01 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
16 49s635ms 5 8s661ms 11s605ms 9s927ms 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 #16
Day Hour Count Duration Avg duration Mar 24 07 2 17s981ms 8s990ms 08 2 20s48ms 10s24ms 09 1 11s605ms 11s605ms [ User: developer - Total duration: 49s635ms - Times executed: 5 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 28s710ms - Times executed: 3 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 11s605ms - Times executed: 1 ]
[ Application: pgAdmin 4 - DB:db_rswb_simulasi - Total duration: 9s319ms - Times executed: 1 ]
-
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-24 09:39:30 Duration: 11s605ms 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-24 08:35:32 Duration: 10s695ms Database: db_rscms_simulasi User: developer Application: pgAdmin 4 - DB:db_rscms_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) 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-24 08:24:46 Duration: 9s353ms Database: db_rscms_simulasi User: developer Application: pgAdmin 4 - DB:db_rscms_simulasi
17 32s835ms 404 15ms 165ms 81ms 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 24 06 1 58ms 58ms 07 45 3s476ms 77ms 08 58 4s929ms 84ms 09 22 2s41ms 92ms 10 38 2s926ms 77ms 11 39 2s276ms 58ms 13 63 5s469ms 86ms 14 88 7s426ms 84ms 15 28 2s401ms 85ms 16 7 595ms 85ms 20 1 67ms 67ms 21 14 1s166ms 83ms [ User: developer - Total duration: 32s835ms - Times executed: 404 ]
[ Application: [unknown] - Total duration: 32s835ms - Times executed: 404 ]
-
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-24 09:30:14 Duration: 165ms 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-24 14:51:15 Duration: 164ms 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-24 09:51:54 Duration: 157ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 27s914ms 17 17ms 27s536ms 1s642ms insert into "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, null, null, null, ?, ?, ?, null, null, null);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 24 07 1 27s536ms 27s536ms 08 3 62ms 20ms 09 1 23ms 23ms 10 2 52ms 26ms 11 2 48ms 24ms 13 1 22ms 22ms 14 6 151ms 25ms 21 1 17ms 17ms [ User: developer - Total duration: 27s914ms - Times executed: 17 ]
[ Application: [unknown] - Total duration: 27s914ms - Times executed: 17 ]
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '41 Thn 08 Bln 04 Hr', '2022-03-24 07:47:44', '459', '12', '1058', '1', '398', '1', '10841', NULL, NULL, '2', '3', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN LAMA', '59', '2', '634', '2022-03-24 07:47:45', '001', '3', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 07:47:44', '20220324074745591', NULL, NULL, NULL);
Date: 2022-03-24 07:48:13 Duration: 27s536ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '03 Thn 08 Bln 08 Hr', '2022-03-24 14:39:59', '453', '11', '1048', '1', '398', '1', '73900', NULL, NULL, '2', '8', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN BARU', '29', '6', '633', '2022-03-24 14:40:01', '001', '1', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 14:39:59', '20220324144001759', NULL, NULL, NULL);
Date: 2022-03-24 14:40:01 Duration: 38ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '23 Thn 11 Bln 02 Hr', '2022-03-24 11:09:06', '446', '96', '1043', '1', '398', '1', '101119', NULL, NULL, '2', '2', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN LAMA', '59', '2', '634', '2022-03-24 11:09:08', '013', '3', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 11:09:06', '20220324110908939', NULL, NULL, NULL);
Date: 2022-03-24 11:09:08 Duration: 29ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
19 27s575ms 126,296 0ms 16ms 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 #19
Day Hour Count Duration Avg duration Mar 24 07 2,120 203ms 0ms 08 8,668 1s151ms 0ms 09 16,978 3s374ms 0ms 10 19,434 3s817ms 0ms 11 21,159 4s726ms 0ms 12 11,086 2s657ms 0ms 13 4,733 1s594ms 0ms 14 12,761 2s973ms 0ms 15 15,533 4s25ms 0ms 16 10,455 2s537ms 0ms 17 117 20ms 0ms 20 563 81ms 0ms 21 762 108ms 0ms 22 950 142ms 0ms 23 977 160ms 0ms [ User: developer - Total duration: 27s575ms - Times executed: 126296 ]
[ Application: [unknown] - Total duration: 27s575ms - Times executed: 126296 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 356 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:09:02 Duration: 16ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:39:23 Duration: 15ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:13:45 Duration: 13ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
20 26s914ms 119 169ms 527ms 226ms select setpembayaran_fix_bkm3 (?) as simpan;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 24 07 24 4s976ms 207ms 10 1 251ms 251ms 12 1 527ms 527ms 15 3 575ms 191ms 22 51 11s607ms 227ms 23 39 8s975ms 230ms [ User: developer - Total duration: 26s914ms - Times executed: 119 ]
[ Application: [unknown] - Total duration: 26s914ms - Times executed: 119 ]
-
select setpembayaran_fix_bkm3 (668) as simpan;
Date: 2022-03-24 12:09:02 Duration: 527ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
select setpembayaran_fix_bkm3 (2697) as simpan;
Date: 2022-03-24 22:49:22 Duration: 276ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
select setpembayaran_fix_bkm3 (2716) as simpan;
Date: 2022-03-24 22:54:08 Duration: 274ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 565,778 58s 0ms 17ms 0ms set names ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 24 00 625 64ms 0ms 01 243 23ms 0ms 02 242 23ms 0ms 03 240 22ms 0ms 04 242 22ms 0ms 05 240 22ms 0ms 06 749 68ms 0ms 07 19,643 1s837ms 0ms 08 42,633 4s282ms 0ms 09 54,691 5s849ms 0ms 10 68,012 7s10ms 0ms 11 75,292 7s835ms 0ms 12 45,587 4s539ms 0ms 13 37,262 3s814ms 0ms 14 62,937 6s602ms 0ms 15 71,379 7s655ms 0ms 16 43,187 4s173ms 0ms 17 8,774 861ms 0ms 18 2,607 252ms 0ms 19 2,130 218ms 0ms 20 2,007 196ms 0ms 21 10,053 935ms 0ms 22 9,856 967ms 0ms 23 7,147 720ms 0ms [ User: developer - Total duration: 58s - Times executed: 565778 ]
[ Application: [unknown] - Total duration: 58s - Times executed: 565778 ]
-
SET NAMES 'utf8';
Date: 2022-03-24 15:29:30 Duration: 17ms Database: db_rsih_simulasi User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-24 15:42:57 Duration: 16ms Database: db_rskt_running User: developer Application: [unknown]
-
SET NAMES 'utf8';
Date: 2022-03-24 13:25:01 Duration: 15ms Database: db_rskt_running User: developer Application: [unknown]
2 542,144 9m59s 0ms 132ms 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 24 00 506 448ms 0ms 01 123 133ms 1ms 02 122 125ms 1ms 03 120 123ms 1ms 04 135 129ms 0ms 05 120 124ms 1ms 06 843 927ms 1ms 07 26,765 24s325ms 0ms 08 46,468 51s30ms 1ms 09 53,847 1m6s 1ms 10 65,313 1m14s 1ms 11 61,483 1m11s 1ms 12 32,010 35s731ms 1ms 13 36,752 39s929ms 1ms 14 64,660 1m14s 1ms 15 61,315 1m15s 1ms 16 29,948 31s633ms 1ms 17 12,141 12s251ms 1ms 18 3,149 2s286ms 0ms 19 2,925 2s139ms 0ms 20 1,468 1s355ms 0ms 21 11,318 10s208ms 0ms 22 18,541 15s235ms 0ms 23 12,072 10s646ms 0ms [ User: developer - Total duration: 9m59s - Times executed: 542144 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 542144 ]
-
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-24 12:00:13 Duration: 132ms 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-24 12:09:01 Duration: 129ms 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-24 15:10:36 Duration: 126ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
3 541,284 2m58s 0ms 25ms 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 24 00 506 88ms 0ms 01 123 42ms 0ms 02 122 39ms 0ms 03 120 38ms 0ms 04 135 40ms 0ms 05 120 38ms 0ms 06 843 229ms 0ms 07 26,765 7s315ms 0ms 08 46,468 15s233ms 0ms 09 53,847 19s150ms 0ms 10 65,146 22s176ms 0ms 11 60,831 21s576ms 0ms 12 32,010 10s806ms 0ms 13 36,752 11s871ms 0ms 14 64,631 21s318ms 0ms 15 61,303 21s172ms 0ms 16 29,948 9s707ms 0ms 17 12,141 3s538ms 0ms 18 3,149 875ms 0ms 19 2,925 798ms 0ms 20 1,468 452ms 0ms 21 11,318 3s169ms 0ms 22 18,541 5s61ms 0ms 23 12,072 3s459ms 0ms [ User: developer - Total duration: 2m58s - Times executed: 541284 ]
[ Application: [unknown] - Total duration: 2m58s - Times executed: 541284 ]
-
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 = 'tindakanpelayanan_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:25:30 Duration: 25ms Database: db_rsih_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 = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:50:01 Duration: 16ms 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-24 10:30:03 Duration: 16ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
4 530,845 20s110ms 0ms 9ms 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 24 00 506 18ms 0ms 01 123 4ms 0ms 02 122 3ms 0ms 03 120 3ms 0ms 04 134 4ms 0ms 05 120 3ms 0ms 06 835 25ms 0ms 07 26,298 876ms 0ms 08 45,685 1s692ms 0ms 09 52,362 2s138ms 0ms 10 63,273 2s452ms 0ms 11 60,222 2s342ms 0ms 12 31,686 1s161ms 0ms 13 36,166 1s382ms 0ms 14 63,158 2s468ms 0ms 15 60,153 2s409ms 0ms 16 29,666 1s37ms 0ms 17 11,662 409ms 0ms 18 3,138 107ms 0ms 19 2,912 104ms 0ms 20 1,466 51ms 0ms 21 11,272 366ms 0ms 22 18,005 629ms 0ms 23 11,761 416ms 0ms [ User: developer - Total duration: 20s110ms - Times executed: 530845 ]
[ Application: [unknown] - Total duration: 20s110ms - Times executed: 530845 ]
-
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-24 10:07:26 Duration: 9ms 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-24 15:58:18 Duration: 9ms 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 = 'ruangan_m' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) AND attnum IN (1);
Date: 2022-03-24 14:23:46 Duration: 9ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
5 268,589 5m32s 0ms 232ms 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 24 00 119 103ms 0ms 01 120 95ms 0ms 02 120 91ms 0ms 03 120 92ms 0ms 04 120 95ms 0ms 05 120 96ms 0ms 06 350 266ms 0ms 07 8,857 8s261ms 0ms 08 20,037 23s365ms 1ms 09 25,792 33s596ms 1ms 10 32,335 40s779ms 1ms 11 36,615 47s914ms 1ms 12 22,067 30s941ms 1ms 13 17,586 20s337ms 1ms 14 29,957 35s276ms 1ms 15 34,466 44s362ms 1ms 16 21,107 28s120ms 1ms 17 4,003 4s623ms 1ms 18 1,064 836ms 0ms 19 830 655ms 0ms 20 947 743ms 0ms 21 4,473 3s416ms 0ms 22 4,180 4s257ms 1ms 23 3,204 3s828ms 1ms [ User: developer - Total duration: 5m32s - Times executed: 268589 ]
[ Application: [unknown] - Total duration: 5m32s - Times executed: 268589 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '1', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:10:01' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:10:02 Duration: 232ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 09:12:02' WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 09:12:02 Duration: 180ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '352', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:05:03' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:05:03 Duration: 174ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
6 250,848 18s735ms 0ms 10ms 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 24 00 119 6ms 0ms 01 120 5ms 0ms 02 120 5ms 0ms 03 120 5ms 0ms 04 120 5ms 0ms 05 120 5ms 0ms 06 335 14ms 0ms 07 8,340 540ms 0ms 08 18,916 1s347ms 0ms 09 24,865 1s988ms 0ms 10 31,166 2s395ms 0ms 11 32,254 2s388ms 0ms 12 19,955 1s504ms 0ms 13 16,104 1s112ms 0ms 14 27,705 2s49ms 0ms 15 32,332 2s544ms 0ms 16 20,544 1s561ms 0ms 17 3,771 206ms 0ms 18 1,052 62ms 0ms 19 807 64ms 0ms 20 943 65ms 0ms 21 4,289 306ms 0ms 22 3,803 317ms 0ms 23 2,948 232ms 0ms [ User: developer - Total duration: 18s735ms - Times executed: 250848 ]
[ Application: [unknown] - Total duration: 18s735ms - Times executed: 250848 ]
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 14:07:40 Duration: 10ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 16:37:38 Duration: 9ms Database: db_rsih_simulasi 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-24 11:40:13 Duration: 9ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
7 240,077 9m59s 0ms 70ms 2ms 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 24 00 119 303ms 2ms 01 120 296ms 2ms 02 120 291ms 2ms 03 120 289ms 2ms 04 120 288ms 2ms 05 120 295ms 2ms 06 342 842ms 2ms 07 8,503 23s586ms 2ms 08 18,068 39s188ms 2ms 09 23,898 55s452ms 2ms 10 30,217 1m5s 2ms 11 30,866 56s101ms 1ms 12 17,693 35s792ms 2ms 13 13,916 44s345ms 3ms 14 25,759 1m11s 2ms 15 31,505 1m21s 2ms 16 20,618 44s782ms 2ms 17 3,818 26s983ms 7ms 18 1,054 6s295ms 5ms 19 813 3s752ms 4ms 20 944 1s173ms 1ms 21 4,364 10s848ms 2ms 22 3,934 15s326ms 3ms 23 3,046 14s890ms 4ms [ User: developer - Total duration: 9m59s - Times executed: 240077 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 240077 ]
-
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 (1203));
Date: 2022-03-24 15:06:50 Duration: 70ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:44:56 Duration: 63ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:33:02 Duration: 60ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
8 177,828 624ms 0ms 1ms 0ms begin;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 24 00 7,287 28ms 0ms 01 7,380 27ms 0ms 02 7,380 25ms 0ms 03 7,380 24ms 0ms 04 7,380 24ms 0ms 05 7,380 25ms 0ms 06 7,380 24ms 0ms 07 7,424 24ms 0ms 08 7,490 26ms 0ms 09 7,456 26ms 0ms 10 7,468 28ms 0ms 11 7,430 25ms 0ms 12 7,404 25ms 0ms 13 7,424 26ms 0ms 14 7,484 29ms 0ms 15 7,480 27ms 0ms 16 7,408 24ms 0ms 17 7,420 25ms 0ms 18 7,380 24ms 0ms 19 7,380 25ms 0ms 20 7,380 25ms 0ms 21 7,381 24ms 0ms 22 7,440 26ms 0ms 23 7,412 28ms 0ms [ User: developer - Total duration: 624ms - Times executed: 177828 ]
[ Application: [unknown] - Total duration: 624ms - Times executed: 177824 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 0ms - Times executed: 2 ]
[ Application: pgAdmin 4 - CONN:3627817 - Total duration: 0ms - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:8322518 - Total duration: 0ms - Times executed: 1 ]
-
BEGIN;
Date: 2022-03-24 14:33:56 Duration: 1ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
-
BEGIN;
Date: 2022-03-24 14:14:30 Duration: 0ms Database: db_rskt_running User: developer Application: [unknown]
-
BEGIN;
Date: 2022-03-24 15:22:02 Duration: 0ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
9 177,787 4s351ms 0ms 107ms 0ms commit;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 24 00 7,287 80ms 0ms 01 7,380 75ms 0ms 02 7,380 70ms 0ms 03 7,380 68ms 0ms 04 7,380 69ms 0ms 05 7,380 71ms 0ms 06 7,380 66ms 0ms 07 7,421 131ms 0ms 08 7,488 309ms 0ms 09 7,450 605ms 0ms 10 7,455 432ms 0ms 11 7,429 277ms 0ms 12 7,401 170ms 0ms 13 7,422 132ms 0ms 14 7,482 476ms 0ms 15 7,478 388ms 0ms 16 7,401 247ms 0ms 17 7,420 124ms 0ms 18 7,380 69ms 0ms 19 7,380 73ms 0ms 20 7,380 70ms 0ms 21 7,381 70ms 0ms 22 7,440 138ms 0ms 23 7,412 129ms 0ms [ User: developer - Total duration: 4s351ms - Times executed: 177787 ]
[ Application: [unknown] - Total duration: 4s351ms - Times executed: 177787 ]
-
COMMIT;
Date: 2022-03-24 09:09:47 Duration: 107ms Database: db_rskt_running User: developer Application: [unknown]
-
COMMIT;
Date: 2022-03-24 09:34:36 Duration: 88ms Database: db_rskt_running User: developer Application: [unknown]
-
COMMIT;
Date: 2022-03-24 09:16:52 Duration: 75ms Database: db_rskt_running User: developer Application: [unknown]
10 172,690 3s77ms 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 #10
Day Hour Count Duration Avg duration Mar 24 00 7,110 137ms 0ms 01 7,200 130ms 0ms 02 7,200 121ms 0ms 03 7,200 117ms 0ms 04 7,200 120ms 0ms 05 7,200 125ms 0ms 06 7,200 116ms 0ms 07 7,200 118ms 0ms 08 7,200 126ms 0ms 09 7,200 146ms 0ms 10 7,190 135ms 0ms 11 7,200 129ms 0ms 12 7,200 131ms 0ms 13 7,200 131ms 0ms 14 7,200 136ms 0ms 15 7,200 139ms 0ms 16 7,200 127ms 0ms 17 7,200 125ms 0ms 18 7,200 121ms 0ms 19 7,200 134ms 0ms 20 7,200 122ms 0ms 21 7,200 119ms 0ms 22 7,200 125ms 0ms 23 7,190 134ms 0ms [ User: developer - Total duration: 3s77ms - Times executed: 172690 ]
[ Application: [unknown] - Total duration: 3s77ms - Times executed: 172690 ]
-
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-24 09:30:14.401')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-24 09:30:19 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 = 'DCMSND' AND t0_st.updated_time < '2022-03-24 19:18:48.68')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-24 19:18:53 Duration: 6ms 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 = 'MOD_AET' AND t0_st.updated_time < '2022-03-24 15:08:57.137')) AND t0_st.pk = t1_s.study_fk;
Date: 2022-03-24 15:09:02 Duration: 5ms Database: pacsdb User: developer Application: [unknown] Bind query: yes
11 170,736 8s476ms 0ms 8ms 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 #11
Day Hour Count Duration Avg duration Mar 24 06 552 24ms 0ms 07 10,722 474ms 0ms 08 15,589 765ms 0ms 09 17,358 889ms 0ms 10 17,982 926ms 0ms 11 13,615 683ms 0ms 12 4,339 212ms 0ms 13 12,095 597ms 0ms 14 22,329 1s131ms 0ms 15 25,425 1s314ms 0ms 16 4,395 205ms 0ms 17 7,839 360ms 0ms 18 265 12ms 0ms 19 742 43ms 0ms 20 83 3ms 0ms 21 4,692 202ms 0ms 22 7,421 371ms 0ms 23 5,293 257ms 0ms [ User: developer - Total duration: 8s476ms - Times executed: 170736 ]
[ Application: [unknown] - Total duration: 8s476ms - Times executed: 170736 ]
-
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" = '1367');
Date: 2022-03-24 19:22:37 Duration: 8ms 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" = '1248');
Date: 2022-03-24 09:16:09 Duration: 7ms 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" = '1310');
Date: 2022-03-24 14:46:05 Duration: 7ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
12 144,714 3s322ms 0ms 7ms 0ms select * from "ruangan_m" "t" where "t"."ruangan_id" = ? limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 24 06 405 8ms 0ms 07 10,380 204ms 0ms 08 10,419 234ms 0ms 09 10,131 250ms 0ms 10 15,191 360ms 0ms 11 14,024 324ms 0ms 12 3,399 84ms 0ms 13 13,384 307ms 0ms 14 25,702 603ms 0ms 15 14,930 372ms 0ms 16 4,927 106ms 0ms 17 2,724 58ms 0ms 18 278 6ms 0ms 19 770 16ms 0ms 20 78 1ms 0ms 21 4,660 94ms 0ms 22 7,725 169ms 0ms 23 5,587 121ms 0ms [ User: developer - Total duration: 3s322ms - Times executed: 144714 ]
[ Application: [unknown] - Total duration: 3s322ms - Times executed: 144714 ]
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 84 LIMIT 1;
Date: 2022-03-24 15:49:17 Duration: 7ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 356 LIMIT 1;
Date: 2022-03-24 15:06:44 Duration: 6ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM "ruangan_m" "t" WHERE "t"."ruangan_id" = 7 LIMIT 1;
Date: 2022-03-24 15:43:41 Duration: 4ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 126,296 27s575ms 0ms 16ms 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 #13
Day Hour Count Duration Avg duration Mar 24 07 2,120 203ms 0ms 08 8,668 1s151ms 0ms 09 16,978 3s374ms 0ms 10 19,434 3s817ms 0ms 11 21,159 4s726ms 0ms 12 11,086 2s657ms 0ms 13 4,733 1s594ms 0ms 14 12,761 2s973ms 0ms 15 15,533 4s25ms 0ms 16 10,455 2s537ms 0ms 17 117 20ms 0ms 20 563 81ms 0ms 21 762 108ms 0ms 22 950 142ms 0ms 23 977 160ms 0ms [ User: developer - Total duration: 27s575ms - Times executed: 126296 ]
[ Application: [unknown] - Total duration: 27s575ms - Times executed: 126296 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 356 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:09:02 Duration: 16ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:39:23 Duration: 15ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:13:45 Duration: 13ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
14 118,064 3s42ms 0ms 6ms 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 #14
Day Hour Count Duration Avg duration Mar 24 06 394 7ms 0ms 07 8,074 193ms 0ms 08 8,602 223ms 0ms 09 7,751 236ms 0ms 10 11,966 330ms 0ms 11 11,492 288ms 0ms 12 3,227 98ms 0ms 13 11,409 275ms 0ms 14 20,691 524ms 0ms 15 10,968 307ms 0ms 16 3,780 89ms 0ms 17 2,646 56ms 0ms 18 108 2ms 0ms 19 324 7ms 0ms 20 73 2ms 0ms 21 3,992 87ms 0ms 22 7,147 176ms 0ms 23 5,420 133ms 0ms [ User: developer - Total duration: 3s42ms - Times executed: 118064 ]
[ Application: [unknown] - Total duration: 3s42ms - Times executed: 118064 ]
-
SELECT * FROM chat WHERE ((chat_to = 'sysadmin' AND chat_from = 'dimasasyi') or (chat_to = 'dimasasyi' AND chat_from = 'sysadmin')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-24 09:22:35 Duration: 6ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE ((chat_to = 'dheni' AND chat_from = 'isnaini') or (chat_to = 'isnaini' AND chat_from = 'dheni')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-24 09:56:01 Duration: 6ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
SELECT * FROM chat WHERE ((chat_to = 'aan' AND chat_from = 'budysetiawan') or (chat_to = 'budysetiawan' AND chat_from = 'aan')) ORDER BY chat_sent DESC limit 100;
Date: 2022-03-24 13:47:28 Duration: 5ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
15 113,461 7m48s 0ms 80ms 4ms 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 #15
Day Hour Count Duration Avg duration Mar 24 00 119 229ms 1ms 01 120 214ms 1ms 02 120 205ms 1ms 03 120 209ms 1ms 04 120 210ms 1ms 05 120 210ms 1ms 06 342 640ms 1ms 07 6,383 18s396ms 2ms 08 9,400 30s788ms 3ms 09 6,920 46s588ms 6ms 10 10,783 51s349ms 4ms 11 9,707 41s289ms 4ms 12 6,607 26s510ms 4ms 13 9,183 33s881ms 3ms 14 12,998 55s559ms 4ms 15 15,652 1m2s 3ms 16 10,163 33s639ms 3ms 17 3,701 24s740ms 6ms 18 1,054 5s507ms 5ms 19 813 2s852ms 3ms 20 381 801ms 2ms 21 3,602 7s892ms 2ms 22 2,984 12s398ms 4ms 23 2,069 12s135ms 5ms [ User: developer - Total duration: 7m48s - Times executed: 113461 ]
[ Application: [unknown] - Total duration: 7m48s - Times executed: 113461 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 80ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1203)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 63ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1445)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:27:29 Duration: 54ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
16 102,513 21s384ms 0ms 13ms 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 #16
Day Hour Count Duration Avg duration Mar 24 07 2,024 213ms 0ms 08 7,135 863ms 0ms 09 13,759 2s223ms 0ms 10 15,646 2s707ms 0ms 11 16,527 3s213ms 0ms 12 10,584 2s536ms 0ms 13 3,077 1s300ms 0ms 14 10,446 2s263ms 0ms 15 13,125 3s396ms 0ms 16 10,073 2s645ms 0ms 17 117 21ms 0ms [ User: developer - Total duration: 21s384ms - Times executed: 102513 ]
[ Application: [unknown] - Total duration: 21s384ms - Times executed: 102513 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 352 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 10:01:02 Duration: 13ms 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 = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 16:24:32 Duration: 11ms Database: db_ihospital 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 = 352 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:27:30 Duration: 11ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
17 59,038 2m19s 1ms 22ms 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 #17
Day Hour Count Duration Avg duration Mar 24 00 60 138ms 2ms 01 60 134ms 2ms 02 60 125ms 2ms 03 60 128ms 2ms 04 60 133ms 2ms 05 60 126ms 2ms 06 282 582ms 2ms 07 4,254 9s82ms 2ms 08 7,194 16s694ms 2ms 09 3,934 9s647ms 2ms 10 6,468 16s195ms 2ms 11 5,421 13s593ms 2ms 12 2,487 5s755ms 2ms 13 3,917 9s300ms 2ms 14 6,926 17s26ms 2ms 15 4,696 11s722ms 2ms 16 4,511 10s140ms 2ms 17 1,616 3s617ms 2ms 18 467 1s41ms 2ms 19 216 485ms 2ms 20 302 646ms 2ms 21 3,544 7s936ms 2ms 22 2,065 4s664ms 2ms 23 378 880ms 2ms [ User: developer - Total duration: 2m19s - Times executed: 59038 ]
[ Application: [unknown] - Total duration: 2m19s - Times executed: 59038 ]
-
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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 12:00:13 Duration: 22ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1311)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:13:00 Duration: 19ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1316)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:23:29 Duration: 18ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 54,423 5m36s 0ms 63ms 6ms 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 #18
Day Hour Count Duration Avg duration Mar 24 00 59 88ms 1ms 01 60 85ms 1ms 02 60 85ms 1ms 03 60 84ms 1ms 04 60 83ms 1ms 05 60 86ms 1ms 06 60 84ms 1ms 07 2,129 9s669ms 4ms 08 2,206 14s681ms 6ms 09 2,986 37s531ms 12ms 10 4,315 36s17ms 8ms 11 4,286 28s423ms 6ms 12 4,120 21s122ms 5ms 13 5,266 24s990ms 4ms 14 6,072 39s454ms 6ms 15 10,956 51s924ms 4ms 16 5,652 23s955ms 4ms 17 2,085 21s670ms 10ms 18 587 4s608ms 7ms 19 597 2s447ms 4ms 20 79 165ms 2ms 21 58 65ms 1ms 22 919 7s798ms 8ms 23 1,691 11s427ms 6ms [ User: developer - Total duration: 5m36s - Times executed: 54423 ]
[ Application: [unknown] - Total duration: 5m36s - Times executed: 54423 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:00:02 Duration: 63ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 56ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:07:46 Duration: 55ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
19 41,441 729ms 0ms 9ms 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 #19
Day Hour Count Duration Avg duration Mar 24 06 15 0ms 0ms 07 1,422 18ms 0ms 08 3,064 53ms 0ms 09 9,224 186ms 0ms 10 4,461 76ms 0ms 11 3,364 54ms 0ms 12 977 17ms 0ms 13 1,395 22ms 0ms 14 3,679 59ms 0ms 15 8,354 152ms 0ms 16 585 9ms 0ms 17 3,976 64ms 0ms 21 72 1ms 0ms 22 211 2ms 0ms 23 642 9ms 0ms [ User: developer - Total duration: 729ms - Times executed: 41441 ]
[ Application: [unknown] - Total duration: 729ms - Times executed: 41441 ]
-
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" = '85');
Date: 2022-03-24 09:31:07 Duration: 9ms 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" = '29');
Date: 2022-03-24 09:29:32 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" = '25');
Date: 2022-03-24 09:36:14 Duration: 2ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
20 31,347 2s789ms 0ms 7ms 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 24 06 46 3ms 0ms 07 2,078 165ms 0ms 08 2,947 251ms 0ms 09 2,984 292ms 0ms 10 3,177 309ms 0ms 11 3,365 318ms 0ms 12 1,382 117ms 0ms 13 2,238 196ms 0ms 14 3,474 314ms 0ms 15 2,677 249ms 0ms 16 1,090 91ms 0ms 17 930 78ms 0ms 18 493 42ms 0ms 19 497 41ms 0ms 20 102 9ms 0ms 21 1,152 89ms 0ms 22 1,762 140ms 0ms 23 953 77ms 0ms [ User: developer - Total duration: 2s789ms - Times executed: 31347 ]
[ Application: [unknown] - Total duration: 2s789ms - Times executed: 31347 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = 't' ORDER BY kelmenu_urutan;
Date: 2022-03-24 10:26:27 Duration: 7ms 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-24 11:28:13 Duration: 7ms 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-24 10:09:06 Duration: 7ms 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 10s701ms 12s933ms 11s555ms 6 1m9s 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 24 08 4 47s455ms 11s863ms 09 1 11s176ms 11s176ms 13 1 10s701ms 10s701ms [ User: developer - Total duration: 1m9s - Times executed: 6 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 1m9s - Times executed: 6 ]
-
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-24 08:50:04 Duration: 12s933ms 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-24 08:52:38 Duration: 12s176ms 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-24 08:49:09 Duration: 11s523ms Database: db_rsnu_simulasi User: developer Application: pgAdmin 4 - DB:db_rsnu_simulasi
2 8s661ms 11s605ms 9s927ms 5 49s635ms 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 24 07 2 17s981ms 8s990ms 08 2 20s48ms 10s24ms 09 1 11s605ms 11s605ms [ User: developer - Total duration: 49s635ms - Times executed: 5 ]
[ Application: pgAdmin 4 - DB:db_rscms_simulasi - Total duration: 28s710ms - Times executed: 3 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 11s605ms - Times executed: 1 ]
[ Application: pgAdmin 4 - DB:db_rswb_simulasi - Total duration: 9s319ms - Times executed: 1 ]
-
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-24 09:39:30 Duration: 11s605ms 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-24 08:35:32 Duration: 10s695ms Database: db_rscms_simulasi User: developer Application: pgAdmin 4 - DB:db_rscms_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) 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-24 08:24:46 Duration: 9s353ms Database: db_rscms_simulasi User: developer Application: pgAdmin 4 - DB:db_rscms_simulasi
3 4s216ms 6s227ms 5s123ms 17 1m27s 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 24 08 6 27s136ms 4s522ms 09 1 4s807ms 4s807ms 10 2 12s172ms 6s86ms 11 7 38s461ms 5s494ms 12 1 4s516ms 4s516ms [ User: developer - Total duration: 1m27s - Times executed: 17 ]
[ Application: Navicat - Total duration: 1m27s - Times executed: 17 ]
-
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-24 10:26:04 Duration: 6s227ms Database: db_rsnu_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-24 10:26:11 Duration: 5s945ms Database: db_rsnu_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-24 11:27:07 Duration: 5s868ms Database: db_rsnu_running User: developer Application: Navicat
4 17ms 27s536ms 1s642ms 17 27s914ms insert into "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, null, null, null, null, ?, ?, ?, null, null, null);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 24 07 1 27s536ms 27s536ms 08 3 62ms 20ms 09 1 23ms 23ms 10 2 52ms 26ms 11 2 48ms 24ms 13 1 22ms 22ms 14 6 151ms 25ms 21 1 17ms 17ms [ User: developer - Total duration: 27s914ms - Times executed: 17 ]
[ Application: [unknown] - Total duration: 27s914ms - Times executed: 17 ]
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '41 Thn 08 Bln 04 Hr', '2022-03-24 07:47:44', '459', '12', '1058', '1', '398', '1', '10841', NULL, NULL, '2', '3', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN LAMA', '59', '2', '634', '2022-03-24 07:47:45', '001', '3', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 07:47:44', '20220324074745591', NULL, NULL, NULL);
Date: 2022-03-24 07:48:13 Duration: 27s536ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '03 Thn 08 Bln 08 Hr', '2022-03-24 14:39:59', '453', '11', '1048', '1', '398', '1', '73900', NULL, NULL, '2', '8', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN BARU', '29', '6', '633', '2022-03-24 14:40:01', '001', '1', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 14:39:59', '20220324144001759', NULL, NULL, NULL);
Date: 2022-03-24 14:40:01 Duration: 38ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_id") VALUES ('f', 'f', 'f', 't', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', 'f', '6', NULL, '23 Thn 11 Bln 02 Hr', '2022-03-24 11:09:06', '446', '96', '1043', '1', '398', '1', '101119', NULL, NULL, '2', '2', 'ANTRIAN', 'PENGUNJUNG LAMA', 'KUNJUNGAN LAMA', '59', '2', '634', '2022-03-24 11:09:08', '013', '3', 'NON RUJUKAN', NULL, NULL, NULL, NULL, '', '2022-03-24 11:09:06', '20220324110908939', NULL, NULL, NULL);
Date: 2022-03-24 11:09:08 Duration: 29ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
5 197ms 4s678ms 290ms 1,263 6m6s 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 24 00 384 1m32s 241ms 09 4 4s160ms 1s40ms 11 10 7s903ms 790ms 12 93 26s935ms 289ms 13 122 36s126ms 296ms 14 385 2m 312ms 15 102 30s99ms 295ms 21 63 18s555ms 294ms 22 100 29s385ms 293ms [ User: developer - Total duration: 6m6s - Times executed: 1263 ]
[ Application: [unknown] - Total duration: 6m6s - Times executed: 1263 ]
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = 'http://rsrib.ihospital.id/index.php?r=chat&action=refreshchat&_=1648105749796' AND "t"."kodebugs" = '403' AND "t"."type_bugs" = 'CHttpException' LIMIT 1;
Date: 2022-03-24 14:25:35 Duration: 4s678ms 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=informasi/informasiAntrianPoliklinik/SetDropdownPegawai&model_nama=INInfokunjunganrjV' AND "t"."kodebugs" = '500' AND "t"."type_bugs" = 'PHP warning' LIMIT 1;
Date: 2022-03-24 11:19:49 Duration: 4s133ms 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=laboratorium/ambilTiketPenunjangInternalLB/indexLab&modulId=8' AND "t"."kodebugs" = '500' AND "t"."type_bugs" = 'PHP warning' LIMIT 1;
Date: 2022-03-24 14:44:15 Duration: 4s10ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
6 169ms 527ms 226ms 119 26s914ms select setpembayaran_fix_bkm3 (?) as simpan;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 24 07 24 4s976ms 207ms 10 1 251ms 251ms 12 1 527ms 527ms 15 3 575ms 191ms 22 51 11s607ms 227ms 23 39 8s975ms 230ms [ User: developer - Total duration: 26s914ms - Times executed: 119 ]
[ Application: [unknown] - Total duration: 26s914ms - Times executed: 119 ]
-
select setpembayaran_fix_bkm3 (668) as simpan;
Date: 2022-03-24 12:09:02 Duration: 527ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
select setpembayaran_fix_bkm3 (2697) as simpan;
Date: 2022-03-24 22:49:22 Duration: 276ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
select setpembayaran_fix_bkm3 (2716) as simpan;
Date: 2022-03-24 22:54:08 Duration: 274ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
7 15ms 165ms 81ms 404 32s835ms 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 #7
Day Hour Count Duration Avg duration Mar 24 06 1 58ms 58ms 07 45 3s476ms 77ms 08 58 4s929ms 84ms 09 22 2s41ms 92ms 10 38 2s926ms 77ms 11 39 2s276ms 58ms 13 63 5s469ms 86ms 14 88 7s426ms 84ms 15 28 2s401ms 85ms 16 7 595ms 85ms 20 1 67ms 67ms 21 14 1s166ms 83ms [ User: developer - Total duration: 32s835ms - Times executed: 404 ]
[ Application: [unknown] - Total duration: 32s835ms - Times executed: 404 ]
-
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-24 09:30:14 Duration: 165ms 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-24 14:51:15 Duration: 164ms 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-24 09:51:54 Duration: 157ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
8 5ms 78ms 18ms 19,126 5m54s 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 #8
Day Hour Count Duration Avg duration Mar 24 00 59 1s135ms 19ms 01 60 1s105ms 18ms 02 22 400ms 18ms 03 42 775ms 18ms 04 60 1s84ms 18ms 05 60 1s132ms 18ms 06 101 1s767ms 17ms 08 1,354 25s585ms 18ms 09 1,706 34s139ms 20ms 10 1,727 35s13ms 20ms 11 5,658 1m33s 16ms 12 2,385 45s651ms 19ms 13 2,269 40s165ms 17ms 14 2,051 41s427ms 20ms 15 1,423 28s661ms 20ms 16 128 2s507ms 19ms 17 11 208ms 18ms 21 10 190ms 19ms [ User: developer - Total duration: 5m54s - Times executed: 19126 ]
[ Application: pgAdmin 4 - DB:db_rsih_simulasi - Total duration: 4m2s - Times executed: 13398 ]
[ Application: pgAdmin 4 - DB:db_rsnu_simulasi - Total duration: 1m45s - Times executed: 5389 ]
[ Application: pgAdmin 4 - DB:db_rswb_simulasi - Total duration: 3s626ms - Times executed: 189 ]
[ Application: pgAdmin 4 - DB:db_ihospital - Total duration: 2s855ms - Times executed: 146 ]
[ Application: pgAdmin 4 - DB:db_rsih_running - Total duration: 93ms - Times executed: 4 ]
-
/*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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 15:44:56 Duration: 78ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 11:39:01 Duration: 73ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_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 = 1370141)) AS "Total", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'active' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Active", ( SELECT count(*) FROM pg_catalog.pg_stat_activity WHERE state = 'idle' AND datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Transactions", ( SELECT sum(xact_commit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Commits", ( SELECT sum(xact_rollback) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Inserts", ( SELECT sum(tup_updated) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Updates", ( SELECT sum(tup_deleted) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Fetched", ( SELECT sum(tup_returned) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) 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 = 1370141)) AS "Reads", ( SELECT sum(blks_hit) FROM pg_catalog.pg_stat_database WHERE datname = ( SELECT datname FROM pg_catalog.pg_database WHERE oid = 1370141)) AS "Hits") t;
Date: 2022-03-24 10:51:58 Duration: 67ms Database: db_rsih_simulasi User: developer Application: pgAdmin 4 - DB:db_rsih_simulasi
9 9ms 67ms 13ms 13,195 3m2s 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 #9
Day Hour Count Duration Avg duration Mar 24 08 1,069 13s953ms 13ms 09 1,201 16s890ms 14ms 10 1,195 16s895ms 14ms 11 1,589 22s269ms 14ms 12 2,359 31s312ms 13ms 13 2,363 32s512ms 13ms 14 2,336 33s455ms 14ms 15 1,083 15s493ms 14ms [ User: developer - Total duration: 3m2s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 3m2s - Times executed: 13195 ]
-
SELECT count(nofitikasi_id) as total FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 11:20:27 Duration: 67ms 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 = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 14:23:00 Duration: 66ms 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 = 459 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (null));
Date: 2022-03-24 14:23:06 Duration: 64ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
10 9ms 76ms 13ms 13,195 2m59s 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 #10
Day Hour Count Duration Avg duration Mar 24 08 1,069 14s67ms 13ms 09 1,201 16s674ms 13ms 10 1,195 16s706ms 13ms 11 1,589 21s773ms 13ms 12 2,359 30s741ms 13ms 13 2,363 31s916ms 13ms 14 2,336 32s639ms 13ms 15 1,083 15s121ms 13ms [ User: developer - Total duration: 2m59s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 2m59s - Times executed: 13195 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:20:27 Duration: 76ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:08:56 Duration: 52ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:30:08 Duration: 43ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
11 8ms 47ms 13ms 13,195 2m55s 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 #11
Day Hour Count Duration Avg duration Mar 24 08 1,069 13s818ms 12ms 09 1,201 16s349ms 13ms 10 1,195 16s332ms 13ms 11 1,589 21s400ms 13ms 12 2,359 30s5ms 12ms 13 2,363 31s110ms 13ms 14 2,336 31s780ms 13ms 15 1,083 15s14ms 13ms [ User: developer - Total duration: 2m55s - Times executed: 13195 ]
[ Application: [unknown] - Total duration: 2m55s - Times executed: 13195 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:19:56 Duration: 47ms 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 = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:10:03 Duration: 47ms 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 = 459 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (null)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:23:09 Duration: 44ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
12 0ms 63ms 6ms 54,423 5m36s 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 #12
Day Hour Count Duration Avg duration Mar 24 00 59 88ms 1ms 01 60 85ms 1ms 02 60 85ms 1ms 03 60 84ms 1ms 04 60 83ms 1ms 05 60 86ms 1ms 06 60 84ms 1ms 07 2,129 9s669ms 4ms 08 2,206 14s681ms 6ms 09 2,986 37s531ms 12ms 10 4,315 36s17ms 8ms 11 4,286 28s423ms 6ms 12 4,120 21s122ms 5ms 13 5,266 24s990ms 4ms 14 6,072 39s454ms 6ms 15 10,956 51s924ms 4ms 16 5,652 23s955ms 4ms 17 2,085 21s670ms 10ms 18 587 4s608ms 7ms 19 597 2s447ms 4ms 20 79 165ms 2ms 21 58 65ms 1ms 22 919 7s798ms 8ms 23 1,691 11s427ms 6ms [ User: developer - Total duration: 5m36s - Times executed: 54423 ]
[ Application: [unknown] - Total duration: 5m36s - Times executed: 54423 ]
-
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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1364)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:00:02 Duration: 63ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 56ms 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 = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:07:46 Duration: 55ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
13 0ms 80ms 4ms 113,461 7m48s 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 #13
Day Hour Count Duration Avg duration Mar 24 00 119 229ms 1ms 01 120 214ms 1ms 02 120 205ms 1ms 03 120 209ms 1ms 04 120 210ms 1ms 05 120 210ms 1ms 06 342 640ms 1ms 07 6,383 18s396ms 2ms 08 9,400 30s788ms 3ms 09 6,920 46s588ms 6ms 10 10,783 51s349ms 4ms 11 9,707 41s289ms 4ms 12 6,607 26s510ms 4ms 13 9,183 33s881ms 3ms 14 12,998 55s559ms 4ms 15 15,652 1m2s 3ms 16 10,163 33s639ms 3ms 17 3,701 24s740ms 6ms 18 1,054 5s507ms 5ms 19 813 2s852ms 3ms 20 381 801ms 2ms 21 3,602 7s892ms 2ms 22 2,984 12s398ms 4ms 23 2,069 12s135ms 5ms [ User: developer - Total duration: 7m48s - Times executed: 113461 ]
[ Application: [unknown] - Total duration: 7m48s - Times executed: 113461 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi, is_segera FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 453 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1309)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 80ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1203)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 15:17:34 Duration: 63ms 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-24' AND (pegawai_id IS NULL OR pegawai_id IN (1445)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:27:29 Duration: 54ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
14 0ms 70ms 2ms 240,077 9m59s 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 #14
Day Hour Count Duration Avg duration Mar 24 00 119 303ms 2ms 01 120 296ms 2ms 02 120 291ms 2ms 03 120 289ms 2ms 04 120 288ms 2ms 05 120 295ms 2ms 06 342 842ms 2ms 07 8,503 23s586ms 2ms 08 18,068 39s188ms 2ms 09 23,898 55s452ms 2ms 10 30,217 1m5s 2ms 11 30,866 56s101ms 1ms 12 17,693 35s792ms 2ms 13 13,916 44s345ms 3ms 14 25,759 1m11s 2ms 15 31,505 1m21s 2ms 16 20,618 44s782ms 2ms 17 3,818 26s983ms 7ms 18 1,054 6s295ms 5ms 19 813 3s752ms 4ms 20 944 1s173ms 1ms 21 4,364 10s848ms 2ms 22 3,934 15s326ms 3ms 23 3,046 14s890ms 4ms [ User: developer - Total duration: 9m59s - Times executed: 240077 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 240077 ]
-
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 (1203));
Date: 2022-03-24 15:06:50 Duration: 70ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:44:56 Duration: 63ms 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 = 453 AND modul_id = 5 AND (pegawai_id IS NULL OR pegawai_id IN (1309));
Date: 2022-03-24 15:33:02 Duration: 60ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
15 1ms 22ms 2ms 59,038 2m19s 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 #15
Day Hour Count Duration Avg duration Mar 24 00 60 138ms 2ms 01 60 134ms 2ms 02 60 125ms 2ms 03 60 128ms 2ms 04 60 133ms 2ms 05 60 126ms 2ms 06 282 582ms 2ms 07 4,254 9s82ms 2ms 08 7,194 16s694ms 2ms 09 3,934 9s647ms 2ms 10 6,468 16s195ms 2ms 11 5,421 13s593ms 2ms 12 2,487 5s755ms 2ms 13 3,917 9s300ms 2ms 14 6,926 17s26ms 2ms 15 4,696 11s722ms 2ms 16 4,511 10s140ms 2ms 17 1,616 3s617ms 2ms 18 467 1s41ms 2ms 19 216 485ms 2ms 20 302 646ms 2ms 21 3,544 7s936ms 2ms 22 2,065 4s664ms 2ms 23 378 880ms 2ms [ User: developer - Total duration: 2m19s - Times executed: 59038 ]
[ Application: [unknown] - Total duration: 2m19s - Times executed: 59038 ]
-
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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1233)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 12:00:13 Duration: 22ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1311)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 14:13:00 Duration: 19ms 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-24' AND '2022-03-25' AND (pegawai_id IS NULL OR pegawai_id IN (1316)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:23:29 Duration: 18ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
16 0ms 232ms 1ms 268,589 5m32s update "loginpemakai_k" set "statuslogin" = ?, "ruanganaktifitas" = ?, "crudaktifitas" = ?, "waktuterakhiraktifitas" = ? where "loginpemakai_k"."loginpemakai_id" = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 24 00 119 103ms 0ms 01 120 95ms 0ms 02 120 91ms 0ms 03 120 92ms 0ms 04 120 95ms 0ms 05 120 96ms 0ms 06 350 266ms 0ms 07 8,857 8s261ms 0ms 08 20,037 23s365ms 1ms 09 25,792 33s596ms 1ms 10 32,335 40s779ms 1ms 11 36,615 47s914ms 1ms 12 22,067 30s941ms 1ms 13 17,586 20s337ms 1ms 14 29,957 35s276ms 1ms 15 34,466 44s362ms 1ms 16 21,107 28s120ms 1ms 17 4,003 4s623ms 1ms 18 1,064 836ms 0ms 19 830 655ms 0ms 20 947 743ms 0ms 21 4,473 3s416ms 0ms 22 4,180 4s257ms 1ms 23 3,204 3s828ms 1ms [ User: developer - Total duration: 5m32s - Times executed: 268589 ]
[ Application: [unknown] - Total duration: 5m32s - Times executed: 268589 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '1', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:10:01' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:10:02 Duration: 232ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '2', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 09:12:02' WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 09:12:02 Duration: 180ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
-
UPDATE "loginpemakai_k" SET "statuslogin" = 't', "ruanganaktifitas" = '352', "crudaktifitas" = 'chat', "waktuterakhiraktifitas" = '2022-03-24 14:05:03' WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 14:05:03 Duration: 174ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
17 0ms 132ms 1ms 542,144 9m59s 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 #17
Day Hour Count Duration Avg duration Mar 24 00 506 448ms 0ms 01 123 133ms 1ms 02 122 125ms 1ms 03 120 123ms 1ms 04 135 129ms 0ms 05 120 124ms 1ms 06 843 927ms 1ms 07 26,765 24s325ms 0ms 08 46,468 51s30ms 1ms 09 53,847 1m6s 1ms 10 65,313 1m14s 1ms 11 61,483 1m11s 1ms 12 32,010 35s731ms 1ms 13 36,752 39s929ms 1ms 14 64,660 1m14s 1ms 15 61,315 1m15s 1ms 16 29,948 31s633ms 1ms 17 12,141 12s251ms 1ms 18 3,149 2s286ms 0ms 19 2,925 2s139ms 0ms 20 1,468 1s355ms 0ms 21 11,318 10s208ms 0ms 22 18,541 15s235ms 0ms 23 12,072 10s646ms 0ms [ User: developer - Total duration: 9m59s - Times executed: 542144 ]
[ Application: [unknown] - Total duration: 9m59s - Times executed: 542144 ]
-
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-24 12:00:13 Duration: 132ms 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-24 12:09:01 Duration: 129ms 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-24 15:10:36 Duration: 126ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
18 0ms 25ms 0ms 541,284 2m58s 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 #18
Day Hour Count Duration Avg duration Mar 24 00 506 88ms 0ms 01 123 42ms 0ms 02 122 39ms 0ms 03 120 38ms 0ms 04 135 40ms 0ms 05 120 38ms 0ms 06 843 229ms 0ms 07 26,765 7s315ms 0ms 08 46,468 15s233ms 0ms 09 53,847 19s150ms 0ms 10 65,146 22s176ms 0ms 11 60,831 21s576ms 0ms 12 32,010 10s806ms 0ms 13 36,752 11s871ms 0ms 14 64,631 21s318ms 0ms 15 61,303 21s172ms 0ms 16 29,948 9s707ms 0ms 17 12,141 3s538ms 0ms 18 3,149 875ms 0ms 19 2,925 798ms 0ms 20 1,468 452ms 0ms 21 11,318 3s169ms 0ms 22 18,541 5s61ms 0ms 23 12,072 3s459ms 0ms [ User: developer - Total duration: 2m58s - Times executed: 541284 ]
[ Application: [unknown] - Total duration: 2m58s - Times executed: 541284 ]
-
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 = 'tindakanpelayanan_t' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:25:30 Duration: 25ms Database: db_rsih_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 = 'loginpemakai_k' AND relnamespace = ( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public'));
Date: 2022-03-24 09:50:01 Duration: 16ms 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-24 10:30:03 Duration: 16ms Database: db_rskt_running User: developer Application: [unknown] Bind query: yes
19 0ms 16ms 0ms 126,296 27s575ms 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 #19
Day Hour Count Duration Avg duration Mar 24 07 2,120 203ms 0ms 08 8,668 1s151ms 0ms 09 16,978 3s374ms 0ms 10 19,434 3s817ms 0ms 11 21,159 4s726ms 0ms 12 11,086 2s657ms 0ms 13 4,733 1s594ms 0ms 14 12,761 2s973ms 0ms 15 15,533 4s25ms 0ms 16 10,455 2s537ms 0ms 17 117 20ms 0ms 20 563 81ms 0ms 21 762 108ms 0ms 22 950 142ms 0ms 23 977 160ms 0ms [ User: developer - Total duration: 27s575ms - Times executed: 126296 ]
[ Application: [unknown] - Total duration: 27s575ms - Times executed: 126296 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 4 AND create_ruangan = 356 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:09:02 Duration: 16ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 1 AND create_ruangan = 2 AND modul_id = 2 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 09:39:23 Duration: 15ms Database: db_rsrib_running User: developer Application: [unknown] Bind query: yes
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE instalasi_id = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 13:13:45 Duration: 13ms Database: db_ihospital User: developer Application: [unknown] Bind query: yes
20 0ms 13ms 0ms 102,513 21s384ms 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 #20
Day Hour Count Duration Avg duration Mar 24 07 2,024 213ms 0ms 08 7,135 863ms 0ms 09 13,759 2s223ms 0ms 10 15,646 2s707ms 0ms 11 16,527 3s213ms 0ms 12 10,584 2s536ms 0ms 13 3,077 1s300ms 0ms 14 10,446 2s263ms 0ms 15 13,125 3s396ms 0ms 16 10,073 2s645ms 0ms 17 117 21ms 0ms [ User: developer - Total duration: 21s384ms - Times executed: 102513 ]
[ Application: [unknown] - Total duration: 21s384ms - Times executed: 102513 ]
-
SELECT isread, nofitikasi_id, judulnotifikasi, tglnotifikasi, isinotifikasi FROM notifikasi_r WHERE isread = false AND instalasi_id = 4 AND create_ruangan = 352 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 10:01:02 Duration: 13ms 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 = 2 AND create_ruangan = 452 AND modul_id = 5 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 16:24:32 Duration: 11ms Database: db_ihospital 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 = 352 AND modul_id = 7 AND date(tglnotifikasi) = '2022-03-24' AND (pegawai_id IS NULL OR pegawai_id IN (1028)) order by tglnotifikasi desc limit 20;
Date: 2022-03-24 11:27:30 Duration: 11ms Database: db_rsih_simulasi User: developer Application: [unknown] Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9m2s 1,083,432 0ms 43ms 0ms SELECT ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Mar 24 00 1,012 848ms 0ms 01 246 149ms 0ms 02 244 142ms 0ms 03 240 138ms 0ms 04 270 148ms 0ms 05 240 142ms 0ms 06 1,686 667ms 0ms 07 53,530 21s114ms 0ms 08 92,936 43s701ms 0ms 09 107,694 56s188ms 0ms 10 130,459 1m5s 0ms 11 122,314 1m8s 0ms 12 64,020 36s831ms 0ms 13 73,505 36s380ms 0ms 14 129,294 1m3s 0ms 15 122,618 1m6s 0ms 16 59,896 32s28ms 0ms 17 24,282 9s792ms 0ms 18 6,298 2s864ms 0ms 19 5,850 2s621ms 0ms 20 2,936 1s551ms 0ms 21 22,636 9s621ms 0ms 22 37,082 13s902ms 0ms 23 24,144 9s396ms 0ms [ User: developer - Total duration: 12m58s - Times executed: 1083432 ]
[ Application: [unknown] - Total duration: 12m58s - Times executed: 1083432 ]
-
SELECT ;
Date: 2022-03-24 11:00:02 Duration: 43ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT ;
Date: 2022-03-24 10:05:02 Duration: 31ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT ;
Date: 2022-03-24 10:50:02 Duration: 21ms Database: postgres User: db_rsnu_simulasi Remote: developer
2 7m9s 792,284 0ms 41ms 0ms ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 00 357 194ms 0ms 01 360 188ms 0ms 02 360 183ms 0ms 03 360 184ms 0ms 04 360 183ms 0ms 05 360 188ms 0ms 06 1,040 513ms 0ms 07 25,924 12s901ms 0ms 08 58,518 32s36ms 0ms 09 76,100 42s949ms 0ms 10 96,307 52s907ms 0ms 11 107,182 58s624ms 0ms 12 65,769 34s356ms 0ms 13 51,949 28s828ms 0ms 14 87,910 48s775ms 0ms 15 101,942 56s117ms 0ms 16 62,781 31s688ms 0ms 17 11,552 6s122ms 0ms 18 3,172 1s654ms 0ms 19 2,467 1s310ms 0ms 20 2,836 1s406ms 0ms 21 13,260 7s149ms 0ms 22 12,079 6s389ms 0ms 23 9,339 5s128ms 0ms [ User: developer - Total duration: 36m39s - Times executed: 792284 ]
[ Application: [unknown] - Total duration: 36m39s - Times executed: 792284 ]
-
;
Date: 2022-03-24 10:32:21 Duration: 41ms Database: postgres User: db_rsih_simulasi Remote: developer
-
;
Date: 2022-03-24 08:47:59 Duration: 39ms Database: postgres User: db_rsih_simulasi Remote: developer
-
;
Date: 2022-03-24 09:53:53 Duration: 37ms Database: postgres User: db_rsih_simulasi Remote: developer
3 2m43s 113,235 0ms 25ms 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 07 2,703 3s515ms 1ms 08 8,855 12s949ms 1ms 09 14,166 21s390ms 1ms 10 16,871 24s760ms 1ms 11 17,573 25s652ms 1ms 12 9,625 13s707ms 1ms 13 5,631 8s93ms 1ms 14 10,564 15s562ms 1ms 15 11,291 16s621ms 1ms 16 8,131 10s942ms 1ms 17 299 418ms 1ms 18 58 68ms 1ms 19 58 74ms 1ms 20 620 789ms 1ms 21 3,201 4s385ms 1ms 22 1,705 2s276ms 1ms 23 1,884 2s711ms 1ms [ User: developer - Total duration: 8s944ms - Times executed: 113235 ]
[ Application: [unknown] - Total duration: 8s944ms - Times executed: 113235 ]
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 12:01:29 Duration: 25ms 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-24 07:19:01 Duration: 25ms 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-24 14:13:48 Duration: 24ms Database: postgres User: db_rsih_simulasi Remote: developer
4 1m22s 170,769 0ms 26ms 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 06 552 247ms 0ms 07 10,724 4s552ms 0ms 08 15,600 7s638ms 0ms 09 17,366 8s791ms 0ms 10 17,984 8s900ms 0ms 11 13,621 6s803ms 0ms 12 4,339 2s178ms 0ms 13 12,095 5s861ms 0ms 14 22,332 10s959ms 0ms 15 25,426 12s511ms 0ms 16 4,395 2s30ms 0ms 17 7,839 3s358ms 0ms 18 265 116ms 0ms 19 742 325ms 0ms 20 83 32ms 0ms 21 4,692 2s14ms 0ms 22 7,421 3s359ms 0ms 23 5,293 2s413ms 0ms [ User: developer - Total duration: 8s476ms - Times executed: 170769 ]
[ Application: [unknown] - Total duration: 8s476ms - Times executed: 170769 ]
-
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-24 08:54:18 Duration: 26ms 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-24 09:49:03 Duration: 21ms Database: postgres User: db_rsih_simulasi 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-24 15:02:06 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer
5 1m20s 530,845 0ms 20ms 0ms SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 00 506 84ms 0ms 01 123 19ms 0ms 02 122 18ms 0ms 03 120 18ms 0ms 04 134 19ms 0ms 05 120 18ms 0ms 06 835 102ms 0ms 07 26,298 3s260ms 0ms 08 45,685 6s621ms 0ms 09 52,362 8s454ms 0ms 10 63,273 9s713ms 0ms 11 60,222 9s687ms 0ms 12 31,686 5s34ms 0ms 13 36,166 5s444ms 0ms 14 63,158 9s659ms 0ms 15 60,153 9s763ms 0ms 16 29,666 4s433ms 0ms 17 11,662 1s527ms 0ms 18 3,138 419ms 0ms 19 2,912 387ms 0ms 20 1,466 213ms 0ms 21 11,272 1s416ms 0ms 22 18,005 2s222ms 0ms 23 11,761 1s498ms 0ms [ User: developer - Total duration: 20s110ms - Times executed: 530845 ]
[ Application: [unknown] - Total duration: 20s110ms - Times executed: 530845 ]
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 11:14:00 Duration: 20ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 08:19:04 Duration: 17ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 13:47:00 Duration: 16ms Database: postgres User: db_rsih_simulasi Remote: developer
6 46s164ms 34,258 0ms 32ms 1ms SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 07 797 1s12ms 1ms 08 3,262 4s394ms 1ms 09 2,388 3s405ms 1ms 10 2,464 3s497ms 1ms 11 1,412 1s933ms 1ms 12 2,407 3s90ms 1ms 13 2,665 3s577ms 1ms 14 2,334 3s232ms 1ms 15 6,809 9s621ms 1ms 16 5,467 7s19ms 1ms 17 556 766ms 1ms 21 968 1s159ms 1ms 22 1,978 2s488ms 1ms 23 751 965ms 1ms [ User: developer - Total duration: 3s226ms - Times executed: 34258 ]
[ Application: [unknown] - Total duration: 3s226ms - Times executed: 34258 ]
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:40:01 Duration: 32ms 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-24 10:16:43 Duration: 26ms 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-24 17:03:06 Duration: 19ms Database: postgres User: db_rskt_running Remote: developer
7 35s487ms 25,116 0ms 13ms 1ms SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 09 2,171 3s162ms 1ms 10 4,827 6s911ms 1ms 11 4,781 6s741ms 1ms 12 2,435 3s425ms 1ms 13 23 32ms 1ms 14 3,016 4s235ms 1ms 15 5,246 7s535ms 1ms 16 2,617 3s442ms 1ms [ User: developer - Total duration: 2s82ms - Times executed: 25116 ]
[ Application: [unknown] - Total duration: 2s82ms - Times executed: 25116 ]
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:31:27 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:28:03 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:16:01 Duration: 12ms Database: postgres User: db_rsih_simulasi Remote: developer
8 17s981ms 13,176 0ms 21ms 1ms SELECT * FROM chat WHERE (chat_to = 'fera' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 08 1,062 1s404ms 1ms 09 1,198 1s695ms 1ms 10 1,195 1s647ms 1ms 11 1,585 2s170ms 1ms 12 2,356 3s67ms 1ms 13 2,362 3s230ms 1ms 14 2,334 3s239ms 1ms 15 1,084 1s525ms 1ms [ User: developer - Total duration: 874ms - Times executed: 13176 ]
[ Application: [unknown] - Total duration: 874ms - Times executed: 13176 ]
-
SELECT * FROM chat WHERE (chat_to = 'fera' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 13:40:52 Duration: 21ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'fera' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 13:25:02 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'fera' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:29:26 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
9 15s549ms 382 28ms 73ms 40ms SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 06 1 35ms 35ms 07 45 1s729ms 38ms 08 59 2s279ms 38ms 09 22 918ms 41ms 10 35 1s543ms 44ms 11 36 1s613ms 44ms 13 61 2s444ms 40ms 14 86 3s512ms 40ms 15 16 686ms 42ms 16 7 258ms 36ms 21 14 528ms 37ms [ User: developer - Total duration: 1s544ms - Times executed: 382 ]
[ Application: [unknown] - Total duration: 1s544ms - Times executed: 382 ]
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-24 11:44:57 Duration: 73ms 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-24 11:15:26 Duration: 72ms 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-24 08:55:02 Duration: 67ms Database: postgres User: db_rskt_running Remote: developer
10 13s536ms 10,013 0ms 20ms 1ms SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 07 948 1s153ms 1ms 08 1,165 1s538ms 1ms 09 321 448ms 1ms 10 1,003 1s367ms 1ms 11 1,908 2s674ms 1ms 12 259 335ms 1ms 13 1,476 2s47ms 1ms 14 1,463 1s984ms 1ms 15 1,470 1s985ms 1ms [ User: developer - Total duration: 477ms - Times executed: 10013 ]
[ Application: [unknown] - Total duration: 477ms - Times executed: 10013 ]
-
SELECT * FROM chat WHERE (chat_to = 'aan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 13:25:02 Duration: 20ms 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-24 10:02:25 Duration: 13ms 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-24 11:20:32 Duration: 13ms Database: postgres User: db_rskt_running Remote: developer
11 12s877ms 9,483 0ms 12ms 1ms SELECT * FROM chat WHERE (chat_to = 'annisa' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 06 79 91ms 1ms 07 1,042 1s287ms 1ms 08 1,561 2s96ms 1ms 09 819 1s156ms 1ms 10 792 1s127ms 1ms 11 848 1s191ms 1ms 12 62 77ms 1ms 13 1,597 2s156ms 1ms 14 1,970 2s698ms 1ms 15 713 995ms 1ms [ User: developer - Total duration: 447ms - Times executed: 9483 ]
[ Application: [unknown] - Total duration: 447ms - Times executed: 9483 ]
-
SELECT * FROM chat WHERE (chat_to = 'annisa' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 11:13:56 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'annisa' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:57:49 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'annisa' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:42:32 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
12 12s814ms 31,277 0ms 11ms 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 #12
Day Hour Count Duration Avg duration 06 46 16ms 0ms 07 2,069 755ms 0ms 08 2,946 1s195ms 0ms 09 2,980 1s319ms 0ms 10 3,166 1s352ms 0ms 11 3,362 1s444ms 0ms 12 1,381 549ms 0ms 13 2,233 902ms 0ms 14 3,472 1s459ms 0ms 15 2,676 1s149ms 0ms 16 1,057 400ms 0ms 17 930 368ms 0ms 18 493 198ms 0ms 19 497 188ms 0ms 20 102 40ms 0ms 21 1,152 414ms 0ms 22 1,762 688ms 0ms 23 953 372ms 0ms [ User: developer - Total duration: 16s206ms - Times executed: 31277 ]
[ Application: [unknown] - Total duration: 16s206ms - Times executed: 31277 ]
-
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-24 15:02:24 Duration: 11ms Database: postgres User: db_rskt_simulasi 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-24 09:52:06 Duration: 10ms 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-24 08:42:50 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
13 11s742ms 125,467 0ms 20ms 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 07 2,809 221ms 0ms 08 9,549 877ms 0ms 09 14,650 1s441ms 0ms 10 17,272 1s620ms 0ms 11 21,574 2s88ms 0ms 12 11,622 1s71ms 0ms 13 6,721 646ms 0ms 14 11,994 1s147ms 0ms 15 12,765 1s244ms 0ms 16 8,516 731ms 0ms 17 299 27ms 0ms 18 58 4ms 0ms 19 58 4ms 0ms 20 622 50ms 0ms 21 3,317 256ms 0ms 22 1,708 137ms 0ms 23 1,933 170ms 0ms [ User: developer - Total duration: 3m17s - Times executed: 125467 ]
[ Application: [unknown] - Total duration: 3m17s - Times executed: 125467 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 11:10:33 Duration: 20ms 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-24 13:25:56 Duration: 19ms Database: postgres User: db_rsrib_running Remote: developer
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 15:27:46 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer
14 11s582ms 435 17ms 68ms 26ms SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 09 414 11s15ms 26ms 11 1 24ms 24ms 12 2 43ms 21ms 13 2 61ms 30ms 15 16 437ms 27ms [ User: developer - Total duration: 273ms - Times executed: 435 ]
[ Application: [unknown] - Total duration: 273ms - Times executed: 435 ]
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 09:25:45 Duration: 68ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 15:17:13 Duration: 66ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 09:24:51 Duration: 62ms Database: postgres User: db_rsih_simulasi Remote: developer
15 10s391ms 24,861 0ms 16ms 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"."nomorijazah" AS "t1_c117", "pegawai"."universitas_sekolah" AS "t1_c118", "pegawai"."kodedokter_bpjs" AS "t1_c119", "pegawai"."spesialissubspesialis_id" AS "t1_c120" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 09 1,477 659ms 0ms 10 1,968 787ms 0ms 11 5,045 2s131ms 0ms 12 247 123ms 0ms 13 4,675 1s900ms 0ms 14 8,123 3s410ms 0ms 15 1,723 744ms 0ms 16 1,603 633ms 0ms [ User: developer - Total duration: 1s103ms - Times executed: 24861 ]
[ Application: [unknown] - Total duration: 1s103ms - Times executed: 24861 ]
-
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"."nomorijazah" AS "t1_c117", "pegawai"."universitas_sekolah" AS "t1_c118", "pegawai"."kodedokter_bpjs" AS "t1_c119", "pegawai"."spesialissubspesialis_id" AS "t1_c120" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-24 11:19:10 Duration: 16ms Database: postgres User: db_rsrib_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"."nomorijazah" AS "t1_c117", "pegawai"."universitas_sekolah" AS "t1_c118", "pegawai"."kodedokter_bpjs" AS "t1_c119", "pegawai"."spesialissubspesialis_id" AS "t1_c120" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-24 13:23:55 Duration: 11ms Database: postgres User: db_rsrib_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"."nomorijazah" AS "t1_c117", "pegawai"."universitas_sekolah" AS "t1_c118", "pegawai"."kodedokter_bpjs" AS "t1_c119", "pegawai"."spesialissubspesialis_id" AS "t1_c120" FROM "pegawai_m" "pegawai" WHERE ("pegawai"."pegawai_id" = $1);
Date: 2022-03-24 14:06:21 Duration: 10ms Database: postgres User: db_rsrib_running Remote: developer
16 9s130ms 661 0ms 73ms 13ms SELECT COUNT(pendaftaran_id) AS jumlah;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 07 39 478ms 12ms 08 86 1s229ms 14ms 09 170 2s548ms 14ms 10 43 686ms 15ms 11 54 756ms 14ms 12 17 162ms 9ms 13 69 872ms 12ms 14 112 1s488ms 13ms 15 25 358ms 14ms 16 17 162ms 9ms 22 7 85ms 12ms 23 22 301ms 13ms [ User: developer - Total duration: 608ms - Times executed: 661 ]
[ Application: [unknown] - Total duration: 608ms - Times executed: 661 ]
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 08:22:13 Duration: 73ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 10:26:59 Duration: 69ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 08:11:34 Duration: 67ms Database: postgres User: db_rsih_simulasi Remote: developer
17 9s90ms 31,347 0ms 10ms 0ms SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 06 46 12ms 0ms 07 2,078 527ms 0ms 08 2,947 848ms 0ms 09 2,984 960ms 0ms 10 3,177 948ms 0ms 11 3,365 1s33ms 0ms 12 1,382 393ms 0ms 13 2,238 645ms 0ms 14 3,474 1s18ms 0ms 15 2,677 832ms 0ms 16 1,090 301ms 0ms 17 930 242ms 0ms 18 493 139ms 0ms 19 497 138ms 0ms 20 102 31ms 0ms 21 1,152 285ms 0ms 22 1,762 461ms 0ms 23 953 268ms 0ms [ User: developer - Total duration: 2s789ms - Times executed: 31347 ]
[ Application: [unknown] - Total duration: 2s789ms - Times executed: 31347 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-24 09:01:21 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-24 15:10:30 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-24 09:08:27 Duration: 9ms Database: postgres User: db_rskt_running Remote: developer
18 8s302ms 6,160 0ms 13ms 1ms SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 12 394 553ms 1ms 13 773 1s43ms 1ms 14 1,550 2s93ms 1ms 15 1,293 1s819ms 1ms 16 1,211 1s590ms 1ms 17 120 150ms 1ms 18 264 323ms 1ms 19 533 695ms 1ms 20 22 31ms 1ms [ User: developer - Total duration: 579ms - Times executed: 6160 ]
[ Application: [unknown] - Total duration: 579ms - Times executed: 6160 ]
-
SELECT * FROM chat WHERE (chat_to = 'bintarm' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 12:06:38 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-24 14:26:33 Duration: 10ms 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-24 14:22:00 Duration: 9ms Database: postgres User: db_rskt_running Remote: developer
19 7s435ms 5,599 0ms 11ms 1ms SELECT * FROM chat WHERE (chat_to = 'santi' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 07 111 137ms 1ms 08 60 76ms 1ms 09 305 407ms 1ms 10 734 1s32ms 1ms 14 311 417ms 1ms 15 1,159 1s600ms 1ms 16 1,093 1s424ms 1ms 17 1,563 2s7ms 1ms 18 263 332ms 1ms [ User: developer - Total duration: 253ms - Times executed: 5599 ]
[ Application: [unknown] - Total duration: 253ms - Times executed: 5599 ]
-
SELECT * FROM chat WHERE (chat_to = 'santi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:01:27 Duration: 11ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'santi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:38:10 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'santi' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:12:00 Duration: 8ms Database: postgres User: db_rskt_running Remote: developer
20 7s434ms 163 30ms 68ms 45ms SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 08 11 500ms 45ms 09 24 1s103ms 45ms 10 74 3s385ms 45ms 11 27 1s288ms 47ms 12 13 566ms 43ms 13 12 487ms 40ms 14 2 102ms 51ms [ User: developer - Total duration: 397ms - Times executed: 163 ]
[ Application: [unknown] - Total duration: 397ms - Times executed: 163 ]
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 10:23:45 Duration: 68ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 09:51:01 Duration: 67ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 09:50:19 Duration: 63ms Database: postgres User: db_rskt_running Remote: developer
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 26m16s 1,083,432 0ms 45ms 1ms SELECT ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 24 00 1,012 2s113ms 2ms 01 246 422ms 1ms 02 244 407ms 1ms 03 240 396ms 1ms 04 270 424ms 1ms 05 240 402ms 1ms 06 1,686 1s988ms 1ms 07 53,530 1m2s 1ms 08 92,936 2m8s 1ms 09 107,694 2m43s 1ms 10 130,459 3m12s 1ms 11 122,314 3m15s 1ms 12 64,020 1m43s 1ms 13 73,505 1m46s 1ms 14 129,294 3m6s 1ms 15 122,618 3m10s 1ms 16 59,896 1m31s 1ms 17 24,282 29s203ms 1ms 18 6,298 8s346ms 1ms 19 5,850 7s660ms 1ms 20 2,936 4s440ms 1ms 21 22,636 28s518ms 1ms 22 37,082 42s109ms 1ms 23 24,144 28s563ms 1ms [ User: developer - Total duration: 12m58s - Times executed: 1083432 ]
[ Application: [unknown] - Total duration: 12m58s - Times executed: 1083432 ]
-
SELECT ;
Date: 2022-03-24 11:35:01 Duration: 45ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'loginpemakai_k', $2 = 'public'
-
SELECT ;
Date: 2022-03-24 13:25:04 Duration: 30ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'kelompokmenu_k', $2 = 'public'
-
SELECT ;
Date: 2022-03-24 09:43:32 Duration: 28ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'loginpemakai_k', $2 = 'public'
2 8m24s 792,284 0ms 155ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 00 357 215ms 0ms 01 360 217ms 0ms 02 360 206ms 0ms 03 360 203ms 0ms 04 360 204ms 0ms 05 360 206ms 0ms 06 1,040 571ms 0ms 07 25,924 14s728ms 0ms 08 58,518 37s709ms 0ms 09 76,100 51s81ms 0ms 10 96,307 1m2s 0ms 11 107,182 1m9s 0ms 12 65,769 40s504ms 0ms 13 51,949 33s565ms 0ms 14 87,910 57s543ms 0ms 15 101,942 1m5s 0ms 16 62,781 36s887ms 0ms 17 11,552 6s809ms 0ms 18 3,172 1s848ms 0ms 19 2,467 1s478ms 0ms 20 2,836 1s624ms 0ms 21 13,260 7s985ms 0ms 22 12,079 7s288ms 0ms 23 9,339 6s114ms 0ms [ User: developer - Total duration: 36m39s - Times executed: 792284 ]
[ Application: [unknown] - Total duration: 36m39s - Times executed: 792284 ]
-
;
Date: 2022-03-24 14:01:27 Duration: 155ms Database: postgres User: db_rsih_simulasi Remote: developer
-
;
Date: 2022-03-24 14:43:48 Duration: 143ms Database: postgres User: db_rskt_running Remote: developer
-
;
Date: 2022-03-24 08:47:59 Duration: 133ms Database: postgres User: db_rsih_simulasi Remote: developer
3 1m57s 530,845 0ms 26ms 0ms SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 00 506 112ms 0ms 01 123 26ms 0ms 02 122 24ms 0ms 03 120 24ms 0ms 04 134 27ms 0ms 05 120 25ms 0ms 06 835 153ms 0ms 07 26,298 4s993ms 0ms 08 45,685 9s874ms 0ms 09 52,362 12s430ms 0ms 10 63,273 14s434ms 0ms 11 60,222 14s25ms 0ms 12 31,686 7s89ms 0ms 13 36,166 8s36ms 0ms 14 63,158 14s293ms 0ms 15 60,153 14s75ms 0ms 16 29,666 6s313ms 0ms 17 11,662 2s308ms 0ms 18 3,138 629ms 0ms 19 2,912 599ms 0ms 20 1,466 307ms 0ms 21 11,272 2s124ms 0ms 22 18,005 3s500ms 0ms 23 11,761 2s353ms 0ms [ User: developer - Total duration: 20s110ms - Times executed: 530845 ]
[ Application: [unknown] - Total duration: 20s110ms - Times executed: 530845 ]
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 10:01:01 Duration: 26ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'modul_k', $2 = 'public'
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 13:58:30 Duration: 22ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'ruangan_m', $2 = 'public'
-
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE ;
Date: 2022-03-24 11:31:50 Duration: 17ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 'kelompokmenu_k', $2 = 'public'
4 1m30s 113,235 0ms 25ms 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 07 2,703 1s842ms 0ms 08 8,855 7s197ms 0ms 09 14,166 11s873ms 0ms 10 16,871 13s945ms 0ms 11 17,573 14s298ms 0ms 12 9,625 7s461ms 0ms 13 5,631 4s432ms 0ms 14 10,564 8s566ms 0ms 15 11,291 9s149ms 0ms 16 8,131 5s943ms 0ms 17 299 236ms 0ms 18 58 38ms 0ms 19 58 40ms 0ms 20 620 436ms 0ms 21 3,201 2s526ms 0ms 22 1,705 1s301ms 0ms 23 1,884 1s534ms 0ms [ User: developer - Total duration: 8s944ms - Times executed: 113235 ]
[ Application: [unknown] - Total duration: 8s944ms - Times executed: 113235 ]
-
SELECT * FROM chat WHERE (chat_to = 'sysadmin' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:05:02 Duration: 25ms 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-24 15:14:56 Duration: 17ms 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-24 10:15:07 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer
5 1m21s 125,467 0ms 14ms 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 07 2,809 1s720ms 0ms 08 9,549 6s392ms 0ms 09 14,650 10s492ms 0ms 10 17,272 11s681ms 0ms 11 21,574 13s591ms 0ms 12 11,622 7s66ms 0ms 13 6,721 4s148ms 0ms 14 11,994 7s863ms 0ms 15 12,765 8s443ms 0ms 16 8,516 5s385ms 0ms 17 299 198ms 0ms 18 58 37ms 0ms 19 58 38ms 0ms 20 622 385ms 0ms 21 3,317 1s948ms 0ms 22 1,708 1s72ms 0ms 23 1,933 1s248ms 0ms [ User: developer - Total duration: 3m17s - Times executed: 125467 ]
[ Application: [unknown] - Total duration: 3m17s - Times executed: 125467 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 10:30:30 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-24 10:30:29'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 15:49:00 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '53', $3 = 'chat', $4 = '2022-03-24 15:49:00'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 1;
Date: 2022-03-24 10:34:56 Duration: 14ms Database: postgres User: db_rskt_simulasi Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-24 10:34:56'
6 1m9s 170,769 0ms 15ms 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 06 552 220ms 0ms 07 10,724 3s822ms 0ms 08 15,600 6s446ms 0ms 09 17,366 7s428ms 0ms 10 17,984 7s609ms 0ms 11 13,621 5s825ms 0ms 12 4,339 1s915ms 0ms 13 12,095 5s138ms 0ms 14 22,332 9s391ms 0ms 15 25,426 10s549ms 0ms 16 4,395 1s705ms 0ms 17 7,839 2s769ms 0ms 18 265 100ms 0ms 19 742 272ms 0ms 20 83 26ms 0ms 21 4,692 1s616ms 0ms 22 7,421 2s817ms 0ms 23 5,293 2s 0ms [ User: developer - Total duration: 8s476ms - Times executed: 170769 ]
[ Application: [unknown] - Total duration: 8s476ms - Times executed: 170769 ]
-
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-24 08:23:05 Duration: 15ms Database: postgres User: db_rsnu_running Remote: developer parameters: $1 = '1028'
-
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-24 10:16:25 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1028'
-
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-24 15:00:01 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '317'
7 38s41ms 31,277 0ms 16ms 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 06 46 48ms 1ms 07 2,069 2s240ms 1ms 08 2,946 3s617ms 1ms 09 2,980 3s866ms 1ms 10 3,166 4s3ms 1ms 11 3,362 4s384ms 1ms 12 1,381 1s642ms 1ms 13 2,233 2s674ms 1ms 14 3,472 4s255ms 1ms 15 2,676 3s375ms 1ms 16 1,057 1s213ms 1ms 17 930 1s48ms 1ms 18 493 579ms 1ms 19 497 572ms 1ms 20 102 123ms 1ms 21 1,152 1s285ms 1ms 22 1,762 1s998ms 1ms 23 953 1s112ms 1ms [ User: developer - Total duration: 16s206ms - Times executed: 31277 ]
[ Application: [unknown] - Total duration: 16s206ms - Times executed: 31277 ]
-
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-24 09:53:27 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-24 21:33:26 Duration: 15ms Database: postgres User: db_rskt_simulasi 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-24 10:04:17 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '7'
8 30s678ms 435 48ms 173ms 70ms SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 09 414 29s306ms 70ms 11 1 56ms 56ms 12 2 109ms 54ms 13 2 176ms 88ms 15 16 1s28ms 64ms [ User: developer - Total duration: 273ms - Times executed: 435 ]
[ Application: [unknown] - Total duration: 273ms - Times executed: 435 ]
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 09:25:46 Duration: 173ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1795'
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 09:25:02 Duration: 151ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1774'
-
SELECT * FROM "infopasienmasukkamar_v" "t" WHERE "t"."pendaftaran_id" = $1 LIMIT 1;
Date: 2022-03-24 09:26:22 Duration: 139ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1774'
9 26s616ms 1,263 14ms 60ms 21ms SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = $1 AND "t"."kodebugs" = $2 AND "t"."type_bugs" = $3 LIMIT 1;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 00 384 7s566ms 19ms 09 4 95ms 23ms 11 10 222ms 22ms 12 93 1s964ms 21ms 13 122 2s607ms 21ms 14 385 8s498ms 22ms 15 102 2s323ms 22ms 21 63 1s322ms 20ms 22 100 2s14ms 20ms [ User: developer - Total duration: 6m6s - Times executed: 1263 ]
[ Application: [unknown] - Total duration: 6m6s - Times executed: 1263 ]
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = $1 AND "t"."kodebugs" = $2 AND "t"."type_bugs" = $3 LIMIT 1;
Date: 2022-03-24 14:05:56 Duration: 60ms Database: postgres User: db_rsnu_simulasi Remote: developer parameters: $1 = 'http://165.22.51.146/ihospital-rsnu-simulasi/index.php?r=chat&action=refreshchat&_=1648088195811', $2 = '403', $3 = 'CHttpException'
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = $1 AND "t"."kodebugs" = $2 AND "t"."type_bugs" = $3 LIMIT 1;
Date: 2022-03-24 14:25:33 Duration: 56ms Database: postgres User: db_rsnu_simulasi Remote: developer parameters: $1 = 'http://165.22.51.146/ihospital-rsnu-simulasi/index.php?r=chat&action=refreshchat&_=1648088092111', $2 = '403', $3 = 'CHttpException'
-
SELECT * FROM "reportbugs_r" "t" WHERE "t"."link_bugs" = $1 AND "t"."kodebugs" = $2 AND "t"."type_bugs" = $3 LIMIT 1;
Date: 2022-03-24 14:54:56 Duration: 54ms Database: postgres User: db_rsnu_simulasi Remote: developer parameters: $1 = 'http://165.22.51.146/ihospital-rsnu-simulasi/index.php?r=chat&action=refreshchat&_=1648088195909', $2 = '403', $3 = 'CHttpException'
10 25s151ms 34,258 0ms 31ms 0ms SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 07 797 549ms 0ms 08 3,262 2s432ms 0ms 09 2,388 1s852ms 0ms 10 2,464 1s819ms 0ms 11 1,412 1s43ms 0ms 12 2,407 1s716ms 0ms 13 2,665 1s954ms 0ms 14 2,334 1s752ms 0ms 15 6,809 5s236ms 0ms 16 5,467 3s849ms 0ms 17 556 406ms 0ms 21 968 643ms 0ms 22 1,978 1s361ms 0ms 23 751 532ms 0ms [ User: developer - Total duration: 3s226ms - Times executed: 34258 ]
[ Application: [unknown] - Total duration: 3s226ms - Times executed: 34258 ]
-
SELECT * FROM chat WHERE (chat_to = 'achmadirvan' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:47:40 Duration: 31ms 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-24 12:30:02 Duration: 15ms 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-24 15:54:13 Duration: 14ms Database: postgres User: db_rskt_running Remote: developer
11 24s548ms 35,398 0ms 12ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 07 837 537ms 0ms 08 3,349 2s284ms 0ms 09 2,399 1s764ms 0ms 10 2,512 1s804ms 0ms 11 1,432 1s40ms 0ms 12 2,413 1s625ms 0ms 13 2,679 1s921ms 0ms 14 2,382 1s719ms 0ms 15 6,955 5s115ms 0ms 16 5,538 3s714ms 0ms 17 556 398ms 0ms 21 1,036 626ms 0ms 22 2,352 1s424ms 0ms 23 958 570ms 0ms [ User: developer - Total duration: 41s452ms - Times executed: 35398 ]
[ Application: [unknown] - Total duration: 41s452ms - Times executed: 35398 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 14:09:03 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-24 14:09:03'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 14:45:08 Duration: 12ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '2', $3 = 'chat', $4 = '2022-03-24 14:45:08'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 626;
Date: 2022-03-24 16:28:27 Duration: 10ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = 't', $2 = '1', $3 = 'chat', $4 = '2022-03-24 16:28:27'
12 22s875ms 382 41ms 121ms 59ms SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 06 1 59ms 59ms 07 45 2s483ms 55ms 08 59 3s393ms 57ms 09 22 1s360ms 61ms 10 35 2s298ms 65ms 11 36 2s279ms 63ms 13 61 3s495ms 57ms 14 86 5s369ms 62ms 15 16 966ms 60ms 16 7 415ms 59ms 21 14 752ms 53ms [ User: developer - Total duration: 1s544ms - Times executed: 382 ]
[ Application: [unknown] - Total duration: 1s544ms - Times executed: 382 ]
-
SELECT * FROM "infokunjunganrj_v" "t" WHERE tgl_pendaftaran BETWEEN $1 AND $2 ORDER BY tgl_pendaftaran DESC LIMIT 10;
Date: 2022-03-24 14:30:48 Duration: 121ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24 00:00:00', $2 = '2022-03-24 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-24 10:55:46 Duration: 105ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24 00:00:00', $2 = '2022-03-24 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-24 14:26:39 Duration: 104ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24 00:00:00', $2 = '2022-03-24 23:59:59'
13 19s789ms 25,116 0ms 15ms 0ms SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 09 2,171 1s736ms 0ms 10 4,827 3s845ms 0ms 11 4,781 3s756ms 0ms 12 2,435 1s912ms 0ms 13 23 15ms 0ms 14 3,016 2s351ms 0ms 15 5,246 4s238ms 0ms 16 2,617 1s932ms 0ms [ User: developer - Total duration: 2s82ms - Times executed: 25116 ]
[ Application: [unknown] - Total duration: 2s82ms - Times executed: 25116 ]
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 15:52:01 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:26:16 Duration: 15ms Database: postgres User: db_rsih_simulasi Remote: developer
-
SELECT * FROM chat WHERE (chat_to = 'bagaerlangga' AND chat_recd = 0) ORDER BY chat_sent ASC;
Date: 2022-03-24 10:58:36 Duration: 13ms Database: postgres User: db_rsih_simulasi Remote: developer
14 17s744ms 25,965 0ms 16ms 0ms UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 795;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 09 2,333 1s643ms 0ms 10 5,071 3s515ms 0ms 11 4,869 3s308ms 0ms 12 2,447 1s665ms 0ms 13 23 13ms 0ms 14 3,247 2s157ms 0ms 15 5,357 3s754ms 0ms 16 2,618 1s686ms 0ms [ User: developer - Total duration: 23s527ms - Times executed: 25965 ]
[ Application: [unknown] - Total duration: 23s527ms - Times executed: 25965 ]
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 795;
Date: 2022-03-24 14:38:56 Duration: 16ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '352', $3 = 'chat', $4 = '2022-03-24 14:38:55'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 795;
Date: 2022-03-24 12:17:20 Duration: 16ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '352', $3 = 'chat', $4 = '2022-03-24 12:17:20'
-
UPDATE "loginpemakai_k" SET "statuslogin" = $1, "ruanganaktifitas" = $2, "crudaktifitas" = $3, "waktuterakhiraktifitas" = $4 WHERE "loginpemakai_k"."loginpemakai_id" = 795;
Date: 2022-03-24 16:09:01 Duration: 14ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't', $2 = '352', $3 = 'chat', $4 = '2022-03-24 16:09:01'
15 15s894ms 243 43ms 90ms 65ms 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 #15
Day Hour Count Duration Avg duration 07 49 2s730ms 55ms 10 2 155ms 77ms 12 2 127ms 63ms 13 1 78ms 78ms 15 5 320ms 64ms 16 3 210ms 70ms 22 103 6s934ms 67ms 23 78 5s336ms 68ms [ User: developer - Total duration: 554ms - Times executed: 243 ]
[ Application: [unknown] - Total duration: 554ms - Times executed: 243 ]
-
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-24 23:03:14 Duration: 90ms 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-24 23:07:48 Duration: 90ms 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-24 23:01:02 Duration: 88ms Database: postgres User: db_rskt_running Remote: developer
16 12s328ms 407 14ms 74ms 30ms SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 07 2 65ms 32ms 08 29 834ms 28ms 09 73 2s304ms 31ms 10 78 2s370ms 30ms 11 28 869ms 31ms 12 9 267ms 29ms 13 16 427ms 26ms 14 42 1s354ms 32ms 15 54 1s733ms 32ms 16 12 337ms 28ms 17 38 1s47ms 27ms 22 18 453ms 25ms 23 8 260ms 32ms [ User: developer - Total duration: 71ms - Times executed: 407 ]
[ Application: [unknown] - Total duration: 71ms - Times executed: 407 ]
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-24 11:27:10 Duration: 74ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '4710'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-24 14:53:01 Duration: 55ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1888'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pendaftaran_id" = $1;
Date: 2022-03-24 09:53:14 Duration: 54ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1835'
17 11s677ms 31,347 0ms 13ms 0ms SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 06 46 16ms 0ms 07 2,078 698ms 0ms 08 2,947 1s116ms 0ms 09 2,984 1s184ms 0ms 10 3,177 1s209ms 0ms 11 3,365 1s361ms 0ms 12 1,382 502ms 0ms 13 2,238 856ms 0ms 14 3,474 1s307ms 0ms 15 2,677 1s46ms 0ms 16 1,090 386ms 0ms 17 930 308ms 0ms 18 493 181ms 0ms 19 497 174ms 0ms 20 102 38ms 0ms 21 1,152 364ms 0ms 22 1,762 596ms 0ms 23 953 328ms 0ms [ User: developer - Total duration: 2s789ms - Times executed: 31347 ]
[ Application: [unknown] - Total duration: 2s789ms - Times executed: 31347 ]
-
SELECT * FROM "kelompokmenu_k" "t" WHERE kelmenu_aktif = $1 ORDER BY kelmenu_urutan;
Date: 2022-03-24 09:29:37 Duration: 13ms 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-24 10:59:23 Duration: 13ms 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-24 15:42:18 Duration: 12ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = 't'
18 10s685ms 661 0ms 107ms 16ms SELECT COUNT(pendaftaran_id) AS jumlah;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 07 39 472ms 12ms 08 86 1s540ms 17ms 09 170 1s991ms 11ms 10 43 950ms 22ms 11 54 927ms 17ms 12 17 299ms 17ms 13 69 1s281ms 18ms 14 112 1s939ms 17ms 15 25 418ms 16ms 16 17 231ms 13ms 22 7 154ms 22ms 23 22 478ms 21ms [ User: developer - Total duration: 608ms - Times executed: 661 ]
[ Application: [unknown] - Total duration: 608ms - Times executed: 661 ]
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 11:35:29 Duration: 107ms Database: postgres User: db_ihospital Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 10:26:59 Duration: 84ms Database: postgres User: db_rskt_running Remote: developer
-
SELECT COUNT(pendaftaran_id) AS jumlah;
Date: 2022-03-24 14:47:28 Duration: 83ms Database: postgres User: db_rsih_simulasi Remote: developer
19 10s655ms 163 43ms 99ms 65ms SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 08 11 748ms 68ms 09 24 1s587ms 66ms 10 74 4s777ms 64ms 11 27 1s837ms 68ms 12 13 825ms 63ms 13 12 737ms 61ms 14 2 141ms 70ms [ User: developer - Total duration: 397ms - Times executed: 163 ]
[ Application: [unknown] - Total duration: 397ms - Times executed: 163 ]
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 10:41:29 Duration: 99ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24', $2 = '2022-03-24'
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 10:03:56 Duration: 92ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24', $2 = '2022-03-24'
-
SELECT COUNT(DISTINCT "t"."pendaftaran_id") FROM "infokunjunganrj_v" "t" LEFT OUTER JOIN "pendaftaran_t" "pendaftaran" ON ("t"."pendaftaran_id" = "pendaftaran"."pendaftaran_id") WHERE ((DATE(t.tgl_pendaftaran) BETWEEN $1 AND $2) AND (t.ruangan_id = 452));
Date: 2022-03-24 09:56:55 Duration: 91ms Database: postgres User: db_rskt_running Remote: developer parameters: $1 = '2022-03-24', $2 = '2022-03-24'
20 9s663ms 102 66ms 164ms 94ms SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pasienmasukpenunjang_id" = $1 LIMIT 1;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 07 4 329ms 82ms 09 7 725ms 103ms 10 12 1s165ms 97ms 11 4 345ms 86ms 12 4 366ms 91ms 14 53 5s78ms 95ms 15 10 960ms 96ms 16 8 692ms 86ms [ User: developer - Total duration: 218ms - Times executed: 102 ]
[ Application: [unknown] - Total duration: 218ms - Times executed: 102 ]
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pasienmasukpenunjang_id" = $1 LIMIT 1;
Date: 2022-03-24 15:37:47 Duration: 164ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1741'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pasienmasukpenunjang_id" = $1 LIMIT 1;
Date: 2022-03-24 14:13:13 Duration: 146ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1743'
-
SELECT * FROM "pasienmasukpenunjang_v" "t" WHERE "t"."pasienmasukpenunjang_id" = $1 LIMIT 1;
Date: 2022-03-24 14:22:03 Duration: 139ms Database: postgres User: db_rsih_simulasi Remote: developer parameters: $1 = '1742'
-
Events
Log levels
Key values
- 20,970,881 Log entries
Events distribution
Key values
- 0 PANIC entries
- 7603 FATAL entries
- 337 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 7,592 Max number of times the same event was reported
- 7,940 Total events found
Rank Times reported Error 1 7,592 FATAL: database "..." does not exist
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 24 00 236 01 244 02 240 03 240 04 240 05 240 06 240 07 243 08 282 09 358 10 358 11 360 12 359 13 358 14 358 15 359 16 360 17 360 18 359 19 359 20 360 21 360 22 359 23 360 - FATAL: database "website_rsbin" does not exist
- FATAL: database "db_rsrib_simulasi" does not exist
- FATAL: database "template1" does not exist
Detail: The database subdirectory "base/72336" is missing.
Date: 2022-03-24 00:01:07
Detail: The database subdirectory "base/232280" is missing.
Date: 2022-03-24 00:01:13
Detail: The database subdirectory "base/1" is missing.
Date: 2022-03-24 00:01:31
2 302 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 24 07 17 08 16 09 181 10 38 11 34 14 2 15 10 21 4 - 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 "where" at character 44
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-24 07:13:59 Database: db_rskt_running Application: [unknown] User: developer Remote:
Statement: SELECT * FROM "tindakanpelayanan_t" "t" WHERE pendaftaran_id = 1835 AND daftartindakan_id = AND date(tgl_tindakan) = '2022-03-24' LIMIT 1
Date: 2022-03-24 09:25:16 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
Statement: update kabupaten_m set kode_kabupaten = - where kabupaten_id = 318
Date: 2022-03-24 11:24:06 Database: db_rsnu_simulasi Application: Navicat User: developer Remote:
3 15 ERROR: invalid input syntax for type integer: ...
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 24 08 2 09 2 10 1 14 9 16 1 - ERROR: invalid input syntax for type integer: ""
- ERROR: invalid input syntax for type integer: "empty"
Statement: SELECT * FROM "pemberianinformasi_t" "t" WHERE "t"."suratpersetujuantm_id"=$1 LIMIT 1
Date: 2022-03-24 08:46:05 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
Statement: SELECT * FROM "ruanganpemakai_k" "t" WHERE "t"."loginpemakai_id"=$1 AND "t"."ruangan_id"=$2 LIMIT 1
Date: 2022-03-24 09:19:31 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
4 10 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 24 07 2 08 8 - FATAL: password authentication failed for user "developer"
Detail: Password does not match for user "developer". Connection matched pg_hba.conf line 130: "host all all 103.146.61.101/24 md5 #yudit"
Date: 2022-03-24 07:19:01 Database: postgres Application: [unknown] User: developer Remote: 103.146.61.100
5 10 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 24 10 8 11 2 - ERROR: column "kabupaten_nama" of relation "propinsi_m" does not exist at character 37
- ERROR: column "kebupaten_id" of relation "kabupaten_m" does not exist at character 106
- ERROR: column "gelarbelakang_nama" does not exist at character 46
Statement: insert into propinsi_m (propinsi_id,kabupaten_nama,kabupaten_namalainnya,kabupaten_aktif,kode_kabupaten,kebupaten_id) values (35,'Tarakan','TARAKAN',TRUE,'71' ,532 )
Date: 2022-03-24 10:30:58 Database: db_rsnu_simulasi Application: Navicat User: developer Remote:
Statement: insert into kabupaten_m (propinsi_id,kabupaten_nama,kabupaten_namalainnya,kabupaten_aktif,kode_kabupaten,kebupaten_id) values (35,'Tarakan','TARAKAN',TRUE,'71' ,532 )
Date: 2022-03-24 10:31:33 Database: db_rsnu_simulasi Application: Navicat User: developer Remote:
Statement: SELECT pegawai_id, nama_pegawai, gelardepan, gelarbelakang_nama FROM "pegawai_m" "t" WHERE (LOWER(nama_pegawai) LIKE $1) AND (pegawai_aktif = true) ORDER BY nama_pegawai LIMIT 5
Date: 2022-03-24 10:37:04 Database: db_rskt_running Application: [unknown] User: developer Remote:
6 6 ERROR: missing FROM-clause entry for table "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 24 11 1 12 1 13 2 15 2 - 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-24 11:34:43 Database: db_rsih_simulasi Application: [unknown] User: developer Remote:
7 1 ERROR: syntax error at end of input
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 24 14 1 - ERROR: syntax error at end of input at character 62
Statement: SELECT COUNT(*) FROM "pendaftaran_t" "t" WHERE t.pasien_id =
Date: 2022-03-24 14:00:20 Database: db_rsrib_running Application: [unknown] User: developer Remote:
8 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 24 23 1 - ERROR: relation "penjamin_m" does not exist at character 16
Statement: select * from penjamin_m
Date: 2022-03-24 23:08:59 Database: db_rsih_simulasi Application: pgAdmin 4 - CONN:9745902 User: developer Remote:
9 1 LOG: process ... still waiting for ShareLock on transaction ... after ... ms
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 24 07 1 - ERROR: process 571571 still waiting for ShareLock on transaction 48642401 after 1000.124 ms
Detail: Process holding the lock: 571526. Wait queue: 571571.
Context: while updating tuple (1,208) in relation "kunjunganrs_r" SQL statement "UPDATE kunjunganrs_r SET kunjungan_rj = jumlah WHERE kunjunganrs_id = var_kunjunganrs_id" PL/pgSQL function ins_kunjunganrs() line 27 at SQL statement
Statement: INSERT INTO "pendaftaran_t" ("alihstatus", "byphone", "kunjunganrumah", "nopendaftaran_aktif", "statusfarmasi", "panggilantrian", "isumumkebpjs", "panggilperiksa", "istraveling", "isbacahakpasien", "isbacaedukasitransfusi", "panggilantrian_nursestation", "statuskirim_wsbpjs", "kelaspelayanan_id", "antrian_id", "umur", "tgl_pendaftaran", "ruangan_id", "jeniskasuspenyakit_id", "pegawai_id", "carabayar_id", "penjamin_id", "skalaprioritas_id", "pasien_id", "penanggungjawab_id", "rujukan_id", "instalasi_id", "golonganumur_id", "statusperiksa", "statuspasien", "kunjungan", "shift_id", "create_ruangan", "create_loginpemakai_id", "create_time", "no_urutantri", "kelompokumur_id", "statusmasuk", "tgl_konfirmasi", "tglselesaiperiksa", "tglrenkontrol", "asuransipasien_id", "keterangan_pendaftaran", "tglakandilayani", "no_pendaftaran", "jenis_rujukan", "jadwalhemodialisa_id", "buatjanjipoli_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, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48)Date: 2022-03-24 07:47:46 Database: db_rskt_running Application: [unknown] User: developer Remote:
10 1 ERROR: update or delete on table "..." violates foreign key constraint "..." on table "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 24 08 1 - ERROR: update or delete on table "rujukandari_m" violates foreign key constraint "fk_rujukandari_m" on table "rujukan_t"
Detail: Key (rujukandari_id)=(88) is still referenced from table "rujukan_t".
Statement: DELETE FROM "rujukandari_m" WHERE "rujukandari_m"."rujukandari_id"=88Date: 2022-03-24 08:41:26 Database: db_rskt_running Application: [unknown] User: developer Remote:
11 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 24 13 1 - FATAL: canceling authentication due to timeout
Date: 2022-03-24 13:44:37 Database: db_rsih_simulasi Application: [unknown] User: developer Remote: 182.253.102.138