Viewing 15 posts - 76 through 90 (of 361 total)
This works for me. other people might have written a better one.
select OBJECT_SCHEMA_NAME(sys.objects.OBJECT_ID) AS [SCHEMA], sys.objects.name Object, sys.database_principals.name username, sys.database_permissions.type permissions_type,
sys.database_permissions.permission_name,
...
February 16, 2010 at 10:21 am
I'm calling MAXDOP!!!!
you probably have more schedulers on your lappy than you do on the server so it can parallelize and split the select * amongst parallel threads better.
just a...
February 16, 2010 at 10:14 am
run a showplan on both and also count the data in all the involved tables.
I'm guessing you'll see a difference somewhere.
If not, then I'd be very curious about other differences...
February 16, 2010 at 10:00 am
I believe the client option exists in SQL Server's encryption and IPSec both for the same reason.
A Server which has multiple resources (in this case DB's) where some resources require...
February 16, 2010 at 9:23 am
profiler reports the database where the transaction originates.
so unless someone was actually USING tempdby a la:
use tempdb
go
it won't show up.
Cheers!
February 13, 2010 at 6:24 am
Try running dbcc checkdb with REPAIR_REBUILD
http://msdn.microsoft.com/en-us/library/ms176064%28SQL.90%29.aspx
Whatever you do don't run it with REPAIR_ALLOW_DATA_LOSS. You'll hate yourself in the morning.
If the rebuild doesn't fix it you might have to create...
February 13, 2010 at 6:19 am
In SQL 2005 both point to the same view as far as I know.
the data actually exists in the invisible resource database.
One thing to remember is the metadata visibility in...
February 13, 2010 at 6:15 am
Brings up an interesting point. I sometimes quote large texts from others to respond to and put a long dashed line beneath.
I should have done a better job of...
February 12, 2010 at 4:24 pm
you nailed it.
PLE of 300 means that objects are in cache for 5 minutes.
That's not too shabby. More is obviously better.
Something to consider would be to try to average...
February 12, 2010 at 3:19 pm
sql server appears to have enough memory.
The OS might be a little starved for attention.
How much memory did you leave the OS?
Like Steve, I frequently consult Slava Oks who wrote...
February 12, 2010 at 2:13 pm
Rich,
That is brilliant!
I will add that to a list of things to include in future revisions.
February 12, 2010 at 7:26 am
Ignacio A. Salom Rangel (2/12/2010)
Great article!
thanks, Ignacio!
This is actually a repost.
I've been surprised at the modest amount of success the article has enjoyed.
It's mostly preaching to the choir,...
February 12, 2010 at 6:40 am
To know what resource the user is accessing you'll need the rpc: batch completed (stored procedure) and SQL Batch Completed (ad-hoc SQL).
There are filters for loginname in your trace filters....
February 11, 2010 at 2:30 pm
Viewing 15 posts - 76 through 90 (of 361 total)