Quantcast
Channel: SQL Server Database Engine Forum

dm_os_ring_buffers :RING_BUFFER_OOM'

;WITH rb AS (SELECT CAST (record as xml) record_xml FROM sys.dm_os_ring_buffersWHERE ring_buffer_type = 'RING_BUFFER_OOM' ) SELECT rx.value('(@id)[1]', 'bigint') AS RecordID ,DATEADD (ms, -1 *...

View Article


Image may be NSFW.
Clik here to view.

Transaction Log recovery phases

https://docs.microsoft.com/en-us/azure/azure-sql/accelerated-database-recoveryI am not quite sure the design for Phase 2 Redo , why it's not start scanning from the last commit lsn ?

View Article


MSDN subscription

how to associate a sql server database to an MSDN subscription

View Article

Image may be NSFW.
Clik here to view.

How to interpret Native Compilation Advisor report

so which code is blocking this procedure to natively compile 

View Article

Index Reorganize during Database Full Backup

Index Maintenance usually starts 3 Hours before the database full backup and ends before the Full Backup Start.The Database is in Simple Recovery Model.Last weekend the Index Maintenance took more than...

View Article


Image may be NSFW.
Clik here to view.

Cost in Execution Plan summing up more than 100% , its some where 140%+

Hi AllI am using Azure SQL, while performance tuning I found one of the queries generated execution plan value more than 140%Query plan attached, Can you help me to understand if its a bug and can be...

View Article

The network name cannot be found at...

Hi,I have 3 Node SQL AOAG Cluster.Recently , while trying to check the Application status , I started seeing below error in previous primary (AG Replica1) where as the status is working in now primary...

View Article

Image may be NSFW.
Clik here to view.

TDE with Keyvault

I am reading this DOC....

View Article


Safely stop full text catalog population?

SQL Server 2008 R2We noticed that one of our full text catalogs was incorrectly set to "Do not track changes" with a "Last population date" set months ago. As soon as we set the Track changes setting...

View Article


max worker thread

If I have a server have 16 cores , 64 bits, can I tune max worker thread (instance setting) to 1000 ?And if calculating max worker thread will be using physical core or logical core or the CPU ?

View Article

SQL Server soft-numa

If the server has 2 socket and each has 8 phyiscal core per each. and enable hardware numa. So SQL Server 2016 will still do the auto-software numa configuration during startup ?

View Article

Default trace was stopped because of an error. Cause: 0x80070057(The...

Hello, We have MS SQL server 2016 Enterprise (SP2-CU5). After starting the server, the default trace file grows to 20 MB, and then stops with this error in ErrorLog:Trace ID '1' was stopped because of...

View Article

Recompile or DISABLE_PARAMETER_SNIFFING

If I would like to make the query to compile the plan for individual parameter, should I should recompile or DISABLE_PARAMETER_SNIFFING?What's the different ?

View Article


Multipage allocation vs Large Pageallocation

May I know Multipage allocation vs Large Pageallocation are the same concept ?Any example of what type of Multipage allocation are?I check in my sys.dm_os_memory_clerks that column page_sizes_in_bytes...

View Article

SQL Server resource pool MAX_MEMORY_PERCENT

MIN_MEMORY_PERCENT and MAX_MEMORY_PERCENTThese settings are the minimum and maximum amount of memory reserved for the resource pool that can not be shared with other resource pools. The memory...

View Article


sys.dm_os_memory_pools pool_id

https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-os-memory-pools-transact-sql?view=sql-server-ver15By default pool_id 0 is internal pool and pool_id 1 is...

View Article

Image may be NSFW.
Clik here to view.

what's actually CMEMTHREAD

https://www.sqlskills.com/help/waits/cmemthread/what's actually "TREAD-safe-memory-object" ?

View Article


Image may be NSFW.
Clik here to view.

DBCC memory status Current commited

May i know if the current committed will also include stack memory allocation ? (which is not control by max server memory ) ?

View Article

Image may be NSFW.
Clik here to view.

Filter index question

I am comming to this examplehttps://www.mssqltips.com/sqlservertip/2353/performance-advantages-of-sql-server-filtered-statistics/CREATE TABLE MyRegionTable(idINT, Location NVARCHAR(100), USState...

View Article

Image may be NSFW.
Clik here to view.

SQL Server 2016 slower than SQL Server 2008

I have two databases with the same data, one on an SQL Server 2008 R2 instance, and one on an SQL Server 2016 instance. Both SQL Server instances are on the same machine, and the database files are on...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>