Sponsored Content
Top Forums Programming Oracle 11g optimizer best join order question Post 302962397 by Perlbaby on Monday 14th of December 2015 03:17:48 AM
Old 12-14-2015
Oracle 11g optimizer best join order question

Hi team

Optimizer max permutations and search limit are set to 3.5 million and 10 respectively.The parameter instruct optimizer to evaluate up to 3.5 million permutations for max 10 table joins
I have query with 9 tables joined.
How many combinations will optimizer perform to find best join order? within parameter bounds
Please share me the answer . Is it 9! or 10! or 3.5 million or something else.
 

3 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Why Oracle 11g need forcedirectio option?

I've spent one day to find solution for a nfs mounting problem with Oracle11g installation. Finally, I've found that the missing options was forcedirectio My question is, why this options is mandatory when we talk about datafiles installation? tnk gb (4 Replies)
Discussion started by: gogol_bordello
4 Replies

2. Shell Programming and Scripting

Switching user to oracle to connect Oracle 11g DB with 'sysdba'

I need to connect my Oracle 11g DB from shell script with 'sysdba' permissions. To do this I have to switch user from 'root' to 'oracle'. I've tried the following with no success. su - oracle -c "<< EOF1 sqlplus -s "/ as sysdba" << EOF2 whenever sqlerror exit sql.sqlcode;... (2 Replies)
Discussion started by: NetBear
2 Replies

3. Programming

How do I partition an Oracle 11g Table?

Hello, I have a database called "audit_database" and I want to create two tables. Table 1 = Table 1 Table 2 = Audit I want to partition the Audit table into partitions grouped by month. I'm not familiar with table partitioning but doing some reading online shows that it can be done but... (4 Replies)
Discussion started by: bbbngowc
4 Replies
DBIx::Class::SQLMaker::OracleJoins(3pm) 		User Contributed Perl Documentation		   DBIx::Class::SQLMaker::OracleJoins(3pm)

NAME
DBIx::Class::SQLMaker::OracleJoins - Pre-ANSI Joins-via-Where-Clause Syntax PURPOSE
This module is used with Oracle < 9.0 due to lack of support for standard ANSI join syntax. SYNOPSIS
Not intended for use directly; used as the sql_maker_class for schemas and components. DESCRIPTION
Implements pre-ANSI joins specified in the where clause. Instead of: SELECT x FROM y JOIN z ON y.id = z.id It will write: SELECT x FROM y, z WHERE y.id = z.id It should properly support left joins, and right joins. Full outer joins are not possible due to the fact that Oracle requires the entire query be written to union the results of a left and right join, and by the time this module is called to create the where query and table definition part of the sql query, it's already too late. METHODS
select Overrides DBIx::Class::SQLMaker's select() method, which calls _oracle_joins() to modify the column and table list before calling next::method(). BUGS
Does not support full outer joins (however neither really does DBIC itself) SEE ALSO
DBIx::Class::Storage::DBI::Oracle::WhereJoins - Storage class using this DBIx::Class::SQLMaker - Parent module DBIx::Class - Duh AUTHOR
Justin Wheeler "<jwheeler@datademons.com>" CONTRIBUTORS
David Jack Olrik "<djo@cpan.org>" LICENSE
This module is licensed under the same terms as Perl itself. perl v5.14.2 2011-11-29 DBIx::Class::SQLMaker::OracleJoins(3pm)
All times are GMT -4. The time now is 05:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy