Oracle 11g -select on dictionary view hangs

Hi Experts,
I have issued the below query and it's hanging for a long time.
SQL> select * from gv$session where rownum<=1;
Could you please someone shed light on this issue?
Regards,
Richard
Edited by: user12075620 on May 16, 2011 8:44 PM

Duplicated and even triplicated post, probably Jive issue.
To be continued over there :
http://forums.oracle.com/forums/message.jspa?messageID=9594103#9594103
Nicolas.

Similar Messages

  • Oracle 11G Linux OEM Repository Creation Hang

    Hi,
    I recreating em repository. I was trying to drop em repositry with the following command: -
    emca -deconfig dbcontrol db -repos drop
    but this command got hang in between.
    so i choose another path :-
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1
    LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM ' || r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM ' || r1.owner || '.' || r1.name;
    END IF;
    END LOOP;
    END;
    PL/SQL procedure successfully completed.
    SQL> DROP ROLE mgmt_user;
    Role dropped.
    SQL> drop user mgmt_view cascade;
    User dropped.
    SQL> drop user sysman cascade;
    User dropped.
    after this when i am trying to create em repository with following command :-
    emca -config dbcontrol db -repos create
    this command got hang after showing
    Aug 20, 2009 4:32:56 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    I dont know why this command got hang after this.
    (I tested the same procedure on another staging machine and from the logs i know that after this message it goes for
    Listener validation and check the listener)
    On production machine listener is up and running, still the command got hong on
    Aug 20, 2009 4:32:56 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Any Help please ?

    hi,
    in my case on the AIX 6.3TL3, i have dropped the following synonyms and the schemas in 11.1.0.7.0 :
    plz check this :
    DROP USER sysman CASCADE;
    DROP USER mgmt_view CASCADE;
    DROP ROLE MGMT_USER;
    ALTER USER dbsnmp ACCOUNT UNLOCK;
    ALTER USER dbsnmp identified by dbsnmp;
    DROP PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;
    DROP PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
    DROP PUBLIC SYNONYM MGMT_AVAILABILITY;
    DROP PUBLIC SYNONYM MGMT_CURRENT_AVAILABILITY;
    DROP PUBLIC SYNONYM MGMT_SEVERITY_OBJ;
    DROP PUBLIC SYNONYM MGMT_SEVERITY_ARRAY;
    DROP PUBLIC SYNONYM MGMT_GUID_OBJ;          
    DROP PUBLIC SYNONYM MGMT_GUID_ARRAY;
    DROP PUBLIC SYNONYM SMP_EMD_AVAIL_OBJ;
    DROP PUBLIC SYNONYM SMP_EMD_TARGET_OBJ;
    DROP PUBLIC SYNONYM SMP_EMD_TARGET_OBJ_ARRAY;
    DROP PUBLIC SYNONYM SMP_EMD_DELETE_REC_ARRAY;
    DROP PUBLIC SYNONYM MGMT_METRICS;
    DROP PUBLIC SYNONYM MGMT_TARGETS;
    DROP PUBLIC SYNONYM MGMT_TYPE_PROPERTIES;
    DROP PUBLIC SYNONYM MGMT_TARGET_PROPERTIES;
    DROP PUBLIC SYNONYM MGMT_METRICS_RAW;     
    DROP PUBLIC SYNONYM MGMT_CURRENT_METRICS;     
    DROP PUBLIC SYNONYM MGMT_STRING_METRIC_HISTORY;     
    DROP PUBLIC SYNONYM MGMT_LONG_TEXT;     
    DROP PUBLIC SYNONYM MGMT_METRICS_COMPOSITE_KEYS;     
    DROP PUBLIC SYNONYM MGMT_METRICS_1HOUR;     
    DROP PUBLIC SYNONYM MGMT_METRICS_1DAY;     
    DROP PUBLIC SYNONYM MGMT_METRIC_ERRORS;     
    DROP PUBLIC SYNONYM MGMT_CURRENT_METRIC_ERRORS;     
    DROP PUBLIC SYNONYM EMD_MNTR;     
    DROP PUBLIC SYNONYM MGMT_METRIC_COLLECTIONS;     
    DROP PUBLIC SYNONYM MGMT_COLLECTION_PROPERTIES ;     
    DROP PUBLIC SYNONYM MGMT_METRIC_THRESHOLDS;     
    DROP PUBLIC SYNONYM SMP_EMD_NVPAIR;     
    DROP PUBLIC SYNONYM SMP_EMD_NVPAIR_ARRAY;     
    DROP PUBLIC SYNONYM SMP_EMD_STRING_ARRAY;
    DROP PUBLIC SYNONYM SMP_EMD_STRING_ARRAY_ARRAY;
    DROP PUBLIC SYNONYM SMP_EMD_INTEGER_ARRAY;
    DROP PUBLIC SYNONYM SMP_EMD_INTEGER_ARRAY_ARRAY;
    DROP PUBLIC SYNONYM MGMT_DELTA_IDS;
    DROP PUBLIC SYNONYM MGMT_DELTA_ID_VALUES;
    DROP PUBLIC SYNONYM MGMT_DELTA_ENTRY;
    DROP PUBLIC SYNONYM MGMT_DELTA_ENTRY_VALUES;
    DROP PUBLIC SYNONYM MGMT_DELTA_VALUE;
    DROP PUBLIC SYNONYM MGMT_DELTA_VALUES;
    DROP PUBLIC SYNONYM MGMT_NAME_VALUE;
    DROP PUBLIC SYNONYM MGMT_NAME_VALUES;
    DROP PUBLIC SYNONYM ECM_UTIL;
    DROP PUBLIC SYNONYM MGMT_DELTA;
    DROP PUBLIC SYNONYM MGMT_TARGET_MEMBERSHIPS;
    DROP PUBLIC SYNONYM MGMT_JOB;
    DROP PUBLIC SYNONYM MGMT_JOB_PARAMETER;
    DROP PUBLIC SYNONYM MGMT_JOB_TARGET;
    DROP PUBLIC SYNONYM MGMT_JOB_SCHEDULE;
    DROP PUBLIC SYNONYM MGMT_JOB_EXECPLAN;
    DROP PUBLIC SYNONYM MGMT_JOB_EXEC_SUMMARY;
    DROP PUBLIC SYNONYM MGMT_JOB_OUTPUT;
    DROP PUBLIC SYNONYM MGMT_JOB_EXECUTION;
    DROP PUBLIC SYNONYM MGMT_LOG;
    DROP PUBLIC SYNONYM MGMT_ADMIN;
    DROP PUBLIC SYNONYM MGMT_GLOBAL;
    DROP PUBLIC SYNONYM MGMT_TARGET;
    DROP PUBLIC SYNONYM MGMT_CREDENTIAL;
    DROP PUBLIC SYNONYM MGMT_JOBS;
    DROP PUBLIC SYNONYM MGMT_PREFERENCES;
    DROP PUBLIC SYNONYM MGMT_USER;
    DROP PUBLIC SYNONYM MGMT_SEVERITY;
    DROP PUBLIC SYNONYM MGMT_CURRENT_SEVERITY;
    DROP PUBLIC SYNONYM MGMT_PAF_PROCS_LATEST;
    DROP PUBLIC SYNONYM MGMT_PAF_JOBS;
    DROP PUBLIC SYNONYM MGMT_PAF$PROCEDURES;
    DROP PUBLIC SYNONYM MGMT_PAF$INSTANCES;
    DROP PUBLIC SYNONYM MGMT_PAF$STATES;
    DROP PUBLIC SYNONYM MGMT_PAF$APPLICATIONS;
    DROP PUBLIC SYNONYM MGMT_VIEW_UTIL;
    DROP PUBLIC SYNONYM MGMT_MESSAGES;

  • Granting SELECT on dictionary views ... (?)

    Hi there,
    please try to find out, what I am doing wrong below:
    1. I connect as sys:
    connect sys as sysdba
    2. Create a role. Just to point out the problem, it will have just CREATE SESSION, CREATE PROCEDURE
    create role tr not identified;
    grant create session to tr;
    grant create procedure to tr;
    3. Now the problem: I want the role (users with that role) to have SELECT privilege, just on one dict-view, that is v$session:
    My first attempt is denied:
    grant select on v$session to tr;
    grant select on v$session to tr
    FEHLER in Zeile 1:
    ORA-02030: can only select from fixed tables/views
    Now this in itself is wierd. I read v$-objects are synonyms to v_$-objects. Is that right? What is the problem here? See, what happens next...
    4. grant select on v_$session to tr;
    That works!
    5. create user tu identified by tu;
    grant tr to tu;
    That works!
    6. Now connect as tu/tu
    sql*plus Test: select count(*) from v$session;
    COUNT(*)
    46
    works!
    7. Now: create a simple stored function to perform the same as my query:
    create or replace function testf
    return number
    is
    res number;
    begin
    select count(*) into res from v$session;
    return res;
    end;
    This is refused with ORA-00942: Table or view does not exist !!!
    Simple query on v$session works, but its usage inside a stored function is not allowed??? Please explain!!!
    Pointing out to the explanation in the documentation (just one link) would suffice. I just have not found an explanation for this behaviour!
    Many thanks in advance!
    Xenofon

    Ok, It seems this GRANT, even though it is an object privilege it is handled like of those privileges, which can be granted only directly to a user and not to a role;
    But on the other hand, the reaction is not the system:
    When you try to grant UNLIMITED tablespace to a role you get a definitive error message: ORA-01931.
    You don't get this error when granting SELECT on V_$SESSION to a role...
    It's getting more and more wierd...
    (Does anyone know a complete list of privs which can only be granted directly to a user? I thought it's only UNLIMITED TABLESPACE)

  • Oracle 11g :SELECT query blocked..??

    Hi Experts,
    could you please explain why the below SQL query is blocked?
    SELECT 1 FROM DUAL is blocking the SQL statement on GTTAPPUSR@gttccuatcriba04 ( SID=469 ) blocked SQL -> DELETE FROM GTTDB.PURCHASE_ENTRY_ID=:1
    SELECT 1 FROM DUAL is blocking the SQL statement on GTTAPPUSR@gttccuatcriba04 ( SID=367 ) blocked SQL -> DELETE FROM GTTDB.PURCHASE_ENTRY_ID=:1
    I am scratching my head without any solution when I had a look at the db today. Thanks in advance for your help.
    Regards,
    Boris
    Edited by: user12075620 on Dec 4, 2012 8:58 AM

    The SELECT statement is not blocking the UPDATE. As I said in the previous reply, the string that this query produces does not match the logic.
    This query is (at least on the surface) correctly identifying that session 1 is blocking session 2. Session 1 holds some lock that session 2 is waiting on. So far, so good. Since session 2 is waiting on the lock, we can easily enough see what session 2 is running (the UPDATE statement). But since session 1 is not blocked, it is potentially off running a ton of other SQL statements (or no SQL statement at all). The query is looking to see what session 1 is running currently. It has no way of determining what session 1 ran at some point in the past to acquire the lock in the first place.
    Going back to my KING example,
    At noon, session 1 runs
    UPDATE emp
       SET sal = sal * 2
    WHERE ename = 'KING'Session 1 now has a lock on the KING row in the EMP table. But session 1 neither commits nor rolls back, it is still in a transaction. Session 1 might not have any more activity for a long time-- the user might go off to lunch, for example (obviously, applications should not be designed to allow users to maintain open transactions indefinitely, but not all applications are designed correctly). Or it might start running other queries. Let's say that session 1 now runs a query that is going to go for an hour
    SELECT *
      FROM giant_view_with_lots_of_computationsNow, at 12:45, session 2 comes in and runs
    UPDATE emp
       SET bonus = 100
    WHERE ename = 'KING'Session 2 is blocked. Session 2 is running the UPDATE statement. Session 1 still holds the lock but it is running some completely unrelated SQL statement.
    If we run the query you posted, the query will correctly report that session 1 is running the query against the GIANT_VIEW_WITH_LOTS_OF_COMPUTATIONS but incorrectly imply that this SELECT query is the source of the lock. It is not. It simply happens to be the query that the session that does hold the lock happens to be executing at the current moment (why the application seems to be running a lot of queries that select a constant from dual is a separate question).
    Justin

  • 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

  • Oracle 11g install hangs on windows 7

    Hi,
    I have downloaded Oracle 11g r2 64 bit install onto my windows system.
    When i install, the install hangs after selecting the following
    a) Create and configure a database
    b) Desktop Class
    After these, when I click on Next, the UI hangs.
    Help will be appreciated.

    Using paramFile: C:\Users\jeevan\Documents\My DAP Downloads\database\install\oraparam.ini
    Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
    INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
    INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
    INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
    INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
    WARNING: Failed to load bean oracle.install.ivw.db.bean.DBInstallSettings. Reason: [INS-07001] Value for property 'DBInstallSettings' not found in the bean store.
    INFO: Closing bean stores from which the beans can be loaded
    INFO: Registering the flow views
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.PrereqGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.PrereqGUI added to View Type Registry with the key as [PrereqUI]
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SummaryGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.SummaryGUI added to View Type Registry with the key as [SummaryUI]
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SetupGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.SetupGUI added to View Type Registry with the key as [SetupUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.InventoryUI viewId: null uiType: null]
    INFO: oracle.install.ivw.common.view.InventoryUI added to View Type Registry with the key as [InventoryUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.ProductLanguageGUI viewId: ProductLanguageUI uiType: null]
    INFO: oracle.install.ivw.common.view.ProductLanguageGUI added to View Type Registry with the key as [ProductLanguageUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.OCMDetailsGUI viewId: OCMDetailsUI uiType: null]
    INFO: oracle.install.ivw.common.view.OCMDetailsGUI added to View Type Registry with the key as [OCMDetailsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationTypeUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ConfigurationTypeUI added to View Type Registry with the key as [ConfigurationTypeUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.DBIdentifierUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.DBIdentifierUI added to View Type Registry with the key as [DBIdentifierUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ConfigurationOptionsUI added to View Type Registry with the key as [ConfigurationOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ManagementOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ManagementOptionsUI added to View Type Registry with the key as [ManagementOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.StorageOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.StorageOptionsUI added to View Type Registry with the key as [StorageOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.RecoveryBackupUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.RecoveryBackupUI added to View Type Registry with the key as [RecoveryBackupUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI viewId: ASMDiskGroupSelectionUI uiType: null]
    INFO: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI added to View Type Registry with the key as [ASMDiskGroupSelectionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.SchemaPasswordUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.SchemaPasswordUI added to View Type Registry with the key as [SchemaPasswordUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.QuickInstallUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.QuickInstallUI added to View Type Registry with the key as [QuickInstallUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.InstallOptionsUI added to View Type Registry with the key as [InstallOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.SystemClassUI viewId: SystemClassUI uiType: null]
    INFO: oracle.install.ivw.db.view.SystemClassUI added to View Type Registry with the key as [SystemClassUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallLocationUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.InstallLocationUI added to View Type Registry with the key as [InstallLocationUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.DBEditionGUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.DBEditionGUI added to View Type Registry with the key as [DBEditionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.NodeSelectionUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.NodeSelectionUI added to View Type Registry with the key as [NodeSelectionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.FinishUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.FinishUI added to View Type Registry with the key as [FinishUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI added to View Type Registry with the key as [PrivilegedOSGroupsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallTypeGUI viewId: installTypeUI uiType: null]
    INFO: oracle.install.ivw.db.view.InstallTypeGUI added to View Type Registry with the key as [installTypeUI]
    INFO: Initial values of Setup Properties :
    PROPERTY VALUE
    CLUSTER_NODES {}
    COLLECTOR_IGNORE_CONFIGURATION false
    COLLECTOR_IGNORE_FAILURES false
    COLLECTOR_RESPONSE_FILE
    DECLINE_SECURITY_UPDATES false
    FROM_LOCATION C:\Users\jeevan\Documents\My DAP Downloads\database
    \install\../stage/products.xml
    INSTALL_TYPE EE
    MYORACLESUPPORT_PASSWORD Protected value, not to be logged
    MYORACLESUPPORT_USERNAME
    ORACLE_BASE
    ORACLE_HOME
    ORACLE_HOSTNAME COSMOS
    PROXY_HOST
    PROXY_PORT
    PROXY_PWD Protected value, not to be logged
    PROXY_USER
    SECURITY_UPDATES_VIA_MYORACLESUPPORT true
    SELECTED_LANGUAGES {"en"}
    b_rdbmsInstall true
    oracle.install.db.isCCRAuthenticationUsed false
    oracle_install_LaunchNetCA false
    oracle_install_NoMigration false
    oracle_install_OCR_PartitionLocation
    oracle_install_RACInstall false
    oracle_install_RDBMSInstalling true
    oracle_install_client_OraMTSPortNumber 49157
    oracle_install_db_ASMSNMPUserPassword Protected value, not to be logged
    oracle_install_db_AutoMemoryOption false
    oracle_install_db_CharSetOption 3
    oracle_install_db_CharacterSet
    oracle_install_db_ConfigTabSelected 0
    oracle_install_db_ConfigurationType &General Purpose / Transaction Processing
    oracle_install_db_CustomInstall false
    oracle_install_db_DiskGroupName
    oracle_install_db_DiskGroupNameForASM
    oracle_install_db_EMCentralAgentSelected
    oracle_install_db_EMEmailAddress
    oracle_install_db_EMSMTPServer
    oracle_install_db_EnableAutoBackup false
    oracle_install_db_InstallEdition EE
    oracle_install_db_InstallOption INSTALL_DB_AND_CONFIG
    oracle_install_db_InstallOptionSelected 1
    oracle_install_db_InstallType EE
    oracle_install_db_LaunchDBCA false
    oracle_install_db_LaunchODMA false
    oracle_install_db_LoadExampleSchemas false
    oracle_install_db_MountPointLocation
    oracle_install_db_QuickInstallOption false
    oracle_install_db_ReceiveEmailNotification false
    oracle_install_db_RecoveryBackUpLocation
    oracle_install_db_RecoveryBackUpPassword Protected value, not to be logged
    oracle_install_db_RecoveryBackUpUsername
    oracle_install_db_SID
    oracle_install_db_SecureConfigDisabled false
    oracle_install_db_SetOracleBase false
    oracle_install_db_StarterDatabaseType GENERAL_PURPOSE
    oracle_install_db_StorageType 0
    oracle_install_db_SuperAdminPasswords Protected value, not to be logged
    oracle_install_db_SuperAdminSamePasswdForAll Protected value, not to be logged
    oracle_install_db_SystemClass DESKTOP_CLASS
    oracle_install_db_Type 1
    oracle_install_db_UseDBControl true
    oracle_install_db_UseFileSystemForRecovery false
    oracle_install_db_UseSamePassword false
    INFO: Launching Oracle Database 11g Release 2 Installer
    INFO: Started executing the flow in INTERACTIVE mode
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state prepInstall
    INFO: Waiting for completion all forked tasks at state prepInstall
    INFO: All forked task are completed at state prepInstall
    INFO: Completed background operations
    INFO: Executing action at state prepInstall
    INFO: Completed executing action at state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prepInstall>
    INFO: Completed validating view at state <prepInstall>
    INFO: Validating state <prepInstall>
    WARNING: Validation disabled for the state prepInstall
    INFO: Completed validating state <prepInstall>
    INFO: Verifying route success
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state decideOCMInstall
    INFO: Completed executing action at state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <decideOCMInstall>
    INFO: Completed validating view at state <decideOCMInstall>
    INFO: Validating state <decideOCMInstall>
    WARNING: Validation disabled for the state decideOCMInstall
    INFO: Completed validating state <decideOCMInstall>
    INFO: Verifying route requireOCM
    INFO: Get view named [OCMDetailsUI]
    INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@6da05bdb
    INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOCMDetails
    INFO: Completed executing action at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <getOCMDetails>
    INFO: Completed validating view at state <getOCMDetails>
    INFO: Validating state <getOCMDetails>
    SEVERE: You have not provided an email address.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Is this the problem????
    Do you wish to remain uninformed of critical security issues in your configuration?
    INFO: Completed validating state <getOCMDetails>
    INFO: Verifying route success
    INFO: Get view named [InstallOptionsUI]
    INFO: InstallOptionsUI Entering Constructor
    INFO: InstallOptionsUI Exiting Constructor
    INFO: View for [InstallOptionsUI] is oracle.install.ivw.db.view.InstallOptionsUI@5ea07440
    INFO: Initializing view <InstallOptionsUI> at state <installOptions>
    INFO: Completed initializing view <InstallOptionsUI> at state <installOptions>
    INFO: Displaying view <InstallOptionsUI> at state <installOptions>
    INFO: Completed displaying view <InstallOptionsUI> at state <installOptions>
    INFO: Loading view <InstallOptionsUI> at state <installOptions>
    INFO: Completed loading view <InstallOptionsUI> at state <installOptions>
    INFO: Localizing view <InstallOptionsUI> at state <installOptions>
    INFO: Completed localizing view <InstallOptionsUI> at state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state installOptions
    INFO: Completed executing action at state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: InstallOptions UI Entering & Exiting processInput
    INFO: Validating view at state <installOptions>
    INFO: Completed validating view at state <installOptions>
    INFO: Validating state <installOptions>
    INFO: Completed validating state <installOptions>
    INFO: InstallOptionsAction Actions.transition called
    INFO: selectedInstallOption is :INSTALL_DB_AND_CONFIG
    INFO: launchNETCA = true
    INFO: Verifying route system_class
    INFO: Get view named [SystemClassUI]
    INFO: SystemClassUI Entering Constructor
    INFO: SystemClassUI Exiting Constructor
    INFO: View for [SystemClassUI] is oracle.install.ivw.db.view.SystemClassUI@164ca42b
    INFO: Initializing view <SystemClassUI> at state <getSystemClass>
    INFO: Completed initializing view <SystemClassUI> at state <getSystemClass>
    INFO: Displaying view <SystemClassUI> at state <getSystemClass>
    INFO: Completed displaying view <SystemClassUI> at state <getSystemClass>
    INFO: Loading view <SystemClassUI> at state <getSystemClass>
    INFO: Completed loading view <SystemClassUI> at state <getSystemClass>
    INFO: Localizing view <SystemClassUI> at state <getSystemClass>
    INFO: Completed localizing view <SystemClassUI> at state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getSystemClass
    INFO: Completed executing action at state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: SystemClassUI Entering & Exiting processInput
    INFO: Validating view at state <getSystemClass>
    INFO: Completed validating view at state <getSystemClass>
    INFO: Validating state <getSystemClass>
    INFO: Completed validating state <getSystemClass>
    INFO: selectedSystemClass is :DESKTOP_CLASS
    INFO: Verifying route desktop_class_yes
    INFO: Get view named [QuickInstallUI]

  • Oracle 11G - Update is very slow on View

    I have big trouble with some Update query on Oracle 11G.
    I have a set of tables (5) of identical structures and a view that consists in an UNION ALL of the 5 tables.
    None of this table contains more than 20 000 rows.
    Let's call the view V_INTE_NE. Each of the basic table has a PRIMARY KEY defined on 3 NUMBERS(10,0) -> INTE_REF / NE_REF / INSTANCE.
    Now, I get 6 rows in another table and I want to update my view from the data of this small table (let's call it SMALL). This table has the 3 columns INTE_REF / NE_REF / INSTANCE.
    When I try to join the two tables :
    SELECT * FROM T_INTE_NE T2
    WHERE EXISTS ( SELECT 1 FROM SMALL T1 WHERE T2.INTE_REF = T1.INTEREF AND T2.NE_REF = T1.NEREF AND T2.INTE_INST = T1.INSTANCE )
    I get the 6 lines in 0.037 seconds
    When I try to update the view (I have an INSTEAD OF trigger that does nothing (just return for testing even without modifying anything), I execute the following query :
    UPDATE T_INTE_NE T2
    SET INTE_STATE = -11 WHERE
    EXISTS ( SELECT 1 FROM SMALL T1 WHERE T2.INTE_REF = T1.INTEREF AND T2.NE_REF = T1.NEREF AND T2.INTE_INST = T1.INSTANCE )
    The 6 rows are updated (at least TRIGGER is called) in 20 seconds.
    However, in the execution plan, I can't see where Oracle takes time to achieve the query :
    Plan hash value: 907176690
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | UPDATE STATEMENT | | 6 | 36870 | 153 (1)| 00:00:02 |
    | 1 | UPDATE | T_INTE_NE | | | | |
    |* 2 | HASH JOIN RIGHT SEMI | | 6 | 36870 | 153 (1)| 00:00:02 |
    | 3 | TABLE ACCESS FULL | SMALL | 6 | 234 | 9 (0)| 00:00:01 |
    | 4 | VIEW | T_INTE_NE | 6 | 36636 | 143 (0)| 00:00:02 |
    | 5 | VIEW | X_V_T_INTE_NE | 6 | 18636 | 143 (0)| 00:00:02 |
    | 6 | UNION-ALL | | | | | |
    | 7 | TABLE ACCESS FULL| SECNODE1_T_INTE_NE | 1 | 3106 | 60 (0)| 00:00:01 |
    | 8 | TABLE ACCESS FULL| SECNODE2_T_INTE_NE | 1 | 3106 | 60 (0)| 00:00:01 |
    | 9 | TABLE ACCESS FULL| SECNODE3_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
    | 10 | TABLE ACCESS FULL| SECNODE4_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
    | 11 | TABLE ACCESS FULL| SECNODE5_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
    | 12 | TABLE ACCESS FULL| SYS_T_INTE_NE | 1 | 3106 | 17 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - access("T2"."INTE_REF"="T1"."INTEREF" AND "T2"."NE_REF"="T1"."NEREF" AND
    "T2"."INTE_INST"="T1"."INSTANCE")
    Note
    - dynamic sampling used for this statement (level=2)
    Statistics
    3 user calls
    0 physical read total bytes
    0 physical write total bytes
    0 spare statistic 3
    0 commit cleanout failures: cannot pin
    0 TBS Extension: bytes extended
    0 total number of times SMON posted
    0 SMON posted for undo segment recovery
    0 SMON posted for dropping temp segment
    0 segment prealloc tasks
    What could explain the difference ?
    I get exactly the same execution plan (when autotrace is ON).
    Furthermore, if I try to do the same update on each of the basic tables, I get the rows updated instantaneously.
    Is there any reason for avoiding this kind of query ?
    Any help would be greatly appreciated :-)
    Regards,
    Patrick

    Sorry for this, I lost myself in conjonctures and I didn't think I would have to explain the whole case.
    So, I wrote a small piece of PL/SQL that reproduces the same issue.
    It seems that my issue is not due to the UPDATE but to the use of the IN predicate.
    As you can see at the end of the script, I try to join the 2 tables using different technics.
    The first query is very fast, the second is very slow.
    I need the second one if I want to do any update.
    DROP TABLE Part1;
    DROP TABLE Part2;
    DROP TABLE Part3;
    DROP TABLE Part4;
    CREATE TABLE Part1 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 1 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part1 PRIMARY KEY( Key1, Key2, Key3 ) );
    CREATE TABLE Part2 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 2 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part2 PRIMARY KEY( Key1, Key2, Key3 ) );
    CREATE TABLE Part3 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 3 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part3 PRIMARY KEY( Key1, Key2, Key3 ) );
    CREATE TABLE Part4 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 4 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part4 PRIMARY KEY( Key1, Key2, Key3 ) );
    CREATE OR REPLACE FUNCTION Decrypt
    x_in IN VARCHAR2
    ) RETURN VARCHAR2
    AS
    x_out VARCHAR2(2000);
    BEGIN
    SELECT REVERSE( x_in ) INTO x_out FROM DUAL;
    RETURN ( x_out );
    END;
    CREATE OR REPLACE VIEW AllParts AS
    SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part1
    UNION ALL
    SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part2
    UNION ALL
    SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part3
    UNION ALL
    SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part4;
    DROP TABLE Small;
    CREATE TABLE Small ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), Data1 VARCHAR2(1000) );
    BEGIN
    DECLARE
    n_Key NUMBER(10, 0 ) := 0;
    BEGIN
    WHILE ( n_Key < 50000 )
    LOOP
    INSERT INTO Part1( Key1, Key2, Key3 )
    VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
    INSERT INTO Part2( Key1, Key2, Key3 )
    VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
    INSERT INTO Part3( Key1, Key2, Key3 )
    VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
    INSERT INTO Part4( Key1, Key2, Key3 )
    VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
    n_Key := n_Key + 1;
    END LOOP;
    INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 1000, 100, 10, 'Test 1000' );
    INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 3000, 300, 30, 'Test 3000' );
    INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 5000, 500, 50, 'Test 5000' );
    COMMIT;
    END;
    END;
    SELECT T2.*
    FROM Small T1, AllParts T2
    WHERE T2.Key1 = T1.Key1 AND T2.Key2 = T1.Key2 AND T2.Key3 = T1.Key3;
    SELECT T1.*
    FROM AllParts T1
    WHERE ( T1.Key1, T1.Key2, T1.Key3 ) IN ( SELECT T2.Key1, T2.Key2, T2.Key3 FROM Small T2 );

  • USER_DEPENDENCIES view in oracle 11g and oracle 10g are different?

    I have tested oracle 10g and oracle 11g. And I found some different behavior in the user_dependencies view between two oracle version.
    In the oracle 10g, whatever referenced object is populated in the user_dependencies view. In the oracle 11g, however, only valid referenced objects are populated in it.
    For example, a package, pac_1, references table, ref_tab_1, and package, ref_pac_2. After ref_tab_1 is dropped and ref_pac_2 is invalid, I query to user_dependencies.
    sql> select referenced_name, referenced_type from user_dependencies where name = 'pac_1'.
    In oracle 10g, the result is like the following,
    < referenced_type > , < referenced_name >
    non-existent , ref_tab_1
    package , ref_pac_2
    In oracle 11g, the result is not showing non-existed object nor invlid object like the following,
    no rows selected
    Is that the TRUE or do I missed some when I installed database or created database in 11g?
    Is there a way to make the behavior of user_dependencies like it in 10g which shows all the referenced objets?
    Edited by: user7436913 on Mar 10, 2010 5:48 AM
    Edited by: user7436913 on Mar 10, 2010 5:51 AM
    Edited by: user7436913 on Mar 10, 2010 5:52 AM
    Edited by: user7436913 on Mar 10, 2010 5:53 AM

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • Oracle 11g installation on Linux Enterprise 5 remains hanging at 43%!

    Hi all,
    as per Subject, I have installed a Linux Enterprise 5 OS downloaded by Oracle Download Center and it is now installed following the nice Guide here.
    I have added the missing Linux packages and set up the kernel parameters as per Guide quoted above.
    If I launch the Oracle installation, it completes the packages and parameters check fine, install goes fine until 43% and then hangs.
    It's not freezing as the Installation window shows ongoing animations, if I try to stop installation it responds immediately asking for confirmation.
    It just hangs up!
    The Linux machine is actually on a VMWare image on a MacOS Leopard host.
    I have tried it on my laptop and desktop as well, but the hang point keeps being the same.
    Any idea?
    Thanks in advance.

    Satish Kandi wrote:
    Can you post last 10 lines from the installation log? That might provide some clue.Sure.
    I will copy more that last 10 lines as last 10 lines do not look too descriptive to me.
    This will contain also my Installation abort.
    Summary
    Global Settings
    Source: /mnt/hgfs/Oracle/database/install/../stage/products.xml
    Oracle Base: /home/oracle/app/oracle
    Oracle Home: /home/oracle/app/oracle/product/11.1.0/db_1 (OraDb11g_home1)
    Installation Type: Enterprise Edition
    Product Languages
    English
    Space Requirements
    / Required 3.43GB (includes 224MB temporary) : Available 30.10GB
    New Installations (125 products)
    Oracle Database 11g 11.1.0.6.0
    Enterprise Edition Options 11.1.0.6.0
    Oracle Partitioning 11.1.0.6.0
    Oracle Spatial 11.1.0.6.0
    Oracle OLAP 11.1.0.6.0
    Oracle Database 11g 11.1.0.6.0
    Oracle Text 11.1.0.6.0
    Oracle Net Services 11.1.0.6.0
    Oracle Enterprise Manager Console DB 11.1.0.5.0
    Oracle Net Listener 11.1.0.6.0
    HAS Files for DB 11.1.0.6.0
    Oracle Call Interface (OCI) 11.1.0.6.0
    Enterprise Manager Agent 10.2.0.3.1
    Oracle Programmer 11.1.0.6.0
    Oracle Database Gateway for ODBC 11.1.0.6.0
    Oracle Advanced Security 11.1.0.6.0
    Oracle JVM 11.1.0.6.0
    Database Configuration and Upgrade Assistants 11.1.0.6.0
    Oracle XML Development Kit 11.1.0.6.0
    Generic Connectivity Common Files 11.1.0.6.0
    Oracle Multimedia 11.1.0.6.0
    Oracle Multimedia Locator 11.1.0.6.0
    Oracle Internet Directory Client 11.1.0.6.0
    Oracle Database Utilities 11.1.0.6.0
    Secure Socket Layer 11.1.0.6.0
    PL/SQL 11.1.0.6.0
    Oracle Recovery Manager 11.1.0.6.0
    Oracle Net 11.1.0.6.0
    Assistant Common Files 11.1.0.6.0
    Installation Common Files 11.1.0.6.0
    Enterprise Manager plugin Common Files 11.1.0.5.0
    Oracle LDAP administration 11.1.0.6.0
    SQL*Plus 11.1.0.6.0
    HAS Common Files 11.1.0.6.0
    Oracle Help for the Web 2.0.14.0.0
    Oracle UIX 2.2.20.0.0
    Precompiler Common Files 11.1.0.6.0
    Oracle Clusterware RDBMS Files 11.1.0.6.0
    Cluster Verification Utility Common Files 11.1.0.6.0
    Oracle Wallet Manager 11.1.0.6.0
    Oracle Security Developer Tools 11.1.0.6.0
    XML Parser for Java 11.1.0.6.0
    Enterprise Manager Minimal Integration 11.1.0.6.0
    Oracle Database User Interface 2.2.13.0.0
    SQL*Plus Files for Instant Client 11.1.0.6.0
    Oracle ODBC Driver 11.1.0.6.0
    Required Support Files 11.1.0.6.0
    Database SQL Scripts 11.1.0.6.0
    OLAP SQL Scripts 11.1.0.6.0
    PL/SQL Embedded Gateway 11.1.0.6.0
    Oracle Globalization Support 11.1.0.6.0
    Character Set Migration Utility 11.1.0.6.0
    Oracle Locale Builder 11.1.0.6.0
    Secure Socket Layer 11.1.0.6.0
    Oracle Java Client 11.1.0.6.0
    Oracle JDBC/THIN Interfaces 11.1.0.6.0
    Oracle Multimedia Client Option 11.1.0.6.0
    Oracle Universal Connection Pool 11.1.0.6.0
    Oracle Notification Service 11.1.0.5.0
    Oracle Code Editor 1.2.1.0.0I
    Oracle Ultra Search Server Rdbms 11.1.0.6.0
    Oracle Help For Java 4.2.9.0.0
    Oracle Containers for Java 11.1.0.6.0
    JAccelerator (COMPANION) 11.1.0.6.0
    Database Workspace Manager 11.1.0.6.0
    SQLJ Runtime 11.1.0.6.0
    Oracle Core Required Support Files 11.1.0.6.0
    Platform Required Support Files 11.1.0.6.0
    Oracle Ice Browser 5.2.3.6.0
    Oracle Application Express 11.1.0.6.0
    Oracle SQL Developer 11.1.0.6.0
    Oracle JDBC Server Support Package 11.1.0.6.0
    regexp 2.1.9.0.0
    Enterprise Manager Common Files 10.2.0.3.1
    Installation Plugin Files 11.1.0.6.0
    Oracle JDBC/OCI Instant Client 11.1.0.6.0
    XML Parser for Oracle JVM 11.1.0.6.0
    Oracle XML Query 11.1.0.6.0
    Oracle Message Gateway Common Files 11.1.0.6.0
    Oracle Starter Database 11.1.0.6.0
    Sample Schema Data 11.1.0.6.0
    Precompiler Required Support Files 11.1.0.6.0
    Parser Generator Required Support Files 11.1.0.6.0
    Oracle Multimedia Locator RDBMS Files 11.1.0.6.0
    Oracle Globalization Support 11.1.0.6.0
    Oracle Multimedia Annotator 11.1.0.6.0
    Oracle Multimedia Java Advanced Imaging 11.1.0.6.0
    Oracle Database 11g Multimedia Files 11.1.0.6.0
    Agent Required Support Files 10.2.0.3.1
    Oracle 11g Warehouse Builder Server 11.1.0.6.0
    Oracle Ultra Search Server 11.1.0.6.0
    Oracle Ultra Search Middle-Tier 11.1.0.6.0
    Oracle Ultra Search Common Files 11.1.0.6.0
    Perl Interpreter 5.8.3.0.4
    RDBMS Required Support Files 11.1.0.6.0
    Oracle Display Fonts 9.0.2.0.0
    RDBMS Required Support Files for Instant Client 11.1.0.6.0
    Enterprise Manager Agent Core Files 10.2.0.3.1
    Enterprise Manager Common Core Files 10.2.0.3.1
    Enterprise Manager Grid Control Core Files 10.2.0.3.1
    Enterprise Manager Database Plugin -- Agent Support 11.1.0.5.0
    Enterprise Manager Database Plugin -- Management Service Support 11.1.0.5.0
    Enterprise Manager Repository Core Files 10.2.0.3.1
    Enterprise Manager Database Plugin -- Repository Support 11.1.0.5.0
    Provisioning Advisor Framework 10.2.0.3.1
    XDK Required Support Files 11.1.0.6.0
    Oracle RAC Required Support Files-HAS 11.1.0.6.0
    SQL*Plus Required Support Files 11.1.0.6.0
    Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
    Oracle Extended Windowing Toolkit 3.4.47.0.0
    Oracle OLAP API 11.1.0.6.0
    Oracle OLAP RDBMS Files 11.1.0.6.0
    Oracle Data Mining RDBMS Files 11.1.0.6.0
    Oracle Real Application Testing 11.1.0.6.0
    Bali Share 1.1.18.0.0
    Buildtools Common Files 11.1.0.6.0
    Oracle Net Required Support Files 11.1.0.6.0
    SSL Required Support Files for InstantClient 11.1.0.6.0
    LDAP Required Support Files 11.1.0.6.0
    Oracle ODBC Driverfor Instant Client 11.1.0.6.0
    Oracle Configuration Manager 10.2.6.0.0
    Oracle Universal Installer 11.1.0.6.0
    Oracle One-Off Patch Installer 11.1.0.6.0
    Installer SDK Component 11.1.0.6.0
    Sun JDK 1.5.0.1.1
    INFO: Method 'dispose()' Not implemented in class 'OiCcrCsi'
    INFO: config-context initialized
    INFO: *** Install Page***
    INFO: FastCopy : File Version is Compatible
    INFO: Install mode is fastcopy mode for component 'oracle.server' with Install type 'EE'.
    INFO: Link phase has been specified as needed
    INFO: Setup phase has been specified as needed
    INFO: HomeSetup JRE files in Scratch :0
    INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/app/oracle/product/11.1.0/db_1/root.sh'. Received the value from a code block.
    INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/app/oracle/product/11.1.0/db_1/root.sh'. Received the value from a code block.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_exp_1.xml'.
    INFO: Performing fastcopy operations based on the information in the file 'racfiles.jar'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_dirs.lst'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_filemap.jar'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_1.xml'.
    INFO: Performing fastcopy operations based on the information in the file 'setperms1.sh'.
    INFO: Number of threads for fast copy :1
    WARNING: This will stop installation of all products and exit the Installer. Are you sure that you want to stop the installation and exit?
    INFO: User Selected: Yes/OK
    Thanks :)

  • Windows 7 install of Oracle 11g R2 client hangs

    The prior discussion was closed, but I have something to add, so I am opening a new thread.  The prior thread is Oracle 11g install hangs on windows 7
    I found that the very final post, by user12924267 was correct and solved the problem for me.
    The symptoms were the same or similar as what other users had reported.
    On Windows 7 workstation, I ran the 11g r2 installer.  The installer would get to the point where it was checking system requirements, and then it would just hang there forever.
    I tried disabling User Account Control (requiring a reboot), and that did not help.
    I tried disabling the firewall, and that did not help.
    However, the following command did work.  From the command prompt at the installation folder
         setup.exe -jreLoc C:\install\reinstall\sqldeveloper\jdk\jre
    Then it went all the way through and installed successfully.
    I don't think it really matters which Java folder you use.  I happened to have a Java folder that I knew worked (because I had previously successfully run SQL-Developer from it), and so I just re-used that same Java folder.  The default Java that comes with the 11g installer, is the one with the problem. 

    Pl confirm that you are following all of the steps in the Install Guide - http://download.oracle.com/docs/cd/E11882_01/install.112/e16774/toc.htm
    Try re-installing with option "-logLevel" set to "finest" to see if additional information is captured in the install logs - http://download.oracle.com/docs/cd/E11882_01/em.112/e12255/c_oui_appendix.htm#BABDADJE
    HTH
    Srini

  • Oracle 11g R2 client installation on Windows 7 64 bit hangs after performing prerequisite checks

    Windows 7 Professional SP1 64bit OS
    6 GB RAM
    380 GB free space
    Extracted client to C:\Stage\win64_11gR2_client\client
    Ran setup.exe as administrator, but the installation always hangs after step 5 of 7 is completed (Perform Prerequisite checks). Install log ends with entry "INFO: Get view named [SummaryUI]"
    What am I missing here? Any help would be greatly appreciated.
    C:\Stage\win64_11gR2_client\client>dir
    Directory of C:\Stage\win64_11gR2_client\client
    06/15/2013  02:56 PM    <DIR>          .
    06/15/2013  02:56 PM    <DIR>          ..
    06/15/2013  02:56 PM    <DIR>          doc
    06/15/2013  02:56 PM    <DIR>          install
    06/15/2013  02:56 PM    <DIR>          response
    06/15/2013  02:55 PM           341,304 setup.exe
    06/15/2013  02:55 PM                56 setup.ini
    06/15/2013  02:59 PM    <DIR>          stage
    06/15/2013  02:55 PM             4,327 welcome.html
                   3 File(s)        345,687 bytes
                   6 Dir(s)  412,474,404,864 bytes free
    Last few lines of install log:
    WARNING: Active Help Content for InstallLocationPane.cbxOracleBases do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxOracleBases.conciseHelpText
    WARNING: Active Help Content for InstallLocationPane.cbxSoftwareLoc do not exist. Error :Can't find resource for bundle oracle.install.ivw.client.resource.ContextualHelpResource, key InstallLocationPane.cbxSoftwareLoc.conciseHelpText
    INFO: View for [InstallLocationUI] is oracle.install.ivw.client.view.InstallLocationGUI@75f0f8ff
    INFO: Initializing view <InstallLocationUI> at state <getOracleHome>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Completed initializing view <InstallLocationUI> at state <getOracleHome>
    INFO: Displaying view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed displaying view <InstallLocationUI> at state <getOracleHome>
    INFO: Loading view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed loading view <InstallLocationUI> at state <getOracleHome>
    INFO: Localizing view <InstallLocationUI> at state <getOracleHome>
    INFO: Completed localizing view <InstallLocationUI> at state <getOracleHome>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOracleHome
    INFO: Completed executing action at state <getOracleHome>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOracleHome>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <getOracleHome>
    INFO: Completed validating view at state <getOracleHome>
    INFO: Validating state <getOracleHome>
    INFO: custom prereq file name: oracle.client_Administrator.xml
    INFO: refDataFile: C:\Stage\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
    INFO: isCustomRefDataFilePresent: false
    INFO: InstallAreaControl exists: false
    INFO: Checking:NEW_HOME
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:COMP
    INFO: Checking:ORCA_HOME
    INFO: Reading shiphome metadata from c:\Stage\win64_11gR2_client\client\install\..\stage\shiphomeproperties.xml
    INFO: Loading beanstore from file:/c:/Stage/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
    INFO: Translating external format into raw format
    INFO: Restoring class oracle.install.driver.oui.ShiphomeMetadata from file:/c:/Stage/win64_11gR2_client/client/install/../stage/shiphomeproperties.xml
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: size estimation for Administratorinstall is 1068.0003070831299
    INFO: PATH has :==>C:\Temp\OraInstall2013-06-17_02-55-15PM\jdk\jre\bin;.;C:\windows\system32;C:\windows;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\APPS\PuTTY\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\
    INFO: Completed validating state <getOracleHome>
    INFO: InstallLocationAction to INVENTORY_NO
    INFO: Verifying route INVENTORY_NO
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state prereqExecutionDecider
    INFO: Completed executing action at state <prereqExecutionDecider>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prereqExecutionDecider>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prereqExecutionDecider>
    INFO: Completed validating view at state <prereqExecutionDecider>
    INFO: Validating state <prereqExecutionDecider>
    WARNING: Validation disabled for the state prereqExecutionDecider
    INFO: Completed validating state <prereqExecutionDecider>
    INFO: Verifying route executeprereqs
    INFO: Get view named [PrereqUI]
    INFO: View for [PrereqUI] is [email protected]e4b
    INFO: Initializing view <PrereqUI> at state <checkPrereqs>
    INFO: Completed initializing view <PrereqUI> at state <checkPrereqs>
    INFO: Displaying view <PrereqUI> at state <checkPrereqs>
    INFO: Completed displaying view <PrereqUI> at state <checkPrereqs>
    INFO: Loading view <PrereqUI> at state <checkPrereqs>
    INFO: Completed loading view <PrereqUI> at state <checkPrereqs>
    INFO: Localizing view <PrereqUI> at state <checkPrereqs>
    INFO: Completed localizing view <PrereqUI> at state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state checkPrereqs
    INFO: custom prereq file name: oracle.client_Administrator.xml
    INFO: refDataFile: C:\Stage\win64_11gR2_client\client\stage\cvu\oracle.client_Administrator.xml
    INFO: isCustomRefDataFilePresent: false
    INFO: Completed executing action at state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state checkPrereqs
    INFO: Waiting for completion all forked tasks at state checkPrereqs
    INFO: Creating PrereqChecker Job for leaf task Physical Memory
    INFO: Creating CompositePrereqChecker Job for container task Free Space
    INFO: Creating PrereqChecker Job for leaf task Free Space: PN-PC:C:\Temp
    INFO: Creating PrereqChecker Job for leaf task Architecture
    INFO: Creating PrereqChecker Job for leaf task Environment variable: "PATH"
    INFO: CVU tracingEnabled = false
    INFO: Nodes are prepared for verification.
    INFO: *********************************************
    INFO: Physical Memory: This is a prerequisite condition to test whether the system has at least 128MB (131072.0KB) of total physical memory.
    INFO: Severity:IGNORABLE
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:128MB (131072.0KB)
    INFO: Actual Value:5.9491GB (6238064.0KB)
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Free Space: PN-PC:C:\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
    INFO: Severity:IGNORABLE
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:130MB
    INFO: Actual Value:384.1495GB
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:64-bit
    INFO: Actual Value:64-bit
    INFO: -----------------------------------------------
    INFO: *********************************************
    INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
    INFO: Severity:CRITICAL
    INFO: OverallStatus:SUCCESSFUL
    INFO: -----------------------------------------------
    INFO: Verification Result for Node:PN-PC
    INFO: Expected Value:1023
    INFO: Actual Value:369
    INFO: -----------------------------------------------
    INFO: All forked task are completed at state checkPrereqs
    INFO: Completed background operations
    INFO: Moved to state <checkPrereqs>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <checkPrereqs>
    INFO: Completed validating view at state <checkPrereqs>
    INFO: Validating state <checkPrereqs>
    INFO: Using default Validator configured in the Action class oracle.install.ivw.client.action.PrereqAction
    INFO: Completed validating state <checkPrereqs>
    INFO: Verifying route success
    INFO: Get view named [SummaryUI]

    Yes, I've tried using the -jreLoc option but it doesn't seem to like the path.
    Version 6.0.200.2 is at C:\Program Files (x86)\Java\jre6\bin
    C:\Stage\win64_11gR2_client\client>setup.exe -jreLoc "C:\Program Files (x86)\Java\jre6"
    Starting Oracle Universal Installer...
    Checking monitor: must be configured to display at least 256 colors Higher than 256 .    Actual 4294967296     Passed
    Preparing to launch Oracle Universal Installer from C:\Temp\OraInstall2013-06-17_04-47-16PM. Please wait ...
    The Java RunTime Environment was not found at "C:\Program Files (x86)\Java\jre6"\bin\javaw.exe. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again
    I downloaded a newer version to C:\APPS\Java thinking the space in the path for Program Files (x86) might be a problem, but that also fails with the same error message
    Version 7.0.210.11 is at C:\APPS\Java\bin
    C:\Stage\win64_11gR2_client\client>setup.exe -jreLoc "C:\APPS\Java\"
    Starting Oracle Universal Installer...
    Checking monitor: must be configured to display at least 256 colors Higher than 256 .    Actual 4294967296     Passed
    Preparing to launch Oracle Universal Installer from C:\Temp\OraInstall2013-06-17_05-09-13PM. Please wait ...
    The Java RunTime Environment was not found at C:APPS\Java"\bin\javaw.exe. Hence, the Oracle Universal Installer cannot be run.
    Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again

  • Select first and last records in grouped results - Oracle 11g

    Say I have the following information in an Oracle 11g table:
    Qty
    Production order
    Date and time
    20
    00000000000000001
    12-JAN-14 00:02
    20
    00000000000000001
    12-JAN-14 00:05
    20
    00000000000000001
    12-JAN-14 00:07
    20
    00000000000000001
    13-JAN-14 00:09
    30
    00000000000000002
    12-JAN-14 00:11
    30
    00000000000000002
    12-JAN-14 00:15
    30
    00000000000000002
    12-JAN-14 00:20
    30
    00000000000000002
    14-JAN-14 00:29
    I would like to write a query that would return the following:
    Qty
    Production order
    First
    Last
    80
    00000000000000001
    12-JAN-14 00:02
    13-JAN-14 00:09
    120
    00000000000000002
    12-JAN-14 00:11
    14-JAN-14 00:29
    That is, the sum of the Qty column grouped by Production order, and the date/time of the first and last records for each Production order.
    I came up with a query that yielded this result:
    Qty
    Production order
    First
    Last
    80
    00000000000000001
    12-JAN-14 00:02
    14-JAN-14 00:29
    120
    00000000000000002
    12-JAN-14 00:02
    14-JAN-14 00:29
    Which means that the First and Last columns show the overall first and last date / time of the whole table. Please note that this is a dummy table. Sorry I am now allowed to write the actual query
    I came up with since work policies do not allow me to share it. Also, I tried with windowing functions such as rank()and row_number() but my user does not have enough privileges to do so.
    Any help or hints will be greatly appreciated.

    Due to the fact that Oracle does not record the rows in any particular order, it would be wrong that the "first date" would be the first row processed by the query.
    Therefore you would have to supply some other column if you do not want to consider the table as ordered by date.
    Also, any analytical functions will need you to supply the "order by" and if its the date, then just a simple query will do:
    SQL>WITH Tab1 (Qty, Production_Order, Pdate)
      2       AS (SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:02', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      3           SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:05', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      4           SELECT 20, '00000000000000001', TO_DATE ( '12-JAN-14 00:07', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      5           SELECT 20, '00000000000000001', TO_DATE ( '13-JAN-14 00:09', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      6           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:11', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      7           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:15', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      8           SELECT 30, '00000000000000002', TO_DATE ( '12-JAN-14 00:20', 'DD-MON-YY HH24:MI') FROM DUAL UNION ALL
      9           SELECT 30, '00000000000000002', TO_DATE ( '14-JAN-14 00:29', 'DD-MON-YY HH24:MI') FROM DUAL)
    10  SELECT   SUM ( Qty), Production_Order, MIN ( Pdate), MAX ( Pdate)
    11      FROM Tab1
    12  GROUP BY Production_Order
    13* ORDER BY Production_Order
    SQL> /
      SUM(QTY) PRODUCTION_ORDER     MIN(PDATE)                    MAX(PDATE)
            80 00000000000000001    12-Jan-2014 00:02:00          13-Jan-2014 00:09:00
           120 00000000000000002    12-Jan-2014 00:11:00          14-Jan-2014 00:29:00

  • Oracle 11g Installation How to select Database Character Set

    Hi,
    I am Installing oracle 11g R2. After installation I had verified the character set it was AL16UTF16 but I wants to set AL32UTF8 charater set at the time of oracle installation only. I can't see the character set setting opetion at the time of installation because I am selecting the installation option " Install database softerware only" and after installation of oracle software manually I am creating the database. Please help me how can I set the character set at the time of oracle installation or at the time of database creation.
    My question is-
    How can I set the AL32UTF8 character set in above scenario?
    Why It is showing AL16UTF16 character set even I did not define any thing?

    But is there any choice to set the NLS_CHARACTERSET at the time of manually database creation. Actually For creating the database i am using one shell script for seting the parameter values in init.ora file so can I set the parameter at that level(at the time of creating init.ora using manually database creation). like
    ## Original init.ora file created by manual database creation tool on ${DATE}.
    *.aq_tm_processes=0
    *.background_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/bdump'
    *.compatible='10.2.0'
    *.control_files='/$db_file_loc/oradata/$ORACLE_SID/control01.ctl','/$db_file_loc/oradata/$ORACLE_SID/control02.ctl','/$db_file_loc/oradata/$ORACLE_SID/control03.ctl'
    *.core_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/cdump'
    *.db_block_size=8192
    *.db_cache_size=104857600
    *.db_domain='$server_name'
    *.db_file_multiblock_read_count=8
    *.db_name='$ORACLE_SID'
    *.fast_start_mttr_target=300
    *.instance_name='$ORACLE_SID'
    *.java_pool_size=16777216
    *.job_queue_processes=4
    *.large_pool_size=16777216
    *.log_archive_dest='/u05/oradata/$ORACLE_SID'
    *.log_archive_format='$ORACLE_SID_%s_%t_%r.arc'
    *.olap_page_pool_size=4194304
    *.open_cursors=500
    *.optimizer_index_cost_adj=50
    *.pga_aggregate_target=536870912
    *.processes=1500
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=83886080
    *.sort_area_size=1048576
    *.sga_max_size=1048576000
    *.sga_target=536870912
    *.star_transformation_enabled='TRUE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='$ORACLE_BASE/admin/$ORACLE_SID/udump'
    *.utl_file_dir='/export/home/oracle/utlfiles'
    **.nls_characterset='AL32UTF8'*
    EOF
    Is it correct?

  • Deinstall Oracle 11g client hangs on Windows 7 Enterprise 64-bit

    Hi,
    I am trying to dinstall Oracle 11g client on Windows 7 Enterprise 64-bit but the process hangs when it reaches the following:
    Removing Windows and .NET products configuration START
    It just hangs there for ever!
    Checking the log file C:\Program Files\Oracle\Inventory\logs\winprod_cleanup.out and I can see the last thing in there is ""Deconfiguring ODP.NET Component...""
    Any idea what could be the reason?
    Thanks,
    Firas
    Edited by: user10442582 on Apr 13, 2011 1:13 PM
    Edited by: user10442582 on Apr 13, 2011 1:15 PM
    Edited by: user10442582 on Apr 13, 2011 1:28 PM

    I was able to resolve it...Apparently I was logged on as administrator when I invoked deinstall which caused it to hang when it came to the part where it was getting ready to deinstall the .NET components...I logged off and loged in as myself and invoked the deinstall and it completed successfully...

  • How do I migrate views from MS SQL 2008 to Oracle 11g through SQL Developer

    Is there any way to migrate the views from MS SQL 2008 to Oracle 11g through SQL Developer? Please give me some detail steps. Thanks for your help.
    Kevin

    Hi Kevin,
    user13531850 wrote:
    Hi Turloch,
    When I use migrate to oracle, I got a problem, the migrate tool create a new schema for me in my case (AZTECA_KSMMS), it migrates all the stuffs under that schema (AZTECA_KSMMS). However my application need the all the Oracle data under schema AZTECA instead of AZTECA_KSMMS. Is there any way to specify specific schema (AZTECA) for target oracle database? Schema remapping is available:
    First Capture (separately) then during right click convert on the captured model there is a Specify the conversion options with a Object Naming tab where the schema (and other) name changes are editable.
    I have not used this recently.
    Also during the migration process, when I choose repository, there is a check box for truncate to reset repository to empty state, Do I need to check that truncate Check Box so the repository will be cleared from last migration?The repository can hold multple migration attempts. Check truncate to get rid of previous attempts information. This cleans up the repository - not the destination database.
    There are also online database and offline database options during the migration process, what are the difference between these two choices? After I migrated to Oracle, all my views has a red cross icon next to it. Does that mean the view migration is failed or not? Please give me your comments. Thanks for your help.offline: for big (amount of data) databases with simple data types,
    uses bcp + files + scripts + sqlldr.
    online: for small (amount of data) databases (easier),
    uses (Java) jdbc.
    The view is likely to be broken - recompiling it may help.
    The Oracle schema is created using a .sql file - see under generated in the directory you gave originally in the wizard. There is a .out file that contains the result of running this script including any errors. During conversion there are also likely to be warnings displayed on the UI.
    There may be a single issue that is causing multiple issues - if viewa depends on functionb, and functionb is broken, viewa will also fail.
    >
    Kevin-Turloch
    SQLDeveloper Team

Maybe you are looking for