SQL Server 2012: NUMA node shown as offline without special affinity settings
My main production server has four NUMA nodes with two SQL Server 2012 instances on it. One of the instances has the CPU affinity set to use only one NUMA node, and sys.dm_os_nodes reflects that...
View ArticleHow to tell when all records are committed and Record commit time instead...
We have several processes inserting records for one Batch.Recently we’ve had some long blocking so some of the inserts for a batch were blocked while the select statement to get a count of this batch...
View ArticlePossible solution to avoid deadlock when two inserts happen on same table...
Possible solution to avoid deadlock when two inserts happen on same table from two different machines.Below are the details from deadlock trace.Deadlock encountered .... Printing deadlock information...
View ArticleUnicode: issue with representation of Devanagari character (U+0940 and U+0947)
Hello,I observe issue with representation of Devanagari characters (U+0940 and U+0947) :U+0940ीe0 a5 80DEVANAGARI VOWEL SIGN IIU+0947ेe0 a5 87DEVANAGARI VOWEL SIGN EIn SQL server database I think...
View ArticleMultiple servers backing up on tape
Hi all,We have tens of SQL Server instances and currently they perform regular log backup every 15 minutes.So far we have been using disk based backups, for example on local disks of servers or shared...
View ArticleHow to know information about drivers
Hi Everyone, As a sql server dba how would one can identify or tell drives are not been updated (BIOS, firmware, network, storage ...) on your server. Is there any command using which I can confirm...
View Articlerelationships between tables, and diagrams
my question is ,, how to build a diagram, I don't understand that many to many , or one to many and about primary key and foreign key and etc..here is my code. is about a hospital where i have ,NURSES,...
View ArticleMy HDD has 6 partitions when I received it
This website is a joke. Couldn't find my answer if my life depended on it. I was given this laptop as is. Here are the pecs:Computer Computer TypeACPI x64-based PC (Mobile) Operating SystemMicrosoft...
View ArticleManual Maintenance Plan
Hi All,Using SQL Server 2008 R2 in multiple servers.1. Any script (links) for creating a manual maintenance plan? I would like to manually run the script for some databases in multiple servers.2. It is...
View ArticleData file much size I can increase in any data file as per the available hard...
FATAL : production-sql-server : ABEadobesqlpr1\lcstat db : lcstats - msg: data file space used 099%Whenever I get such type of alert from Tivoli and I have to expand the data files.But you know...
View ArticleA chance for YOU to play for the SS DBE team, in the TechNet Guru World Cup!
The World Cup is here again!Not balls... brains!And YOU have been selected to play on our team!Yes forum reader, step up and take a shot!Slam some techie tips in the back of our nets!No dribbling...
View ArticleTo create such script which will fetch all this data in form of create command
Whenever I do a restore I always forget to reapply some database roles or application roles in post restore steps.We have one database of very different db roles,Grant permissions,Login and User...
View ArticleTable Size Increased after Column Store Index Rebuild (even though partition...
Hi,I have a large table (about 60GB) with a Clustered Column Store Index (156 columns). The table is alsopartitioned (using SQL Server 2014 Developer Edition).After the table was being populated with...
View ArticleHow to Clean the SSISDB Size
Hi Experts, I have a SSISDB on server, which size is 93 GB when diagnosis this I found that the Contention values is 365, means this SSISDB is holding the log values of 365 days older. Now I have...
View ArticleExcel Connection
Hi,When I create an SQL connection from my workstation within an Excel file, other users are unable to refresh the data.Error Message: “[Microsoft][ODBC Driver Manager] Data source name not...
View ArticleRecovery from sql server 2005
I am using sql server 2005.My database is increamental databse daily new tranctions are add in it.By mistake i have deleted some transaction from that database table.How can i recover it.I dont have...
View ArticleSecondary XML Index not being used in query plans
I have a question regarding XML indexes. We have a table OVERLAY_ITEM_SEARCH_XXX with almost 5 million rows. The table has 2 columns – an identity column (bigint) and a SEARCH_VALUES column (XML). The...
View ArticleColumn store index -min_data_id and max_data_idis null
Hi,I have few column store in different table in DB. When I was analyzing the column store index one index have 12 segments ,When I looked into sys.column_store_segments for all the 12 segments...
View ArticlePowerShell SMO Breaks With LocalDB 2014
Hi. I have a script that I've been using a while that does some SQL configuration. I just got done with new elevation, UAC, and share access issues for my SQL install scripts. Now I can't get the...
View ArticleMSDTC cluster role in windows/sql 2012 cluster Failed to start
Hi I just restated one server and started getting error from MSDTC and not able to bring online..IT has 2 node windows 2012 R2 cluster , SQL server 2012 is installed on it.Cluster resource 'MSDTC' of...
View Article