SQL 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 ArticleRe:Physical Memory Usage is warning
HI friends ,we are facing the Physical Memory Usage is WARNING,Physical Memory: 84%used,when ever cross the 80% we are getting the alert ,i am enable the AWE and change the memory,but no use, how to...
View Articleblocking access to sql server from particular IP
Hi I wan to to block to sql server (SQL2005) from particular IPI created triggerCREATE TRIGGER [tgr_blocker] ON ALL SERVER FOR LOGON AS BEGINIF isnull((SELECT client_net_address FROM...
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 Articlesp_helpfile and sysaltfiles inconsistency
why does sp_helpfile and sysaltfiles files show different values for database. sp_helpfile says 20GB but sysaltfiles says 200MB. the database is tempdb.Thanks.Hope it Helps!!
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 ArticleSch-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 Articledbcc check repair
Dear Experts,I would like to know that if we repair some tables with repair command than what could be future impact and how can someone track the repaired tables in future.please share your experience...
View ArticleIs doomed transaction inevitable if deadlock occurs in a trigger (SQL Server...
Hi all,Below are two scenarios, however, what I am trying to accomplish is to catch deadlock errors and re-try the DML that was chosen as the deadlock victim. Does anyone know of way to accomplish...
View ArticleSQL Browser and SQL VSS writer missing
I have an issue with a SQL 2008 R2 Standard default instance (running on Server 2008 R2 Std.) which appears to be missing parts of its installation.The SQL Server Browser and SQL VSS writer services...
View Articlehow to clear the table
i have a temporary table (table1) , after execution i what clear it for waiting for new data
View ArticleSql server 2008 management studio
Can I install Sql server 2008 management studio into Ubuntu operating system? If not then is there any other option or any other way to use sql database to be open or restore into Ubuntu /...
View Articlewhich one is faster? query from Table or View
I have a transaction table where I have around 1 million records. I have created a view for this table with around 50 other tables joined via foreign key.Now, when I fetched a record using a simple...
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 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 benefit in SQL 2008R2 table partitioning when filegroups reside on the...
Hi,Is there any benefit of table partitioning when the table’s partitions reside on the file groups that stored on the same LUN?Thank you,
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 2012 SP1 producing deadlocks on sys.query_notification
I have run into a situation on my servers where our service broker setup for query notifications has begun producing deadlocks. The situation is described perfectly in this KB:...
View ArticleProper Index for Join query
Hi All. I would like to know what's the proper index should create for the join query?select a.col1,b.col2 from table_a ainner join table_b b on a.col3=b.col3and are there any resources...
View ArticleHow to stop and restart CHECKPOINT process?
Does any one know the sql script to stop and restart CHECKPOINT process? Thanks.
View Article