Optimizer_mode set to CHOOSE in Oracle 10G

I a bit confused about the new settings for the parameter "optimizer_mode" on 10G. If the parameter is set to CHOOSE on a 10G database, what value is the database actually using since CHOOSE is no longer a valid choice for this parameter (ALL_ROWS or FIRST_ROWS) ?
Thanks
John

database actually using since CHOOSE is no longer a
valid choice for this parameter (ALL_ROWS or
FIRST_ROWS) ?It is completely valid choice. It is deprecated yes and should not be used but see as follows:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter system set optimizer_mode = choose scope=both;
System altered.
SQL> select user from dual;
USER
GINTS
SQL> create table bzzz as select * from dba_source;
Table created.
SQL> alter session set optimizer_dynamic_sampling = 0;
Session altered.
SQL> set autot on
SQL> select count(*) from bzzz;
  COUNT(*)
    280779
Execution Plan
Plan hash value: 2985757553
| Id  | Operation          | Name |
|   0 | SELECT STATEMENT   |      |
|   1 |  SORT AGGREGATE    |      |
|   2 |   TABLE ACCESS FULL| BZZZ |
Note
   - rule based optimizer used (consider using cbo)Gints Plivna
http://www.gplivna.eu

Similar Messages

  • PCTFREE setting for index in Oracle 10g R2

    Is PCTFREE parameter obsolete in oracle 10g R2? I don't see any reference to this paramerer in oracle documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231.pdf
    But 10g R 1 does mention about this setting.
    http://support.cs.nott.ac.uk/help/docs/databases/oracle/standard/server.101/b10739.pdf
    We are still using Dictionary Managed tablespaces on 10.2.0.3. Can we ignore this parameter on 10g R2 ?
    Thank You

    PCTFREE is still relevent even in ASSM. (that you are using DMT means that you are not using ASSM, but LMT could be MSSM !)
    I couldn't find PCTFREE in the Administrator's Guide but it is still very much present in the SQL Reference
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses007.htm#g1058547
    and a couple of references in the Performance Tuning Guide.

  • Setting of ICONS in Oracle 10G Application Server

    Hi...
    I'm facing a problem of Icons which are not displayed at run time.
    I'm using Oracle 10G Application Server.
    plz tell what setting should i do.
    its urgent.
    Thanks & Regards
    Sanjeev Kumar

    1 did u put the icon file in the forms folder in IAS?
    2 Are you able to access the icon if u directly enter the icon value ?
    http://www.Alexyscorp.com/myicon.gif
    if its not port 80 enter the port
    3 In the httpd.conf file whats the root directory ? Try putting the icon there
    Best Regards
    Rajesh Alex
    Message was edited by: Rajesh Alex
    Alex(AlexysCorp)

  • Setting Password Policy in Oracle 10g

    Hi,
    Could you guide me please? Up to date there has not been a Policy for passwords in our 10g Database which means the user can set anything for their password. We however now require to implement a Password Policy and would appreciate some guidance in doing this.
    We don't use Enterprise Manager,we have chosen not to configure it on our system.
    These are the steps I propose to take to set the password policy:
    1. Edit $ORACLE_HOME/rdbms/admin/utlpwdmg.sql to change default profile values to desired values.
    2. as SYS run utlpwdmg.sql
    Is this correct? Is there anything else I should do?
    thank you.

    user8869798 wrote:
    Hi,
    I had a look at dba_profiles:
    DEFAULT PASSWORD_VERIFY_FUNCTION PASSWORD NULL
    This suggests that the default profile is not using the function. It doesn't "suggest" it. That's exactly what it means. The default profile is not using a password verify function.
    In the light of this, is it safe then to edit the function and the default profile will be unaffected? The profile cannot be affected by a change to a function that it does not reference.
    I don't want to change the default profile. I plan to create another profile that will make use of the function and then apply it for the users
    thanksthen proceed to do so. Why would you not want the function to be 'default' -- referenced by the default profile?
    BTW, you can name that function anything you want. When you assign a password complexity function to a profile, you assign it by the name of the function. So you are not limited to the name used by the 'out of the box' script provided by oracle. You might want to name your own function something like MYCORP_PSWD_POLICY. And of course the name of the sql file where you keep the code can also be named anything you like, so you might want to name it accordingly. Just so you have a clear seperateion between your company's stuff and that provided by Oracle.

  • Set environment variable in oracle 10g application server control rel3

    hi all,
    i am trying to connect to emc centera through 10g rel3 , here i am getting error .
    error name is:
    com.filepool.fplibrary.FPLibraryException: Error loading FPLibrary or one of its dependencies
    at com.filepool.fplibrary.FPPool.<init>(Unknown Source)
    if any body knows please help me.
    Thanks and regards
    Pravin

    Hello,
    Take a look to http://buttso.blogspot.com/2006/08/accessing-environment-variables-from.html
    Regards
    Tugdual Grall

  • How set the oracle 10g path in xp environment variables

    am new to java.
    am practicing the jdbc, but while running the program it compied, but it does not execute the program.
    it says
    package oracle.jdbc.driver does not exist
    DriverManager.getregister(new oracle.jdbc.driver.OracleDriver());
    then how to set the path of oracle 10g in xp environment variables.
    plz send any body the answer.
    its urgent.

    tster wrote:
    sunnyyld wrote:
    then how to set the path of oracle 10g in xp environment variables.right click on my computer -> properties -> advanced -> environment variables.
    Not that it would work, as the kid doesn't seem to understand what exactly it's doing wrong.
    Had it worked through some basic tutorials it would have understood so I'm not going to tell it, just tell it to work through some basic tutorials.

  • Optimizer mode in oracle 10g

    what is the difference between setting optimizer mode in oracle 10g
    optimizer_mode=choose
    optimizer_mode=all_rows

    user446367 wrote:
    what i have to set for the below parameters . any idea ?
    optimizer_index_caching
    optimizer_index_cost_adjIn general you would leave them set at the default value in 10g (and probably, in most earlier versions, for most cases as well). Even if you were to change them, asking for specific values on an internet forum is rather asking for trouble, it's not dissimilar to asking "what should I set for the parameter processes?" A reasonable value will be application dependent.
    The first parameter reduces the cost of some types of indexed access by assuming that only the specified percentage of index i/o actually results in a physical I/O and therefore only that percentage of the io cost is taken into account. By contrast all tablescan access and the other types of indexed access are assumed to be uncached and therefore need costing.
    The second parameter just arbitrarily scales indexed access path costings.
    You could argue, and some have, that you could calculate a cache hit ratio for index blocks in much the same way as you can calculate a cache hit ratio generally and then set the first parameter to this value. The standout problems with this approach are
    1) It applies to all matching statements and objects not just your problem ones.
    2) It doesn't necessarily even apply to your problem statements.
    3) It doesn't have anything to do with query duration per se, just efficiency of one particular access path.
    4) People tend to choose to round costs down and make the likelihood of two plans getting the same cost and being chosen on a tiebreaker basis higher.
    The second parameter just asks you how much you like the idea of indexes generally. If you are going to change it pick a family members age or something - it'll make you smile every time you see it.
    Niall Litchfield
    http://www.orawin.info/

  • Running Oracle 9i client code against an Oracle 10g install on PC

    On Unix I am able to run Oracle 9i client code against an Oracle 10g install by setting ORACLE_HOME to the Oracle 10g install location and then creating a symbolic link (example: ln -fs libclntsh.so.10.1 libclntsh.so.9.0).
    On PC (in particular XP SP2) I want to do something similar without using "junctions" or "junction points". Is there a way to set an environment variable or ini file to have my 9i client code point to the right libraries? I keep getting an error saying that my client code will not run due to "orasql9.dll" not being found. The "orasql10.dll" is installed on my machine.
    Any assistance would be appreciated.

    You might want to check metalink doc,
    Client / Server / Interoperability Support Between Different Oracle Versions
    Doc ID: Note:207303.1
    Even your application built on 9i, doesn't mean it will not work with 10g database. From what I can see, running 9i executable under 10g installation to create mixed blood breed will do more harm than good. Not only it's not supported but also the outcome is unpredictable.

  • Problem with Oracle 10g RAC VIP network setting at Solaris 9

    Dear All,
    I have tried to set up a Oracle 10g RAC Release 2.
    With OS solaris 9, and 2 nodes.
    The nodes setting as the following:
    nodes 1:
    Public address: 172.16.0.121
    Private address: 192.168.0.121, 192.168.1.121 (dual path for heart beat)
    nodes 2:
    Public address: 172.16.0.122
    Private address: 192.168.0.122, 192.168.1.122
    And i have assigned two IP adress 172.16.0.131, 172.16.0.132 as the VIP address for the
    RAC.
    And the following is the /etc/hosts file:
    root@shk01 # cat /etc/hosts
    # Internet host table
    127.0.0.1 localhost
    # public address
    172.16.0.121 shk01 loghost
    172.16.0.122 shk02
    # heart beat
    192.168.0.121 shk01-priv1
    192.168.1.121 shk01-priv2
    192.168.0.122 shk02-priv1
    192.168.1.122 shk02-priv2
    # VIP address
    172.16.1.131 vip-shk01
    172.16.1.132 vip-shk02
    But when i run the command "$ ./runcluvfy.sh comp nodecon -n shk01,shk02 -verbose"
    it shows the error:
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Result: Node connectivity check failed.
    I did try to add the VIP address on bge0:1, as i using bge0 for the public address.
    Both nodes i did using the same interface name for it.
    Anyone have idea for me to check out the error?
    Also, I have other question about the raw device.
    As there is option for setting for ASM or raw device. If choosing raw device, does it mean that it just need to
    format the storage disk but without newfs it? And then the Oracle program will able to handle it?
    Thanks,
    Xentar

    You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
    Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
    So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
    Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
    Tim
    ---

  • Required setting for Locale values for Arabic db in oracle 10g

    I want to create a new db in Oracle 10g for storing the arabic data.
    My client machine is Arabic Windows XP.
    What are the steps that i will need to follow to make the db arabic supported.
    What streps will be required if i choose to make it unicode supported?
    Setting the following:-
    1. Set Database Character Set to AL32UTF8 for the Oracle Server.
    2. Set the NLS_LANG to ARABIC_LIBYA.UTF8 (on Arabic Windows xp)
    Will do the work?

    The database character set should be AL32UTF8 for Unicode support. This is a recommended setting.
    As far as NLS_LANG is concerned, this strongly depends on how your client application is written (what technology, which Oracle access API). For example, for SQL*Plus, the NLS_LANG must be set to AR8MSWIN1256, as SQL*Plus does not support Unicode on Windows, only the ANSI code page. For SQL Developer, the NLS_LANG does not matter at all.
    -- Sergiusz

  • Changing Oracle 10g caracter set

    Hello !
    I'm testing BI tools efficientcy on several databases.
    One of my tests is on Oracle 10g XE , I downloaded and installed it.
    It automatically creates an instance with Win1252 as caracter set.
    For Cognos 8, I need to convert the instance ti AL32UTF8 caracter set.
    I searched a lot and tried ALTER SYSTEM NLS_LANGUAGE = AL32UTF8,
    but it is not accepted by the database engine.
    Does someone know about changing the caracter set of a running instance ?
    Would NLS_CHARACTERSET be more appropriate ?
    What is the syntax for it ?
    Thanks a lot for your help,
    Fred

    For Windows, see this section in the Install Guide on how to choose the correct install file.

  • Character set error oracle 10g

    I have a 10g TARGET database with a single byte character set of western european and 9i SOURCE databse with multibyte character of UTF8 since the character sets are different to load data from 9i to 10g I am using national character set NCHAR columns on target database to store the multi byte data :
    this is the table i am working on loading
    CREATE TABLE RAN_TEST1_MDL
    ( MODEL_ID NUMBER(15) NOT NULL,
    PRODUCT_ID NUMBER(15) NULL,
    MODEL_CODE NVARCHAR2(540) NULL,
    ODM_CODE NVARCHAR2(900) NULL,
    MODEL_DESC NVARCHAR2(1200) NULL )
    tablespace csn_d_01 LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING
    The table is test table on oracle 10g database .
    This is the query I am running
    INSERT /*+append*/ INTO WORK_HIER_MDL(
    MODEL_ID,
    PRODUCT_ID,
    MODEL_CODE,
    ODM_CODE,
    MODEL_DESC
    SELECT
    MODEL_ID,
    PRODUCT_ID,
    MODEL_CODE,
    ODM_CODE,
    MODEL_DESC
    FROM SHLD_HIER_MDL
    shld_hier_mdl is source table from oracle 9i multi byte UTF8 database.
    WORK_HIER_MDL is target table on oracle 10g single byte western european databse
    Error : ORA-29275: partial multibyte character
    When I describe the source table SHLD_HIER_MDL ( on 9i oracle accesed thru a db link ) I get the following error
    ORA-01460: unimplemented or unreasonable conversion requested
    I think ORA-29275 and ORA-01460 are correleted . Can anyone suggest what could be the cause for this ? Thanks

    Error:     ORA-29275 (ORA-29275)
    Text:     partial multibyte character
    Cause:     The requested read operation could not complete because a partial
         multibyte character was found at the end of the input.
    Action:     Ensure that the complete multibyte character is sent from the
         remote server and retry the operation. Or read the partial
         multibyte character as RAW.
    you can export the table and import on 10g.Rename the table,create your test table and use IAS.

  • Install oracle 10g on solaris 9 platform without setting noexec_user_stack

    Hi,
    I'd like install oracle 10g software on solaris 2.9 platform without setting noexec_user_stack parameter to 1.
    The problem is that i need install software before, for migrating product environment.
    I can write /etc/system file but i can't reboot system until several days.
    I will not start migration process until i reboot the system and parameter definitely set.
    Do you know if we will can have any kind of problem???
    Thanks in advance.

    Thanks for your answer FZheng. But i will just install software. I will not start any oracle 10g process until i reboot the machine.
    I think that oracle software installacion should not be affected. Do you know if this parameter affect to compile softwere during OUI wizard progress???.
    Before going on migration process and start database i will sure that this parameter is correctly fixed.
    PD.: I couldn't read metalink reference that you've suggested becouse my metalink account have problem access in this momment. During all day i've been reeding metalinks docs without any problem until this momment, bad luck.
    In test environment i've installed oracle without this parameter and i've never had any problem. But this installation is more important than others becouse i ask you in this specialist forum.
    Thanks again !!!

  • Oracle 10g 2 - 10.2.0.2 Patch seti without instance

    Hi,
    I'm installing Oracle 10g 2 - 10.2.0.2.
    I installed base release 10g 2 and then i have installed the patch set 10.2.0.2 (Linux x86).
    It's a new installation, so there isn't an instance.
    When i use dbca to create the DB i receive the error
    ORA-01092: ORACLE instance terminated. Disconnection forced.
    So i think i should execute catupgrd.sql like described in readme of patch, but if there ins't an instance, how could i connect to the db as sysdba?
    Thanks!

    If you don't currently have any database, then you don't need to run the catupgrade script, this is meant only for databases so the data dictionary is upgraded on an individual basis. Just ensure you have properly applied the patchset against the right Oracle Home and ensure your environment variables are properly set.
    ~ Madrid

  • Oracle 10G support for both Cyrillic and Western European Character Sets

    Dear all,
    Our DB currently supports western EU characters sets but we need to also support Russian Characters.
    Is there a common character set for both? or some trick that does the job?
    Thanks.
    DB: Oracle 10G R2
    OS: Linux
    Current Char Set:
    NLS_CHARACTERSET     WE8ISO8859P1
    NLS_CALENDAR     GREGORIAN
    NLS_NCHAR_CHARACTERSET     AL16UTF16

    AL32UTF8 will always do the job.
    CL8ISO8859P5
    CL8MSWIN1251
    could to the job according to http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref1960.
    Edited by: P. Forstmann on 9 août 2011 17:41

Maybe you are looking for

  • Business Services Development

    In EnterpriseOne Tools 8.97 you're enable to create web services from business services. THAT'S GREAT! It can solve most of problems. But I cann't see any example, could you advise me some about this.

  • How to confine a string of text to a single line?

    My document contains some mathematical expressions which are far easier to read when on a single line versus split to two lines. Eg, 2+2=4 is good 2+ 2=4 is bad One solution is manually entered line breaks but that interrupts text flow (ie, entering

  • To have one or two environments for sap bpc 10

          Hi all,      My company has implemented the model the Planning, now want to implement the model Consolidation,      my question is if it is better have everything in the same environment or have an environment for planning and other for consoli

  • Unable to initialize session manager

    Hi, We are on BOXI R2 SP3 on IIS and we are using SDK to open reports. We ran 1200 users performance testing and we got just 15 failures with the message. Error in RetrieveReport Internal Error:Unable to Initialize session manager When I open CCM usi

  • Win users - PQDVD for DVD to iPod works great!

    If you're a Windows user, I can vouch that PQDVD works great for DVD to iPoD creation. The program is dirt simple to use, works flawlessly, and rips the DVD content you want fast. It's also very easy to deal with subtitles, alternate languages, etc.