Hola tengo cierta duda de rendimiento, Tengo que recrear un indice pero tengo
cierta duda.
La tabla tiene 1400000row y tiene el sgte indice, segun el sp_help:
PK_HISTORICO_STATUS
nonclustered, unique,
primary key located on PRIMARY
TIPO_DE_TERMINAL, NUMERO_DE_TERMINAL,
FECHA_HORA_PROBLEMA(-)
constraint_type
constraint_name
delete_action
update_action status_enabled status_for_replication constraint_keys
PRIMARY KEY (non-clustered)
PK_HISTORICO_STATUS
(n/a) (n/a)
(n/a) (n/a) TIPO_DE_TERMINAL, NUMERO_DE_TERMINAL,
FECHA_HORA_PROBLEMA(-)
y se lo quiere poner de esta forma ahora:
use ATMHIS_BOLIVARIANO
go
alter table atmhis_bolivariano..HISTORICO_STATUS
DROP CONSTRAINT PK_HISTORICO_STATUS
go
create nonclustered index PK_HISTORICO_STATUS on
atmhis_bolivariano..HISTORICO_STATUS (TIPO_DE_TERMINAL, NUMERO_DE_TERMINAL,
FECHA_HORA_PROBLEMA)
go
==Basicamente ahora ya no guardará unicidad esto me afecta a las consultas o
insert o que puede afectar, gracias.
Adicionalmente como hago para monitorear el estatus de un tabla en particular.
Leer las respuestas