Forum Replies Created

Viewing 15 posts - 46,471 through 46,485 (of 49,571 total)

  • RE: WITH (NOLOCK)

    WITH (NOLOCK) = WITH (Occationally_Inconsistant_Data) 🙂

    Nolock is something you use if you don't mind seeing dirty data, potantially missing rows and possibly reading rows twice. It's probably fine for long-running...

  • RE: Sparse files in SQL 2005

    SQL data and log files are not sparse. Snapshot data files are. Make sure you give your snapshot files a distinctive name (not .mdf) so you can easily distinguish them...

  • RE: Avoid Trigger!! If you are a good DB developer!!

    They extend the length of transactions, the increase the chance of deadlocks, and most people don't know how to write one. 😉

    Do whatever you need to in the proc before...

  • RE: Parallel file operations

    Slawek (5/21/2008)


    You are definitely software ortodox 🙂

    No, we've just done a fair bit of performance tuning in the past and know where the issues usually lie and where the improvements...

  • RE: Is this query possible?

    As far as I can see, aa is just an alias for the openXML in the first query. It won't last longer than the execution of the first query. Hence,...

  • RE: Indexing options to increase speed

    Clustered indexes should (imho) be as narrow as possible. From what you've said, I'd second Jeff and go for a cluster on A on just the ID. You can create...

  • RE: PERFORMANCE ISSUE

    Create indexes after the bcp/Bulk insert. That way they won't interfere with the load, but will be present when you're querying the table later.

    As always, test carefully to ensure that...

  • RE: defaults constraint not working

    veenagireesha (5/20/2008)


    But when I tried ti insert into records..It not convertedto uppecase at all...Isn't it possible this way ?

    A default just sets the value of the column if no...

  • RE: SAN best practices

    Jeff Moden (5/20/2008)


    The bat I kept at my desk was the "hardware training aid".

    I have one of them too, though it's a calendar mailing tube. A...

  • RE: SAN best practices

    Jeff Moden (5/20/2008)


    Setup profiler to page, call, email, and throw rocks at the hardware team everytime a query takes longer than a certain time to execute... you sleep. 😛

    Unfortunatly that's...

  • RE: Parallel file operations

    What we're saying is that you should only do hardware fixes if you know it's a hardware bottleneck, and you've already optimised the queries as much as possible and tuned...

  • RE: Data not comitting ?

    GSquared (5/20/2008)


    My thought was just put this logic in the proc that otherwise inserts into this table, and bypass the whole trigger and insert thing completely. But...

  • RE: Stored Procedure executes much slower than individual query

    Can you post the execution plans please. You can right-click on the exec plan, save it as a .sqlplan file, zip and attach to the post. (assuming SQL 2005)

    Somewhere I...

Viewing 15 posts - 46,471 through 46,485 (of 49,571 total)