Oracle 11g XE UNLIMITED!

Oracle 11g XE must compete directly against DB2 Express C9:
*Unlimited Storage.
*2 CPUS.
*Memory 4GB.
*Unlimited instances
*32 and 64 bits.
*Optional Replication.
If ORACLE wants to position itself as #1 in the world of the data bases free, must be AGGRESSIVE.

Hi Gary,
Because the only real advantage of 64bit over 32bit is the more memory it can address.That's not strictly true (saying that that is the only real advantage). One of the other significant advantages of 64bit over 32bit is the extended register size, allowing manipulation and calculations of large numbers (i.e. numbers that's are larger than would fit into a 32bit register) much easier and faster.
A while ago I helped out on a (non Oracle related) scientific 'number-crunching' project where we basically gave some calculations to a cluster of AMD Opteron servers to churn through. We found that simply by recompiling the program as a 64bit executable rather than a 32bit executable led to around a 20% increase in speed (there were no other changes to the program, no other special GCC compiler options other than compiling as 64bit).
This was a very 'edge case', since the program was a pure calculation engine (it typically ran for around 4 weeks over 24 CPU's, i.e. around 672 CPU days of calculation), so the 20% increase in speed resulted in a very good gain in terms of the number of days saved.
So, in the case of the Oracle DB code you might not see anything noticibly faster about running in 64bit, I'm sure it probably helps out a few of those math calculations churning away inside to run a bit faster.
I agree with you that the memory is probably the key advantage for the 64bit move, however it's not the only advantage.
John.
http://jes.blogs.shellprompt.net

Similar Messages

  • What are the privileges required for explain plan in Oracle 11g database

    I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
    select * from zonewisearpu
    It does a select on the view but when I give explain plan like
    explain plan for
    select * from zonewisearpu
    I get the error like insufficient privileges.
    Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
    I hope, my question is clear.
    It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
    Regards

    975148 wrote:
    Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
    Requesting for a revert to this.
    Here is a simple test case that I have perfomed
    SQL> create user test1 identified by test1;
    User created.
    SQL> create user test2 identified by test1;
    User created.
    SQL> grant connect, resource to test1,test2;
    Grant succeeded.
    SQL> create table test1.tab1 as select * from v$session;
    Table created.
    SQL> connect test2/test1
    Conencted.
    SQL> show user
    USER is "TEST2"
    SQL>
    SQL> explain plan for
      2  select sid,serial#,status,username from test1.tab1 where username<> '';
    Explained.
    SQL>
    So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
    As far as privileges are concerned, following is the list
    SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE                        GRANTED_ROLE                   ADM DEF
    TEST1                          CONNECT                        NO  YES
    TEST1                          RESOURCE                       NO  YES
    TEST2                          CONNECT                        NO  YES
    TEST2                          RESOURCE                       NO  YES
    SQL>
    SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    OWNER      TABLE_NAME           PRIVILEGE
    TEST2      TEST1      TAB1                 SELECT
    SQL>
    SQL>  select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    PRIVILEGE                      ADM
    TEST1      UNLIMITED TABLESPACE           NO
    TEST2      UNLIMITED TABLESPACE           NO
    SQL>

  • Help on pivoting in oracle 11g

    Hello,
    I trying build a dynamic report with unlimited rows and columns. So I have 3 tables. The first table has report names mean while the second and the third tables have rows and columns information respectively.
    -- table for report
    reportid reportname
    1 purchase
    2 vendor
    -- table for report rows
    rowid rowname reportid
    1 soap 1
    2 shampoo 1
    --table for report columns
    colid colname reportid
    1 liquid 1
    2 kids 1
    From those tables, I want to have a result like:
    rowname liquid 1 kids 2
    soap
    shampoo
    How do I obtain this kind of result using pivot in oracle 11g? If I can have, end users have to enter some values to the soap and liquid row, soap and kids rows,... Then I have to execute some query getting new values and column id.
    Thank you.

    user12144220  wrote:
    Hello,
    I trying build a dynamic report with unlimited rows and columns. So I have 3 tables. The first table has report names mean while the second and the third tables have rows and columns information respectively.
    -- table for report
    reportid reportname
    1 purchase
    2 vendor
    -- table for report rows
    rowid rowname reportid
    1 soap 1
    2 shampoo 1
    --table for report columns
    colid colname reportid
    1 liquid 1
    2 kids 1
    From those tables, I want to have a result like:
    rowname liquid 1 kids 2
    soap
    shampoo
    How do I obtain this kind of result using pivot in oracle 11g? If I can have, end users have to enter some values to the soap and liquid row, soap and kids rows,... Then I have to execute some query getting new values and column id.
    Thank you.hows does actual report generation know, decide, or determine
    from which table the actual columns are to be obtained?
    some,many, most reports join two or more tables.
    How does this design support joining tables required for reporting against more than 1 table?
    some,many,most reports contain computed values like SUM(), COUNT(), etc.
    Are you conceding that none of your reports will contain any of these values?

  • 'Maximum Performance' protection in oracle 11g

    Hi,
    I am working on dataguard setup in oracle 11g maximum
    'Maximum Performance' mode requires Standby redo logs
    i was doing switch over test and i am getting this error appreciated for your inputs.
    DGMGRL> show configuration verbose;
    Configuration
      Name:                qecgpoce_DG
      Enabled:             YES
      Protection Mode:     MaxPerformance
      Databases:
        qecgpoce - Primary database
        qecgpoca - Physical standby database
    Fast-Start Failover: DISABLED
    Current status for "qecgpoce_DG":
    Warning: ORA-16607: one or more databases have failed
    DGMGRL> show database verbose qecgpoce;
    Database
      Name:            qecgpoce
      Role:            PRIMARY
      Enabled:         YES
      Intended State:  TRANSPORT-ON
      Instance(s):
        qecgpoce
      Properties:
        DGConnectIdentifier             = 'qecgpoce'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'SYNC'
        DelayMins                       = '0'
        Binding                         = 'OPTIONAL'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
        LogFileNameConvert              = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
        FastStartFailoverTarget         = ''
        StatusReport                    = '(monitor)'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        HostName                        = 'ieedc-vzdb17'
        SidName                         = 'qecgpoce'
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = '/u01/app/oracle/admin/qecgpoce/arch'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = 'qecgpoc%s%t%r.arc'
        LatestLog                       = '(monitor)'
        TopWaitEvents                   = '(monitor)'
    Current status for "qecgpoce":
    Warning: ORA-16789: standby redo logs not configured
    DGMGRL> show database verbose qecgpoca;
    Database
      Name:            qecgpoca
      Role:            PHYSICAL STANDBY
      Enabled:         YES
      Intended State:  APPLY-ON
      Instance(s):
        qecgpoca
      Properties:
        DGConnectIdentifier             = 'qecgpoca'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ARCH'
        DelayMins                       = '0'
        Binding                         = 'OPTIONAL'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
        LogFileNameConvert              = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
        FastStartFailoverTarget         = ''
        StatusReport                    = '(monitor)'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        HostName                        = 'usadc-vzdb32'
        SidName                         = 'qecgpoca'
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = '/u01/app/oracle/admin/qecgpoca/arch'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = 'qecgpoc%s%t%r.arc'
        LatestLog                       = '(monitor)'
        TopWaitEvents                   = '(monitor)'
    Current status for "qecgpoca":
    Error: ORA-16766: Redo Apply is stoppedThanks
    Prakash

    Hi,
    secondary parameter file;
    SQL> show parameter _
    NAME                                 TYPE        VALUE
    O7_DICTIONARY_ACCESSIBILITY          boolean     FALSE
    active_instance_count                integer
    aq_tm_processes                      integer     0
    archive_lag_target                   integer     0
    asm_diskgroups                       string
    asm_diskstring                       string
    asm_power_limit                      integer     1
    asm_preferred_read_failure_groups    string
    audit_file_dest                      string      /u01/app/oracle/admin/qecgpoca
                                                     /adump
    audit_sys_operations                 boolean     FALSE
    NAME                                 TYPE        VALUE
    audit_syslog_level                   string
    audit_trail                          string      NONE
    background_core_dump                 string      partial
    background_dump_dest                 string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic/diag/rdbms/qecgpoc
                                                     a/qecgpoca/trace
    backup_tape_io_slaves                boolean     FALSE
    bitmap_merge_area_size               integer     1048576
    blank_trimming                       boolean     FALSE
    buffer_pool_keep                     string
    buffer_pool_recycle                  string
    NAME                                 TYPE        VALUE
    cell_offload_compaction              string      ADAPTIVE
    cell_offload_parameters              string
    cell_offload_plan_display            string      AUTO
    cell_offload_processing              boolean     TRUE
    cell_partition_large_extents         string      DEFAULT
    circuits                             integer
    client_result_cache_lag              big integer 3000
    client_result_cache_size             big integer 0
    cluster_database                     boolean     FALSE
    cluster_database_instances           integer     1
    cluster_interconnects                string
    NAME                                 TYPE        VALUE
    commit_logging                       string
    commit_point_strength                integer     1
    commit_wait                          string
    commit_write                         string
    compatible                           string      11.0.0.0.0
    control_file_record_keep_time        integer     7
    control_files                        string      /mounts/qecgpoca_data/oradata/
                                                     qecgpoca/dbfiles/control.ctl
    control_management_pack_access       string      DIAGNOSTIC+TUNING
    core_dump_dest                       string      /u01/app/oracle/admin/qecgpoca
                                                     /cdump/
    NAME                                 TYPE        VALUE
    cpu_count                            integer     16
    create_bitmap_area_size              integer     8388608
    create_stored_outlines               string
    cursor_sharing                       string      EXACT
    cursor_space_for_time                boolean     FALSE
    db_16k_cache_size                    big integer 0
    db_2k_cache_size                     big integer 0
    db_32k_cache_size                    big integer 0
    db_4k_cache_size                     big integer 0
    db_8k_cache_size                     big integer 0
    db_block_buffers                     integer     0
    NAME                                 TYPE        VALUE
    db_block_checking                    string      FALSE
    db_block_checksum                    string      TYPICAL
    db_block_size                        integer     8192
    db_cache_advice                      string      ON
    db_cache_size                        big integer 168M
    db_create_file_dest                  string
    db_create_online_log_dest_1          string
    db_create_online_log_dest_2          string
    db_create_online_log_dest_3          string
    db_create_online_log_dest_4          string
    db_create_online_log_dest_5          string
    db_domain                            string
    db_file_multiblock_read_count        integer     61
    db_file_name_convert                 string      /mounts/qecgpoce_data/oradata/
                                                     qecgpoce/dbfiles, /mounts/qecg
                                                     poca_data/oradata/qecgpoca/dbf
                                                     iles
    db_files                             integer     200
    db_flashback_retention_target        integer     1440
    db_keep_cache_size                   big integer 0
    db_lost_write_protect                string      NONE
    db_name                              string      qecgpoce
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string
    db_recovery_file_dest_size           big integer 0
    db_recycle_cache_size                big integer 0
    db_securefile                        string      PERMITTED
    db_ultra_safe                        string      OFF
    db_unique_name                       string      qecgpoca
    db_writer_processes                  integer     4
    dbwr_io_slaves                       integer     0
    ddl_lock_timeout                     integer     0
    dg_broker_config_file1               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/dr1qecgpoca.dat
    NAME                                 TYPE        VALUE
    dg_broker_config_file2               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/dr2qecgpoca.dat
    dg_broker_start                      boolean     TRUE
    diagnostic_dest                      string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic
    disk_asynch_io                       boolean     TRUE
    dispatchers                          string
    distributed_lock_timeout             integer     60
    dml_locks                            integer     1472
    drs_start                            boolean     FALSE
    enable_ddl_logging                   boolean     FALSE
    NAME                                 TYPE        VALUE
    event                                string
    fal_client                           string      qecgpoca
    fal_server                           string      qecgpoce
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     300
    fast_start_parallel_rollback         string      LOW
    file_mapping                         boolean     FALSE
    fileio_network_adapters              string
    filesystemio_options                 string      asynch
    fixed_date                           string
    gc_files_to_locks                    string
    NAME                                 TYPE        VALUE
    gcs_server_processes                 integer     0
    global_context_pool_size             string
    global_names                         boolean     FALSE
    global_txn_processes                 integer     1
    hash_area_size                       integer     131072
    hi_shared_memory_address             integer     0
    hs_autoregister                      boolean     TRUE
    ifile                                file
    instance_groups                      string
    instance_name                        string      qecgpoca
    instance_number                      integer     0
    NAME                                 TYPE        VALUE
    instance_type                        string      RDBMS
    java_jit_enabled                     boolean     TRUE
    java_max_sessionspace_size           integer     0
    java_pool_size                       big integer 152M
    java_soft_sessionspace_limit         integer     0
    job_queue_processes                  integer     0
    large_pool_size                      big integer 4M
    ldap_directory_access                string      NONE
    ldap_directory_sysauth               string      no
    license_max_sessions                 integer     0
    license_max_users                    integer     0
    NAME                                 TYPE        VALUE
    license_sessions_warning             integer     0
    local_listener                       string
    lock_name_space                      string
    lock_sga                             boolean     FALSE
    log_archive_config                   string      dg_config=(qecgpoce,qecgpoca)
    log_archive_dest                     string
    log_archive_dest_1                   string      location="/u01/app/oracle/admi
                                                     n/qecgpoca/arch",  valid_for=(
                                                     ALL_LOGFILES,ALL_ROLES)
    log_archive_dest_10                  string
    log_archive_dest_2                   string      service=qecgpoce lgwr async va
    NAME                                 TYPE        VALUE
                                                     lid_for=(online_logfiles,prima
                                                     ry_role) db_unique_name=qecgpo
                                                     ce
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      ENABLE
    NAME                                 TYPE        VALUE
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      enable
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    log_archive_duplex_dest              string
    log_archive_format                   string      qecgpoc%s%t%r.arc
    NAME                                 TYPE        VALUE
    log_archive_local_first              boolean     TRUE
    log_archive_max_processes            integer     4
    log_archive_min_succeed_dest         integer     1
    log_archive_start                    boolean     FALSE
    log_archive_trace                    integer     0
    log_buffer                           integer     4197376
    log_checkpoint_interval              integer     0
    log_checkpoint_timeout               integer     1800
    log_checkpoints_to_alert             boolean     FALSE
    log_file_name_convert                string      /u01/app/oracle/admin/qecgpoce
                                                     /arch, /u01/app/oracle/admin/q
    NAME                                 TYPE        VALUE
                                                     ecgpoca/arch
    max_commit_propagation_delay         integer     0
    max_dispatchers                      integer
    max_dump_file_size                   string      unlimited
    max_enabled_roles                    integer     150
    max_shared_servers                   integer
    memory_max_target                    big integer 0
    memory_target                        big integer 0
    nls_calendar                         string
    nls_comp                             string      BINARY
    nls_currency                         string
    NAME                                 TYPE        VALUE
    nls_date_format                      string
    nls_date_language                    string
    nls_dual_currency                    string
    nls_iso_currency                     string
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string
    nls_sort                             string
    nls_territory                        string      AMERICA
    nls_time_format                      string
    NAME                                 TYPE        VALUE
    nls_time_tz_format                   string
    nls_timestamp_format                 string
    nls_timestamp_tz_format              string
    object_cache_max_size_percent        integer     10
    object_cache_optimal_size            integer     102400
    olap_page_pool_size                  big integer 0
    open_cursors                         integer     300
    open_links                           integer     4
    open_links_per_instance              integer     4
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    NAME                                 TYPE        VALUE
    optimizer_features_enable            string      11.1.0.7
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    os_authent_prefix                    string      ops$
    os_roles                             boolean     FALSE
    parallel_adaptive_multi_user         boolean     FALSE
    NAME                                 TYPE        VALUE
    parallel_automatic_tuning            boolean     FALSE
    parallel_execution_message_size      integer     2152
    parallel_instance_group              string
    parallel_io_cap_enabled              boolean     FALSE
    parallel_max_servers                 integer     2
    parallel_min_percent                 integer     0
    parallel_min_servers                 integer     0
    parallel_server                      boolean     FALSE
    parallel_server_instances            integer     1
    parallel_threads_per_cpu             integer     2
    pga_aggregate_target                 big integer 100M
    NAME                                 TYPE        VALUE
    plscope_settings                     string      IDENTIFIERS:NONE
    plsql_ccflags                        string
    plsql_code_type                      string      INTERPRETED
    plsql_debug                          boolean     FALSE
    plsql_native_library_dir             string
    plsql_native_library_subdir_count    integer     0
    plsql_optimize_level                 integer     2
    plsql_v2_compatibility               boolean     FALSE
    plsql_warnings                       string      DISABLE:ALL
    pre_page_sga                         boolean     FALSE
    processes                            integer     300
    NAME                                 TYPE        VALUE
    query_rewrite_enabled                string      TRUE
    query_rewrite_integrity              string      enforced
    rdbms_server_dn                      string
    read_only_open_delayed               boolean     FALSE
    recovery_parallelism                 integer     0
    recyclebin                           string      on
    redo_transport_user                  string
    remote_dependencies_mode             string      TIMESTAMP
    remote_listener                      string
    remote_login_passwordfile            string      EXCLUSIVE
    remote_os_authent                    boolean     FALSE
    NAME                                 TYPE        VALUE
    remote_os_roles                      boolean     FALSE
    replication_dependency_tracking      boolean     TRUE
    resource_limit                       boolean     FALSE
    resource_manager_cpu_allocation      integer     16
    resource_manager_plan                string      SYSTEM_PLAN
    result_cache_max_result              integer     5
    result_cache_max_size                big integer 5M
    result_cache_mode                    string      MANUAL
    result_cache_remote_expiration       integer     0
    resumable_timeout                    integer     0
    rollback_segments                    string
    NAME                                 TYPE        VALUE
    sec_case_sensitive_logon             boolean     TRUE
    sec_max_failed_login_attempts        integer     10
    sec_protocol_error_further_action    string      CONTINUE
    sec_protocol_error_trace_action      string      TRACE
    sec_return_server_release_banner     boolean     FALSE
    serial_reuse                         string      disable
    service_names                        string      qecgpoca
    session_cached_cursors               integer     50
    session_max_open_files               integer     10
    sessions                             integer     335
    sga_max_size                         big integer 1000M
    sga_target                           big integer 0
    shadow_core_dump                     string      partial
    shared_memory_address                integer     0
    shared_pool_reserved_size            big integer 25M
    shared_pool_size                     big integer 500M
    shared_server_sessions               integer
    shared_servers                       integer     0
    skip_unusable_indexes                boolean     TRUE
    smtp_out_server                      string
    sort_area_retained_size              integer     0
    sort_area_size                       integer     65536
    NAME                                 TYPE        VALUE
    spfile                               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/spfileqecgpoca.ora
    sql92_security                       boolean     FALSE
    sql_trace                            boolean     FALSE
    sql_version                          string      NATIVE
    sqltune_category                     string      DEFAULT
    standby_archive_dest                 string      ?/dbs/arch
    standby_file_management              string      AUTO
    star_transformation_enabled          string      FALSE
    statistics_level                     string      TYPICAL
    streams_pool_size                    big integer 0
    NAME                                 TYPE        VALUE
    tape_asynch_io                       boolean     TRUE
    thread                               integer     0
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    trace_enabled                        boolean     TRUE
    tracefile_identifier                 string
    transactions                         integer     368
    transactions_per_rollback_segment    integer     5
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTBS1
    sort_area_retained_size              integer     0
    sort_area_size                       integer     65536
    NAME                                 TYPE        VALUE
    spfile                               string      /u01/app/oracle/product/11.1.0
                                                     .7/dbs/spfileqecgpoca.ora
    sql92_security                       boolean     FALSE
    sql_trace                            boolean     FALSE
    sql_version                          string      NATIVE
    sqltune_category                     string      DEFAULT
    standby_archive_dest                 string      ?/dbs/arch
    standby_file_management              string      AUTO
    star_transformation_enabled          string      FALSE
    statistics_level                     string      TYPICAL
    streams_pool_size                    big integer 0
    NAME                                 TYPE        VALUE
    tape_asynch_io                       boolean     TRUE
    thread                               integer     0
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    trace_enabled                        boolean     TRUE
    tracefile_identifier                 string
    transactions                         integer     368
    transactions_per_rollback_segment    integer     5
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTBS1
    NAME                                 TYPE        VALUE
    use_indirect_data_buffers            boolean     FALSE
    user_dump_dest                       string      /u01/app/oracle/admin/qecgpoca
                                                     /diagnostic/diag/rdbms/qecgpoc
                                                     a/qecgpoca/trace
    utl_file_dir                         string
    workarea_size_policy                 string      AUTO
    xml_db_events                        string      enableThanks
    Prakash

  • "Rows" statistics from STAT in trace event 10046, Oracle 11g.

    Hi, all!
    Why "Rows" statistics in STAT are different for 10g and 11g?
    I have two database with version 10g and 11g, with the same data.
    I executed some pl/sql code with tracing 10046 level 8.
    And I have different result when obtain raw trace.
    In 10g I obtain rows statistics for all executions - Rows= 7.
    In 11g I obtain rows statistics for first executions - Rows= 1. Why?
    See my example:
    declare
         type t_name_tbl is table of varchar2(30) index by binary_integer;
         v_name_tbl t_name_tbl;
         v_len      number := 10;
    begin
         execute immediate 'alter session set timed_statistics = true ';
         execute immediate 'alter session set statistics_level=all ';
         execute immediate 'alter session set max_dump_file_size = unlimited ';
         execute immediate 'alter session set events ''10046 trace name context forever,level 8'' ';
         loop
           select cour_name bulk collect
                into v_name_tbl
               from country t
              where length(t.cour_name) = v_len;
           exit when v_len = 0;
           v_len := v_len - 1;
           for i in 1 .. v_name_tbl.count loop
             dbms_output.put_line(v_name_tbl(i));
           end loop;
         end loop;
    end;Result Tkprof for Oracle 10g:
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute     11      0.00       0.00          0          0          0           0
    Fetch       11      0.01       0.00          0         44          0           7
    total       23      0.01       0.00          0         44          0           7
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 649     (recursive depth: 1)
    Rows     Row Source Operation
          7  TABLE ACCESS FULL COUNTRY (cr=44 pr=0 pw=0 time=1576 us)Result Tkprof for Oracle 11g:
    SQL ID: 3kqmkg8jp5nwk
    Plan Hash: 1371235632
    SELECT COUR_NAME
    FROM
    COUNTRY T WHERE LENGTH(T.COUR_NAME) = :B1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.01       0.00          0          0          0           0
    Execute     11      0.02       0.01          0          0          0           0
    Fetch       11      0.00       0.01          3         44          0           7
    total       23      0.03       0.02          3         44          0           7
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 82     (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL COUNTRY (cr=4 pr=3 pw=0 time=0 us cost=2 size=44 card=2)Were can I read about it?

    Oracle 11g by default writes the execution plan (the STAT lines in the raw trace file) after the first execution of the SQL statement, while prior to 11g the execution plan is written only when the cursor is closed.
    The behavior in 11g can be controlled by changing the PLAN_STAT parameter of the call that enables the trace from the default value of FIRST_EXECUTION to ALL_EXECUTIONS:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sessio.htm#i1010518
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.
    Edited by: Charles Hooper on Aug 9, 2010 3:33 PM
    Default value on 11g is FIRST_EXECUTION, while the behavior prior to 11g is ALL_EXECUTIONS - corrected the incomplete sentence.

  • Oracle 11g - External Table/SQL Developer Issue?

    Oracle 11g - External Table/SQL Developer Issue?
    ==============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.

    I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.

  • Oracle 11g-R1 Enterprise Manager Not Working

    Hi to All Respected Gurus!
    I am unable to access enterprise manager. When I enter https://10.0.2.106:1158/em, it gives me a window with following messages
    Database Instance = Down, Host = 10.0.2.106, Port = 1521, SID = fgfc, Oracle Home= D:\app\Administrator\product\11.1.0\db1_
    Listener = UP
    Agent Connection to Instance = Down, Status = Failed, Details = ORA-28001: the password has expired (DBD ERROR: OCISessionBegin)
    Please help me in this regard. Thanks in advance for your as usual cooperation.

    Your DBSNMP password has changed or the DBSNMP has a (default) profile that forces you to change the password every xx days. I think the last is the case.
    You could create a new profile with a password_life_time unlimited for the user DBSNMP or change in the default profile the password_life_time to unlimited (if security rules permit to do so).
    Also see MOS note (for Grid Control): Grid Control Shows DBSNMP Account Locked ORA-28000 Or Agent Connection to Instance Failed ORA-28001 Password Expired From Database Home Page [ID 352585.1]
    and https://communities.netapp.com/community/netapp-blogs/databases/blog/2011/08/10/oracle-11g--password-expires how you can create a new profile or change the default profile.
    If the DBSNMP account gets locked you can unlock it by: alter user dbsnmp account unlock;
    Eric

  • Oracle 11g - External Table Issue SQL - PL/SQL?

    Oracle 11g - External Table Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
    It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.
    Edited by: qwe16235 on Jun 11, 2011 11:31 AM

    I'm not sure, but maybe you should get rid of the redundancy that you have in your CREATE TABLE statement.
    This line covers all fields:
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    {code}
    So I would change the field list to:
    {code}
    DATE1 CHAR (10),
    DATE2 CHAR (10),
    POL_PRTY CHAR (30),
    P_NAME CHAR (30),
    P_ROLE CHAR (5)
    {code}
    It worked on my installation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11g - External Table Issue?

    Oracle 11g - External Table Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.
    Edited by: qwe16235 on Jun 10, 2011 2:16 PM

    The following worked for me:
    drop table p_load;
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY scott_def_dir1
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    badfile scott_def_dir2:'p_load_%a_%p.bad'
    logfile scott_def_dir2:'p_load_%a_%p.log'
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
    Note that I had to interchange the two lines:
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    Just to get the access parameters to parse correctly.
    I added two empty lines, one in the middle and one at the end - both were rejected.
    In the log file, you will see the rejectiions:
    $ cat p_load_000_9219.log
    LOG file opened at 07/08/11 19:47:23
    Field Definitions for table P_LOAD
    Record format DELIMITED BY NEWLINE
    Data in file has same endianness as the platform
    Reject rows with all null fields
    Fields in Data Source:
    DATE1 CHAR (10)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    DATE2 CHAR (10)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    POL_PRTY CHAR (30)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    P_NAME CHAR (30)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    P_ROLE CHAR (5)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    KUP-04073: record ignored because all referenced fields are null for a record
    KUP-04073: record ignored because all referenced fields are null for a record
    Input Data:
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    4-Aug-70,20-Jan-75,Independent
    Result:
    SQL> select * from p_load;
    DATE1 DATE2 POL_PRTY P_NAME P_ROL
    20-Jan-66 22-Nov-69 Democratic John MMM
    22-Nov-70 20-Jan-71 Democratic John Jr. MMM
    20-Jan-68 9-Aug-70 Republican Rick Ford Sr. MMM
    9-Aug-72 20-Jan-75 Republican Henry MMM
    Regards,
    - Allen

  • Migrate peoplesoft sybase HRMS database to oracle 11g

    Hi All,
    I want to know if I can migrate a sybase peoplesoft HRMS database to oracle 11g using sql developer 3.0. I am trying to do this following the steps given in the link below but it is taking for ever for the convert step, I could see the messae saying building converted model.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SybaseMigration/SybaseMigration.htm
    The sybase database is 55GB and the version is 12. There are around 20,000 tables in Sybase Database.
    Please advise, if this is possible with SQL Developer??
    If yes, how long this process might take(for each step in the above link), based on any past convertions of the same size database??
    If this is not feasable with SQL Developer because of the complexity of the database, are there any other tools we can look into which might be faster/better than SQL Developer.
    Please advise.
    Thanks..

    Hi Dermot, Tanks for the reply.
    "Do you know the number of views and procedures captured". Below is the ouput from some of the tables in migration repositary.
    count from md_derivatives table, grouped by derived_type.
    MD_CATALOGS     1
    MD_USERS     1
    MD_CONNECTIONS     2
    MD_SCHEMAS     4
    MD_TRIGGERS     40
    MD_VIEWS     34316
    MD_TABLES     48048
    MD_INDEXES     55850
    MD_INDEX_DETAILS     112043
    MD_COLUMNS     766244
    Count from md_views table 34316
    Count from md_additional_properties table 110322
    "Is there a chance the convert phase has hung, or does it refresh ever so ofter with details of another object being "migrated"?"
    It is not hung. I can see the message 'Translating views' right now, and the View names change often but not fast roughly every minute. When I checked for what the session is doing, I could see the below two sql statements.
    SELECT PROP_KEY, VALUE, PROPERTY_ORDER, CONNECTION_ID_FK
    FROM MD_ADDITIONAL_PROPERTIES
    WHERE REF_ID_FK = :1
    ORDER BY PROPERTY_ORDER;
    SELECT ID
    FROM MD_TABLES -- Some times this is MD_VIEWS
    WHERE SCHEMA_ID_FK = :1 AND UPPER (TABLE_NAME) = UPPER (:2)
    "What is the current "Being migrated" information?"
    Translating View xxx.
    "Does the tablespaces your migration repository schema is based on have sufficient space?"
    Yes, Since there is no data at this point, it is all done in one table space which is set to grow UNLIMITED. At this point the size of the table space is a little over 500M.
    "Is SQL Developer being run on the same machine as the Oracle database containing the migration repository? (conversion can be alot quicker for procedure,view,trigger conversion if SQL Developer is on the same machine as the repository)"
    NO. SQL developer is running on my machine but the migration repositary is in the database which is on HP-UX box. Below are some of the details of the server. Also, since the database in on HP-UX, I couldn't find SQL developer for UNIX. I also read in the release note of 3.0 that it is not supported with UNIX, Is that right? else is there a way I can install SQL developer on the Unix server and that might improve the performance!, if yes, please guide me with the steps to do this installation.
    Server:
    Processors: 4, CPU version: PA 8700 CPU module 3.1, clock Frequency: 750MHz, Hardware Model: 900/800/L3000-7x, Kernel width Support 64.
    Physical Memory 8199.3 MB
    Real Memory --> Active: 2990487.0 KB, Total: 3956471.8 KB
    Virtual Memory --> Active: 5787735.5 KB, Total: 6864998.0 KB
    Free Memory Pages: 127049 at 4 KB/page
    Swap Space --> Avail: 4096 MB, Used: 4096 MB, Free: 0 MB
    OS Identification: B.11.11 U
    I see the below when I do a 'glance' on the server. Looks like it is using most of the memory and the Swap. These are the numbers from the server after the migration started, they stay consistent all time with very small variation.
    CPU Util S SR RU U | 34% 31% 39%
    Disk Util F F | 4% 4% 13%
    Mem Util S SU UB B | 93% 93% 93%
    Swap Util U UR R | 86% 86% 86%
    PROCESS LIST Users= 1
    User CPU Util Cum Disk Thd
    Process Name PID PPID Pri Name ( 400% max) CPU IO Rate RSS Cnt
    oraclefap 16560 1 178 oracle 97.9/98.3 132507 0.1/ 0.6 16.0mb 1
    My Machine where SQL Developer is Running
    Windows XP Professional SP3. 2GB Memoery. All this, time I was using around 1 Gb of memory while this process is running, Out of which SQL developer uses only 200 to 300 MB at any given point and the CPU is less than 5%.
    "What version of Oracle database have you installed the migration repository in?"
    Below is the Banner.
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Also please let me know about this request I have popsted. https://apex.oracle.com/pls/apex/f?p=43135:7:2259365896228241::NO:RP,7:P7_ID:29361
    I would greatly appreciate any help. Thanks again.

  • Oracle 11G - set id password to not expire

    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? Maureen

    Maureen Blackford wrote:
    Hello, I've created an Oracle 11G database. The default on passwords is to expire every 180 days. I need to create an account that batch processes can use (for application code) which will not expire. How do I set a password on a user id to not expire? MaureenLook at PROFILEs.
    And rethink your goal. The longer a password is allowed to live, the more opportunity for it to become exposed. If you care at all about database security, never allow a password to have unlimited life. Our end users have 180 life, my internal administrative passwords have 90 life.

  • The java error which i meet in the oracle 11g when i using jdm

    I have finish a java data mining program,it can work in oracle 10g.But now ,i  have to apply this program in oracle 11g.
    What should i do to make it still work in oracle 11g?
    The jar have been replaced with 11g's jar.But when i debug the program,the BuildTask's m_ programName is still "dmsys.build_program" and it should be "sys.build_program".
    Then when run to the executeTask,the Error occurred.
    **************the  error**********************************
    19:19:55,734 DEBUG AprioriExecuteUtil:248 - ---------------------------------------------------
    19:19:55,734 DEBUG AprioriExecuteUtil:249 - --- Build Model                                 ---
    19:19:55,734 DEBUG AprioriExecuteUtil:250 - ---------------------------------------------------
    19:21:52,328 ERROR AprioriExecuteUtil:114 - executeError:
    java.lang.ArrayIndexOutOfBoundsException: 0
      at oracle.dmt.jdm.task.OraBuildTask.mapJobArgs(OraBuildTask.java:410)
      at oracle.dmt.jdm.base.OraTask.retrieveObjectFromDatabase(OraTask.java:535)
      at oracle.dmt.jdm.base.OraTask.removeTaskContents(OraTask.java:229)
      at oracle.dmt.jdm.base.OraTask.removeObjectFromDatabase(OraTask.java:214)
      at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.removeObject(OraPersistanceManagerImpl.java:297)
      at oracle.dmt.jdm.resource.OraConnection.removeObject(OraConnection.java:389)
      at oracle.dmt.jdm.OraMiningObject.saveObjectInDatabase(OraMiningObject.java:150)
      at oracle.dmt.jdm.resource.OraPersistanceManagerImpl.saveObject(OraPersistanceManagerImpl.java:245)
      at oracle.dmt.jdm.resource.OraConnection.saveObject(OraConnection.java:383)
      at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.executeTask(AprioriExecuteUtil.java:324)
      at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.buildModel(AprioriExecuteUtil.java:303)
      at com.hollycrm.hollysp.datanalysis.datamining.util.AprioriExecuteUtil.execute(AprioriExecuteUtil.java:108)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    So,if there someone know the reason,please tell me how to solve this error.Thank you!!!!

    Thanks for your response!
    The JDK version is 1.6.0_02.
    DB version is 11.2.0.1.0.
    This is the code.
    public class AprioriExecuteUtil {
      private static Logger logger=Logger.getLogger(AprioriExecuteUtil.class);
      * 连接数据库对象
      private static Connection m_dmeConn;
      private static ConnectionFactory m_dmeConnFactory;
      * 在进程中使用的工厂对象
      private static PhysicalDataSetFactory m_pdsFactory;
      private static PhysicalAttributeFactory m_paFactory;
      private static AssociationSettingsFactory m_assoFactory;
      private static RulesFilterFactory m_filterFactory;
      private static BuildTaskFactory m_buildFactory;
      * 全局常量
      private static DecimalFormat m_df = new DecimalFormat("##.####");
      * modelId:数据挖掘模型Id
      private String modelId = "";
      *<p>Title: execute</p>
      *<p>Description:执行数据挖掘,响应页面上的执行按钮</p>
      * @param @return 设定文件
      * @return  String 返回类型
      * @throws
      public String execute(){
      try{
      dataminingManager().updateModelById(modelId, "schedule", "10");
      dataminingManager().updateModelById(modelId, "startTime", DateUtil.getNow());
      dataminingManager().updateModelById(modelId, "endTime", "");
      dataminingManager().deleteModelRules(modelId,"TblSpModelRulesAr");
      m_dmeConnFactory = new OraConnectionFactory();
      ConnectionSpec connSpec = m_dmeConnFactory.getConnectionSpec();
      connSpec.setURI("jdbc:oracle:thin:@"+SystemParamUtil.getSystemParameValue("数据挖掘.数据库.地址"));
      connSpec.setName(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名"));
      connSpec.setPassword(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.密码"));
      m_dmeConn = m_dmeConnFactory.getConnection(connSpec);
      clean();
      initFactories();
      prepareData();
      dataminingManager().updateModelById(modelId, "schedule","20");
      buildModel();
      dataminingManager().updateModelById(modelId, "schedule","100");
             dataminingManager().updateModelById(modelId, "endTime", DateUtil.getNow());
             clean();
      return null;
      }catch(Exception e) {
      logger.error("executeError:",e);
      return "error";
      finally {
      try {
      m_dmeConn.close();
      } catch(Exception e) {
      logger.error("closeConnectError:",e);
      return "error";
      *<p>Title: clean</p>
      *<p>Description:清理所有之前构造的临时表</p>
      * @param  设定文件
      * @return  void 返回类型
      * @throws
      public void clean(){
      java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
         Statement stmt = null;
         try{
          stmt = dbConn.createStatement();
          StringBuffer sql = new StringBuffer("select object_name from dba_objects where object_type in('TABLE','VIEW') and object_name like '%DM$%' ");
          sql.append("and owner = '").append(SystemParamUtil.getSystemParameValue("数据挖掘.数据库.用户名")).append("'");
          logger.info(sql.toString());
          ResultSet rs = stmt.executeQuery(sql.toString());
          while(rs.next()){
          try{
          stmt.executeUpdate("DROP VIEW "+rs.getString("object_name"));
          }catch(SQLException e){}
         try{
          stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_V");
         } catch(SQLException e) {}
         try{
          stmt.executeUpdate("DROP VIEW SALES_TRANS_CUST_AR_V");
         } catch(SQLException e) {}
         try {
          m_dmeConn.removeObject("arModel_jdm", NamedObject.model );
         }catch(JDMException e) {}
         try {
          m_dmeConn.removeObject("arSettings_jdm", NamedObject.buildSettings );
         }catch(JDMException e) {}
         try {
          m_dmeConn.removeObject("arBuildData_jdm", NamedObject.physicalDataSet );
         }catch(JDMException e) {}
         try {
          m_dmeConn.removeObject("arBuildTask_jdm", NamedObject.task );
         }catch(JDMException e) {}
         }catch(SQLException e) {
          logger.error("cleanViewError:",e);
         }finally{
          try {
          stmt.close();
          }catch(Exception e){
          logger.error("closeConnectError:",e);
      *<p>Title: initFactories</p>
      *<p>Description:初始化挖掘使用的工厂</p>
      * @param @throws JDMException 设定文件
      * @return  void 返回类型
      * @throws
      public void initFactories() throws JDMException{
         m_pdsFactory = (PhysicalDataSetFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalDataSet");
         m_paFactory = (PhysicalAttributeFactory)m_dmeConn.getFactory("javax.datamining.data.PhysicalAttribute");
         m_assoFactory = (AssociationSettingsFactory)m_dmeConn.getFactory("javax.datamining.association.AssociationSettings");
         m_buildFactory = (BuildTaskFactory)m_dmeConn.getFactory("javax.datamining.task.BuildTask");
         m_filterFactory = (RulesFilterFactory)m_dmeConn.getFactory("javax.datamining.association.RulesFilter");
      *<p>Title: prepareData</p>
      *<p>Description:准备数据</p>
      * @param @throws Exception 设定文件
      * @return  void 返回类型
      * @throws
      public void prepareData() throws Exception{
      logger.debug("---------------------------------------------------");
      logger.debug("--- Prepare Data                                ---");
      logger.debug("---------------------------------------------------");
      this.createBuildData();
      this.executeColumnFormatTransformation();
      *<p>Title: createBuildData</p>
      *<p>Description:用之前选择的产品构造视图</p>
      * @param @throws Exception 设定文件
      * @return  void 返回类型
      * @throws
      public void createBuildData() throws Exception{
      logger.debug("Create build data view...");
      java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
      PreparedStatement pStmt = null;
      String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
      TblSpDataMiningModel dataMiningmodel = dataminingManager().getDataMiningModel(modelId);
      StringBuffer createView = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_V AS SELECT cp.user_no as USER_NO, cp.product_id as PRODUCT_ID, 1 has_it ");
      createView.append(" from ").append(custProductTableName).append(" cp ");
      createView.append(" where cp.area_code = '").append(dataMiningmodel.getArea()).append("' GROUP BY USER_NO, PRODUCT_ID");
      logger.debug(createView.toString());
      pStmt = dbConn.prepareStatement(createView.toString());
      pStmt.execute();
      public void executeColumnFormatTransformation() throws Exception{
      logger.debug("Execute column format transformation...");
      StringBuffer createNestedColumn = new StringBuffer("CREATE VIEW SALES_TRANS_CUST_AR_V as ");
      createNestedColumn.append(" SELECT D.USER_NO,CAST(MULTISET(SELECT DM_Nested_Numerical(C.PRODUCT_ID, has_it) FROM SALES_TRANS_CUST_V C ");
      createNestedColumn.append(" WHERE C.USER_NO = D.USER_NO) AS DM_Nested_Numericals) CUSTPRODS FROM SALES_TRANS_CUST_V D group by D.USER_NO");
      java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
      PreparedStatement pStmt = null;
      logger.debug(createNestedColumn.toString());
      pStmt = dbConn.prepareStatement(createNestedColumn.toString());
      pStmt.execute();
      *<p>Title: buildModel</p>
      *<p>Description:建立模型</p>
      * @param @throws JDMException 设定文件
      * @return  void 返回类型
      * @throws
      public void buildModel() throws Exception{
      logger.debug("---------------------------------------------------");
      logger.debug("--- Build Model                                 ---");
      logger.debug("---------------------------------------------------");
      PhysicalDataSet buildData = m_pdsFactory.create( "SALES_TRANS_CUST_AR_V", false );
      PhysicalAttribute pa = m_paFactory.create("USER_NO", AttributeDataType.integerType, PhysicalAttributeRole.caseId );
      buildData.addAttribute(pa);
      m_dmeConn.saveObject("arBuildData_jdm", buildData, false );
      AssociationSettings buildSettings = m_assoFactory.create();
      //计算支持度和可信度以及最多分析多少个产品
      /*java.sql.Connection dbConn = ((OraConnection)m_dmeConn).getDatabaseConnection();
      PreparedStatement pStmt = null;
      String custProductTableName= SystemParamUtil.getSystemParameValue("数据挖掘.订购关系表.表名");
      TblSpDataMiningModel dataMiningModel = dataminingManager().getDataMiningModel(modelId);
      StringBuffer sql = new StringBuffer("select (trunc((count(*) /(count(distinct user_no) * count(distinct product_id))) * 50,2.2)) as destiny ");
      sql.append(" from ").append(custProductTableName).append(" cp ");
      sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("'");
      logger.debug(sql.toString());
      pStmt = dbConn.prepareStatement(sql.toString());
      ResultSet res = pStmt.executeQuery();
      Float density = 0F;
      while(res.next()){
      density = res.getFloat("destiny");
      if(density!=0){
      buildSettings.setMinSupport(density);
      buildSettings.setMinConfidence(density);
      logger.debug("density = "+density);
      }else{
      buildSettings.setMinSupport(10f);
      buildSettings.setMinConfidence(10f);
      sql = new StringBuffer("select round(avg(COUNT(product_id))) as maxLength ");
      sql.append(" from ").append(custProductTableName).append(" cp ");
      sql.append(" where cp.area_desc = '").append(dataMiningModel.getArea()).append("' group by user_no ");
      logger.debug(sql.toString());
      pStmt = dbConn.prepareStatement(sql.toString());
      res = pStmt.executeQuery();
      int maxProductLength = 0;
      while(res.next()){
      maxProductLength = res.getInt("maxLength");
      if(maxProductLength != 0 && maxProductLength >= 2){
      buildSettings.setMaxRuleLength(maxProductLength);
      logger.debug("maxProductLength = "+maxProductLength);
      }else{
      buildSettings.setMaxRuleLength(3);
      logger.debug("maxProductLength = "+maxProductLength+" change to 3");
      buildSettings.setMinSupport(1);
      buildSettings.setMinConfidence(10);
      buildSettings.setMaxRuleLength(3);
      m_dmeConn.saveObject("arSettings_jdm", buildSettings, true );
      BuildTask buildTask = m_buildFactory.create("arBuildData_jdm","arSettings_jdm","arModel_jdm");
      buildTask.setDescription("arBuildTask_jdm" );
      executeTask(buildTask,"arBuildTask_jdm");
      AssociationModel model = (AssociationModel)m_dmeConn.retrieveObject("arModel_jdm", NamedObject.model);
      if(buildSettings == null){
      throw new Exception("Failure to restore build settings.");
      }else{
      displayAssociationRules( model );
      *<p>Title: executeTask</p>
      *<p>Description:执行任务</p>
      * @param @param taskObj
      * @param @param taskName
      * @param @return
      * @param @throws JDMException 设定文件
      * @return  boolean 返回类型
      * @throws
      public boolean executeTask(Task taskObj, String taskName) throws JDMException {
      boolean isTaskSuccess = false;
      m_dmeConn.saveObject(taskName, taskObj, true);
      ExecutionHandle execHandle = m_dmeConn.execute(taskName);
      logger.debug(taskName + " is started, please wait. ");
      ExecutionStatus status = execHandle.waitForCompletion(Integer.MAX_VALUE);   
      isTaskSuccess = status.getState().equals(ExecutionState.success);
      if( isTaskSuccess ) {
      logger.debug(taskName + " is successful.");
      } else {
      logger.debug(taskName + " is failed.\nFailure Description: " +
      status.getDescription() );
      return isTaskSuccess;
    247*******************the buildTask's m_programName is “dmsys.build_program” but it should be "sys.build_program" when i contact the 11g.I have tried many ways to compile the program,but it still can't be changed.
    270*******************m_dmeConn.saveObject(taskName, taskObj, true);
                                 the error:java.lang.ArrayIndexOutOfBoundsException: 0                                  
    If you  need the data table
    These are the sql :
    -- Create table
    create table TBL_MINING_CUST_HB
      mobile_tele_no        VARCHAR2(40),
      area                  VARCHAR2(4),
      user_dinner           VARCHAR2(200),
      re_flag               VARCHAR2(2),
      re_type               VARCHAR2(40),
      is_3gzd               VARCHAR2(2),
      arpu                  NUMBER,
      net_on_duration       NUMBER,
      if_ring               VARCHAR2(2),
      if_gprs               VARCHAR2(2),
      gprs_fee              NUMBER,
      if_gprs_free          VARCHAR2(2),
      if_gprs_pkg           VARCHAR2(2),
      sms_fee               NUMBER,
      if_sms_free           VARCHAR2(2),
      if_sms_pkg            VARCHAR2(2),
      mms_fee               NUMBER,
      if_mms_pkg            VARCHAR2(2),
      if_mms_free           VARCHAR2(2),
      sen_fee               NUMBER,
      sen_in_fee            NUMBER,
      sen_out_fee           NUMBER,
      sen_free              NUMBER,
      sen_fact              NUMBER,
      one_cnt_10010         NUMBER,
      three_cnt_10010       NUMBER,
      one_cancel_business   VARCHAR2(4000),
      three_cancel_business VARCHAR2(4000),
      sp                    VARCHAR2(4000)
    tablespace CSS_APP
      pctfree 10
      initrans 1
      maxtrans 255
      storage
        initial 64
        next 1
        minextents 1
        maxextents unlimited
    -- Add comments to the columns
    comment on column TBL_MINING_CUST_HB.mobile_tele_no
      is '电话号码';
    comment on column TBL_MINING_CUST_HB.area
      is '地市';
    comment on column TBL_MINING_CUST_HB.user_dinner
      is '用户套餐';
    comment on column TBL_MINING_CUST_HB.re_flag
      is '是否融合业务;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.re_type
      is '套餐类别;2G后付费、2GOCS、3G后付费、3GOCS';
    comment on column TBL_MINING_CUST_HB.is_3gzd
      is '是否为3G终端(1-是,0非)';
    comment on column TBL_MINING_CUST_HB.arpu
      is 'ARPU;单位:元';
    comment on column TBL_MINING_CUST_HB.net_on_duration
      is '在网时长;单位:月';
    comment on column TBL_MINING_CUST_HB.if_ring
      is '是否开通炫铃功能,1-是;0-否';
    comment on column TBL_MINING_CUST_HB.if_gprs
      is '是否开通GPRS功能,1-是;0-否';
    comment on column TBL_MINING_CUST_HB.gprs_fee
      is 'GPRS流量使用情况;单位: M';
    comment on column TBL_MINING_CUST_HB.if_gprs_free
      is '套餐内是否自带优惠或赠送流量;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.if_gprs_pkg
      is '是否定制优惠流量包;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.sms_fee
      is '短信使用情况;单位:条';
    comment on column TBL_MINING_CUST_HB.if_sms_free
      is '套餐内是否自带优惠或赠送短信;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.if_sms_pkg
      is '是否定制优惠短信包;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.mms_fee
      is '彩信使用情况;单位:条';
    comment on column TBL_MINING_CUST_HB.if_mms_pkg
      is '是否定制优惠彩信包;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.if_mms_free
      is '套餐内是否自带优惠或赠送彩信;1-是;0-否';
    comment on column TBL_MINING_CUST_HB.sen_fee
      is '本地长途合计分钟数;单位:分钟';
    comment on column TBL_MINING_CUST_HB.sen_in_fee
      is '本地长途省内长途;单位:分钟';
    comment on column TBL_MINING_CUST_HB.sen_out_fee
      is '本地长途省际长途;单位:分钟';
    comment on column TBL_MINING_CUST_HB.sen_free
      is '本地通话时长本地优惠分钟数;单位:分钟';
    comment on column TBL_MINING_CUST_HB.sen_fact
      is '本地通话时长实际使用分钟数:单位:分钟';
    comment on column TBL_MINING_CUST_HB.one_cnt_10010
      is '1月内拨打10010次数';
    comment on column TBL_MINING_CUST_HB.three_cnt_10010
      is '3月内拨打10010次数';
    comment on column TBL_MINING_CUST_HB.one_cancel_business
      is '1月内取消的增值业务';
    comment on column TBL_MINING_CUST_HB.three_cancel_business
      is '3月内取消的增值业务名称';
    comment on column TBL_MINING_CUST_HB.sp
      is '已开通的增值业务名称';
    -- Create table
    create table TBL_MINING_CUST_PRODUCT_HB
      product_name VARCHAR2(1000),
      product_id   VARCHAR2(40),
      user_no      NUMBER,
      area_code    VARCHAR2(8)
    tablespace CSS_APP
      pctfree 10
      initrans 1
      maxtrans 255
      storage
        initial 16
        next 1
        minextents 1
        maxextents unlimited
    -- Create/Recreate indexes
    create bitmap index IDX_PRODUCT_ID on TBL_MINING_CUST_PRODUCT_HB (PRODUCT_ID)
      tablespace CSS_APP
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create bitmap index IDX_USER_NO on TBL_MINING_CUST_PRODUCT_HB (USER_NO)
      tablespace CSS_APP
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    -- Create table
    create table TBL_MINING_PRODUCT_HB
      product_name  VARCHAR2(1000),
      product_id    VARCHAR2(30) not null,
      coverage_rate NUMBER
    tablespace CSS_APP
      pctfree 10
      initrans 1
      maxtrans 255
      storage
        initial 16
        next 1
        minextents 1
        maxextents unlimited
    -- Add comments to the columns
    comment on column TBL_MINING_PRODUCT_HB.product_name
      is '产品名称';
    comment on column TBL_MINING_PRODUCT_HB.product_id
      is '产品ID';
    comment on column TBL_MINING_PRODUCT_HB.coverage_rate
      is '产品覆盖率=某一个产品的购买总数/所有产品的购买总数';
    -- Create/Recreate primary, unique and foreign key constraints
    alter table TBL_MINING_PRODUCT_HB
      add constraint PK_PRODUCT_ID primary key (PRODUCT_ID)
      using index
      tablespace CSS_APP
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    Thanks!

  • Error while creating a JDBC connection to Oracle 11g using WLS 6.1

    Hi
    I am trying to connect to Oracle 11g database on Weblogic 6.1 server.
    First of all i would like to know if this is compatible?
    The environement that i have is this
    1. JDK 1.3
    2. Database 11g is on remote system
    3. Oracle client on my local system ( Connecting to the 11g DB through the client works fine)
    4. Weblogic server 6.1
    5. Currently the application is connected to Oracle 10g DB and working fine(We are attempting to move it to 11g)
    Below are the steps that i followed to create the connection:
    1. Made an entry for the datasource in config.xml under <WLS_DOMAIN>/config folder as below
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    MaxCapacity="4" Name="CADConnectionPool"
    Properties="user=abc_proxy;password=proxy_abc;dll=ocijdbc8;protocol=thin"
    RefreshMinutes="5" ShrinkPeriodMinutes="10" Targets="CAsvr"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:thin:@gen11t-ora.db.lab.xyz.com:1530:GEN11T"/>
    2. Restarted the server.
    3. Ran the application and get the following error on the server console:
    <Aug 22, 2011 12:39:42 AM CDT> <Error> <JDBC> <Cannot startup connection pool "C
    ADConnectionPool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.ArrayIndexOutOfBoundsException
    at oracle.security.o3logon.C0.r(C0)
    at oracle.security.o3logon.C0.l(C0)
    at oracle.security.o3logon.C1.c(C1)
    at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientH
    elper)
    at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:193)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:209)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Can't load scjd12.dll, file not found java.library.path=C:\jdk1.3.1_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.\bin;C:\P
    rogram Files\Lotus\Notes\Data;C:\Program Files\Lotus\Notes;C:\Program Files\Java
    \jre1.5.0_17\bin;C:\Program Files\Java\j2re1.4.2_06\bin;C:\Oracle\bin;C:\Program
    Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\sys
    tem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\sys
    tem32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Rational
    \common;C:\Program Files\Rational\ClearCase\bin;C:\apache-ant-1.6.5\bin;C:\jdk1.
    3.1_11\bin;C:\Program Files\Citrix\ICAService\;C:\Program Files\Citrix\System32\
    ;Z:.
    <Aug 22, 2011 12:38:06 AM CDT> <Info> <JDBC> <Sleeping in createResource()>
    <Aug 22, 2011 12:38:07 AM CDT> <Error> <JDBC> <Cannot startup connection pool "c
    ispool" weblogic.common.ResourceException:
    Could not load 'com.neon.jdbc.Driver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:212)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:134)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:705)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:282)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:650)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
    oymentTarget.java:360)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
    loymentTarget.java:285)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
    ments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
    DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy31.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
    yments(ServerMBean_CachingStub.java:2977)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
    er(ApplicationManager.java:372)
    at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
    nManager.java:160)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:360)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    57)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    25)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy42.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
    .start(ApplicationManagerMBean_CachingStub.java:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
    at weblogic.management.Admin.finish(Admin.java:644)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:524)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
    at weblogic.Server.main(Server.java:35)
    Would like some help on this asap as the project is in critical stage.
    Thanks

    The driver being used by your weblogic is too old and incompatible with the DBMS. Upgrade the driver.

  • Oracle 11g  Quartz Scheduler 1.8.5 running under JBOSS 5.1

    Basically I'm getting this error when running Quartz configured for the jobStore
    org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
    I've got two data sources setup.
    One data source is setup to be looked up via JNDI (presumably for the one that may participate in distributed JTA XA transactions) and one that
    supposedly is not to participate in JTA transactions in which quartz can call commit/rollback on it's own.
    The problem I'm seeing with the interaction of the two is the following exception:
    05:21:27,292 ERROR [TxPolicy] javax.ejb.EJBTransactionRolledbackException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [9
    9999]; error code [29875];
    --- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
    --- The error occurred while applying a parameter map.
    --- Check the XXXX_COORDINATE.insert-InlineParameterMap.
    --- Check the statement (update failed).
    --- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
    ORA-29400: data cartridge error
    ORA-14450: attempt to access a transactional temp table already in use
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
    ; nested exception is com.XXXXXibatis.common.jdbc.exception.NestedSQLException:
    --- The error occurred in XXXXX_COORDINATE_SqlMap.xml.
    --- The error occurred while applying a parameter map.
    --- Check the XXXXX_COORDINATE.insert-InlineParameterMap.
    --- Check the statement (update failed).
    --- Cause: java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
    ORA-29400: data cartridge error
    ORA-14450: attempt to access a transactional temp table already in use
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
    Has anyone seen this error before with the following configuration of Quartz 1.8.5, Oracle 11g, Oracle Spatial?
    I've googled and seen reference to Oracle spatial using temp tables and not compatible with transactions... but not sure
    exactly how to solve this problem.
    Thanks in advacce.

    Hi;
    Can any one advise me where and how can I download proper RPM packages and how do I resolve swap space requirement failure as mentioned above. Please let me know if further information required.You can find all related rpm from your DVD. For rpm please see below thread:
    RPM confirmation
    Re: Package install for oracle11gr2
    For swap:
    swap size increase-linux
    How to increase swap size?
    Regard
    Helios

  • Oracle 11g Installation problems

    Hi there, Im a new Oracle's user, and I am trying to install Oracle 11g in my computer I have Windows Vista SP2 32bits, but I have a lot of problems.
    The program send me various messages of Warnings and Errors so I couldnt finished the complete instalation and configuration.
    Somebody can help me with some of this errors.
    This are the errors: (In Spanish)
    ORA-31011: Fallo en el analisis de XML
    ORA-19202: Se ha producido un error en el procesamiento
    ORA-06512: en "SYS.XMLTYPE", linea 272
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 69
    ORA-06512: en "XDB.DBMX_XDB", linea 209
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 92
    La configuración de Enterprise Manager ha fallado debido al
    siguiente error:
    Error al iniciar Database Control
    Consulte el archivo log en C:\oraclecfgtoollogsdbca\orc\emConfig.log para obtener mas información
    Posteriormente, puede reintentar la configuración de esta base de datos con
    Enterprise Manager ejecutando manualmente el archivo de comandos C:\oracle\product\11.1.0\db_1\bin\emca
    nstaller ha instalado productos en el grupo de componentes "Oracle Windows Interfaces".
    Para soportar un desarrollo perfecto en Microsoft Visual Studio con la base de datos Oracle,
    Oracle recomienda descargar e instalar la última versión de
    "Oracle Developer Tools for Visual Studio .NET" de Oracle Technology Network.
    I will aprecciatte your help.
    Thank you!

    user12191943 wrote:
    I have Windows Vista SP2 32bitsPlease specifiy WHICH edition of Vista. Oracle does have many problems with Vista Home.

Maybe you are looking for

  • Mini not recognized by iTunes, only charges

    My Ipod mini will not show up on iTunes or just in general on my computer at all. I am connecting it through a USB port that I use mainly to make sure it has power and everything else. I've read the entire troubleshooting page on how to fix it and I'

  • ITunes 9.2 not syncing music with iPhone 3GS?

    I'm suddenly having trouble syncing music to my iPhone 3GS on iOS 4.0.1. I have iTunes set up so that it will only sync selected playlists, artists, and genres. When I make any changes to the selections, iTunes remembers it (even after closing and re

  • How to configure SNMP in solaris 10

    i am working on solaris management console .i want to configure snmp for this to send traps regarding system performance and cpu usage ..can any body know ho to do this

  • API for positioning iviews in a page

    Hi all, i wud like to know the API for positioning iviews in a page...can any of you help me out regarding this..

  • Is there something similar to a MenuDimmerCallback?

    Planning to use menu functions in LV and not having used them till now, I need some conceptual help. In CVI you can define a MenuDimmeCallback function: a function executed only when the user clicks on the menu bar. In that function you can test prog