Forum Replies Created

Viewing 15 posts - 43,561 through 43,575 (of 49,552 total)

  • RE: ALTER INDEX REBUILD, BUT AVG_FRAGMENTATION_IN_PERCENT DIDNOT CHANGE

    How many pages?

    As I said, smaller tables will not have fragmentation reduced to 0, and it's nothing to be concerned about

    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: ALTER INDEX REBUILD, BUT AVG_FRAGMENTATION_IN_PERCENT DIDNOT CHANGE

    It has to do with how the first few pages of the table are allocated. How many pages are there in this table?

    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: ALTER INDEX REBUILD, BUT AVG_FRAGMENTATION_IN_PERCENT DIDNOT CHANGE

    How big is the table, how many rows, how many pages? (sys.dm_db_index_physical_stats will tell you that)

    If I had to guess, I'd say this is a really small table, less than...

    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: SQL Server 2000

    Jeff Moden (10/21/2008)


    Shifting gears a bit here... What a PITA.... I hate it when they do stuff like that... In 2k, the default was OFF, in 2k5, the default 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: Barriers to Entry, Database Weekly (Oct 27 2008)

    Andy Leonard (10/25/2008)


    Technically, I grew up here (at SSC).

    Likewise. I found this site when I was just getting started with SQL. Initially it was the question of the day that...

    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: Barriers to Entry, Database Weekly (Oct 27 2008)

    Grant Fritchey (10/25/2008)


    I know the kind of snobbery and attack posts you're talking about because I've seen them at other sites. I have yet to see serious infractions here 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: Pivot table withiught aggregation

    You have to aggregate, but what you can do is to add a fake column in which you then ignore.

    This more or less gets want you want. I don't understand...

    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: SQL Server 2008 - Exam 70-453

    Here's a schedule for all the SQL 2008 exams:

    http://blogs.msdn.com/gerryo/archive/2008/10/24/weekly-exam-status-update.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: help with datediff and datepart in sql express

    Can you please post some sample data and your desired output.

    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: 70-445 Questions and answers

    Jeff Moden (10/24/2008)


    YES! I want someone that knows how to write code. There are certain basics that I believe you must know. But, I've had a couple...

    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: trigger question

    On my 2008 box, it varies. First one is faster then the other, but it's a difference of around 20ms over 1000000 executions, So works out at about 20 nanoseconds...

    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: Why are my EXISTS vs. IN queries returning different results?

    Oh, and also, the name in sys.types will never return varchar(max), nvarchar(max) or varbinary(max). They'll return varchar, nvarchar or varbinary. To see if it's max or a defined length, check...

    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: Why are my EXISTS vs. IN queries returning different results?

    Exists just checks whether or not the resultset returns a row. In your exists, there is no link between the subquery and the outer query. Hence the exists will return...

    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: Deadlock problem

    In that case, to figure this out you're going to need to figure out where it's getting called from. If that's the only query in the proc, then the processes...

    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: Deadlock problem

    Is that all that's in that proc? The deadlock graph refers to an update on Line 15.

    Also, the deadlock details indicate that the processes both had exclusive locks 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 - 43,561 through 43,575 (of 49,552 total)