troubleshooting Question

SQL Server 2016 SP2 on Windows Server 2016

Avatar of Jim Youmans
Jim YoumansFlag for United States of America asked on
Microsoft SQL ServerWindows OSWindows 10AzureWindows Server 2016
2 Comments1 Solution55 ViewsLast Modified:
I have a client that is using temporal tables for data auditing and session contexts to secure data from different systems from one another.

To access any data you first have to set the context variable like so.

exec sp_set_session_context @key = 'SystemID', @value='A65T' 

Open in new window

13 of the most used tables have temporal versioning so they can audit data.

The server has 2 cores with 8 GB memory.

My issue is that the server is not used very heavily but the CPU and IO are always high.  My thought is that it could be from the things I mentioned above but can't find articles to confirm or deny this.

Has anyone used these features and if so, what kind of overhead did it cause?

Thank you!
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros