I work on sql server 2019
i have clustered index scan 98 percent how to minimize it please
i have execution plean have high cost on clustered index scan
as
https://www.brentozar.com/pastetheplan/?id=HkpoQtlwq
table i have issue on it
What I have tried:
CREATE TABLE [Parts].[FMDMaster](
[ID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
[ChemicalID] [int] NULL,
[HashSubstance] [nvarchar](3500) NULL,
[HashMass] [nvarchar](3500) NULL,
[StrSubstance] [nvarchar](3500) NULL,
[StrMass] [nvarchar](3500) NULL,
[strCASNumber] [nvarchar](3500) NULL,
[strHomogeneousMaterialName] [nvarchar](3500) NULL,
[strHomogeneousMaterialMass] [nvarchar](3500) NULL,
[HashstrCASNumber] [nvarchar](3500) NULL,
[HashstrHomogeneousMaterialName] [nvarchar](3500) NULL,
[HashstrHomogeneousMaterialMass] [nvarchar](3500) NULL,
PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
UNIQUE NONCLUSTERED
(
[ChemicalID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IDX_ChemicalID] ON [Parts].[FMDMaster]
(
[ChemicalID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO