Forum Replies Created

Viewing 15 posts - 46,171 through 46,185 (of 49,552 total)

  • RE: Profiler and tmp files

    When you set up the trace, do you set it to write the trace to disk?

    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: Is this any method to identified that the last modified database from which systems?

    Could you explain a bit more what you want please?

    Last modified in terms of data? Last modified in terms of schema? Something else?

    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: How to move tempdb.mdb off of drive c:

    You can do it via a SQL query.

    ALTER DATABASE tempdb

    MODIFY FILE (NAME = tempdev, FILENAME = < New directory>\tempdb.mdf');

    GO

    ALTER DATABASE tempdb

    MODIFY FILE (NAME = templog, FILENAME =...

    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: in sys processes "lastwaittype " showing PAGEIOLATCH_SH

    Ignoring memory for now...

    Run performance monitor for an hour or so while the problems are occuring. Add the following counters:

    Physical Disk:Avg sec/read

    Physical Disk:Avg sec/write

    SQL Server Buffer manager:Buffer cache hit ratio

    SQL...

    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: free Books online links for 70-443 exam.

    Bear in mind that using or posting brain dumps is against the rules of the exam (and a violation of the agreeemant that you accept upon writing the exam) 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: datetime: 1245-03-05

    No. I didn't.

    Will give it a shot when I get home, If I have a chance.

    SQL shouldn't be doing the data type test before the actual insert. Instead...

    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: Query gone haywire

    It's not the number of rows. The query processor thinks there's a couple of cross joins happening.

    Suggestion: Go carefull through the joined tables and make sure that all tables are...

    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: Query gone haywire

    The execution plan is warning of missing join predicates in a couple places. It thinks you have cartesian products forming

    From the way the actual row count is increasing at points...

    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: More duration, less reads after indexing?

    The reads have gone down, which is good. Has the CPU time also increased, or just the duration?

    Did you run the query a couple times before taking measurements? If it...

    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: datetime: 1245-03-05

    Yes, it is. Write it properly and there won't be much of an impact.

    Since the instead of fires before the data is inserted, you can't fire it only when...

    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: query optimisation

    Your first option uses correlated subqueries. It's a hidden row by row operation. It's gonna be slow, especially on larger result sets. The subqueries will run once for each row...

    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: datetime: 1245-03-05

    dankwart menor (6/18/2008)


    Thats a first step. But I don't want the whole row to be eliminated, only the datetime value reset to be null or something else. Is there another...

    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: datetime: 1245-03-05

    No, because it's not a warning. It's the same as trying to insert 'abc' into an integer column. It's a data conversion error.

    I would suggest that you load into a...

    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: Allow_Page_Locks

    Bad code and poor indexing cause deadlocks. Someone in the past probably switched the allow page locks off as a 'quick fix'. My guess is that your poor performance 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: Question regarding an interview method- need feedback

    I've never met a resume I could trust. From the person with 2 years IT experience who rated himself 5/5 on 3 versions of windows, 2 of SQL server 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

Viewing 15 posts - 46,171 through 46,185 (of 49,552 total)