Sample Header Ad - 728x90

How to get space used by In-Memory table in SqlServer

2 votes
1 answer
965 views
I'm trying to understand how much storage In-Memory table consumes in SqlServer: SELECT is_memory_optimized,durability_desc FROM sys.tables WHERE name='TBL_HSD_AD_OR' select count(*) [#Rows] from TBL_HSD_AD_OR with(nolock) enter image description here Now when I'm using EXEC sp_spaceused I get: EXEC sp_spaceused 'TBL_HSD_AD_OR' enter image description here Is there a different way to get the space used for Memory-Optimized tables?
Asked by Yosi Dahari (517 rep)
Sep 13, 2016, 06:18 AM
Last activity: Jan 29, 2023, 03:07 PM