/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.sqlora.com
| | jonathanlewis.wordpress.com

Jump to summary. A new optimizer feature that appears in 23c (probably not 21c) was the ability to push group by clauses into union all set operations. This will happen unhinted, but can be hinted with the highly memorable [no_]push_gby_into_union_all() hint that appeared in 23.1.0.0 according to v$sql_hint. and the feature can be disabled by...
2.5 parsecs

Travel
| |
| | oracle-randolf.blogspot.com

When attempting to display only the first n rows of a result set that is ordered the Oracle optimizer offers special optimizations for these...
2.6 parsecs

Travel
| |
| | www.bobbydurrettdba.com

We have been discussing query tuning at work and I've come back to an example of the Oracle optimizer choosing the wrong plan due to an error in its calculation of the number of rows returned...
2.2 parsecs

Travel
| |
| | tanelpoder.com

Jonathan Lewis has already written about this behavior from the angle of PARALLEL hints. I'm writing a similar article just because the word FORCE in the ALTER SESSION FORCE PARALLEL QUERY syntax. Force should mean that some behavior would always happen (when possible), right? Let's test: SQL> CREATE TABLE t AS SELECT * FROM dba_objects; Table created. SQL> CREATE INDEX i ON t(owner); Index created. SQL> @gts t Gather Table Statistics for table t... PL/SQL procedure successfully completed. Now let's "force" the parallel query in my session, run the query and check the execution plan: - Linux, Oracle, SQL performance tuning and troubleshooting training & writing.
12.0 parsecs

Travel
|