Optimizer_mode=RULE ?

Hi,
I observed that my forms sessions are using optimizer_mode=RULE. Why it has this value? How can I change the optimizer_mode value?
Thank you

Hi,
db version is 10.2.0.4
The current value of optimizer_mode is ALL_ROWS:
SQL> select value from v$parameter where name='optimizer_mode';
VALUE
ALL_ROWS
The same query via Oracle Forms shows that the value is overrided to "RULE" (I think with an "alter session" statement). Is there a configuration via forms?

Similar Messages

  • Oracle 11g with OPTIMIZER_MODE=RULE go faster!!

    I recently migrated Oracle 9.2.0.8 to Oracle 11g but the querys doesn't work as I hope.
    The same query takes 3:20 min aprox using optimizer_mode=ALL_ROWS and 0:20 using optimizer_mode=RULE or using RULE hint.
    The query in CBO makes a cartesian product between the indexes of the table.
    This is one query and the "autrotrace on" log on Oracle 11g:
    SELECT /*+ NO_INDEX (PK0004111303310) */MIN(BASE.ID_SCHED_TASK)+1 I
    FROM M4RJS_SCHED_TASKS BASE
    WHERE NOT EXISTS
    (SELECT BASE2.ID_SCHED_TASK
    FROM M4RJS_SCHED_TASKS BASE2
    WHERE BASE2.ID_SCHED_TASK>BASE.ID_SCHED_TASK
    AND BASE2.ID_SCHED_TASK<BASE.ID_SCHED_TASK+2)
    ORDER BY 1 ASC
    Execution Plan
    Plan hash value: 3937517195
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 14 | | 328 (2)| 00:00:04 |
    | 1 | SORT AGGREGATE | | 1 | 14 | | | |
    | 2 | MERGE JOIN ANTI | | 495 | 6930 | | 328 (2)| 00:00:04 |
    | 3 | INDEX FULL SCAN | PK0004111303310 | 49487 | 338K| | 119 (1)| 00:00:02 |
    |* 4 | FILTER | | | | | | |
    |* 5 | SORT JOIN | | 49487 | 338K| 1576K| 209 (2)| 00:00:03 |
    | 6 | INDEX FAST FULL SCAN| PK0004111303310 | 49487 | 338K| | 33 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter("BASE2"."ID_SCHED_TASK"<"BASE"."ID_SCHED_TASK"+2)
    5 - access("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    filter("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    Statistics
    1 recursive calls
    0 db block gets
    242 consistent gets
    8 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    1 rows processed
    Thanks to all !

    Sorry Mschnatt, I posted the wrong query, i was testing with HINTS, the correct query is your posted query.
    1* I analyzed the tables and the result is the same:
    This is the query and "autorace on" log using OPTIMIZER_MODE=RULE on Oracle 11g:
    SQL> R
    1 SELECT MIN(BASE.ID_SCHED_TASK)+1 I
    2 FROM M4RJS_SCHED_TASKS BASE
    3 WHERE NOT EXISTS
    4 (SELECT BASE2.ID_SCHED_TASK
    5 FROM M4RJS_SCHED_TASKS BASE2
    6 WHERE BASE2.ID_SCHED_TASK>BASE.ID_SCHED_TASK
    7 AND BASE2.ID_SCHED_TASK<BASE.ID_SCHED_TASK+2)
    8* ORDER BY 1 ASC
    I
    2
    Elapsed: 00:00:00.33
    Execution Plan
    Plan hash value: 795265574
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | SORT AGGREGATE | |
    |* 2 | FILTER | |
    | 3 | TABLE ACCESS FULL | M4RJS_SCHED_TASKS |
    |* 4 | INDEX RANGE SCAN | PK0004111303310 |
    Predicate Information (identified by operation id):
    2 - filter( NOT EXISTS (SELECT 0 FROM "M4RJS_SCHED_TASKS" "BASE2"
    WHERE "BASE2"."ID_SCHED_TASK"<:B1+2 AND "BASE2"."ID_SCHED_TASK">:B2))
    4 - access("BASE2"."ID_SCHED_TASK">:B1 AND
    "BASE2"."ID_SCHED_TASK"<:B2+2)
    Note
    - rule based optimizer used (consider using cbo)
    Statistics
    0 recursive calls
    0 db block gets
    101509 consistent gets
    0 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    0 sorts (memory)
    0 sorts (disk)
    1 rows processed
    This is the query and "autorace on" log using OPTIMIZER_MODE=ALL_ROWA on Oracle 11g:
    Elapsed: 00:03:14.78
    Execution Plan
    Plan hash value: 3937517195
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 12 | | 317 (2)| 00:00:04 |
    | 1 | SORT AGGREGATE | | 1 | 12 | | | |
    | 2 | MERGE JOIN ANTI | | 495 | 5940 | | 317 (2)| 00:00:04 |
    | 3 | INDEX FULL SCAN | PK0004111303310 | 49487 | 289K| | 119 (1)| 00:00:02 |
    |* 4 | FILTER | | | | | | |
    |* 5 | SORT JOIN | | 49487 | 289K| 1176K| 198 (3)| 00:00:03 |
    | 6 | INDEX FAST FULL SCAN| PK0004111303310 | 49487 | 289K| | 33 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter("BASE2"."ID_SCHED_TASK"<"BASE"."ID_SCHED_TASK"+2)
    5 - access("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    filter("BASE2"."ID_SCHED_TASK">"BASE"."ID_SCHED_TASK")
    Statistics
    0 recursive calls
    0 db block gets
    242 consistent gets
    0 physical reads
    0 redo size
    519 bytes sent via SQL*Net to client
    524 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    1 rows processed
    3* This is an example query, the problem persist in other bigger queries.
    Thanks for you help

  • Slow response  on data dictionary queries with optimizer_mode=rule in  10g

    I have two dataabse: DB1 (9i) and DB2 (10g) on windows 2000
    They are two development databases with the same schemas and same tables. The application executes the same commands but with different results and execution plans.
    In DB2 the queries with the most slow response tima are the queries on the data dictionary (for example: all_synonyms).
    These query are very fast with the optimizer_mode=cost and very slow with the optimizer_mode=rule.
    And the the problem is this:
    in DB1 and DB2 the application executes after the connection this command:
    ALTER SESSION SET OPTIMIZER_MODE = 'RULE';
    These are the traces of the session in db1 and db2:
    The queries are created dynamically by the application.
    Is there a solution for this?
    thanks
    Message was edited by:
    user596611

    Here is a simple example of what can happen,
    @>alter session set optimizer_mode=all_rows;
    @>SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());
    PLAN_TABLE_OUTPUT
    | Id  | Operation        | Name | Rows  | Cost (%CPU)|
    |   0 | SELECT STATEMENT |      |     1 |     2   (0)|
    |   1 |  FAST DUAL       |      |     1 |     2   (0)|
    @>alter session set optimizer_mode=rule;
    @>SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());
    PLAN_TABLE_OUTPUT
    | Id  | Operation        | Name |
    |   0 | SELECT STATEMENT |      |
    |   1 |  FAST DUAL       |      |
    Note
          - rule based optimizer used (consider using cbo)As you can see incomplete explain plans. Therefore it is not advised.
    Adith

  • Performance problems with Oracle 9.2.0.2 Database with optimizer_mode=RULE

    If I make an explain plan for a query of the following form:
    SELECT a.*
    FROM a, b
    WHERE a.pk = b.fk
    AND b.pk IN (1, 2);
    the explain plan states, that a FULL-TABLE-SCAN on table b is performed and a HASH-JOIN is done to execute the query.
    On 8.0.6 Database the Indexes on the tables are used and a NESTED-LOOP join is performed.
    Why is the 9.2.0.2 Database using HASH-JOINS when the Database is explicitly set to optimizer_mode=RULE, as I think HASH-JOINS are only possible with CBO?
    How can I force the 9.2.0.2 database to perform exactly like the 8.0.6 database with RBO?

    some options:
    set the hash_join_enabled parameter to false in the init.ora file.
    set the compatible parameter to 8.0 in the init.ora file.
    documentation:
    HASH_JOIN_ENABLED specifies whether the optimizer should consider using a
    hash join as a join method. When set to FALSE, hash join is turned off; that is, it is
    not available as a join method that the optimizer can consider choosing. When set to
    TRUE, the optimizer will compare the cost of a hash join to other types of joins, and
    choose it if it gives the best cost.
    COMPATIBLE allows you to use a new release, while at the same time guaranteeing
    backward compatibility with an earlier release. This is in case it becomes necessary
    to revert to the earlier release. This parameter specifies the release with which the
    Oracle server must maintain compatibility. Some features of the current release may
    be restricted.

  • Problem while setting OPTIMIZER_MODE =RULE

    I want to set optimizer_mode=RULE in init.ora file for Oracle92
    For this i have shutdown the d/b and set the optimizer_mode=RULE
    but when i retsarted the d/b the chnages is not reflected it is showing optimizer_mode=CHOOSE
    Is there changes we have to do to take d/b in RBO.
    Thanx
    Junu

    but getting following Oracle erroe message
    ORA-02096 specified initialization parameter is not modifiable with this option
    That's correct. You cannot change it using ALTER SYSTEM. See below:
    SQL> select issys_modifiable from v$parameter where name='optimizer_mode';
    ISSYS_MOD
    FALSEAs you can see ISSYS_MODIFIABLE value is FALSE which means you cannot change it using ALTER SYSTEM.
    Also there many init.ora and spfile files in 'admin' and other directory even iam unable to decide which is the current one?
    During starting instance you can choose init.ora file.
    See help here:
    http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b12170/ch13.htm#i2699631
    Peter D.

  • RULE hint and 11g

    Oracle Standard Edition 11.1.0.7.0
    We all know that the RULE hint is not longer supported, so in that case why would Oracle themselves want to use it ?
    select parsing_schema_id,sql_Text from v$sqlarea where upper(sql_text) like '%+ RULE%' or upper(sql_text) like '%+RULE%'
    I get 7 rows back from my 11gR1 database (and many more from 10gR2)
    Basically, we have a bunch of issues with parsing SQL in a 10gR2 environment, upgrading from 9iR2, setting optimizer_features_enable down at lower releases, as far as the minimum 8.0.3, does provide quicker parses with still acceptable plans, but RULE hint gives the best parse, so wondering about the support situation if we deplot it tactically. Oracle can hardly object if the RDBMS itself uses the hint, surely ?

    It was already in version 10g that the OPTIMIZER_MODE=RULE was desupported.
    "Desupported" does not mean it is no longer technically possible to use RULE nor does it mean that we do not use it anymore internally. It just means that it is no longer supported that you use this optimizer mode.
    In other words: Almost no testing was done with OPTIMIZER_MODE=RULE, and if you turn it on and you get any problems, our support will not be responsible to help you because of that setting.
    If on the other hand it turns out that for troubleshooting purpose it is necessary to go with that mode for certain statements (because our support came to that conclusion), it will be possible to use it of course without you losing further support.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Best value for optimizer_mode

    In my production environment we have to move from Rule based optimizer to cost based optimizer . We work with oracle 10g but until now our application before run queries execute an alter session set optimizer_mode=rule.
    What is the best value for this parameter?
    # FIRST_ROWS(n)
    # FIRST_ROWS
    # ALL_ROWS
    # CHOOSE
    We don't know what kind of query users will do. Those queries can retrive all rows or a part of the table.

    Do you think tha I shoud use stored outlines?
    I have found this :
    20.2.1 Moving from RBO to the Query Optimizer
    If an application was developed using the rule-based optimizer, then a considerable amount of effort might have gone into manually tuning the SQL statements to optimize performance. You can use plan stability to leverage the effort that has already gone into performance tuning by preserving the behavior of the application when upgrading from rule-based to query optimization.
    By creating outlines for an application before switching to query optimization, the plans generated by the rule-based optimizer can be used, while statements generated by newly written applications developed after the switch use query plans. To create and use outlines for an application, use the following process.
    Note:
    Carefully read this procedure and consider its implications before executing it!
    1.
    Ensure that schemas in which outlines are to be created have the CREATE ANY OUTLINE privilege. For example, from SYS:
    GRANT CREATE ANY OUTLINE TO user-name
    2.
    Execute syntax similar to the following to designate; for example, the RBOCAT outline category.
    ALTER SESSION SET CREATE_STORED_OUTLINES = rbocat;
    3.
    Run the application long enough to capture stored outlines for all important SQL statements.
    4.
    Suspend outline generation:
    ALTER SESSION SET CREATE_STORED_OUTLINES = FALSE;
    5.
    Gather statistics with the DBMS_STATS package.
    6.
    Alter the parameter OPTIMIZER_MODE to CHOOSE.
    7.
    Enter the following syntax to make Oracle use the outlines in category RBOCAT:
    ALTER SESSION SET USE_STORED_OUTLINES = rbocat;
    8.
    Run the application.
    Subject to the limitations of plan stability, access paths for this application's SQL statements should be unchanged.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28274/outlines.htm#i12916
    is it good for performance?
    I have never use stored outlines.

  • RULE BASED OPTIMIZER

    hi,
    my database is 10.2.0.1...by default optimizer_mode=ALL_ROWS..
    for some sessions..i need rule based optimizer...
    so can i use
    alter session set optimizer_mode=rule;
    will it effect that session only or entire database....
    and following also.i want to make them at session level...
    ALTER SESSION SET "_HASH_JOIN_ENABLED" = FALSE;
    ALTER SESSION SET "_OPTIMIZER_SORTMERGE_JOIN_ENABLED" = FALSE ;
    ALTER SESSION SET "_OPTIMIZER_JOIN_SEL_SANITY_CHECK" = TRUE;
    will those effect only session or entire database...please suggest

    < CBO outperforms RBO ALWAYS! > I disagree - mildlyWhen I tune SQL, the first thing I try is a RULE hint, and in very simple databases, the RBO still does a good job.
    Of course, you should not use RULE hints in production (That's Oracle job).
    When Oracle eBusiness suite migrated to the CBO, they placed gobs of RULE hints into their own SQL!!
    Anyway, always adjust your CBO stats to replicate an RBO execution plan . . . .
    specifically CAST() conversions from collections and pipelined functions.Interesting. Hsve you tried dynamic sampling for that?
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Optimizer Mode - Rule or Choose

    Is it ok to use
    Alter session set optimizer_mode=RULE?
    in Oracle9i and Oracle10g?
    thanks.

    New book on physical database design, discussing how to design indexes, range and hash partitioning, materialized views, storage layout, RAID, warehouse design and more. The book covers Oracle and several other major databases. Lots of diagrams and examples. An excellent text for people who design and administer databases.
    Available on Amazon and most other book sellers.
    Physical Database Design: The Database Professional's Guide to Exploiting Indexes, Views, Storage, and More
    by Sam S. Lightstone, Toby J. Teorey, Tom Nadeau
    Paperback, 448 pages, publication date: MAR-2007
    ISBN-13: 978-0-12-369389-1
    ISBN-10: 0-12-369389-6
    Series: The Morgan Kaufmann Series in Data Management Systems
    Link on Amazon:
    http://www.amazon.com/Physical-Database-Design-professionals-exploiting/dp/0123693896
    Link on the publisher's web site:
    http://www.elsevier.com/wps/find/bookdescription.cws_home/710637/description#description
    Comments on the book can be sent to: [email protected]

  • Optimizer_mode = choose

    I just setup a new instance using the EE 8.1.7.4. I set the optimizer_mode parameter to optimizer_mode = choose. I even took the parameter out of the init.ora file seeing the default is choose. Even if I shutdown and restart the instance, when I log into the database through sqlplus and issue the show parameters command the optimizer_mode = rule. I understand that the "mode" queries will use is dependent upon there being statistics or not. Any ideas as to why the optimizer_mode isn't equal to choose when I do "show parameters"?

    Thank you for your help. It was a trigger that was in place. We had setup the instance as rule and was testing statistics using a logon trigger to switch test users to choose. I didn't even think about checking for triggers. I disabled the trigger and then the optimizer = choose when I do "show parameters".
    Thanks

  • Oracle 9i - rule based settings

    How can change the cost based setting to rule based in oracle 9i? Could anybody help me?

    ALTER SYSTEM SET OPTIMIZER_MODE=RULE SCOPE=BOTH;
    Won't work, you'll have to change your parameter file and then restart the DB to change optimizer mode at instance level.
    For a session you can change it using the command
    ALTER SESSION SET OPTIMIZER_MODE=RULE;
    Sudhanshu Bhandari

  • Rule base optimezer

    Hello,
    Do you guys have any idea about this issue.
    I am wondering!....In our new server (10g on AIX) the Rule Based optimizer mode shows the cost.
    Is it possible..? Today only I found that one... few days back its not shown the cost.
    Actually... it is not suppose to show the cost when you use the Rule based optimizer. Am I correct?

    Hi,
    >>the Rule Based optimizer mode shows the cost.
    Where did you get this information from? I think that it wouldn't happen ... unless you actually have been using the cost-based optimization mode (CBO)
    SQL> alter session set optimizer_mode=RULE;
    Session altered.
    SQL> explain plan for select 1 from dual;
    Explained.
    SQL> set linesize 130
    SQL> set pagesize 0
    SQL> select * from table(dbms_xplan.display);
    Plan hash value: 1550022268
    | Id  | Operation        | Name | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT |      |       |       |       |
    |   1 |  FAST DUAL       |      |       |       |       |
    Note
       - rule based optimizer used (consider using cbo)
    12 rows selected.
    SQL> alter session set optimizer_mode=ALL_ROWS;
    Session altered.
    SQL> explain plan for select 1 from dual;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    Plan hash value: 1550022268
    | Id  | Operation        | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT |      |     1 |       |     2 (0)| 00:00:01 |
    |   1 |  FAST DUAL       |      |     1 |       |     2 (0)| 00:00:01 |
    8 rows selected.Cheers
    Legatti

  • Using RBO in Oracle 10g

    I have a test database 10g R2. I set the optimizer_mode=RULE.
    SQL QUERY
    Select Round(-1*Nvl(Sum(Alloc_Units),0),4) Open_Units, Sum(T.Cash_Amt) Open_Cash_Amt, Max(O.Applied_Date) Open_Applied_Date From Policy P , Operations O, Tx_Mboxs T Where P.Scheme_Id = :P_Scheme_Id And O.Status Is Null And Trunc(O.Applied_Date+0) < Greatest(:P_Date_From,:CF_Join_Date) And O.Op_Id = T.Op_Id And T.Policy_No = P.Policy_No And T.Person_Id = :Person_Id
    Initial Explain Plan
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name |
    | 0 | SELECT STATEMENT | |
    | 1 | SORT AGGREGATE | |
    | 2 | NESTED LOOPS | |
    | 3 | NESTED LOOPS | |
    | 4 | TABLE ACCESS FULL | TX_MBOXS |
    | 5 | TABLE ACCESS BY INDEX ROWID| OPERATIONS |
    | 6 | INDEX UNIQUE SCAN | OPERATIONS_IDX0 |
    | 7 | TABLE ACCESS BY INDEX ROWID | POLICY |
    | 8 | INDEX UNIQUE SCAN | POLICY_IDX0 |
    Note
    - rule based optimizer used (consider using cbo)
    Here I use the index POLICY_IDX0 that has already been defined.
    Explain plan after using Index Hints
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 1 | 49 | 8321 (9)|
    | 1 | SORT AGGREGATE | | 1 | 49 | |
    | 2 | NESTED LOOPS | | 1 | 49 | 8321 (9)|
    | 3 | HASH JOIN | | 1 | 33 | 8319 (9)|
    | 4 | TABLE ACCESS BY INDEX ROWID| POLICY | 1 | 7 | 2 (0)|
    | 5 | INDEX RANGE SCAN | POLICY_IDX13 | 1 | | 1 (0)|
    | 6 | TABLE ACCESS FULL | TX_MBOXS | 3736 | 97136 | 8316 (9)|
    | 7 | TABLE ACCESS BY INDEX ROWID | OPERATIONS | 1 | 16 | 2 (0)|
    | 8 | INDEX UNIQUE SCAN | OPERATIONS_IDX0 | 1 | | 1 (0)|
    It does not use the index, instead uses POLICY_IDX13 index.
    The order has been changed from least to highest. As can be seen from below,
    select num_rows from all_tables
    2 where table_name ='POLICY';
    NUM_ROWS
    84196
    select num_rows from all_indexes
    2 where index_name ='POLICY_IDX13';
    NUM_ROWS
    1675
    select num_rows from all_tables
    2 where table_name ='TX_MBOXS';
    NUM_ROWS
    5014620
    select num_rows from all_tables
    2 where table_name = 'OPERATIONS';
    NUM_ROWS
    6091380
    select num_rows from all_indexes
    2 where index_name ='OPERATIONS_IDX0';
    NUM_ROWS
    5941450
    What can be the reason that it is not using the index POLICY_IDX0? Maybe because Oracle desupports RBO in 10g. Can this be the reason?
    Adith

    I think RBO is obsolete in 10g, that's why you're not getting the result you are expecting to see.
    Tony

  • QUERY EXECUTION PROBLEM

    One query is executing very fast in database1 and the same query takes time
    to execute in database2.
    in database1 optimizer_mode=rule and in database2 optimizer_mode=all_rows
    How i can make the execution of the query very fast in database2.
    DATABASE1 VERSION:9.2.0.6.0
    DATABASE2 VERSION:10.1.0.2.0
    Thankx...

    Hi,
    Compare two databases performance is hard, compare two database in different version is hardest.
    1. Are the data same ?
    2. Are the database on same server ?
    3. Are the oracle statistics up-to-date ?
    4. What is the query ?
    5. What are the indexes ?
    6. What is the explain plan ?
    7. Unfortunately, tere is no new feature in 10g like query_fast... there is no magic parameter, so you need to work and show and explain us a little bit more about your config, your test...
    Nicolas.

  • ORA-01078 error message when trying to start database

    Hi,
    I am trying to clone a production database to use it as a standby on a different server. When I try to startup the database I get the below error message. I tryied starting it up from EM, but got "ORA-01078: failure in processing system parameters" error message.
    SQL> startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
    LRM-00101: unknown parameter name 'db_cache_size'
    LRM-00101: unknown parameter name 'dispatchers'
    LRM-00101: unknown parameter name 'fast_start_mttr_target'
    LRM-00101: unknown parameter name 'pga_aggregate_target'
    LRM-00101: unknown parameter name 'undo_management'
    LRM-00101: unknown parameter name 'undo_retention'
    LRM-00101: unknown parameter name 'undo_tablespace'
    ORA-01078: failure in processing system parameters
    SQL>
    This is my "ini" file:
    *.aq_tm_processes=1
    *.background_dump_dest='d:\oracle\admin\mydb\bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='d:\oracle\oradata\mydb\control01.ctl','d:\oracle\oradata\mydb\control02.ctl','d:\oracle\oradata\mydb\control03.ctl'
    *.core_dump_dest='d:\oracle\admin\mydb\cdump'
    *.db_block_size=8192
    *.db_cache_size=629145600
    *.db_domain='skmconsulting.com'
    *.db_file_multiblock_read_count=16
    *.db_name='mydb'
    *.dispatchers='(PROTOCOL=TCP)'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='mydb'
    *.java_pool_size=33554432
    *.job_queue_processes=10
    *.large_pool_size=8388608
    *.log_archive_format='arch_mydb_%t_%s.arc'
    *.log_archive_dest = D:\oracle\archive-logs\mydb
    *.log_archive_start=TRUE
    *.max_enabled_roles=148
    *.open_cursors=500
    *.optimizer_mode='rule'
    *.pga_aggregate_target=25165824
    *.processes=200
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=83886080
    *.sort_area_size=524288
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='d:\oracle\admin\mydb\udump'
    Any ideas?
    Thanks.

    Also tried this, and got the same error:
    oradim.exe -delete -sid mydb
    set ORACLE_HOME=D:\oracle\ora92
    oradim.exe -new -sid mydb -intpwd pw -startmode manual
    set oracle_sid=mydb
    sqlplus /nolog
    conn sys/pw as sysdba
    startup nomount pfile='D:\oracle\admin\MYDB\pfile\initmydb.ora'
    ORA-12538: TNS:no such protocol adapter

Maybe you are looking for

  • XML file Issue..

    Hi guys, My question is in a real time scenario how the file is asked for ? As for testing a simple file scenario we usually get the sample file in XI from Message mapping tool only, this sample file contains primary tag of message type with attribut

  • Context handling problem in output message

    Hi Experts, I have an issue where the context is not properly handled: <Material_Master> <Material> <LongText> - >exists--->createif--->E1MTXHM Segment <Language_Code>ES</Language_Code> <Description>EF VEW CHANGED TEXT: GAS</Description> >mapwithdefa

  • Can't Drag Folders into Photos App?? Import only presents 100 photos!

    So I tried importing my Aperture library with no luck - seems that I must unlock a folder every time I want to edit a photo. Now I'm simply trying to create a New Photo Library and I drag a folder (with subfolders) into the app and nothing happens. S

  • How can I stop emails pushed to the Curve from getting marked as "Read" in Outlook!

    I get 100 or so emails a day, and get them bolded in Outlook until I read them.  In two of my three email accounts, the emails remain bolded in Outlook even after being pushed to the Curve.  In the third, which runs through my work server, all emails

  • How to detect if user clicks on another cell in a JTable while editing?

    I use a custom TableModel which extends AbstractTableModel and I serialize the TableModel to save the data in a file. Sometimes when I try to serialize, my program crashes after putting in random data in to the table. I have reduced the problem down