Forum Replies Created

Viewing 15 posts - 15,916 through 15,930 (of 49,552 total)

  • RE: Log files

    If both logs are full, it'll autogrow one, then the other, repeat. SQL does not ever write log records in parallel to multiple log files.

    As for the tests, can you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Table Partitions with Multipe Files and File Groups

    Why do you want each partition in its own filegroup?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Log files

    Luk (10/25/2012)


    So I've been doing some research. According to a lot of forums and user groups only one tlog file is needed per database. Because they are written...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Which way is better? To join or not to join or does it matter?

    Correlated subqueries do not run per row of the outer query (unless triangular joins or top 1 ... order by).

    Correlated subqueries are not usually more expensive than joins, they usually...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: select into temp table is hung

    What wait type is the query incurring?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Shrinking Transaction Log File "the right way"

    What am I supposed to be looking at? Lots of VLF data, but I see nothing that tells me anything useful.

    As I already said, if you check BoL, truncateonly is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Would using the MS Press books be sufficient?

    samalex (10/25/2012)


    GilaMonster (10/25/2012)


    cppwiz (10/25/2012)


    You will only have about 90 seconds per question to read, interpret and answer the question.

    The exams are 3 hours long and have 30-40 questions in them.

    Wow,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Would using the MS Press books be sufficient?

    cppwiz (10/25/2012)


    You will only have about 90 seconds per question to read, interpret and answer the question.

    The exams are 3 hours long and have 30-40 questions in them.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Trigger not firirng in sql server

    How are you inserting from a file?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: deadlock-- immediate solution required

    You can set its deadlock priority to high.

    Or, if you want help in fixing it, switch traceflag 1222 on. That will result in a deadlock graph been written to the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: mirroing - Restoring

    arkiboys (10/25/2012)


    how do I know that if the machine m goes down, then automatically the applications are redirected to the mdr (DR database machine)?

    Run a DR test. Fail the mirroring...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: mirroing - Restoring

    If the mirroring is working, the data in the mirror DB will be correct. You could take a snapshot off the mirror and query that if you want.

    SQL Agent jobs...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Login restriction

    For DDL you may need to use EXECUTE AS in the procedure definition. Your original post asked about DML.

    Just... why procedures that alter the DB structure?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Where clause on indexed column using a variable

    Not ignores. At compile time (before any of the batch is executed), the variable doesn't have a value and hence any value it gets during execution can't be sniffed and...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: VARCHAR vs. CHAR

    Probably waits, yes.

    3 reads doesn't look like there was much data...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 15,916 through 15,930 (of 49,552 total)