Viewing 15 posts - 47,191 through 47,205 (of 49,571 total)
If you expand out the server in enterprise manager, can you see the system databases? Can you see the user databases? If you can see the user database, is there...
March 16, 2008 at 6:51 am
You can use SQL Profiler. Trace the event T-SQL Batch completed and take the start time, end time and duration columns. Duration is in microseconds.
March 16, 2008 at 6:47 am
Are you trying to find deadlocks or blocking? They're fairly different things.
To find blocking, you can use the sys.dm_exec_requests or sys.dm_os_waiting_tasks DMVs. Both have a column that will show if...
March 16, 2008 at 6:44 am
Please don't type in full caps. It's the online equivalent of shouting.
Suspect in system tray? Not quite sure I understand.
If you open enterprise manager and connect to the server in...
March 15, 2008 at 7:35 am
Rather don't shrink your dataabses, especially straight after an index rebuild. Index rebuilds put the index pages in order, shrink will move them completely out of order. You may as...
March 15, 2008 at 7:20 am
Can you post the table structure and index defs please? Also, if possible, the execution plan (without the index hints in place) (run SET SHOWPLAN_ALL ON before the queries) in...
March 14, 2008 at 3:20 pm
Full and diff backups don't truncate the log. Log backups do.
If you have an full backup at midnight and hourly transaction log backups, the the log backups only contain...
March 14, 2008 at 3:18 pm
GSquared (3/13/2008)
In that case, you'd be recovering from the prior day's full backup, and the most recent log backup.
To do that, you'll need the previous day's full...
March 14, 2008 at 11:58 am
I believe it has to do with the order of the columns in the group by, not the select. I don't have a SQL instance around right now to test...
March 14, 2008 at 11:41 am
Make very sure that you have viable backups somewhere other than on the server itself. See here[/url] for why.
There no point in doing a diff straight after a full DB...
March 14, 2008 at 11:41 am
jmanly (3/14/2008)
Uncommitted transactions are never written to the data files, are they?
They can be. Imagine an update that affects 2 GB of data on a server where...
March 14, 2008 at 11:30 am
Oh, and also. 20 million rows is not a trivial amount of data. Index seek or no index seek, it will take time to fetch that data from disk (if...
March 14, 2008 at 11:18 am
Looking at just that scenario, and ignoring any possibility of other queries, I'd do the following.
Drop the NC index on Col1. As Grant said, it's not necessary. Make the PK...
March 14, 2008 at 11:15 am
Restart the SQL instance.
I asked the same question of PSS a couple years back. There's no command, documented or other to clear out memory in MemtoLeave
March 14, 2008 at 11:09 am
Is the server you're writing to running? Are the permissions of the account running profiler sufficient?
It's generally recommended to run server-side traces to file, not to table, and import the...
March 14, 2008 at 11:04 am
Viewing 15 posts - 47,191 through 47,205 (of 49,571 total)