Calculating Table Scan Time
I need to run a select from table with 400,000,000 records where there column is not indexed. The column is a float and I'm simply doing a select where X > YI'm trying to calculate how long an...
View ArticleLog FIle Deletion
Hi Gurus,I do take transaction log backup of the database on weekend. Do i have to store it for reference or can i delete the old log files after some days.Because space is constraint for me. what i do...
View ArticleDeprecation of Trace -T272
Anyone knows if trace flag -T272 is going to be deprecated? I am using it to avoid the jumping of identity value in SQL 2012...
View Articlehow to check is there any long transaction happening in sql tables
Hi All,I need a SP that run every minute and send a email , if there any long transaction is happening on a table.Appreciate your help on this code.Thanks !Naveen
View ArticlePartitioning Datetime and Date data type
Hi Experts, I have one small question for partitioning table. I have created a partition function on Date datatype, most of the table covers under it but some big table have to DataTime data type. So...
View ArticleMirroring..
Hi Team,What are difference in sql server 2008 mirroring and sql server 2012 mirroring,make any possible 2012 sql server mirroring database read only state ??
View ArticleCheck scheduler_id's for parrallel queries using Extended Events
Hi,we followed the rule to set the maxdop = numer of schedulers per NUMA node. I now want to check how often parallel queries can use different schedulers within the same NUMA node. Following scripts...
View ArticleCannot Start SQL Server Agent
I am having issues starting my SQL Server Agent (currently using SQL 2005 STD).Firstly, When I look in SSMS, beside SQL Server Agent it says "Agent XPs disabled (not sure what this means).Secondly,...
View ArticleIssue with loading data with more 4k into nvarchar(max) column
Hi Team,I am facing issue with column which has been defined as nvarchar(max). I am trying to insert data to a table which is more than 4k insert was successful but it is not inserting the data more...
View ArticleLog file
Hi All,Can we take log backup while the application is running, Does it creates any impact on online application. What exactly happens when log backup is taken. Appreciate your help.Thanks,Venkat.
View ArticleWait types in sql Server
Hi,I gone through so many wait-types in some of blogs. I know the all wait-types are important.Can anybody tell me that what are the top 10 wait type more important?
View ArticleSql 2005 - insufficient system memory to run this query
Hi, We are getting right now following error: We have Sql 2005 with 4 GB MemoryThere is insufficient system memory to run this query. Error: 701, Severity: 17, State: 42.then it contains another...
View ArticleBackup
HI, What will happen to data being modified, when backup process is running... does backup process creates any sort of new transaction logs?... if not how do we recover modified dataa.. and from...
View ArticleIndex Optimization for accidental DBA
Hi - I apologize if this has been asked in another forum post but I am really confused and was hoping to get some personalized help regarding indexes on a large SQL server table I have. The table has...
View ArticleUpdate column value in batches
I've added a new column that currently allows NULL values. The only reason I did this was because I did't wan to take the hit of adding the default value all in on shot. I've now written something that...
View ArticleCan not Start SQL SERVER after changing the acount
Hi,I changed the log on account for SQL SERVER, could not able to start the SQL services after that even Account have full permission on that server.
View ArticleSQL Server licensing - server + user cal vs processor
Hi,I need to know the max number of user cals over it is better to by the license to processor (for SQL Server 2008 R2-2012).Thanks
View ArticleWhy auditing "UPDATE" statements captured with select "action id"
Hi We had configured the auditing feature in Enterprise Edition SQL SERVER 2008 for SELECTS statement but when we queried the table(fn_get_audit_file), we found event UPDATE statements captured with...
View Articlecant restore a backup file
I have a backup file from a month ago which I cannot restore. there were no server upgrades done. I am trying to restore on the same server that backup it up.the message I get is: The media family on...
View Articlesql server scale out with distributed partitioned views
Hi. Our company manages an online auction and shopping website(something like ebay), and I have questions regarding to scaling out solutions. we are running Sql Server 2008 R2 Enterprise edition(which...
View Article