Forum Replies Created

Viewing 15 posts - 5,356 through 5,370 (of 5,841 total)

  • RE: The Easy Poll

    An unpatched 2000 SP4 is not a good place to be, especially if you are using AWE. There were some significant fixes posted to that subsystem, to the optimzer,...

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Itzik and some other MVPs have been pushing hard for improvements such as the one I listed to Transact SQL. This is one of several they are pursuing. ...

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

  • RE: The Easy Poll

    Yes to 2005 SP3. And I want it MUCH more thoroughly tested than SP2 was!!!

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    This just back from Itzik. He states that the running totals problem can be solved by this construct:

    Yes, that would be the missing ORDER BY and ROWS subclauses of...

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    I posted about this topic on the SQL Server MVP private forum. I will follow-up if anyone there comes up with anything. I specifically asked Iztik Ben-Gan if...

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Yes - a clustered index scan IS literrally a full table scan.

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Couldn't you have a scan running under NOLOCK be joined by a TABLOCKX scan?

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    I too missed the stated use of TABLOCKX, although that will reduce the usefulness of the query since I know I wouldn't allow that in MY production system unless it...

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

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Few things to test:

    1) read uncommited isolation level and also NOLOCKs (if not already tested)

    2) snapshotted table, with modifications

    3) partitioned tables

    4) table spread across multiple file groups

    5) Enterprise Edition where...

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

  • RE: OPTION (MERGE JOIN) "fixes" slow-running queries in SQL Server 2005?

    I can say with almost certainty that you were winding up with a query plan that included nested loops for LOTS of rows (also possibly on unindexed fields). Your...

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

  • RE: Different I/O performance each datafile same LUN

    Documentation (with examples) on DISKPART can be found by a search on support.microsoft.com or a general websearch.

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

  • RE: why is my fragmentation so high on non-leaf index levels

    I just now noticed that you specified UPPER levels of the indexes. Do you have the Pad Index option turned on?

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

  • RE: filegroups and files

    See BOL for CREATE INDEX and ALTER DATABASE. Also note that if your LUN isn't on different spindles you may not receive quite the perf boost you were hoping...

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

  • RE: Indexes on different filegroup as table

    Imke Cronje (1/28/2008)


    Am busy running DBCC ShowContig at the moment. Taking quite long.

    Checked out execution plan and its shows this:

    Query Cost (relative to batch) : 100%

    Estimated Operator Cost: 99...

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

  • RE: SQL Defrag

    We defrag to remove frag. :w00t:

    Fragmentation takes several forms. Basically when data is either not on disk sequentially or is out-of-order internally on the pages is fragmentation. ...

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

Viewing 15 posts - 5,356 through 5,370 (of 5,841 total)