Forum Replies Created

Viewing 15 posts - 2,461 through 2,475 (of 5,841 total)

  • RE: deleting duplicate

    sathiyan00 (8/13/2013)


    it will be great if anyone explain or give some links to learn how sql server engine will process the query for some basic dml operations(delete,update,insert).

    DELETE d1 FROM duplicate...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performace issue Physical vs Virtual

    Umpteen things could be at play here. Most likely culprits include:

    1) are you ABSOLUTELY sure all the IO is logical? If not, physical IO issues would be my...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: There is insufficient system memory in resource pool 'internal' to run this query. Error: 701, Severity: 17, State: 123.

    In addition to the 32 bit SQL Server constraint, I also note that you are way behind on updates too. You are on base SP1 (2500) and the current...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: MAXDOP

    I personally recommend a maxdop max value of the number of PHYSICAL CORES in each NUMA node. Go down from there if necessary.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Server Benchmark Testing - Urgent

    SQLIO (and IOMeter) just test the raw capabilities of the IO subsystem

    SQLIOSim tests SQL Server IO patterns and requirements

    For benchmarking, try this: http://www.sqlservercentral.com/blogs/technobabble-by-klee-from-kleegeek/2013/07/29/benchmark-your-sql-server-instance-with-dvdstore/. I also think Joe Chang has...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: deleting duplicate

    Using ROW_NUMBER to do the duplicate deletes is another solution and I think can be more efficient in some cases. Search web for sql server row_number delete duplicates

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Issue with Like Statement

    SWEET! Apparently the engine does a pretty good job digging through the characters too:

    SELECT o.name AS objname, c.name as colname

    INTO tempo

    FROM sys.objects o

    JOIN...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Issue with Like Statement

    Erland, don't the string stats only work from left-to-right in the string though? i.e. it can't know that the string 'cat' is going to be hit in this field...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Condition positioning in where clause

    1) Do you recall my telling you that we needed the table schema including indexes, as well as the actual execution plans for good and bad executions?

    2) The IS NULL...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Condition positioning in where clause

    Please post table and index definitions and the full query AND the actual execution plan of both queries. Then, and only then, can we really figure out what is...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Issue with Like Statement

    Sean Lange (8/7/2013)


    Since you are doing a catch-all type query you should read up about the performance of these types of queries. Gail's article does a great job explaining the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Query on a shared and exclusive lock

    Yes, you are correct. And it is easy to validate.

    Open 2 windows in SSMS. In one, do this (and leave this window open):

    begin tran

    update sometable

    set somefield...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: AlwaysOn Question \ Research

    It's the Database!!! (8/5/2013)


    thanks Kevin. Sharepoint 2013 does not use BLOB with a tool that we purchased so I can move forward with AG, I have tons of space so...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: AlwaysOn Question \ Research

    It's the Database!!! (8/5/2013)


    I have an infrastructure guy that is turned on by the AlwaysOn feature in SQL 2012, I like the idea for DR but not production all the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Schema-Owned Tables and Generated DROP Scripts (SQL Spackl

    Brandie Tarvin (8/5/2013)


    TheSQLGuru (8/3/2013)


    Very nice testing and investigative work Brandie! I thought there was more to this than initially (un)covered! I have saved this one off for future...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 2,461 through 2,475 (of 5,841 total)