Forum Replies Created

Viewing 15 posts - 17,896 through 17,910 (of 49,552 total)

  • RE: Database Files growth

    SQLKnowItAll (6/26/2012)


    you now have a 330gb file with essentially 30gb free.

    Which is probably a good thing, much better than a 300 GB file with 30 MB free.

    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: Performance issue Help

    Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Without that, we're guessing. The LEFT in the join looks like a potential problem, but it could be 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: need to create new .ndf file

    sql.AB (6/26/2012)


    (Then limit the max growth setting of one and then once it is filled it will start writing to the next one over.)

    SQL writes to all files in 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: TVP Physical Order

    The problem is that the order is non-determined, not random. So you can run a test 10000 times and the data will come back ordered the way you 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: How to determine when column stats are updated?

    Just one point... Column statistics do indeed appear in sys.stats, all statistics are in that view both column and index. Index stats get updated when the index is rebuilt, column...

    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 and nvarchar datalengths

    The +2 is the size of the column offset pointer, it's not reflected in the value returned from datalength.

    A varchar(10) that stores 8 characters takes 10 bytes of storage total...

    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?

    Matt Miller (#4) (6/25/2012)


    Because the CHAR data type is defined as a fixed length type. What's the "length" of NULL?

    One byte in the case of a char(1)

    Char(1)...

    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: DBCC check db

    SanDroid (6/25/2012)


    No I do not have this, wish I did. All I can find is some forum posts where people have seen this and resolved it or blamed 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: Monitoring DBAs

    Ask the auditors what level of monitoring they require.

    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: DBCC check db

    SanDroid (6/25/2012)


    Do you have any information for those using SQL 2005 what the difference is in the CheckDB they see running when auto_close is on?

    CheckDB only runs when someone manually...

    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: DBCC error message

    Chris-475469 (6/25/2012)


    Not sure I know enough about the first option you suggested

    Neither do I. It's something that maybe 10 people in the world can do and most work for...

    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: DBCC check db

    SanDroid (6/25/2012)


    Here is a linke to a Forum article that talks about it also. 55 database server and each first user connection SPID into each db showed in trace...

    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: DBCC error message

    Chris-475469 (6/25/2012)


    This isn't a massive issue but I was interested to see if there was any clever way of fixing it apart from restoring as you suggested.

    Hex editing the 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
  • RE: DBCC error message

    No, that's not incorrect data in a column, that's a corrupt page.

    If it was an out of range data type in a column, the error would read "Column "<column name>"...

    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: Bloated tran log

    paul.knibbs (6/25/2012)


    I'm pretty sure that doing a shrink immediately after an index defrag is utterly pointless, because it will fragment the indexes again--check the index fragmentation after you've done 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

Viewing 15 posts - 17,896 through 17,910 (of 49,552 total)