awips2/edexOsgi/com.raytheon.uf.common.dataplugin.grid/res/scripts/grid_indices.sql
Richard Peter c49a3c8c52 Issue #2060: Consolidate grid indexes.
Change-Id: Ibc77133cd1b016ef85bae61e47e373a30e6e4d23

Former-commit-id: bbdd7c01a7 [formerly 50fb33488c] [formerly 62e215eb89] [formerly bbdd7c01a7 [formerly 50fb33488c] [formerly 62e215eb89] [formerly 6143d43329 [formerly 62e215eb89 [formerly 892c0f28a13d53118141efe14762deebe169d7ba]]]]
Former-commit-id: 6143d43329
Former-commit-id: d388968728 [formerly e2954e54db] [formerly 1c9d2bd0f67d7550e07bd561196d5aebc3919b29 [formerly 32f7bd8735]]
Former-commit-id: ff44d778e1b13fc9d813d4322f74d4f8aeebf256 [formerly 28eb882fb6]
Former-commit-id: bb580d8e7c
2014-05-12 16:59:34 -05:00

30 lines
1,007 B
SQL

/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
* to non-U.S. persons whether in the United States or abroad requires
* an export license or other authorization.
*
* Contractor Name: Raytheon Company
* Contractor Address: 6825 Pine Street, Suite 340
* Mail Stop B8
* Omaha, NE 68106
* 402.291.0100
*
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
* further licensing information.
**/
CREATE INDEX "gridinfoSecondryId_idx"
ON grid_info
USING btree
(secondaryid)
WHERE secondaryid IS NOT NULL;
CREATE INDEX "gridinfoEnsembleId_idx"
ON grid_info
USING btree
(ensembleid)
WHERE ensembleid IS NOT NULL;