Forum Replies Created

Viewing 15 posts - 17,896 through 17,910 (of 22,214 total)

  • RE: Running SQL Profiler on Production Is it recommended ?

    NO!

    Never run the Profiler gui against Production.

    It uses a completely different mechanism for gathering the data to present from what the server-side trace uses. This mechanism can, and will,...

  • RE: PRINT statements in stored procedures

    Roy Ernest (3/27/2009)


    Grant Fritchey (3/27/2009)


    You can get them from the client.

    On which client? Normal Web App that uses the Sproc?

    I meant the data access layer, regardless of how it's displayed....

  • RE: IO Statistics

    suhasini.m (3/27/2009)


    Thanks for the detailed reply.

    I am running both the quries at the same time and also doing DBCC DROPCLEANBUFFER and DBCC CLEARPROCCACHE before for both the queries.

    If this is...

  • RE: problem with stored procedure

    It really depends on what you need to do. Let's assume a row into each table. You create a proc with variables for each of the columns, except the two...

  • RE: ctrl + 2

    CTRL+2 in a query runs sp_who by default. You can change that.

    It sounds like you were hitting CTRL+2 to open a table? I've never seen that done before. If you...

  • RE: PRINT statements in stored procedures

    They add to the overhead. I use them occasionally when debugging, but always comment them out.

    However, I've never tested them to see what the exact cost is.

    You can get...

  • RE: Do DBAs Still Read Techincal Books?

    Jeff should do it.

    "Pork Chops for the DBA" by Jeff Moden

    "SQL Server Performance Tuning by Pork Choping Deveopers" by Jeff Moden

    "Better Performance by True Set Based Operations and Pork Chops"...

  • RE: IO Statistics

    suhasini.m (3/27/2009)


    I have 2 queries

    SELECT * FROM Table1

    JOIN Table2

    ON Table1.Column1 = Table2.Column1

    SELECT * FROM Table1

    JOIN Table2

    ON Table1.Column1 = Table2.Column1

    AND Table1.Column2 = XXX

    Both these query returns same number of results say...

  • RE: IO Statistics

    Yes, they are very handy, aren't they?

  • RE: Users are blocked when access same row using XLOCK

    Just a side note, it's almost always a last resort to start applying blocking through hints. SQL Server is generally much more capable at handling it's locking and blocking processes...

  • RE: When you REORGANIZE a clustered index...

    mazzz (3/27/2009)


    Thanks Grant

    So the order in which I'd reorg indexes would not be important then, I expect?

    The tables are reasonably small (generally under 20000 rows), so I'm going to monitor...

  • RE: Tracing eratic performance

    I'd dig into the performance monitor counters, cpu, I/O, etc. Especially focus on the waits and queues to see what things are slowing down for on the server. Here's an...

  • RE: basic guidelines on creating Indexes

    That's a very broad topic. Here are a few of my personal pointers

    1) Pick the clustered index first and pick it carefully

    2) Keep the clustered index as narrow as practical...

  • RE: Query Compile Time Varies Between Instances

    You have 4gb of memory on a production box running both SQL Server 2000 and SQL SErver 2005? I'd be willing to bet you're seeing serious memory pressure and probably...

  • RE: Huge increase in DB Size & slow retreivals after applying Indexes

    What made you choose those 12 fields? Were you working from a query plan or missing index information or recommendations from the Tuning Advisor?

    You need to look at the execution...

Viewing 15 posts - 17,896 through 17,910 (of 22,214 total)