forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sportsdb_indexes.sql
684 lines (392 loc) · 18.4 KB
/
sportsdb_indexes.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
--
-- Name: idx_addresses_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_addresses_1 ON addresses USING lsm (locality);
--
-- Name: idx_addresses_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_addresses_2 ON addresses USING lsm (region);
--
-- Name: idx_addresses_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_addresses_3 ON addresses USING lsm (postal_code);
--
-- Name: idx_affiliations_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_affiliations_1 ON affiliations USING lsm (affiliation_key);
--
-- Name: idx_affiliations_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_affiliations_2 ON affiliations USING lsm (affiliation_type);
--
-- Name: idx_american_football_action_participants_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_action_participants_1 ON american_football_action_participants USING lsm (participant_role);
--
-- Name: idx_american_football_action_participants_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_action_participants_2 ON american_football_action_participants USING lsm (score_type);
--
-- Name: idx_american_football_action_plays_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_action_plays_1 ON american_football_action_plays USING lsm (play_type);
--
-- Name: idx_american_football_action_plays_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_action_plays_2 ON american_football_action_plays USING lsm (score_attempt_type);
--
-- Name: idx_american_football_action_plays_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_action_plays_3 ON american_football_action_plays USING lsm (drive_result);
--
-- Name: idx_american_football_event_states_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_american_football_event_states_1 ON american_football_event_states USING lsm (current_state);
--
-- Name: idx_baseball_action_pitches_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_baseball_action_pitches_1 ON baseball_action_pitches USING lsm (umpire_call);
--
-- Name: idx_baseball_action_pitches_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_baseball_action_pitches_2 ON baseball_action_pitches USING lsm (pitch_type);
--
-- Name: idx_baseball_action_plays_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_baseball_action_plays_1 ON baseball_action_plays USING lsm (play_type);
--
-- Name: idx_baseball_event_states_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_baseball_event_states_1 ON baseball_event_states USING lsm (current_state);
--
-- Name: idx_db_info_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_db_info_1 ON db_info USING lsm (version);
--
-- Name: idx_document_classes_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_document_classes_1 ON document_classes USING lsm (name);
--
-- Name: idx_document_fixtures_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_document_fixtures_1 ON document_fixtures USING lsm (fixture_key);
--
-- Name: idx_documents_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_documents_1 ON documents USING lsm (doc_id);
--
-- Name: idx_documents_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_documents_3 ON documents USING lsm (date_time);
--
-- Name: idx_documents_4; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_documents_4 ON documents USING lsm (priority);
--
-- Name: idx_documents_5; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_documents_5 ON documents USING lsm (revision_id);
--
-- Name: idx_events_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_events_1 ON events USING lsm (event_key);
--
-- Name: idx_fk_add_loc_id__loc_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_add_loc_id__loc_id ON addresses USING lsm (location_id);
--
-- Name: idx_fk_aff_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_aff_pub_id__pub_id ON affiliations USING lsm (publisher_id);
--
-- Name: idx_fk_ame_foo_act_par_ame_foo_act_pla_id__ame_foo_act_pla_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_ame_foo_act_par_ame_foo_act_pla_id__ame_foo_act_pla_id ON american_football_action_participants USING lsm (american_football_action_play_id);
--
-- Name: idx_fk_ame_foo_act_par_per_id__per_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_ame_foo_act_par_per_id__per_id ON american_football_action_participants USING lsm (person_id);
--
-- Name: idx_fk_ame_foo_act_pla_ame_foo_eve_sta_id__ame_foo_eve_sta_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_ame_foo_act_pla_ame_foo_eve_sta_id__ame_foo_eve_sta_id ON american_football_action_plays USING lsm (american_football_event_state_id);
--
-- Name: idx_fk_ame_foo_eve_sta_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_ame_foo_eve_sta_eve_id__eve_id ON american_football_event_states USING lsm (event_id);
--
-- Name: idx_fk_bas_act_pit_bas_def_gro_id__bas_def_gro_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_bas_act_pit_bas_def_gro_id__bas_def_gro_id ON baseball_action_pitches USING lsm (baseball_defensive_group_id);
--
-- Name: idx_fk_bas_act_pla_bas_eve_sta_id__bas_eve_sta_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_bas_act_pla_bas_eve_sta_id__bas_eve_sta_id ON baseball_action_plays USING lsm (baseball_event_state_id);
--
-- Name: idx_fk_bas_eve_sta_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_bas_eve_sta_eve_id__eve_id ON baseball_event_states USING lsm (event_id);
--
-- Name: idx_fk_doc_con_doc_id__doc_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_con_doc_id__doc_id ON document_contents USING lsm (document_id);
--
-- Name: idx_fk_doc_doc_fix_id__doc_fix_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_doc_fix_id__doc_fix_id ON documents USING lsm (document_fixture_id);
--
-- Name: idx_fk_doc_fix_doc_cla_id__doc_cla_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_fix_doc_cla_id__doc_cla_id ON document_fixtures USING lsm (document_class_id);
--
-- Name: idx_fk_doc_fix_eve_doc_fix_id__doc_fix_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_fix_eve_doc_fix_id__doc_fix_id ON document_fixtures_events USING lsm (document_fixture_id);
--
-- Name: idx_fk_doc_fix_eve_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_fix_eve_eve_id__eve_id ON document_fixtures_events USING lsm (event_id);
--
-- Name: idx_fk_doc_fix_eve_lat_doc_id__doc_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_fix_eve_lat_doc_id__doc_id ON document_fixtures_events USING lsm (latest_document_id);
--
-- Name: idx_fk_doc_fix_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_fix_pub_id__pub_id ON document_fixtures USING lsm (publisher_id);
--
-- Name: idx_fk_doc_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_pub_id__pub_id ON documents USING lsm (publisher_id);
--
-- Name: idx_fk_doc_sou_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_doc_sou_id__pub_id ON documents USING lsm (source_id);
--
-- Name: idx_fk_eve_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_eve_pub_id__pub_id ON events USING lsm (publisher_id);
--
-- Name: idx_fk_eve_sit_id__sit_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_eve_sit_id__sit_id ON events USING lsm (site_id);
--
-- Name: idx_fk_events_basketball_event_states; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_events_basketball_event_states ON basketball_event_states USING lsm (event_id);
--
-- Name: idx_fk_events_motor_racing_event_states; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_events_motor_racing_event_states ON motor_racing_event_states USING lsm (event_id);
--
-- Name: idx_fk_events_soccer_event_states; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_events_soccer_event_states ON soccer_event_states USING lsm (event_id);
--
-- Name: idx_fk_events_tennis_event_states; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_events_tennis_event_states ON tennis_event_states USING lsm (event_id);
--
-- Name: idx_fk_inj_pha_per_id__per_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_inj_pha_per_id__per_id ON injury_phases USING lsm (person_id);
--
-- Name: idx_fk_inj_pha_sea_id__sea_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_inj_pha_sea_id__sea_id ON injury_phases USING lsm (season_id);
--
-- Name: idx_fk_lat_rev_lat_doc_id__doc_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_lat_rev_lat_doc_id__doc_id ON latest_revisions USING lsm (latest_document_id);
--
-- Name: idx_fk_par_eve_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_par_eve_eve_id__eve_id ON participants_events USING lsm (event_id);
--
-- Name: idx_fk_per_eve_met_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_eve_met_eve_id__eve_id ON person_event_metadata USING lsm (event_id);
--
-- Name: idx_fk_per_eve_met_per_id__per_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_eve_met_per_id__per_id ON person_event_metadata USING lsm (person_id);
--
-- Name: idx_fk_per_eve_met_pos_id__pos_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_eve_met_pos_id__pos_id ON person_event_metadata USING lsm (position_id);
--
-- Name: idx_fk_per_eve_met_rol_id__rol_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_eve_met_rol_id__rol_id ON person_event_metadata USING lsm (role_id);
--
-- Name: idx_fk_per_par_eve_id__par_eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_par_eve_id__par_eve_id ON periods USING lsm (participant_event_id);
--
-- Name: idx_fk_per_pha_per_id__per_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_pha_per_id__per_id ON person_phases USING lsm (person_id);
--
-- Name: idx_fk_per_pha_reg_pos_id__pos_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_pha_reg_pos_id__pos_id ON person_phases USING lsm (regular_position_id);
--
-- Name: idx_fk_per_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_per_pub_id__pub_id ON persons USING lsm (publisher_id);
--
-- Name: idx_fk_pos_aff_id__aff_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_pos_aff_id__aff_id ON positions USING lsm (affiliation_id);
--
-- Name: idx_fk_sea_lea_id__aff_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sea_lea_id__aff_id ON seasons USING lsm (league_id);
--
-- Name: idx_fk_sea_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sea_pub_id__pub_id ON seasons USING lsm (publisher_id);
--
-- Name: idx_fk_sit_loc_id__loc_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sit_loc_id__loc_id ON sites USING lsm (location_id);
--
-- Name: idx_fk_sit_pub_id__pub_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sit_pub_id__pub_id ON sites USING lsm (publisher_id);
--
-- Name: idx_fk_sub_per_per_id__per_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sub_per_per_id__per_id ON sub_periods USING lsm (period_id);
--
-- Name: idx_fk_sub_sea_sea_id__sea_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_sub_sea_sea_id__sea_id ON sub_seasons USING lsm (season_id);
--
-- Name: idx_fk_teams_person_event_metadata; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_teams_person_event_metadata ON person_event_metadata USING lsm (team_id);
--
-- Name: idx_fk_wea_con_eve_id__eve_id; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_fk_wea_con_eve_id__eve_id ON weather_conditions USING lsm (event_id);
--
-- Name: idx_injury_phases_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_injury_phases_2 ON injury_phases USING lsm (injury_status);
--
-- Name: idx_injury_phases_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_injury_phases_3 ON injury_phases USING lsm (start_date_time);
--
-- Name: idx_injury_phases_4; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_injury_phases_4 ON injury_phases USING lsm (end_date_time);
--
-- Name: idx_key_aliases_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_key_aliases_1 ON key_roots USING lsm (key_type);
--
-- Name: idx_key_aliases_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_key_aliases_2 ON key_aliases USING lsm (key_id);
--
-- Name: idx_latest_revisions_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_latest_revisions_1 ON latest_revisions USING lsm (revision_id);
--
-- Name: idx_locations_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_locations_1 ON locations USING lsm (country_code);
--
-- Name: idx_participants_events_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_participants_events_1 ON participants_events USING lsm (participant_type);
--
-- Name: idx_participants_events_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_participants_events_2 ON participants_events USING lsm (participant_id);
--
-- Name: idx_participants_events_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_participants_events_3 ON participants_events USING lsm (alignment);
--
-- Name: idx_participants_events_4; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_participants_events_4 ON participants_events USING lsm (event_outcome);
--
-- Name: idx_person_event_metadata_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_person_event_metadata_1 ON person_event_metadata USING lsm (status);
--
-- Name: idx_person_phases_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_person_phases_1 ON person_phases USING lsm (membership_type);
--
-- Name: idx_person_phases_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_person_phases_2 ON person_phases USING lsm (membership_id);
--
-- Name: idx_person_phases_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_person_phases_3 ON person_phases USING lsm (phase_status);
--
-- Name: idx_persons_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_persons_1 ON persons USING lsm (person_key);
--
-- Name: idx_positions_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_positions_1 ON positions USING lsm (abbreviation);
--
-- Name: idx_publishers_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_publishers_1 ON publishers USING lsm (publisher_key);
--
-- Name: idx_roles_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_roles_1 ON roles USING lsm (role_key);
--
-- Name: idx_seasons_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_seasons_1 ON seasons USING lsm (season_key);
--
-- Name: idx_sites_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_sites_1 ON sites USING lsm (site_key);
--
-- Name: idx_stats_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_1 ON stats USING lsm (stat_repository_type);
--
-- Name: idx_stats_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_2 ON stats USING lsm (stat_repository_id);
--
-- Name: idx_stats_3; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_3 ON stats USING lsm (stat_holder_type);
--
-- Name: idx_stats_4; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_4 ON stats USING lsm (stat_holder_id);
--
-- Name: idx_stats_5; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_5 ON stats USING lsm (stat_coverage_type);
--
-- Name: idx_stats_6; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_6 ON stats USING lsm (stat_coverage_id);
--
-- Name: idx_stats_7; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_stats_7 ON stats USING lsm (context);
--
-- Name: idx_sub_seasons_1; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_sub_seasons_1 ON sub_seasons USING lsm (sub_season_key);
--
-- Name: idx_sub_seasons_2; Type: INDEX; Schema: public; Owner: postgres81; Tablespace:
--
CREATE INDEX idx_sub_seasons_2 ON sub_seasons USING lsm (sub_season_type);