Forum Replies Created

Viewing 15 posts - 25,831 through 25,845 (of 49,552 total)

  • RE: How to select query of 13000001 no. of rows

    forsqlserver (5/31/2011)


    The file size is around 1.12 Gb and it is notepad file.

    When it opens my system is becoming slow.

    Well..... yes.

    How much memory does your client machine have? I struggle...

    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 select query of 13000001 no. of rows

    Bear in mind that if you run query output to file you'll have to go and open the file to see the results, and the app you use to read...

    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: Counters showing wrong memory usage

    Use the SQL Memory manager total server memory counter to see what SQL has allocated.

    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: tempdb full because of row versioning

    Triggers use tempdb to materialise the inserted and deleted tables. From the message (dbo.deleted) that's what's happening. Probably a trigger on a huge data modification and a tempDB that's too...

    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 Execution Plan

    ashok.faridabad1984 (5/31/2011)


    I mean different execution plan for non clustered and clustered index in the same situation. Reply will be highly appreciated .Thanks again.

    Please go and read the article I...

    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 write query to inset values into table

    Begin Transaction

    Insert into Table1 (<column list>) Values (<Values list>)

    Insert into Table2 (<column list>) Values (<Values list>)

    Commit Transaction

    You should add error handling if it's for real usage.

    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 Execution Plan

    Sure, but that's a completely different thing to what the OP was doing. The rules for when SQL will do a clustered index seek are different to a nonclustered index...

    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 Execution Plan

    Syed Jahanzaib Bin hassan (5/31/2011)


    Create Clustered index and check the result

    Unless he makes the address column the clustered index, that will have no effect. The index will still not be...

    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 select query of 13000001 no. of rows

    Then get more memory on your client machine.

    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 select query of 13000001 no. of rows

    Your client application doesn't have enough memory to hold all of those rows. This is not a database engine error

    What are you trying to do that requires 13 million rows.

    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 Execution Plan

    http://sqlinthewild.co.za/index.php/2009/01/09/seek-or-scan/

    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: Multiple sqlservr.exe processes in taskmanager

    Are you absolutely sure that there's only one instance? Check Services, check SQL configuration manager

    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: Orphan DB

    Where is it showing and what exactly is it showing?

    Users can certainly be orphaned, databases however can't, so it's not completely clear what your problem 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: trace flag 815

    From what I understand, no, but it will help you track the source of the problem.

    Ask your hardware people for the results of the memory diagnostics. "We're sure it's fine"...

    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: Loop Thru a Table

    Table definition please (pmddb..pmd_mpsp_ps_postn) and sample 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 - 25,831 through 25,845 (of 49,552 total)