Forum Replies Created

Viewing 15 posts - 3,916 through 3,930 (of 6,041 total)

  • RE: Can Auditing Fail?

    If your auditing process is failing, then that should be a top priority for investigation, and in something like a financial transaction database, you may want to consider suspending operation...

  • RE: Can Auditing Fail?

    In most scenarios the auditing operation should be done asynchonously, if possible, for performance reasons. But you can't do that if the auditing operation is bundled within batch transaction.

    Another reason...

  • RE: Finding Problem Code

    djackson 22568 (5/1/2015)


    ...

    I recall a discussion here regarding whether college is useful. This is an area where I think a good education is useful. Understanding why things run...

  • RE: Finding Problem Code

    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Static code analysis doesn't know how many times the code is executed, how much data it accesses, or how it's...

  • RE: Finding Problem Code

    Eirikur Eiriksson (5/1/2015)


    Eric M Russell (5/1/2015)


    Static code analysis doesn't know how many times the code is executed, how much data it accesses, or how it's impacted when running in parallel...

  • RE: Finding Problem Code

    Eric M Russell (5/1/2015)


    djackson 22568 (5/1/2015)


    Commenting mainly to benefit from what others share...

    We are implementing a major product that solves this issue by having a shadow of live, and all...

  • RE: Finding Problem Code

    Steve Jones - SSC Editor (5/1/2015)


    david.gugg (5/1/2015)


    We run a daily trace that captures SQL running longer that X seconds. This gives us a good idea of what SQL can...

  • RE: Finding Problem Code

    djackson 22568 (5/1/2015)


    Commenting mainly to benefit from what others share...

    We are implementing a major product that solves this issue by having a shadow of live, and all reports are run...

  • RE: Finding Problem Code

    Static code analysis doesn't know how many times the code is executed, how much data it accesses, or how it's impacted when running in parallel with other specific code. However,...

  • RE: Update takes too long

    As far as I know, we never got any execution plans for reference. We don't know how many pages are being read / written, how often this procedure is called,...

  • RE: Delete statement suggestion that will help me fix my statement

    To prevent a conversion error, I had to change 2015-04-30 to 2015-04-10, where the month and day can be interchangable.

    set dateformat mdy;

    select cast('2015-04-10' as datetime);

    2015-04-10 00:00:00.000

    set dateformat dmy;

    select cast('2015-04-10' as...

  • RE: Delete statement suggestion that will help me fix my statement

    Michael Meierruth (4/30/2015)


    Eric M Russell (4/30/2015)


    Michael Meierruth (4/30/2015)


    For easier readability, I always write my hard code dates as 'yyyy-mm-dd'.

    99999999 is always assumed by SQL and most programming languages to be...

  • RE: Database design and performance

    What I posted previously is ranking top 10 queries by wait (blocked) time. How we define queries as "expensive" depends on where your most urgent bottleneck is. You could perhaps...

  • RE: Database design and performance

    Well, you've certainly got your work cut out for you. As someone who comes from an application developer background, I'm sure you know how folks feel about database refactoring. You're...

  • RE: Delete statement suggestion that will help me fix my statement

    Michael Meierruth (4/30/2015)


    For easier readability, I always write my hard code dates as 'yyyy-mm-dd'.

    99999999 is always assumed by SQL and most programming languages to be in ISO standard YYYYMMDD format....

Viewing 15 posts - 3,916 through 3,930 (of 6,041 total)