Sch-M and Sch-S deadlock related to partitioned tables
Hi,Very anoying scenario... We have large partitioned table and we use staging table loads, and partitions sliding in and out of this table (part of the process is also rebuilding indexes on the...
View ArticleIndexing columns for an UPDATE
I have the following data (names changed to protect the innocent and/or guilty).create table Orders ( OrderID int identity(1,1), CustomerTIN int ) create table OrdersStaging ( OrderID int, CustomerTIN...
View ArticleFinding Data quality Issues
HiI have been presented purposefully couple of tables with data issues. Could anyone let me know how to find what those issues are?Thanks
View ArticleMany Buffer I/O and network I/O wait
Hi all when I open the Activity Monitor and I see there are many Buffer I/O and Network I/O wait.is it healthy ?? and what's the Buffer I/O ?? is it memory?
View ArticleSharePoint database used up 150G tranaction log within 1 hour
I have a SharePoint database server. The datafile size of 'content_intranet' database is 350. The log file was increased to 150G lat night around 3:00AM and used up all the disk space. What could be a...
View ArticleSQL Server 2008 R2 Memory Utilization high after fixing Max memory Settings
Hi All,Need a help to fix high memory utilization on one of our sql server 2008 r2 with 3 instances. i have done all the checks which is related to memory , however server is reaching the max memory...
View ArticleCopy SQL Server 2012 database with SMSS
I want to copy a database within the same SQL Server 2012 Developer instance (e.g. from database1 to database1_new). Here are the steps I followed in SMSS * Right click on database > Tasks >...
View ArticleSQL 2008 - Script Logins/Permissions?
Hi, I am restoring a development SQL 2008 database over our production one but I want to keep the logins/permissions the same as they are now. So first I'm going to restore the database over our...
View Article[Microsoft][ODBC Excel Driver] Your network access was interrupted
Im having trouble with this ERROR. SQL##f - SqlState: S1000, ErrorCode: 4294966274, ErrorMsg: [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and...
View ArticleIndexs still marked as not being used but already deleted...?
Hi allI am currently going through the indexes which are not currently used on the live system. What I have noticed is when I get my numbers (or lack thereof) from sys.dm_db_index_usage_stats, it...
View Articleset static port 1433 for named database instance on Cluster databaseserver
http://msdn.microsoft.com/en-us/library/ms177440%28v=sql.100%29.aspxNow SQL server browser is already running and requirement is to change the SQL port from Dynamic to static 1433.We have been asked to...
View ArticlePerforming Database maintenance [Backup/Restore] to other server
Hi,I have database maintenance task which include 1. Database Backup from Server A 2. Database drop on Server B 3. Database restore from Server A backup to Server BCurrently we have separate jobs on...
View ArticleSQL Server 2005 Enterprise Evaluation Edition
Hi, Could you please share me the link to download SQL Server 2005 Enterprise Evaluation Edition.I am working on SQL Server 2008R2. But need to practise SQL Server 2005 on High Avaliability Features....
View Article"Deadlock" example follows. Need help with Analysis.
To betterunderstand deadlocks I created a simple example consisting of three Sql 2005 queries, each run in its own query window (different SPIDs). My analysis and questions about the ERRORLOG follow...
View ArticleAny way to predict the query performance benefit of SQL server enterprise...
Hi,We have a SQL Server 2008 R2 standard edition instance with 64 Gig RAM and 4 Core CPUs. We understand that SQL Server enterprise can provide better query execution performance because of the reasons...
View ArticleSQL Exclusion?
Hello,This statement reports 9,765 items select SYS.Netbios_Name0 From v_R_System SYS This Statement reports 6,102 items select SYS.Netbios_Name0 From v_GS_SoftwareFile SF join v_R_System SYS on...
View ArticleIncrease workspace memory area but not data cache area?
Is there any way to increase the amount of memory SQL will use for the workspace memory area but not increase the amount of space for actual data cache? I'm doing performance testing and scaling the...
View ArticleList of synonyms, tables, objects, views, etc.
Hi all,Is there any query that gives of list of synonyms present in database.Thanks in advance.Regards,Venkat.
View ArticleRename server name - how about windows group on the server?
After we changed computer name, and I renamed SQL server name too following ms articles. by using sp_dropserver, sp_addserver. But I see there are still somewhere on the server left with old computer...
View ArticleDatabase Backup suddenly doubled the time it generally takes
Hi All,We have an environment where an instance has around 2.6 TB of data. Generally it takes around 14-15 hours for taking a complete backup of this data. But recently it started taking 2 days (48...
View Article