| 54 | | ||= QUERY PLAN =|| |
| 55 | | ||Nested Loop (cost\=1.01..8110.27 rows\=1886 width\=54) (actual time\=0.152..0.475 rows\=775.00 loops\=1)|| |
| 56 | | || Buffers: shared hit\=21 read\=13 dirtied\=1|| |
| 57 | | || -> Nested Loop (cost\=0.57..23.73 rows\=5 width\=38) (actual time\=0.129..0.131 rows\=5.00 loops\=1)|| |
| 58 | | || Buffers: shared read\=6|| |
| 59 | | || -> Index Scan using ""Venue_pkey"" on ""Venue"" v (cost\=0.29..8.30 rows\=1 width\=28) (actual time\=0.061..0.061 rows\=1.00 loops\=1)|| |
| 60 | | || Index Cond: (venue_id \= 1)|| |
| 61 | | || Index Searches: 1|| |
| 62 | | || Buffers: shared read\=3|| |
| 63 | | || -> Index Scan using uq_section_venue_name on ""Section"" s (cost\=0.29..15.38 rows\=5 width\=18) (actual time\=0.051..0.052 rows\=5.00 loops\=1)|| |
| 64 | | || Index Cond: (venue_id \= 1)|| |
| 65 | | || Index Searches: 1|| |
| 66 | | || Buffers: shared read\=3|| |
| 67 | | || -> Index Scan using uq_seat_section_number on ""Seat"" st (cost\=0.44..1608.23 rows\=908 width\=24) (actual time\=0.009..0.050 rows\=155.00 loops\=5)|| |
| 68 | | || Index Cond: (section_id \= s.section_id)|| |
| 69 | | || Index Searches: 5|| |
| 70 | | || Buffers: shared hit\=21 read\=7 dirtied\=1|| |
| 71 | | ||Planning:|| |
| 72 | | || Buffers: shared hit\=4 read\=11|| |
| 73 | | ||Planning Time: 0.631 ms|| |
| 74 | | ||Execution Time: 0.577 ms|| |
| | 49 | ||= QUERY PLAN =||= =|| |
| | 50 | ||Nested Loop (cost\=1.01..9625.30 rows\=2264 width\=54) (actual time\=0.868..2.190 rows\=775.00 loops\=1)|||| |
| | 51 | ||Buffers||shared hit\=21 read\=13 dirtied\=1|| |
| | 52 | ||-> Nested Loop (cost\=0.57..25.51 rows\=6 width\=38) (actual time\=0.622..0.627 rows\=5.00 loops\=1)|||| |
| | 53 | ||Buffers||shared read\=6|| |
| | 54 | || -> Index Scan using ""Venue_pkey"" on ""Venue"" v (cost\=0.29..8.30 rows\=1 width\=28) (actual time\=0.071..0.072 rows\=1.00 loops\=1)|||| |
| | 55 | ||Index Cond||(venue_id \= 1)|| |
| | 56 | ||Index Searches||1|| |
| | 57 | ||Buffers||shared read\=3|| |
| | 58 | || -> Index Scan using uq_section_venue_name on ""Section"" s (cost\=0.29..17.14 rows\=6 width\=18) (actual time\=0.548..0.550 rows\=5.00 loops\=1)|||| |
| | 59 | ||Index Cond||(venue_id \= 1)|| |
| | 60 | ||Index Searches||1|| |
| | 61 | ||Buffers||shared read\=3|| |
| | 62 | || -> Index Scan using uq_seat_section_number on ""Seat"" st (cost\=0.44..1590.95 rows\=901 width\=24) (actual time\=0.056..0.282 rows\=155.00 loops\=5)|||| |
| | 63 | ||Index Cond||(section_id \= s.section_id)|| |
| | 64 | ||Index Searches||5|| |
| | 65 | ||Buffers||shared hit\=21 read\=7 dirtied\=1|| |
| | 66 | ||Planning|||| |
| | 67 | ||Buffers||shared hit\=14 read\=22|| |
| | 68 | ||Planning Time||5.752 ms|| |
| | 69 | ||Execution Time||2.271 ms|| |
| 86 | | ||= QUERY PLAN =|| |
| 87 | | ||Insert on ""Seat"" (cost\=0.00..0.01 rows\=0 width\=0) (actual time\=0.135..0.136 rows\=0.00 loops\=1)|| |
| 88 | | || Buffers: shared hit\=5 read\=3 dirtied\=1|| |
| 89 | | || -> Result (cost\=0.00..0.01 rows\=1 width\=24) (actual time\=0.001..0.001 rows\=1.00 loops\=1)|| |
| 90 | | ||Planning Time: 0.058 ms|| |
| 91 | | ||Trigger for constraint fk_seat_section: time\=19.752 calls\=1|| |
| 92 | | ||Execution Time: 19.912 ms|| |
| | 81 | ||= QUERY PLAN =||= =|| |
| | 82 | ||Insert on ""Seat"" (cost\=0.00..0.01 rows\=0 width\=0) (actual time\=4.492..4.493 rows\=0.00 loops\=1)|||| |
| | 83 | ||Buffers||shared hit\=5 read\=6 dirtied\=3|| |
| | 84 | ||-> Result (cost\=0.00..0.01 rows\=1 width\=24) (actual time\=0.001..0.001 rows\=1.00 loops\=1)|||| |
| | 85 | ||Planning Time||0.033 ms|| |
| | 86 | ||Trigger for constraint fk_seat_section||time\=0.243 calls\=1|| |
| | 87 | ||Execution Time||4.752 ms|| |
| 99 | | UPDATE "Seat" |
| 100 | | SET seat_number = 100 |
| 101 | | WHERE seat_id = 99999999; |
| 102 | | |
| 103 | | }}} |
| 104 | | |
| 105 | | ||= QUERY PLAN =|| |
| 106 | | ||Update on ""Seat"" (cost\=0.44..8.46 rows\=0 width\=0) (actual time\=0.106..0.106 rows\=0.00 loops\=1)|| |
| 107 | | || Buffers: shared hit\=12|| |
| 108 | | || -> Index Scan using ""Seat_pkey"" on ""Seat"" (cost\=0.44..8.46 rows\=1 width\=10) (actual time\=0.048..0.049 rows\=1.00 loops\=1)|| |
| 109 | | || Index Cond: (seat_id \= 99999999)|| |
| 110 | | || Index Searches: 1|| |
| 111 | | || Buffers: shared hit\=4|| |
| 112 | | ||Planning Time: 0.171 ms|| |
| 113 | | ||Execution Time: 0.137 ms|| |
| | 94 | UPDATE "Seat" SET seat_number = 100 WHERE seat_id = 99999999; |
| | 95 | |
| | 96 | }}} |
| | 97 | |
| | 98 | ||= QUERY PLAN =||= =|| |
| | 99 | ||Update on ""Seat"" (cost\=0.44..8.46 rows\=0 width\=0) (actual time\=0.101..0.102 rows\=0.00 loops\=1)|||| |
| | 100 | ||Buffers||shared hit\=12|| |
| | 101 | || -> Index Scan using ""Seat_pkey"" on ""Seat"" (cost\=0.44..8.46 rows\=1 width\=10) (actual time\=0.031..0.032 rows\=1.00 loops\=1)|||| |
| | 102 | ||Index Cond||(seat_id \= 99999999)|| |
| | 103 | ||Index Searches||1|| |
| | 104 | ||Buffers||shared hit\=4|| |
| | 105 | ||Planning Time||0.125 ms|| |
| | 106 | ||Execution Time||0.133 ms|| |