HOLA ESTOY CREANDO INDICES SOBRE TABLAS PARA OPTIMIZAR LAS BUSQUEDAS Y LAS TABLAS SON LA SIGUIENTES:
Ciudades(nomCiu, habCiu, alcCiu) Plantas(codPlan, nomPlan, dirPlan, tipoPlan, nomCiu) Sectores(numSec, codPlan, dscSec, nivelSec, cntPerSec) Generadores(codGen, dscGen, kwGen, fchInst, cicGen, cicUtilizGen, numSec, codPlan) Mantenimiento(numMant, codGen, fchMant, dscMant) Componentes(numSerComp, dscComp, stkComp) Gen-Comp(codGen, numSerComp) Proveedores(codProv, nomProv, dirProv, telProv) Prov-Gen-Comp(codProv, codGen, numSerComp, fecha, cant)
Y LOS INDICES Q ME PARECEN SER CORRECTOS:
create index I1 on SECTORES(codPlan); create index I2 on MANTENIMIENTO (codGen); create index I3 on GEN_COMP (codGen); create index I4 on PROV-GEN-COMP (codProv);
ESTARAN BIEN? ME FALTARA ALGUNO O SORBARA ALGUNO?
|