Row versus set processing, surprise! (Differences between set processing and single row processing)

Source: Internet
Author: User
Row versus set processing, surprise!

Craig shallahamer:

1. set Based processing will likely be much faster than row based processing. our experiment of processing 100 k rows showed row based processing was 3700 times slower than set based processing. not twice as slower or even 10 times slower... 3700 times slower!
(The difference is 3700 times)
2. compared to set based processing, row based processing times degrade much quicker than set based processing. that is, row based processing does not scale nearly as well as set based processing. we saw this in that the linear trend line for row based processing was 0.00259 compared to 0.00000 for Set Based processing.
Share this:

Row versus set processing, surprise! (Differences between set processing and single row processing)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.