On our side we have a database on SQL Server 2016 (v13.0.7024.30). In this database, we have a table with about 14 million rows.
We receive a lot of messages containing a (non-unique) timestamp, non-unique as multiple messages can come in on the same moment in time.
The queries we execute are mainly on the basis of that timestamp (e.g. give us all the messages from the past 24 hours).
We have defined an index on the timestamp:
We see an improvement in the performance with this index (compared to before, when we did not had the index), when doing queries to get all columns (87 in total) and rows after a certain time (e.g. past 24 hours).
Queries look like:
SELECT [Column1],...,[Column87]
FROM [dbo].[myTable]
WHERE [Timestamp] > '2023-04-17 00:00:00'
Our question: is there a way to improve the performance even more, by creating another / better index?