Created
December 26, 2021 22:40
-
-
Save bnsheehy/ab7dc3b435f4d003db52993b38b9b731 to your computer and use it in GitHub Desktop.
Index the PnF History Data Table Columns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE INDEX idx_ticker ON base_pnf_data_historical (ticker(8)); | |
CREATE INDEX idx_figi ON base_pnf_data_historical (figi(14)); | |
CREATE INDEX idx_date ON base_pnf_data_historical (date); | |
CREATE INDEX idx_update_date ON base_pnf_data_historical (last_update_date); | |
CREATE INDEX idx_corp_action_date ON base_pnf_data_historical (last_corp_action_date); | |
CREATE INDEX idx_key_id ON base_pnf_data_historical (key_id(40)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment