Skip to content

Commit

Permalink
Improved indexes on StationLink
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Nov 16, 2014
1 parent 6adcd71 commit 06d8623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/TradeDangerous.sql
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ CREATE TABLE StationLink
PRIMARY KEY (lhs_station_id, rhs_station_id)
) WITHOUT ROWID
;
CREATE INDEX idx_stn_dist ON StationLink (lhs_station_id, dist, rhs_station_id);
CREATE INDEX idx_stn_sys ON StationLink (lhs_system_id, rhs_system_id, dist);
CREATE INDEX idx_stn_dist ON StationLink (lhs_station_id, dist);
CREATE INDEX idx_stn_sys ON StationLink (lhs_system_id, dist);

CREATE VIEW vPrice AS
SELECT si.station_id AS station_id,
Expand Down

0 comments on commit 06d8623

Please sign in to comment.