How do I narrow my search results?
After you submit your search query:
- On the Refine Search results page, select one or more categories of products or services from the left sidebar.
- Then for a category with search results, click Select to choose your product and release filters, and then click OK.
For search queries that contain multiple words, surround the query with quotes, and then resubmit your query. Example: "database cloud service"
How do I find the documentation for my product or service?
From the home page, click the technology categories for your products or services. If you do not know which category to pick, try the following features:
- Click the Find a product tab and search for your product or service.
- Click Browse All Products & Services at the bottom of the home page to view an alphabetical listing of products and services.
- Apple Safari: Version 6
- Google Chrome: Version 29 and later
- Mozilla Firefox: Version 24 and later
- Microsoft Internet Explorer: Version 9 and later
Query Rewrite Considerations: Hints → You can include hints in the SELECT blocks of your SQL statements to control whether query rewrite … occurs. Using the NOREWRITE hint in a query prevents the optimizer from rewriting it. The REWRITE hint … with no argument in a query forces the optimizer to use a materialized view (if any) to rewrite
Overview of Query Rewrite → Database employs an extremely powerful process called query rewrite to quickly answer the query using … ability to take advantage of query rewrite, which transforms a SQL statement expressed in terms of … intervention and no reference to the materialized view in the SQL statement. Because query
Types of Query Rewrite → original tables. Query rewrite transforms an incoming query to fetch the results from materialized … answered almost instantaneously. For considerations regarding query rewrite of cube organized … used to rewrite a query: Text Match Rewrite Join Back
Query Rewrite Considerations: Statistics → the materialized view and the tables in the query to make a cost-based choice. Materialized views
Query Rewrite Restrictions → Query rewrite is not possible with all materialized views. If query rewrite is not occurring when … for rewrite. If this shows that not all types of query rewrite are possible, use the procedure … DBMS_ADVISOR.TUNE_MVIEW to see if the materialized view can be defined
18 Advanced Query Rewrite → This chapter discusses advanced query rewrite topics in Oracle, and contains: How Oracle Rewrites … Queries Types of Query Rewrite Other Query Rewrite Considerations Advanced Query Rewrite Using … Equivalences Verifying that Query Rewrite
Query Rewrite Considerations: Constraints → Make sure all inner joins referred to in a materialized view have referential integrity (foreign key/primary key constraints) with additional NOT NULL constraints on the foreign key columns. Since constraints tend to impose a large overhead, you could make them NO VALIDATE and RELY and set the parameter QUERY_REWRITE_INTEGRITY to STALE_TOLERATED or TRUSTED. However, if you set QUERY_REWRITE_INTEGRITY
Query Rewrite Considerations: Aggregates → To get the maximum benefit from query rewrite, make sure that all aggregates which are needed to … aggregates are quite similar to those for incremental refresh. For instance, if AVG(x) is in the query
Controlling Query Rewrite → A materialized view is only eligible for query rewrite if the ENABLE QUERY REWRITE clause has been … , ALTER SESSION can be used to disable or enable query rewrite for that session only. An example is … the following: ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE; You can set the level
General Query Rewrite Methods → The optimizer has a number of different types of query rewrite methods that it can choose from to … answer a query. When text match rewrite is not possible, this group of rewrite methods is known as … general query rewrite. The advantage of using these more advanced
Accuracy of Query Rewrite → Query rewrite offers three levels of rewrite integrity that are controlled by the session parameter … relationships specified using dimensions. This mode offers greater query rewrite capabilities but also creates … contain stale data as well as those that contain fresh data. This mode offers the maximum
Query Rewrite Considerations: Dimensions → QUERY_REWRITE_INTEGRITY to TRUSTED or STALE_TOLERATED for query rewrite to take advantage of the relationships declared in dimensions.
Enabling Query Rewrite → Before creating a materialized view, you can verify what types of query rewrite are possible by … materialized view so that many types of query rewrite are possible. Once the materialized view has been … rewrite facility. Even though query rewrite is enabled by default,
Other Query Rewrite Considerations → The following discusses some of the other cases when query rewrite is possible: Query Rewrite Using … Nested Materialized Views Query Rewrite in the Presence of Inline Views Query Rewrite Using Remote … Tables Query Rewrite
17 Basic Query Rewrite → This chapter discusses query rewrite in Oracle, and contains: Overview of Query Rewrite Ensuring … that Query Rewrite Takes Effect Example of Query Rewrite
Query Rewrite in the Presence of Duplicate Tables → Oracle accomplishes query rewrite of queries that contain multiple references to the same tables … exact text match will not work. General query rewrite can occur, however, because the aliases for the … materialized view as follows: CREATE MATERIALIZED VIEW sales_shipping_lag_mv ENABLE QUERY REWRITE
Constraint States RELY NORELY → following materialized view definition: CREATE MATERIALIZED VIEW sales_pcat_cal_day_mv ENABLE QUERY REWRITE … previously, this query will also rewrite. SELECT p.prod_category, SUM(s.amount_sold) AS sum_amount_sold FROM … the rewrite capabilities on views, you need to extend the sh sample schema as follows:
Query Rewrite Considerations: Outer Joins → Another way of avoiding constraints is to use outer joins in the materialized view. Query rewrite … will be able to derive an inner join in the query, such as (A.a=B.b), from an outer join in the
Sample Schema and Materialized Views → optimizer uses data relationships to rewrite queries. The query rewrite examples in this chapter … sum_sales_pscat_week_mv ENABLE QUERY REWRITE AS SELECT p.prod_subcategory, t.week_ending_day, SUM … sum_sales_prod_week_mv ENABLE QUERY REWRITE AS SELECT p.prod_id, t.week_ending_day,
Cost-Based Optimization → and original query and chooses the cheaper execution plan. Query rewrite is available with cost-based … optimization. Oracle Database optimizes the input query with and without rewrite and selects the … a time. If query rewrite has a choice between several materialized