Oracle hint, oraclehint

Source: Internet
Author: User

Oracle hint, oraclehint

1. use_concat

Online statement:

The CONCATENATION and UNION/union all operations are similar. According to the OR query condition, a query is divided into two OR more parts, and the duplicate records are removed. Since the CONCATENATION execution plan needs to remove duplicate records, it is different from union all. Unlike UNION, this execution plan does not remove all duplicate records, but filters out records that are repeated between two subqueries. In 10 Gb, the execution plan and prompt are reserved for backward compatibility. We can see that by default, the COST of the CONCATENATION execution plan is lower, oracle does not select such an execution plan;

If use_concat is invalid for or subqueries, try/* + use_concat (or_predicates (1 ))*/

Opposite to use_concat, no_expand

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.