Changes between Version 20 and Version 21 of QueryOptimization
- Timestamp:
- 04/26/26 16:12:58 (7 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QueryOptimization
v20 v21 186 186 [attachment:Event_User_Ratings_No_Index.csv] 187 187 188 ==== Со индекс: 189 190 {{{ 191 192 -- index for linking ratings to event happenings 193 CREATE INDEX idx_ehr_happening_id ON "Event_Happening_Rating"(event_happening_id); 194 195 -- index for linking ratings to users 196 CREATE INDEX idx_ehr_user_id ON "Event_Happening_Rating"(user_id); 197 198 199 EXPLAIN ANALYZE 200 SELECT * 201 FROM "Event_User_Ratings"; 202 203 }}} 204 188 205 === Анализа и оптимизација на `Event_Overall_Ratings` 189 206
