Viewing 15 posts - 8,896 through 8,910 (of 22,214 total)
And for anyone who searches up your question in the future and wants to know how you solved it, what was it?
February 17, 2014 at 3:49 am
No. You shouldn't hit any performance hits while doing it, but, the bigger concern for me is that between setting it to single user mode and continuing on with the...
February 16, 2014 at 9:29 am
The details are going to vary for your environment, but here's roughly how we used to do it:
1. Get a copy of the production backup
2. Restore it to a test...
February 16, 2014 at 9:27 am
It means you have more than one BEGIN statement and only one COMMIT or END statements. You need to have matching pairs for the query to work correctly.
February 15, 2014 at 4:13 am
TheGreenShepherd (2/14/2014)
February 15, 2014 at 4:08 am
It's all about speed. When you need really fast OLTP processing, you go with the in-memory tables and the compiled procedures. The limitations are too severe for any small or...
February 15, 2014 at 4:03 am
Michael Valentine Jones (2/14/2014)
Luis Cazares (2/14/2014)
Michael Valentine Jones (2/13/2014)
3. The database is "overnormalized".That can be true (even if it usually isn't).
I am not sure what "overnormalized" even means, but anytime...
February 15, 2014 at 3:40 am
Yeah, it could, although you might be better off creating the index on the table after you load it.
February 14, 2014 at 7:00 am
It sure sounds to me like the query could be tuned, but as to the long running stuff, I'd assume contention on resources. While it's running, have you collected wait...
February 14, 2014 at 6:00 am
Everything Kevin said, then check out the execution plan to understand where the indexes are getting used and where they aren't. Just tossing them vaguely towards a query never works...
February 14, 2014 at 4:40 am
This stuff is likely killing your performance too. It can't use indexes
DATEPART(dw, d.GREGORIANDATE) <> 1 AND DATEPART(dw, d.GREGORIANDATE) <> 7'
February 14, 2014 at 4:37 am
I've done this using both T-SQL and PowerShell, but the trick is, you have to be able to set up access to a common location. If you can't do that,...
February 14, 2014 at 4:32 am
Generally, this is when you go to your backups and restore the database to a point in time prior to the problem.
February 14, 2014 at 4:28 am
Evil Kraig F (2/13/2014)
My understanding was the short circuit capabilities of the CASE statement would improve performance, but in a limited variety.
Instead of a simple data change on the table...
February 13, 2014 at 12:25 pm
Recompile will override, yes. You can't really see query hints through the execution plan. You can see them in the SQL text that is stored with the plan.
February 13, 2014 at 9:13 am
Viewing 15 posts - 8,896 through 8,910 (of 22,214 total)