SQL Profiler + Duration + ASYNC_NETWORK_IO wait
Hi,From my understanding the duration in SQL profile includes - The time from when the query starts executing until the last result set buffer completed. - Blocking - The time the client application...
View ArticleDeadlocks
A transaction which performs select on sysobjects is being deadlocked by a alter index statement.Queries involved:select OBJECTPROPERTY(id,'TableHasPrimaryKey') from sysobjects where id = 'x';ALTER...
View ArticleSET LOCK_TIMEOUT is ignored
Hi,I have a stored procedure aimed to verify a main table is not locked. Here is the code:BEGIN TRYSET LOCK_TIMEOUT 1000BEGIN TRANINSERT INTO...
View Articleinstall 'microsoft.sqlserver.smo, version=13.0.0'
HiHow to install 'microsoft.sqlserver.smo, version=13.0.0' on server with SQL Server 2014 and 'microsoft.sqlserver.smo, version=12.0.0' ?We have installed a 3rd party tool and this is not working on...
View Articledatabase performance degradation
On 20/11 starting from 8:00 A.M the application got "Timeout expired" error messages.We noticed database performance degradation.The DB was up, accepting connections but most of the queries (on...
View ArticleSql server takes several minutes to update few rows in a table
HelloWe are using SQL server 2017Microsoft SQL Server 2017 (RTM-CU15) (KB4498951) - 14.0.3162.1 (X64) May 15 2019 19:14:30 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on...
View Articlepolybase not installed per sp_configure
Folks:I am trying to get polybase (standalone) working on SQL Server 2019 developer edition so I can play with it. I went through the install experience - adding the feature. The three databases...
View ArticleInstalling package with sqlmlutils on SQL 2019 RTM causes DBCC CHECKDB to fail
I noticed that if I use sqlmlutils to install Python package and run DBCC CHECKDB I get an error:Msg 8992, Level 16, State 1, Line 1 Check Catalog Msg 3851, State 1: An invalid row...
View ArticleSQL Permissions help
Hi All, Need help on SQL Server permissions. For example) demologin is my login. I want to give a permission to demologin so that he can change owner of any SQL Agent Job. So, is there a specific...
View Articlehow to segregate table from blockings
hibelow commands blocks one another , both are using same table "marketplace_items " .merge , update happen on same table with deferent SP,how to segregate this process to prevent from blocking?Query...
View ArticleSql Server Agent - Multi-Server Administration using MSX/TSX
Hi,I have problem with target server (MSX/TSX).There are 2 instance master with default port (1433) and target server with non-default port (1986).Firewall or antivirus is off in both of the servers....
View ArticleHow many ways troubleshoot tempdb full issues
How many ways troubleshoot tempdb full issues
View ArticlePerfLib 2.0 counter removal failed with exit code 2. Command line:...
This has been frustrating me for weeks. I have had sql 2014 on my machine since I installed it over a year ago. Why does it now blow up on me. I cannot reinstall it. Every time the Dabase Engine...
View ArticleSQL Time out
Hi, we have one production database which is 700 GB. Through Microsoft dynamics jobs were running and connecting to these dbs. This job is scheduled at 9pm every night. The job will run for 30 min...
View ArticleEXCEPTION_ACCESS_VIOLATION when rebuilding a FILETABLE
In our system we have a file table, since we experience some slowness, we tried to rebuild the table using the statement:alter table [table_name] rebuild with (online=off) and this caused...
View ArticleDatabase restoration in Cloud
Hi Experts,Can you please help with any data which talks of the time taken for restoring a SQL Database on an Azure VM say x size of database backup with y compute size of Azure VM , would take around...
View ArticleLog_reuse_wait_desc = ACTIVE_TRANSACTION
Hello,I've a SQL Server 2016 - 130.4411 Standard Edition.I've a database log that keeps filling up (log is 250GB), select log_reuse_wait_desc from sys.databases says that the log can't be reused...
View ArticleSQLServer 2019 - CREATE EXTERNAL FILE FORMAT error
All,I received the below error when I ran the script on SQLServer 2019 Developers Edition. has anyone got this error before?OLE DB provider "MSOLEDBSQL" for linked server "(null)" returned message...
View Articleaccess restriction
Hello,we are using SQL Server 2016. Our requirement is to restrict DBA account from selecting or updating any user data.DBA accounts have sysadmin privilige.Please help how to restrict.Thanks
View Article