Non-yielding Resource Monitor - Issue on PROD server
HiMy PROD server frequently restarting after generating below dump.Pls help me to resolve the issues =====================================================================...
View ArticlePerformance counters missing for single database
Hi,I've been sent a new version of a database by our data vendor, which is a .mdf file to attach. The vendor has a service that downloads data and inserts it into this database, which we then query.I...
View ArticleHow to update column values in a table where that column is referring to...
i have a table Order it has columns OrderID, Name, Total1 trade value populated from i.e. tradeorder table2 fixed value is populated from fixedorder table3 annual...
View ArticleDatabase maintenance plan with Always on
Hi,I have set-up SQL Always on availability for our our new system database environment. I am not sure what should be the database maintenance plan for this environment as I think we already have a...
View ArticleSQL Server 2014 Clustered Column Store Rebuild Conditions
HiI would like to enquire when I should rebuild Clustered Column Indexes. When is the index seen as fragmented ?Thanks,
View ArticleReplication issue
Hi Team,I have one transactional publication using this publication I configured 3 subscribers.Here when I generate the new snapshot those 3 subscribers are updated, but I need to update only 2...
View ArticleHow to assign the necessary preveliges to table valued inline function?
Hi,I logged in as a sysadmin and created a tabled valued function to get database sizes as under-: CREATE FUNCTION [dbo].[get_database_Sizes] ( @Type_Of_Db varchar(10)) RETURNS TABLE AS RETURN (...
View ArticleError: 18210, Severity: 16, State: 1.
We are getting below error while running red gate backup.BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device 'SQLBACKUP_******'. Operating system error 995(The I/O operation...
View ArticleMissing built-in functions
I am using MS SQL Server Management Studio version 10.50. Some built-in functions are missing, such as LAST_VALUE and IIF. Where can I get those?
View ArticleSchedule Job : Backup Encryption hasnot finish completely.
Dear Mr/Ms, SQL Server 2008 has backup encryption schedule job for 02 databases, but it has just backed up 01 database in several time.Access is denied due to a password failure [SQLSTATE...
View ArticleUnused Indexes
Hello,I am using sql 2012 SE. I noticed there were lots of blocking on a subscriber database where an insert is blocking a bunch of selects and causing timeouts. I started looking at unused indexes...
View ArticlePerformance counters missing for single database
Hi,Performance counters are missing for a single catalog within my sql server instance. I can see all the counters I expect to see, but in the list of instances, one catalog is missing.For example,...
View ArticleSome update lock issues
Can you kindly give me some examples such as:1, when the page needs the U lock?2, When the table needs the U lock?3,When the table\page need the UIX ?It's better if you can provide the T-SQL Script to...
View ArticleDatabase maintenance plan with Always on
Hi,I have set-up SQL Always on availability for our our new system database environment. I am not sure what should be the database maintenance plan for this environment as I think we already have a...
View ArticleThe connection was recovered and rowcount in the first query is not...
Since we've moved to SQL 2014 we see some of our jobs error with the message in the subject of this post. What does it mean? I've looked all over and haven't been able to find anything of...
View ArticleMultiple SQL job execution from server / instance
Hi Team,I have a query regarding SQL JOB execution and would appreciate suggestion / responce. If I have to schedule 200 SQL JOBs and run them simultaneously then which approach would be good:To run...
View ArticleDynamically Set Max Server Memory based on OS memory
Hey guys, I'm looking for a way to dynamically set the max server memory for SQL based on the amount of assigned to a newly created server. The thing is, that the SQL installation will be automated as...
View ArticleSQL 2008 Page Life Expectancy very high
When I run the following query to determine the Page Life Expectancy: SELECT cntr_valueAS'Page Life Expectancy'FROMsys.dm_os_performance_countersWHEREobject_name='SQLServer:Buffer Manager'AND...
View ArticleCannot remove 2nd log file on AlwaysOn database
Hi all,I have a database, member of an availability group. This database has 2 log file, I want to remove the unsed secondary log file, I try to run this command to empty the second lofg file:USE...
View ArticleSqlserver 2012 Logfile Debug
Hi Friends,As our sqlserver 2012 logfile keep increasing massively I want to debug or know what happened which table update or delete. there is any option available to debug logfile .thank...
View Article