Forum Replies Created

Viewing 15 posts - 7,051 through 7,065 (of 49,552 total)

  • RE: Global Temp Table

    Probably the limit of the number of objects in a database. That's 2.3 billion, give or take.

    Memory is NOT the limit as temp tables are not memory-only.

    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: Run DBCC CHECKDB using Snapshot of the database.

    Tac11 (12/9/2014)


    Should I put Snapshot database's Data and Log files point (put it) to another server? Is it possible?

    No.

    I just don't want to give the Prod server extra load.

    Then...

    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 identiyfy memory requirement to run the query

    Neither of those values have anything to do with the query. The majority of that will be the SQL buffer pool, the plan cache and various other caches. They're not...

    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: dead lock info

    Why does the application user need information on deadlocks? What is an end user going to do with 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: How to Open .str file

    I suggest you consult a dBase manual, or ask the person who gave you the 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: How to Open .str file

    Str file as in the schema definition for a dBASE database? If so, you'll probably need a dBASE database to interpret 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: Right Anti Semi Join Vs Left outer join

    btw, you say there's no change in performance in your tests, but there is.

    Ian_McCann (12/9/2014)


    SQL Server Execution Times:

    CPU time = 0 ms, elapsed time =...

    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: Right Anti Semi Join Vs Left outer join

    Except if you look at the execution plan, there's no 'recursion' anywhere and correlated subqueries are not automatically horrible things.

    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: Right Anti Semi Join Vs Left outer join

    Ian_McCann (12/9/2014)


    I'm looking at a poor performing stored proc and I see a "where not exists in (select...)", So I rewrite it as an outer join.

    But there is no change...

    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: dead lock info

    Is google down?

    I don't have a saved query handy, so either you search for it, or I have to search for it and post.

    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: Profiler Updates

    I think you're missing the point of a replay. A replay replays the workload against the target server. The entire workload. If that workload that you're replaying does data modifications,...

    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: evidently confused on temp table scope

    DSNOSPAM (12/8/2014)


    I could have table results with hundreds of thousands of records. I THINK I read that that is not a good use for table variables.

    Correct

    If I use just...

    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: Are the posted questions getting worse?

    Jack Corbett (12/5/2014)


    GilaMonster (12/5/2014)


    And crisis, panic, run around screaming, the EF-based app is slow.

    600MB database, generating 5GB of trace data in 1 hour....

    Ouch, I don't even think...

    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: Run DBCC CHECKDB using Snapshot of the database.

    Tac11 (12/8/2014)


    My question is can I created a snapshot of the prod database on the same server and run DBCC CHECKDB on the Snapshot DB?

    You can, but there's little...

    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: dead lock info

    Unless you had something running when the deadlock occured (traceflags, extended events), no. There's a slim chance that it'll still be in the system health extended events session, but...

    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 - 7,051 through 7,065 (of 49,552 total)