Changes between Version 12 and Version 13 of OtherTopics


Ignore:
Timestamp:
06/24/26 21:13:26 (2 weeks ago)
Author:
213087
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OtherTopics

    v12 v13  
    128128              ->  Seq Scan on band b
    129129
    130 **Planning Time:  3.057 ms
    131 Execution Time: 0.838 ms**
    132 }}}
     130}}}
     131
     132**Planning Time:  3.057 ms**
     133
     134
     135**Execution Time: 0.838 ms****
    133136
    134137==== EXPLAIN ANALYZE – After Indexes ====
     
    157160                    ->  Seq Scan on venue_booking vb
    158161              ->  Seq Scan on band b
    159 **
    160 Planning Time:  1.506 ms
    161 Execution Time: 0.492 ms**
    162 }}}
     162}}}
     163**Planning Time:  1.506 ms**
     164
     165
     166**Execution Time: 0.492 ms**
    163167
    164168==== Performance Comparison ====
     
    259263                    ->  Seq Scan on event_rsvp r  (rows=104)
    260264              ->  Seq Scan on attendance a  (rows=370)
    261 **
    262 Planning Time:  1.926 ms
    263 Execution Time: 1.254 ms**
    264 }}}
     265}}}
     266
     267**Planning Time:  1.926 ms**
     268
     269
     270**Execution Time: 1.254 ms**
    265271
    266272==== EXPLAIN ANALYZE – After Indexes ====
     
    287293                    ->  Seq Scan on event_rsvp r  (rows=119)
    288294              ->  Seq Scan on attendance a  (rows=40)
    289 
    290 **Planning Time:  1.314 ms
    291 Execution Time: 1.122 ms**
    292 }}}
     295}}}
     296
     297
     298**Planning Time:  1.314 ms**
     299
     300
     301**Execution Time: 1.122 ms**
    293302
    294303==== Performance Comparison ====
     
    320329
    321330{{{
    322 #!javascript
     331#!sql
    323332// Example: parameterized query for guest lookup
    324333const result = await pool.query(
     
    331340
    332341{{{
    333 #!javascript
     342#!sql
    334343// Example: parameterized INSERT for new booking
    335344await pool.query(
     
    348357
    349358{{{
    350 #!javascript
     359#!sql
    351360const bcrypt = require('bcrypt');
    352361const SALT_ROUNDS = 10;
     
    373382
    374383{{{
    375 #!javascript
     384#!sql
    376385function requireAuth(req, res, next) {
    377386    if (!req.session || !req.session.user) {