Link to home
Start Free TrialLog in
Avatar of Jim Youmans
Jim YoumansFlag for United States of America

asked on

SQL Server 2016 SP2 on Windows Server 2016

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!
Avatar of lcohan
lcohan
Flag of Canada image

Yes there is for sure a performance penalty for using Row-Level Security in SQL 2016 and that is described in details at link below.
https://www.mssqltips.com/sqlservertip/4778/performance-impact-of-sql-server-2016-rowlevel-security/

Aside that and without knowing the specs for your database(s) tables/sizes - it looks to me that the hardware used that "has 2 cores with 8 GB memory"...is very low end for running a SQL Server. I mean my old Dell 790 desktop has more hardware resources than your SQL Server so I would through this into consideration as well.
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial