Quantcast
Channel: SQL Server Database Engine forum
Browsing index pages (12963 articles)

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


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.

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.

what's actually CMEMTHREAD

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

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


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

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

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


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


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

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

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

Image may be NSFW.
Clik here to view.

TDE with Keyvault

I am reading this DOC....

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.

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


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

auto update stats : sample

Are there any threshold that the auto update stats will use FULL scan or default sample size ?I see some small tables, (around 10k rows), will trigger auto update stats with full scan. 

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

Image may be NSFW.
Clik here to view.

MSSQL in-memory : snapshot or no snapshot

For select/update a memory optimized table, what's the difference of having or not having table hints SNAPSHOT ?

View Article

Azure MI SQL Server Wait Type CXSYNC_PORT

Does anyone have an understanding to explain a CXSYNC_PORT wait type on Azure SQL Managed Instance (MI). Or where good online information can be found?

View Article
Browsing index pages (12963 articles)


Latest Images