online index rebuild of a single partition
Why does sql server not allow online rebuild of a single partition of a partitioned table. We have tables with over 3300 partitions and few of those partitions get heavily fragmented and the only...
View ArticleRestore database from .bak files
Hi,I am new to this concept. I have a server which provides me with the backup of their database everyday in the form of .bak files.My task to achieve is to import the latest .bak file into my...
View ArticlePowershell invoke-sqlcmd calls stored procedure second time after Query...
We have a very strange issue. We have noticed that a single stored procedure is executed twice when is called by Powershell invoke-sqlcmd command.When we trace it we can see the procedure starts...
View ArticleMonthly Partition Implementation for daily Load & Switch IN has to work
Hi All,Any one has Implemented Monthly partition on main table & Load the Temp table daily and switch in this data on daily basis. What I want to ask that How will I switch In data for monthly...
View ArticleChanging column in NOT NULL. Why is there so much transaction log activity on...
Hi guys,the setup is as following: SQL Server 2008R2, recovery model FULL in order to better track what's going on in the transaction log.CREATE TABLE dbo.justnumbers(id INT IDENTITY, number FLOAT...
View ArticleSS2012 SSMS New Query Error: BatchParser Missing
It maybe a coincidence, but started 2 days ago after virus/Trojan infestation (anti-virus deleted it?). McAfee technicians from Chennai cleaned my computer today.I cannot do repair from DVD due to...
View Articleshow Task manager data in SSRS
Dear All,We have an application. Which is currently facing performance problems. We are currently working on that.Bit right now we are advised create a report which shows Real time Memory usage and CPU...
View ArticleDecipher waitresource
I am trying to analyze a dead lock trace.I see this in the waitresourcewaitresource=KEY: 9:72057594065256448 (ef008dce9cbe)How can I find the exact key thats causing the problem? Thanks!
View ArticleLog Shipping false status
Hi All,We configure log shipping successfully.Even Backup, Copy & restore Jobs run successfully. I checked the log backup movement from primary drive to secondary drive too its happen properly.But...
View ArticleCapture Process blocked queries
Hello All,I am new to SQL Server DBA, I created an Alert of type: SQL Server performance condition alertobject: SQL Server: LocksCounter: NUmber of deadlocks / secInstance: DatabaseAlert if counter:...
View ArticleIs there a way to characterize the cache by date? (SQL Server 2008R2)
We're using SQL Server Enterprise 2008R2 on a large VM farm. We have hundreds of SQL Server VMs that all run very nicely.However, when they were setup, the VM admins gave them huge amounts of memory -...
View ArticleBetter insert performance on a table only with a clustered index or a table...
Note, I am not talking about a clustered index against a non-cluster index, I mean a clustered index comparing to no index at all for inserting performance.I saw lots of links as below said that, a...
View ArticleSQL server 2012 Installation to put Data and Log on a separate drive
Anyone tell me how to separate the data and log files in separate drive.Can I give separate path for them during the installation or I go ahead with default installation later I move the files to...
View Articlefn_virtualfilestats - NumberWrites and umberReads column
So in SQL Server 2008 and beyond what do the columns numberReads and numberWrites mean? I thought this was simply the number of reads the number of writes issued by the sqlserver.exe process. I went...
View ArticleUpdate PDF file in FileTable
Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...
View ArticleCONNECTION PROBLEM OF SQL DEVELOPER
I COULD NOT MAKE A NEW CONNECTION.WHAT WOULD I GIVE IN THE COLUMNS USERNAME,PASSWORD,HOSTNAME,PORT NOMBER WHEN ASKING FOR A NEW CONNECTION
View Articlealgorithm behind slow IO reporting
I would like to understand what algorithm SQL Server 2008 uses to log the 'taking longer than 15 seconds' message, e.g.Aug 8 16:53:05 daffy MSSQLSERVER: 833: SQL Server has encountered 1435...
View ArticleWhy are DDL changes to a temporary table not allowed within a snapshot...
Why are DDL changes to a temporary table not allowed within a snapshot transaction, especially when the temporary table is created within the snapshot transaction? I understand why DDL changes to a...
View ArticleA severe error occurred on the current command. The results, if any, should...
I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.When a user try to insert a record inside one table, he receive an...
View ArticleDatabase Mail issue
We are running SQL Server 2005 64 bit EE Build 5057 on Windows server 2003. Our Database mail seemed to have stopped working and i receive the following error.Log Database Mail (Database Mail Log)Log...
View Article