Changes between Version 18 and Version 19 of QueryOptimization


Ignore:
Timestamp:
04/26/26 16:04:08 (6 days ago)
Author:
231027
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QueryOptimization

    v18 v19  
    8181
    8282[attachment:Venue_Layout_No_Index.csv]
     83
     84==== Со индекс:
     85
     86{{{
     87
     88-- index for linking seats to their respective sections
     89CREATE INDEX idx_seat_section_id ON "Seat"(section_id);
     90
     91-- index for linking sections to venues
     92CREATE INDEX idx_section_venue_id ON "Section"(venue_id);
     93
     94
     95EXPLAIN ANALYZE
     96    SELECT *
     97    FROM "Venue_Layout";
     98
     99}}}
    83100
    84101=== Анализа и оптимизација на `User_Tickets`