How to troubleshoot - "Incorrect syntax near - Source: MSSQLServer, Error...
A quick guide on how to troubleshoot Incorrect syntax near - Source: MSSQLServer, Error number: 102)" errors in replicationFirstly, check for any known issues like...
View ArticleLarge Network Packet Size and Memory Pressure in SQL Server
Today I worked on a interesting performance issue whereby SQL Server 2005 x86 (32-bit) had sever Non-BPool memory pressure causing all sort of errors lilkeFailed Virtual Allocate Bytes:...
View ArticleError: 17127 "No memory for kernel buffer hash table" during startup along...
This is a simple information sharing post because there is nothing much to troubleshoot...SQL Server failed to start with following message:Server Failed allocate pages: FAIL_PAGE_ALLOCATION 262Server...
View ArticleOPTIMIZE FOR UNKNOWN in SQL Server 2005
Just helped a performance problem with the information below and thought of sharing since it might be useful in some situations..OPTIMIZE FOR UNKNOWN introduced in SQL Server 2008 gives this...
View ArticleSnapshot replication fails after adding a column to a table (article)
This post is all about "replicate_dll" property in sp_addpublication, so if you are aware of this property then this is the answer for the problem described in the blog title.Here is a little more...
View ArticleNow Connect PHP website running in Linux Apache Webserver to SQL Server
How? Here is the answer: Preview of SQL Server ODBC driver for Linux is now available for download: Download Link: The Microsoft SQL Server ODBC Driver for Linux provides native connectivity from Linux...
View ArticleRe-configure Replication after restoring publication database from Backup –...
Sharing one of the interesting scenario I worked today. Somebody messed up the data at publication database (few rows updated with a value which they aren’t supposed to) and publication database was...
View ArticleRestore database stuck at 90% waiting on PREEMPTIVE_OS_WRITEFILEGATHER
There are already few blogs and a KB to talk about this problem so I’m trying to tie them together to make sure you get this quickly When you are restoring a database (in my case a database having 32...
View Article"stop before startup" after "Using large pages for buffer pool" during SQL...
Worked on a SQL Server startup issue which I would like to share here: Here is how the SQL Server errorlog looked like 2012-04-19 03:43:26.50 Server Microsoft SQL Server 2005 – 9.00.4035.00 (Intel...
View Article"Failed to save Local Policy Database" while granting any privilege to SQL...
When you try to grant any privilege to SQL Server Service SID using Group Policy Editor in Windows 2008, you might get this error: An extended error has occurred.Failed to save Local Policy Database....
View ArticleINF:What happens to a database when transaction rollback fails?
Today while working on a SQL Server performance case, I was asked this question “What happens to a database when transaction rollback fails?”. I thought of sharing the answer to the community so that...
View ArticleSQL Server 2012 Upgrade Technical Guide & What’s new Whitepaper Released
SQL Server team has published the “SQL Server 2012 Upgrade Technical Guide” at...
View ArticleCool… Now we have a calculator for finding out a Max. Server Memory value
This calculator is now withdrawn since I’m not able to invest my time to improve it to make it “stay current”. Apologize for the inconvenience! Hello SQL Community, I have written a simplified “Max....
View ArticleWow… We have MAXDOP calculator for SQL Server… It makes my job easier…
So after Max. Server Memory calculator, to make your life much more easier, here is the Max Degree of Parallelism or MAXDOP calculator. We are using SQL DMV’s to find out the number of NUMA nodes and...
View ArticleError: "Could not retrieve backup settings for primary" in Log shipping...
This one is simple but interesting… Log shipping which was running for an year, suddenly stopped working. Log shipping monitor says that there are no backups restored for last 14849 minutes… Why? We...
View ArticleUser realm discovery failed from ADOMD
This is a short blog post to share a solution to the error "User realm discovery failed". This is a generic error when you authenticate in Azure Active Directory (AAD) from any application. In my...
View Article