Viewing 15 posts - 12,931 through 12,945 (of 39,898 total)
What you need to do isn't all that hard, but there are a lot of moving parts. I'd suggest that you tackle this in two ways.
1. Remove public
2. Fix permissions
You...
December 18, 2012 at 2:08 pm
There are probably better ways, but I think this works:
; WITH AllActions (ItemID, ActionID)
AS
(
SELECT distinct
i.itemid
, a.actionid
FROM items i
CROSS APPLY
( select a.actionid
...
December 18, 2012 at 11:47 am
One thing you might examine is your waits for the various files. If you see waits stacking up, then you have IO issues.
A few more references for you:
http://www.simple-talk.com/sql/performance/a-performance-troubleshooting-methodology-for-sql-server/
http://www.sqlskills.com/blogs/paul/post/capturing-wait-stats-for-a-single-operation.aspx
December 18, 2012 at 11:29 am
The rules are a mess. You can place them (almost) anywhere, which is crazy.
I don't like the idea of them after BEGIN-like statements. I'd see rules as:
Begin try
--do stuff
End try
Begin...
December 18, 2012 at 11:27 am
Packages do not necessarily fail on a single error. They can have failure logic built in and still complete, but if an error bubbles up, it is returned to the...
December 18, 2012 at 11:09 am
You have a few problems. First if there is more than one .bak file, you have no guarantee of which one your script will find.
Second, you can't include a variable...
December 18, 2012 at 11:07 am
A file copy v a backup are two different processes. There's not much you can do to tune the backup process in SQL Server.
Can you show your script? ...
December 18, 2012 at 11:03 am
If you are at the target memory, then you are fairly close to what is needed.
Having heaps can be a problem for performance, but not necessarily. Is there a reason...
December 18, 2012 at 10:58 am
This is really an I/O subsystem issue, and less a query tuning issue. The load from your server exceeds what the I/O system can handle.
http://mssqlwiki.com/2012/08/27/io-requests-taking-longer-than-15-seconds-to-complete-on-file/
Tuning queries to use less reads...
December 18, 2012 at 10:56 am
You are missing some data here. How can you tell an actionid for an item has been completed when the first table doesn't have ItemIDs? You have two actionIds of...
December 18, 2012 at 10:53 am
For a web application, you should need a per processor license, based on the number of cores.
December 18, 2012 at 10:43 am
I don't see anything on the ALTER TRIGGER syntax, but here's Merge: http://msdn.microsoft.com/en-us/library/bb510625%28v=SQL.100%29.aspx
The idea was that all statements would require a semi-colon, which might help the language mature and enable...
December 17, 2012 at 10:18 am
Miles Neale (12/17/2012)
December 17, 2012 at 10:11 am
Viewing 15 posts - 12,931 through 12,945 (of 39,898 total)