If I look in my SQL server profiler, it has a lot of repeated queries, for example:
exec sp_executesql N'SELECT * FROM [dbo].[tblSpecifications] AS [t0] WHERE [t0].[clientID] = @p0 ORDER BY [t0].[Title]', N'@p0 int', @p0 = 21
Many of these queries are not needed to display data in real time, that is, if someone inserted a new record that was mapped in this query, it would not matter if it had not been displayed for an hour after the insert.
You can display the cache on asp.net pages, but I was wondering if there are similar functions in dbms (in particular, the SQL server), which stores the query results in the cache and updates this cache after a set period of time, say, 1 hour, in order to improve the search speed of records.
source share