Viewing 15 posts - 33,091 through 33,105 (of 49,552 total)
Which one runs faster?
Use STATISTICS IO and STATISTICS TIME or SQL Profiler to get cpu, IO and duration.
May 4, 2010 at 8:02 am
Not enough information. What you've left out, and what is critical, is the allowable data loss in the case of a disaster. Need that to tell how far apart the...
May 4, 2010 at 7:54 am
On the Vista box, run management studio as Administrator (Right click -> Run as Administrator). It's due to the UAC.
May 4, 2010 at 7:37 am
Just an additional comment. I do not personally recommend the use of snapshots for long-term reporting, where a single snapshot needs to exist for a long time. Because they cannot...
May 4, 2010 at 2:29 am
With the backups that you list, you can restore using the full backup and the last 2 transaction log backups. What happened to the file from the log backup at...
May 4, 2010 at 1:53 am
A large log file is not going to cause performance problems by itself.
May 4, 2010 at 1:48 am
All 3 instances set to 10GB? Are they all of equal importance and memory usage?
10*3 = 30GB, so there's 18GB remaining. Is there anything else on the server?
May 4, 2010 at 12:49 am
Looks like the file has the read-only flag. Right click the file (in explorer), uncheck the ReadOnly checkbox and click OK. Try to attach again.
May 4, 2010 at 12:49 am
I see mentions of K2. Is this a database for one of the K2 business process applications? If so, do you have permission from the vendor to make index or...
May 3, 2010 at 4:15 pm
You can run a checkDB, but corruption won't cause duplicate inserts. It causes high severity error messages.
Run profiler (or a server-side trace) to see what's happening to the database if...
May 3, 2010 at 1:42 pm
You will need to script ALTER PROCEDURE statements, edit each one and run the whole lot. If it's a parameter with a constant name, it should be possible to get...
May 3, 2010 at 1:41 pm
carlb 28852 (5/3/2010)
I see that Master, MSDB and tempdb default to Simple Recovery Model.
Master is in simple recovery and, even if switched to full behaves as if it is...
May 3, 2010 at 11:28 am
No and no.
Snapshots can't be moved after they are created. They can't be detached (the one way to move a database) and, since they're readonly, alter database (the other...
May 3, 2010 at 10:54 am
Tested and confirmed
CREATE PROCEDURE TestingIfREcompiles (@Option INT)
AS
IF @option = 1
SELECT * FROM dbo.LargeTable
ELSE
SELECT * FROM dbo.LargeTable2
GO
First execution passing 1 (to get first branch) generates a cache miss and a cache...
May 3, 2010 at 8:52 am
Viewing 15 posts - 33,091 through 33,105 (of 49,552 total)