Forum Replies Created

Viewing 15 posts - 7,801 through 7,815 (of 49,552 total)

  • RE: How to reduce the log file size ?

    WhiteLotus (9/15/2014)


    I need to reduce the log file size to be very small . At the moment , the current size is 14 GB .

    Why?

    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: Pages in Buffer Cache

    The minimum unit for a read or write to/from disk is the page. The row couldn't possibly be written alone, the page headers change when a row changes.

    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: Unexpected Increasing ram memory when using query in SQL 2014

    nam.lenhat (9/15/2014)


    The server's memory usage is increasing when querying BUT IT DOESN'T DECREASE WHEN FINISHED until I restart SQL services :|. (It reached over 70% ram memory)

    Can you help me...

    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: Truncate table query

    TomThomson (9/15/2014)


    replication replicates DML statements, and DDL statements on replicated objects are either forbidden or have special forms and/or restrictions.

    It's got better. Alter table replicates now. Drop table isn;t...

    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: Truncate table query

    Stewart "Arturius" Campbell (9/12/2014)


    Investigate the impact of a truncate table statement and it's interaction with a DDL trigger and post the results as either a QotD or an article.

    That's easy....

    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 CHECKDB

    bob199214 (9/15/2014)


    For the error message like this "Table error: Object ID 2121058592, index ID 1, partition ID 72057594038648832, alloc unit ID 72057594043629568 (type LOB data). The off-row data node at...

    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: TSQL Not doing what I expect

    It's because + is both the addition operator and concatenation operator.

    When you say String + Int, SQL assumes you want addition, so it does CAST(String AS INT) + INT. If...

    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 (9/15/2014)


    GilaMonster (9/15/2014)


    Out of line? (Me, I mean) http://www.sqlservercentral.com/Forums/FindPost1613791.aspx

    I can see teh frustration coming out a bit, but I wouldn't say out of line. I'd 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: TSQL Not doing what I expect

    use msdb;

    go

    select 'exec dbo.sp_updateJob @job_name = N' + (Char(39) + name + char(39) + ',') + '@enabled = ' + CAST(enabled AS CHAR(1)) from sysjobs

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

    Out of line? (Me, I mean) http://www.sqlservercentral.com/Forums/FindPost1613791.aspx

    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 keeps IAM Page track of data pages? what data type are GAM,SGAM and PFS?

    freddyism00 (9/15/2014)


    yeah, the third and the fourth page in the data file, what exactly is the data file?

    I already answered that

    GilaMonster (9/15/2014)


    freddyism00 (9/15/2014)


    ok, so can anybody tell me what 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: How keeps IAM Page track of data pages? what data type are GAM,SGAM and PFS?

    Plenty of people know what those pages are, exactly where they are, what they do, etc. There's even a book that has a full chapter on the structure of 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: How keeps IAM Page track of data pages? what data type are GAM,SGAM and PFS?

    freddyism00 (9/15/2014)


    ok, so can anybody tell me what a database file is ?

    Um, the data files of a SQL database. The ones that by convention have a .mdf or...

    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 tell who deleted a database from SQL Server 2012?

    1) If you mean the default trace, yes, providing the data is still in the trace. It's 5 files of 20MB each, no more.

    2) You don't.

    3) When SQL restarts or...

    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: Looking up a value from another table

    Looks like a rather bad design 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

Viewing 15 posts - 7,801 through 7,815 (of 49,552 total)