SQL SERVER – Set AUTO_CLOSE Database Option to OFF for Better Performance

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: In this blog, we will take a look at why it is essential to leave AUTO CLOSE database option turned OFF for a Production or a Non-Production SQL Server …

Continue reading SQL SERVER – Set AUTO_CLOSE Database Option to OFF for Better Performance

Why %string% Is Slow in SQL server, convert scan to seek

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: Users expect every application to have a built-in blazing-fast search functionality.  To pull that off, developers build search queries that let users enter a string, …

Continue reading Why %string% Is Slow in SQL server, convert scan to seek

How to remove a bad execution plan from plan cache in SQL server on-premise and Azure SQL database (PaaS)

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: let us assume, everything is going well, your SQL server is with low CPU utilization, high Page Life Expectancy, few fragmented indexes and updated statistics …

Continue reading How to remove a bad execution plan from plan cache in SQL server on-premise and Azure SQL database (PaaS)

Troubleshoot orphaned users (SQL server &Azure Synapse Analytics)

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: Orphaned users in SQL Server occur when a database user is based on a login in the master database, but the login no longer exists in master. This …

Continue reading Troubleshoot orphaned users (SQL server &Azure Synapse Analytics)

Always ON Endpoint: The server principal owns one or more endpoint(s) and cannot be dropped (Microsoft SQL Server, Error: 15141)

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: It is very common for a DBA to set up AlwaysOn in a SQL environment and whoever creates the Availability Group is, by default, the …

Continue reading Always ON Endpoint: The server principal owns one or more endpoint(s) and cannot be dropped (Microsoft SQL Server, Error: 15141)

SQL Server Always ON Replica can not Connect To The Availability Group

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: SQL Server uses an ‘End Point’ To talk to other SQL Servers Replicas within an Always On Availability Group(AAG). The most common problem we notice …

Continue reading SQL Server Always ON Replica can not Connect To The Availability Group

Reading SQL server error logs and its configuration

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: Why SQL server errorlog files are extremely require, coz it captures system and user related errors and to troubleshoot the issue or as a pro-active …

Continue reading Reading SQL server error logs and its configuration

Find last statistics update & outdated and missing stats in Synapse SQL Pools

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: Azure Synapse Dedicated SQL Pools is that while they have auto create stats, there is no auto update stats. So statistics will become stale faster. …

Continue reading Find last statistics update & outdated and missing stats in Synapse SQL Pools

Enabling the legacy Cardinality Estimator Or Using New Cardinality Estimator Introduced with SQL server 2014

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. Introduction: Microsoft re-written its legacy Cardinality Estimator in SQL server 2014 to help provide more accurate data to optimizer to prepare more efficient query plan thus …

Continue reading Enabling the legacy Cardinality Estimator Or Using New Cardinality Estimator Introduced with SQL server 2014

Monitor TEMPDB utilization in Azure SQL synapse analytics dedicated SQL pool

Disclaimer: Hey Guys, this post contains affiliate link to help our reader to buy best product\service for them. It helps us because we receive compensation for our time and expenses. INTRODUCTION: In this article we will look how to monitor tempdb usages in azure synapse dedicated SQL pool. PERMISSIONS: To query the DMVs in this article, …

Continue reading Monitor TEMPDB utilization in Azure SQL synapse analytics dedicated SQL pool