Hi,
We have got table with 27087719 rows and when I execute simple SELECT statement it tool 14:30 minutes to give me the output, and when I filtered the columns to just 3 columns and again fired SELECT statement, it took 7:30 minutes to give me the output.
And the indexes we have on that table are as follows:
USE [ABC]
GO
/****** Object: Index [IDX_TABLE NAME]
CREATENONCLUSTEREDINDEX [IDX_NAME]ON [dbo].[TABLE NAME]
(
[Type]ASC,
[Value]ASC
)WITH(PAD_INDEX =OFF,STATISTICS_NORECOMPUTE =OFF, SORT_IN_TEMPDB= OFF,IGNORE_DUP_KEY=OFF,DROP_EXISTING= OFF,ONLINE=OFF,ALLOW_ROW_LOCKS =ON, ALLOW_PAGE_LOCKS = ON,FILLFACTOR= 90) ON [ABC_TABLE NAME]
GO
USE [ABC]
GO
/****** Object: Index [PK_TABLE NAME]
ALTERTABLE [dbo].[TABLE NAME]ADD CONSTRAINT [PK_TABLE NAME]PRIMARYKEY CLUSTERED
(
[Queue]ASC
)WITH(PAD_INDEX =OFF,STATISTICS_NORECOMPUTE =OFF, SORT_IN_TEMPDB= OFF,IGNORE_DUP_KEY=OFF,ONLINE= OFF,ALLOW_ROW_LOCKS =ON,ALLOW_PAGE_LOCKS =ON, FILLFACTOR= 90)ON [ABC_TABLE NAME]
GO
I have tuned this table in DTA, but no output of recommendation.
Please advice me how can I improve this performance of this table, please suggest me proper indexes.
Thanks in advance.