Trace Flag 8293 not working
After we enabled Change Tracking, we keep getting the alert below:"Change Tracking autocleanup is blocked on side table of "tablename". If the failure persists, check whether the table "tablename is...
View ArticleMicrosoft.ACE.OLEDB.16.0 provider is not registered on the local machine....
Trying to import data from Excel is giving this message. Office365 64-bitHere's what I tried:1) I installed the 64-bit Access database engine 20162) I tried the 2010 & 2007 versions as well3) I...
View ArticlePerformance issues using SQL CLR - High PAGEIOLATCH_SH
Dear community, let me describe my problem: Query: SELECT t.value1, t.value2, x.valueAfrom My300GBTable tCROSS APPLY MyTableValuedFunction(varbinary field from table t) xUsually, this works fine. But...
View ArticleCapture Table usage - using Xevents
i need to capture particular table usage (hits - select ,insert,update,delete...) metrics from a database.how can i implement this via xeventi used below xevent , but this one not capture data, CREATE...
View ArticleCheck type of hash join
How to check the hash join type in a query execution plan ?1)In-memory hash join In build phase table fit completely in memory.<o:p></o:p>2) Grace hash join In build phase table does not...
View Articlenon clustered index with pk vs non clustered index without pk
Hi we run 2017 standard. I'm looking at some tables whose non clustered (nc) indexes are definitely being utilized in the execution plan but there is no pk and no clustered index.Does an nc index...
View Articlelooking for a technique to make date range joins perform better
Hi we run 2017 standard. I've come across this challenge in the past but never solicited help on the matter.Often, I come across situations where individual records in table A match only a SINGLE...
View Articletune query
Hi,abcd..Price table contains = 1.9billon recordsbelow query take more time bcaz of missing index, how can i tune this with out index creation?Query:select itemid,max(ts) lastcostchange from...
View ArticleSQLServerLogMgr::LogWriter: Operating system error 170(The requested resource...
Hello Experts, We have SQL Server 2012 on Windows server 2012 Failover cluster(VM). Few days back we have installed Anti virus on Cluster nodes and got the error SQLServerLogMgr::LogWriter:...
View ArticleExtended Events large query statements
I need to setup Extended Events sessions on a couple of servers running SQL 2012/2014 Ent.Session should capture the statements (inside procs/ad-hoc queries/rpcs ) that have the largest impact . I do...
View ArticleMonitor SAN Perfmon counters (logical or physical disk counters)
I run Perfmon on Win 2012 R2. Storage is SAN based, hosts are VMWare. Not clear to me if I should use physicalDisk or logicalDisk object counters .Thank you,
View ArticleSQL Express question
Hi All, Need a clarification. I am not seeing BUILTIN\Administrators group under sql logins. Was it removed from any specific version. I am using SQL 2016 Express Edition. 'sa' is also disabled. only...
View ArticleOPENQUERY on SSRS
I have two systems , one using MS SQL and the other one using mySQL and so am using a linked server with OPENQUERY on MS SQL to connect to mySQL and read data from mySQL Database. The query works 100%...
View Articlequerying a database that has replication subscriber tables
Hi we run 2017 standard. we are wondering if queries run against replication subscriber tables can interfere (ie block) with the replication process. and if the opposite is true as well, ie the...
View ArticleTrace Flag 4199
https://support.microsoft.com/en-us/help/974006/sql-server-query-optimizer-hotfix-trace-flag-4199-servicing-modelMay I know manually turn on Trace flag 4199 is also required to enable query fix for...
View ArticleGetting final column types from Extended Events DMV's
With a query like this.... this is not perfect.... which is the heart of the question.....I hope, I covered all the necessary five dmv's needed to get the column type level detail.+++returns too many...
View ArticleRestore is failing ...
Hi Experts, We are trying to restore a prod database on one of the sub-prod environments. We are doing the restore via sql agent job. Job is failing and when I see the job history, it shows below...
View ArticleEnable TCP IP and Named Pipes using T-SQL/PowerShell/CMD
Hi,I am trying to enable TCP/IP and Named Pipes using the following command. But I have encountered the error:--WMIC /NAMESPACE:\\root\Microsoft\SqlServer\ComputerManagement10 PATH...
View ArticleMultiple mdf, empty one is missing
Hi guys i have a big problem. I know i did such stupid and unforgivable mistake. And know please help me if you can. I wanted to make copy of database. I should make it by backup and then restore as...
View Article