Forum Replies Created

Viewing 15 posts - 4,021 through 4,035 (of 5,843 total)

  • RE: Improving Performance of Cross-Partition Queries

    Paul White NZ (5/5/2010)


    TheSQLGuru (5/5/2010)


    Wouldn't APPLY also force a nested loop iteration over each partition and thus also be slow?

    Yes to the loop join - but that's exactly what is...

  • RE: Improving Performance of Cross-Partition Queries

    Solomon Rutzky (5/5/2010)


    aeternam (5/5/2010)


    Using a while loop in combination with a table variable shouldn't, in general, be the best performing option.

    How would this query perform:

    SELECT <something>

    FROM <the partitioned table>

    WHERE etp.PartitionID...

  • RE: Improving Performance of Cross-Partition Queries

    Numerous SQL Server MVPs (and lots of other users as well) have been screaming at Microsoft for years to improve partitioning. I hope improvements will be coming in later...

  • RE: Optimising Server-Side Paging - Part I

    Paul White NZ (5/3/2010)


    Florian Reischl (5/1/2010)


    Hey Paul

    Thanks for sharing this great article!

    Best wishes,

    Flo

    Hey Flo, thanks very much! I'm a big fan of your blog by the way.

    Can you give...

  • RE: How To Get Last Inserted Record Value In SQL Server

    >>A DATETIME column with DEFAULT GETDATE() will work for single-row inserts, but if multiple rows are inserted in the same statement they will all have the same value.

    Here is...

  • RE: Memory Justification

    Scott Coleman (4/28/2010)


    Don't confuse the virtual memory system and its paging file with the SQL buffer pages. Virtual memory pages are 4 KB pieces of the memory used by...

  • RE: Memory Justification

    Whisper9999 (4/27/2010)


    TheSQLGuru (4/27/2010)


    Here's more insight for you: Low PLE simply means pages of data are being removed from the buffer pool so 'fresher' pages can be put in for...

  • RE: Memory Justification

    Here's more insight for you: Low PLE simply means pages of data are being removed from the buffer pool so 'fresher' pages can be put in for processing. ...

  • RE: How To Get Last Inserted Record Value In SQL Server

    maven.avi (4/27/2010)


    As per your question, i have the written the following query.

    Hope it helps.

    Create table latest_value

    (

    [name] varchar(50)

    )

    go

    Insert into latest_value

    Select 'Avinash'

    Union All

    Select 'Suresh'

    Union All

    select 'Rahul'

    Union All

    Select 'Anil'

    Union All

    Select 'Zayed'

    Union...

  • RE: Optimising Server-Side Paging - Part I

    Paul White NZ (4/27/2010)


    ondrej.bouda (4/27/2010)


    Thats a good point of view: Tell to the optimizer all that you can know.

    Absolutely right!

    +2!!

  • RE: Which query method is best to use and when?

    Jeff, didn't they completely remove support for "SELECT 1 FROM E01 a, E01 b" in SQL 2008 or 2008R2? I thought that non-ANSI stuff was going away. In...

  • RE: Optimising Server-Side Paging - Part I

    Oopsie! Should have held my comments for another week or so - then it would have been considered a good segue into the next article. :hehe:

  • RE: Which query method is best to use and when?

    Number of rows isn't the only issue that can kill you with Table Variables. The actual VALUES can cause issue too, since you can't have statistics on TVs. ...

  • RE: Optimising Server-Side Paging - Part I

    I have done this type of thing for numerous clients, with stunning results as you show. Actually usually better, because they are almost always encountered in multi-table-open-ended search scenarios....

  • RE: Understanding and Using APPLY (Part 2)

    I too would like to see more information on exactly what is required for the optimizer to be able to translate APPLY to a JOIN so it can use something...

Viewing 15 posts - 4,021 through 4,035 (of 5,843 total)