Changes between Version 2 and Version 3 of App
- Timestamp:
- 09/04/25 23:21:54 (4 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
App
v2 v3 38 38 - `idx_invoice_notifications_invoice_id`: Speeds up notification retrieval 39 39 - `idx_invoice_notifications_processed`: Partial index for unprocessed notifications 40 41 - Using `EXPLAIN` on the `Client` table 42 43 - Before creating the index: 44 45 {{{ 46 EXPLAIN ANALYZE SELECT * FROM "Client" WHERE email = 'client12@example.com'; 47 }}} 48 49 - After adding index and creating 1000 rows: 50 {{{ 51 EXPLAIN ANALYZE SELECT * FROM "Client" WHERE email = 'client12@example.com'; 52 }}} 53 54 {{{ 55 Index Scan using idx_client_email on "Client" (cost=0.28..8.29 rows=1 width=303) 56 Index Cond: (email = 'client12@example.com'::text) 57 }}}