Viewing 15 posts - 7,231 through 7,245 (of 22,213 total)
Based on the fact that you're seeing performance increase after FREE_PROCCACHE, while it may be other things, it's more than likely first and foremost, bad parameter sniffing. You need to...
November 13, 2014 at 3:41 pm
Then that's odd. I can't recreate it. Here's what I did. I opened a session and used this code:
CREATE PROCEDURE dbo.TestingColumns
(@SalesOrderID INT)
AS
SELECT soh.SalesOrderID
FROM Sales.SalesOrderHeader AS soh
WHERE soh.SalesOrderID = @SalesOrderID;
Then...
November 13, 2014 at 8:10 am
The wide index is less efficient in terms of storage, but in terms of covering, it'll be the same. Either an index has all the columns needed to satisfy a...
November 13, 2014 at 6:38 am
I'm honestly not sure. It sounds like something was cached at the client of the other session. Recompiling the procedure from the first session would invalidate the execution plan in...
November 13, 2014 at 6:34 am
At the end of the backup process, any transactions that have completed while the backup was running will be brought into the backup. The recovery step of the restore process...
November 13, 2014 at 5:46 am
I'd suggest taking a look at the Minion scripts[/url] by the Midnight DBA team. That gives you a lot more control than the maintenance plans.
November 13, 2014 at 5:44 am
First, the server has to be part of a failover cluster (the service, not the physical set up). Then you go to Configuration Manager to enable availability groups. This is...
November 13, 2014 at 4:59 am
Think of each database as a service. A given service has a contract that says for these inputs, you get these outputs. With that in mind, any given access mechanism...
November 13, 2014 at 4:51 am
My query performance tuning book also talks about the dangers of multi-statement table valued user defined functions. The newest one has the most discussion around that.
November 13, 2014 at 4:48 am
If you don't have experience in development overall, then I'd suggest following the suggestions in the post above. If you're trying to understand how to run the debugger within T-SQL,...
November 13, 2014 at 4:42 am
sql.querying (11/12/2014)
Even between two different databases in the same instance?
It depends. One thing that the optimizer takes into account is foreign key constraints. Since you can't have those across databases,...
November 13, 2014 at 4:40 am
Regardless of what you do to modify the backup, and I like the suggestions, make darned sure you test the restore to ensure you both know how to do...
November 13, 2014 at 4:38 am
zahid.nawaz (11/12/2014)
2) What effect it has if we have one cluster index but many none cluster indexes? according to following blog it can even create extra performance problems instead of...
November 13, 2014 at 4:37 am
If you're working within SQL Server, I wouldn't worry that much about product specific T-SQL. The vast majority of applications developed stay within the RDBMS that they're developed within. So,...
November 13, 2014 at 4:27 am
Because it's so very easy to undo stored procedure encryption, it's really a waste of time. Why do you think you need to encrypt your procs?
November 13, 2014 at 4:24 am
Viewing 15 posts - 7,231 through 7,245 (of 22,213 total)