Maximum value of Processes in Oracle 11g

Hi,
In our application, we do get the following error frequently.
ORA-12516, TNS:listener could not find available handler with matching protocol stack
When i searched about it, I learnt that the processes /sessions used might be exceeded.
So, I'm trying to alter the values of the system parameters - Processes & sessions for my DB.
The following link says the maximum value for PROCESSES is 'operating system dependent'
http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams188.htm#REFRN10175
The DB Host machine is Windows Server Enterprise and its 32-bit machine.
The DB is *"Oracle Database 11g Enterprise Edition Release 11.2.0.1.0"*
Can you please help me find out the maximum value of the PROCESSES parameter that we can set for this OS?
Let me know if my understanding of the issue is wrong.
Regards,
Tamil

Hi,
I checked the v$resource_limit table,
Resource Name    CurrentUtilization Max_Utilization Initial_Allocation Limit_Value
processes     119          150     150     150
sessions     124          158          248     248
I could see the current value for processes is 119 here. When i checked v$process few hours back, it was 145.
I could not use the command "ulimit -a" as its a DB installed in Windows box.
Can you help me to find out how i can find the value for Windows OS?
Thanks,
Tamil

Similar Messages

  • How to alter value for processes in Oracle 10g XE

    Im installing weblogic server 11g. Im getting the error
    RCU-6083:Failed - Check prerequisites requirement for selected component:SOAINFRA
    Please refer to RCU log at C:\stageSOA\rcuHome\rcu\log\logdir.2010-06-18_17-04\rcu.log for details.
    RCU-6107:DB Init Param Prerequisite failure for: processes
    Current Value is 40. It should be greater than or equal to 200.
    RCU-6092:Component Selection validation failed. Please refer to log at C:\stageSOA\rcuHome\rcu\log\logdir.2010-06-18_17-04\rcu.log for details.
    I have read in a forum this this command will work
    alter system set Processes=300 scope=spfile;
    where should I write this command. I have tried the SQL command line. But it says its invalid

    One thing I detected here as a bad practice, you blindly issued the command "ALTER SYSTEM ... SCOPE=SPFILE" and later on you asked why you were not able to see the change.
    It lets me know that you applied a change without even bothering to find out what it was about. Please make sure next time you blindly apply a command this doesn't start with "DROP ...." or you may face a hard time.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Maximum number of processes

    hello all,
    how do I change the maximum number of processes in oracle ?
    and is there a limit ?
    Thank You.

    Hi,
    In your init.ora or config.ora, change the parameter PROCESSES. I haven't checked the Oracle book but I think the limit is 200.
    John Taylor
    null

  • '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

  • Oracle 11g 64 bit - "Value too large for column" when setting Varchar2

    Hello guys,
    I have a machine running Oracle 11g - 64bits. And I have a table that contains a VARCHAR2(2000) field.
    When I try to set the value of this field to a string that contains double byte characters, I get this error:
    ORA-12899: value too large for column "QAPBG1220_11"."MYTABLE"."MYFIELD" (actual: 2433, maximum: 2000).
    Although the value I'm setting is only 811 characters (€ sign).
    The weird thing is that when I try to run the same query on another PC with Oracle 11g, 32 bits, It runs normally and the values are updated!!
    Anyone has any idea about this? It's driving me crazy
    Thanks in advance
    Zahraa

    create table MYTABLE
    MYTABLEID NUMBER(10) not null,
    MYFIELD VARCHAR2(2000)
    alter table MYTABLE
    add constraint PK_MYTABLE primary key (MYTABLEID);
    INSERT INTO MYTABLE (Mytableid, Myfield) VALUES(1, '€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€fds€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€')
    COMMIT;
    On the 32 bit, this works fine. I get the record with the values 1 and 2000 euro signs.
    On the 64 bits, there is one machine (oracle 11.2.0.1.0) that adds the row, but when I view it, the value shows as "????"
    and another machine (oracle 11.1.0.7.0) that throws an error:
    - "String Literal is too long" : if there are more than 1333 euro characters
    - Value too large for column .... : if there are less than 1333 and more than 666 characters.
    Any ideas?

  • Oracle 11g R2 hangs after parameter processes incresed

    Hi,
    I am running an Oracle 11g R2 on a Solaris box. I was getting some Critical alert messages about the "Process Limit %" metric. So I decided to increase the value of the processes database parameter from 200 to 400. After that the system is very slow and hanging with a lot of "Log file sync" and "log file parallel write" events.
    I have rolled it back to 200 and now the system is working fine again, but I am concern about getting again the alert about the "process limit %".
    Is there any other parameter that I need to tune together with the increase of the proccesses on?
    Regards,

    It looks like the issue is not related with the processes change.
    If I reboot then db and then restart the process it runs fine. Something happens during on the db during the day that make the nightly schedule task takes forever. When I checked it this morming there were a lot of commit activity. If I cancel the process and then try to restart it again without rebooting the db the problem persist. But if I bounce the database and then run it, it will complete fine.
    Below is AWR periord comparisson report. The first period is when I cancelled the process and then tried to run it again. The second one is after the database reboot.
    I appreciate any advice.
    Snapshot Set DB Name DB Id Instance Inst num Release Cluster Host Std Block Size
    First (1st) DMFEPRD 3155815743 dmfeprd 1 11.2.0.1.0 NO uscndb18 8192
    Second (2nd) DMFEPRD 3155815743 dmfeprd 1 11.2.0.1.0 NO uscndb18 8192
    Snapshot Set Begin Snap Id Begin Snap Time End Snap Id End Snap Time Avg Active Users Elapsed Time (min) DB time (min)
    1st 2700 25-Jun-11 12:17:51 (Sat) 2701 25-Jun-11 12:23:40 (Sat) 2.69 5.82 15.65
    2nd 2702 25-Jun-11 12:47:17 (Sat) 2703 25-Jun-11 12:52:52 (Sat) 2.40 5.58 13.39
    %Diff -10.78 -4.12 -14.44
    Host Configuration Comparison
    1st 2nd Diff %Diff
    Number of CPUs: 32 32 0 0.0
    Number of CPU Cores: 4 4 0 0.0
    Number of CPU Sockets: 1 1 0 0.0
    Physical Memory: 65408M 65408M 0M 0.0
    Load at Start Snapshot: 6.14 2.03 -4.12 -66.9
    Load at End Snapshot: 6.95 4.67 -2.28 -32.8
    %User Time: 13.43 13.04 -.38 -2.9
    %System Time: 6.95 1.26 -5.69 -81.9
    %Idle Time: 79.62 85.7 6.07 7.6
    %IO Wait Time: 0 0 0 0.0
    Cache Sizes
    1st (M) 2nd (M) Diff (M) %Diff
    Memory Target 10,240.0 10,240.0 0.0 0.0
    .....SGA Target 6,656.0 6,656.0 0.0 0.0
    ..........Buffer Cache 672.0 672.0 0.0 0.0
    ..........Shared Pool 1,472.0 1,472.0 0.0 0.0
    ..........Large Pool 64.0 64.0 0.0 0.0
    ..........Java Pool 224.0 224.0 0.0 0.0
    ..........Streams Pool 64.0 64.0 0.0 0.0
    .....PGA Target 3,584.0 3,584.0 0.0 0.0
    Log Buffer 18.6 18.6 0.0 0.0
    Load Profile
    1st per sec 2nd per sec %Diff 1st per txn 2nd per txn %Diff
    DB time: 2.69 2.40 -10.78 0.96 0.14 -85.42
    CPU time: 0.90 2.13 136.67 0.32 0.12 -62.50
    Redo size: 28,238.40 149,564.99 429.65 10,057.71 8,577.01 -14.72
    Logical reads: 8,840.64 21,941.38 148.19 3,148.78 1,258.26 -60.04
    Block changes: 176.06 1,032.02 486.18 62.71 59.18 -5.63
    Physical reads: 1.82 37.36 1,952.75 0.65 2.14 229.23
    Physical writes: 6.69 25.16 276.08 2.38 1.44 -39.50
    User calls: 118.44 318.49 168.90 42.19 18.26 -56.72
    Parses: 91.31 492.38 439.24 32.52 28.24 -13.16
    Hard parses: 4.73 31.89 574.21 1.68 1.83 8.93
    W/A MB processed: 908,952.26 4,708,929.40 418.06 323,742.82 270,039.92 418.06
    Logons: 18.65 41.19 120.86 6.64 2.36 -64.46
    Executes: 109.63 584.01 432.71 39.05 33.49 -14.24
    Transactions: 2.81 17.44 520.64
    1st 2nd Diff
    % Blocks changed per Read: 1.99 4.70 2.71
    Recursive Call %: 84.16 92.70 8.53
    Rollback per transaction %: 0.00 0.00 0.00
    Rows per Sort: 1,620.17 1,194.14 -426.02
    Avg DB time per Call (sec): 0.02 0.01 -0.02

  • External tables in Oracle 11g database is not loading null value records

    We have upgraded our DB from Oracle 9i to 11g...
    It was noticed that data load to external tables in 9i is rejecting the records with null columns..However upgrading it to 11g,it allows the records with null values.
    Is there are way to restrict loading the records that has few coulmns that are null..
    Can you please share if this is the expected behaviour in Oracle 11g...
    Thanks.

    Data isn't really loaded to an External Table. Rather, the external table lets you query an external data source as if it were a regular database table. To not see the rows with the NULL value, simply filter those rows out with your SQL statement:
    SELECT * FROM my_external_table WHERE colX IS NOT NULL;
    HTH,
    Brian

  • Mapping LDAP Role in Building Your First Process with Oracle BPM 11g

    I'm working on "Building Your First Process with Oracle BPM 11g" I'm at the end of step where assigns user for the requester. The problem is in identity lookup, "Realm" is empty for Remote_WLServer.
    Servers are up and running. Demo user community has been loaded - I can see the list of users and groups in the administration server under myrealm. We haven't done much since SOA suite 11g installation. I'm probably the first one who uses this. I wonder we have a missing set up? Can you me what's missing? Appreciate your help in advance.

    I get this error message when I clicked gear icon.
    "Server exception is : Connection refused from server"
    Here is the result of testing Remove_WLServer connection. Does this cause the issue?
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... success.
    2 of 9 tests successful.
    I have installed JDeveloper 9i, 10g, and 11g in my laptop. SOA is installed on linux.

  • WSH_NEW_DELIVERIES_S Reaching maximum value in Oracle apps 11.5.10.2

    Hello Friends,
    In one of our production system, WSH_NEW_DELIVERIES_S Reaching maximum value.Current application version is #11.5.10.2 and Database version is 11.2.0.3.0
    Can any one help what we can do, do we have any Meta link Note ID's or Patches to do  it. as customer will not agree to ALTER the maxvalue with Out Oracle NOTEID or Approved Patch.
    As of now Maximum value defined in sequence is 285700000 and the WSH_NEW_DELIVERIES_S.currval is 285012483.
    Please suggest.
    Current Script in System is as below:
    CREATE SEQUENCE WSH.WSH_NEW_DELIVERIES_S
    START WITH  285012482 
    MAXVALUE 285700000
    MINVALUE 1
    NOCYCLE
    NOCACHE
    ORDER;

    An another possibility is to do the opposite to what I just wrote. Upload the true definition to the database an compare with the one you are not sure about via SQL:
    1. Backup the WFT file where the standard/seeded workflow is provided
    2. Edit it and change the name of the ITEM_TYPE. For instance, change it from OEOL to OEOL_TMP (cannot exceed 8 characters)
    3. Upload it to the database with WFLOAD
    4. Compare the design tables for the two if them (WF_ITEM_TYPES, WF_ACTIVITIES, WF_MESSAGES, WF_PROCESS_ACTIVITIES, WF_ITEM_ATTRIBUTES, etc). If the table provides a VERSION column then the query would need to use a WHERE END_DATE is null (so that you get only the active/current version of the object). A select... MINUM select would do the job.
    I would do this in test though, to avoid a mistake can cause any issues.
    Regards,
    Alejandro
    Edited by: Alejandro Sosa on Feb 4, 2013 7:07 AM

  • Ordered processing required from Oracle 11g on Linux to BizTalk Server

    Need a viable solution enabling ordered processing (OP) of messages from Oracle 11g on Linux allowing for ordered delivery to subscribers in BizTalk over MSMQ.
    We are currently running BizTalk 2010 (with Adapter Pack 2010) and are using ordered delivery for inbound messages to Oracle (received from msmq) but not for outbound messages since the Wcf-adapters doesn't support Ordered Processing in a receive port/location
    (except for msmq). However, we do need to implement ordered processing for outbound messages also. It's a major drawback that the Wcf-adapters does not support ordered processing not even with restricted or limited functionality.
    Our current implementation is polling Oracle using the Wcf-adapter calling PLSQL-package functions that handles all logic and returns a pre-built XML in a CLOB/string to BizTalk.
    Since Oracle is hosted on Linux we can't switch the PLSQL-logic to use Oracle COM-automation and post XML directly into MSMQ which otherwise would have been a quick solution. Also no WebSphere MQ (MQSeries) exists on the premises ruling out that adapter.
    Preferences:
    - Stable and reliable message transfer with ordered processing from Oracle to BizTalk
    - Messaging only pattern (generic) preferred over custom Orchestations (such as re-sequencing pattern)
    - Products preferred over custom development (within reasonable price limits).
    - Follow Microsoft best practices if possible
    In-house development of a custom BizTalk adapter or a nt-service bridging from Oracle to MSMQ could be considered as an option.
    regards
    /Henrik
    /Henrik

    Thanks for the reply but it's not that easy I'm afraid, if it had then this post would never have been written.
    We're retrieving one message at the time and with pollWhileDataFound=true so that's all good.
    The problem is that the inner workings of the wcf-adapters are multithreaded and can not guarantee ordered delivery (which also has proven itself).
    The answer why can be found in this post
    http://blogs.msdn.com/b/paolos/archive/2009/11/17/customizing-and-extending-the-biztalk-wcf-adapters.aspx 
    Here's the crucial part: "The WCF Adapters create a separate ServiceHost and singleton service object of this class for each receive location to handle client requests for the lifetime of the BizTalk Host instance running WCF receive locations. The service
    object uses multiple threads to process messages concurrently unless the WCF-NetMsmq receive locations are used with the Ordered processing property being selected"
    (this is also why I'm wondering why Microsoft doesn't provide the option to run ordered delivery with other wcf-bindings than NetMsmq...)
    The search for ordered processing out of Oracle continues...
    regards
    /Henrik

  • Memory used by oracle 11g processes on solaris 10

    I am running oracle 11.1.0.7 on solaris 10. The database uses some 280M virtual memory size for each oracle backup or user process. See the SZ column in output of ps -efl below.
    I just wonder how come oracle that much of memory for each process. Is that something we can control through some system/database parameters or is that the way oracle 11g on solaris works?
    oracle@taut $ ps -efl|grep cttrain6
    F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
    0 S oracle 2490 1 0 40 20 ? 284111 ? 12:23:37 ? 0:01 ora_q001_cttrain6
    0 S oracle 9698 1 0 40 20 ? 283837 ? 13:37:51 ? 0:00 ora_w000_cttrain6
    0 S oracle 2147 1 0 40 20 ? 285464 ? 12:18:11 ? 0:15 ora_lgwr_cttrain6
    0 S oracle 2135 1 0 40 20 ? 283878 ? 12:18:09 ? 0:17 ora_dia0_cttrain6
    0 S oracle 9979 11472 0 50 20 ? 211 ? 13:40:24 pts/2 0:00 grep cttrain6
    0 S oracle 2157 1 0 40 20 ? 283942 ? 12:18:13 ? 0:47 ora_mmnl_cttrain6
    0 S oracle 2129 1 0 40 20 ? 283830 ? 12:18:09 ? 0:06 ora_diag_cttrain6
    0 S root 2159 1 0 40 20 ? 263214 ? 12:18:13 ? 3:52 ora_dism_cttrain6
    0 S oracle 9565 1 0 40 20 ? 283861 ? 13:35:18 ? 0:00 oraclecttrain6 (LOCAL=NO)
    0 S oracle 2482 1 0 40 20 ? 283837 ? 12:22:55 ? 0:01 ora_q000_cttrain6
    0 S oracle 2884 1 0 40 20 ? 283830 ? 12:27:46 ? 0:01 ora_smco_cttrain6
    0 S oracle 2153 1 0 40 20 ? 283846 ? 12:18:12 ? 0:01 ora_reco_cttrain6
    0 S oracle 2464 1 0 40 20 ? 284150 ? 12:22:42 ? 0:01 ora_fbda_cttrain6
    0 S oracle 2123 1 0 40 20 ? 284270 ? 12:18:08 ? 0:14 ora_pmon_cttrain6
    0 S oracle 2454 1 0 40 20 ? 285190 ? 12:22:34 ? 0:01 ora_arc1_cttrain6
    0 S oracle 2145 1 0 40 20 ? 284792 ? 12:18:11 ? 0:06 ora_dbw3_cttrain6
    0 S oracle 2141 1 0 40 20 ? 284792 ? 12:18:10 ? 0:08 ora_dbw1_cttrain6
    0 S oracle 2149 1 0 40 20 ? 284112 ? 12:18:11 ? 0:25 ora_ckpt_cttrain6
    0 S oracle 9513 1 0 40 20 ? 283885 ? 13:34:18 ? 0:02 oraclecttrain6 (LOCAL=NO)
    0 S oracle 2125 1 0 0 RT ? 283830 ? 12:18:08 ? 0:07 ora_vktm_cttrain6
    0 S oracle 2143 1 0 40 20 ? 284792 ? 12:18:10 ? 0:04 ora_dbw2_cttrain6
    0 S oracle 2459 1 0 40 20 ? 285198 ? 12:22:35 ? 0:01 ora_arc3_cttrain6
    0 S oracle 2451 1 0 40 20 ? 285190 ? 12:22:33 ? 0:01 ora_arc0_cttrain6
    0 S oracle 2131 1 0 40 20 ? 283838 ? 12:18:09 ? 0:02 ora_dbrm_cttrain6
    0 S oracle 2139 1 0 40 20 ? 284872 ? 12:18:10 ? 0:03 ora_dbw0_cttrain6
    0 S oracle 2466 1 0 40 20 ? 283830 ? 12:22:44 ? 0:01 ora_qmnc_cttrain6
    0 S oracle 2151 1 0 40 20 ? 283974 ? 12:18:12 ? 0:05 ora_smon_cttrain6
    0 S oracle 2457 1 0 40 20 ? 285198 ? 12:22:34 ? 0:01 ora_arc2_cttrain6
    0 S oracle 2133 1 0 40 20 ? 283830 ? 12:18:09 ? 0:02 ora_psp0_cttrain6
    0 S oracle 2155 1 0 40 20 ? 284656 ? 12:18:12 ? 0:11 ora_mmon_cttrain6
    0 S oracle 2137 1 0 40 20 ? 283830 ? 12:18:09 ? 0:02 ora_mman_cttrain6

    user567271 wrote:
    I am running oracle 11.1.0.7 on solaris 10. The database uses some 280M virtual memory size for each oracle backup or user process. See the SZ column in output of ps -efl below.
    I just wonder how come oracle that much of memory for each process. Is that something we can control through some system/database parameters or is that the way oracle 11g on solaris works?As you have already said, it is "virtual" memory. This is not real, "physical" memory. Solaris has a virtual memory sub-system layer in it, as do almost all other modern operating systems. Google "operating system virtual memory" to find out more on what virtual memory is and how it works.
    In terms of your question, virtual memory means that not all of a process's memory space needs to be in physical memory for it to run and execute. The process virtual memory space is broken up into equal sized pages, and only those pages currently being referenced (used) are mapped and read into physical memory pages. Thus the virtual size of a process is irrelevant to how much physical memory is being used. Look at the RSS column (ps -ely) for the physical memory used by each process - Resident Set Size.
    Furthermore, an Oracle shadow server process (oracle) uses a large segment of shared memory for the SGA. This shared memory only exists once in physical memory, and is shared amongst all the shadow server processes. But it is mapped into the address space of each process, and so appears and is counted in the virtual and physical memory of each process.
    So each reported virtual size (SZ) of each oracle process is also counting the mapped shared memory pages in each process, and so counting the same pages multiple times across all the oracle processes. You need to subtract the size of the SGA shared memory from the virtual size of each oracle process to determine the private, local memory per shadow process.
    If you want a further breakdown of the memory map of each process, look at the manual pages for pmap (man pmap), which will break it down by text, private data, zero initialized, shared and other types. By subtracting the shared size from the resident size you can get a true view of the private, local memory per oracle shadow server process.
    John

  • Default memory target/SGA values in Oracle 11g

    I have a few minor questions about how Oracle assigns memory parameters when creating database.
    I'm working with Oracle 11gR2. Right now, I've got 4G of RAM available. When I did my install, I created a 'default' database. It assigned a memory_target (and memory_max_target) of 1.6G.
    Now, from what I've read, the SGA memory is part of the 'memory_target' so you shouldn't have to muck around with it. (Both the sga_target and pga_agregate_target have 0.) If I'm wrong, feel free to correct me on that...
    My main question is: How exactly does Oracle figure out what the memory_target should be? Does it look at available RAM and calculate the memory_target based on that, or is it some default value? (I may be setting up an Oracle database on another server with more RAM, and I was curious whether the memory_target would automatically be set higher to reflect the greater RAM availability, or whether I have to do some work to manually increase it.)
    The installation guide simply mentions that 'Memory_target' is used by default but doesn't go into detail about how its calculated. And the administrator's guide gives information on how to change it without talking about what its default is. (At least not that I can see.)
    Would I be better to use the database configuration assistant rather than setting up the database at install time?
    By the way, this is using Oracle 11gR2, 64 bits (so it should be able to address more memory), running under Windows Server 2008 (also 64 bits).
    (Note: I wasn't sure whether this question belonged under database general or installation.)

    At install time, the installer sets the value for MEMORY_TARGET. It seems reasonable to assume that it used 40% of available RAM or 1.6 GB as a starting point when you did the install though this depends on the exact options you chose during the installation process. I believe 40% of the physical RAM is the default if you indicate that you are installing 11.2 on a desktop-class machine with all the default options.
    If you add additional RAM to your machine, that will not change the MEMORY_TARGET setting. You can, however, certainly increase MEMORY_TARGET if you want Oracle to use more of the available RAM. When you tell Oracle that you're installing on a desktop-class machine, it assumes that you are likely going to run a bunch of other software as well that will consume most of the RAM on the box so it limits how much RAM is given to Oracle. It's quite safe to increase that value if you want Oracle to use more of the machine's space.
    Justin

  • Migrating from Red Brick database to Oracle 11g -Need help with the process

    Hi,
    I am on this new project were we are migrating from IBM Red Brick Data Warehouse to Oracle 11g. We have a very tight time line. I was hoping if any of you have done this migration before and are willing to share their experience. Any help would be greatly appreciated. I would like to get a brief idea about how to go about the process.
    Thanks in advance!

    Hello,
    that is a matter of supply and demand, and as the demand to migrate Red Brick to Oracle RDBMS is very low, Oracle never included Red Brick into the migration tools.
    If you search in the forums for Red Brick, you will not find much more than this one from the year 2006:
    Re: Migration from rebrick 6.0.3 to Oracle 9i
    Options:
    In general we have the following options:
    1. Oracle Migration Workbench
    2. SQL Developer Migration Workbench
    3. Generic Connectivity
    4. SQL*Loader
    Regarding your dedicated foreign database, option 1 and 2 fail as those tools
    do not work against Red Brick DB.
    Generic Connectivity would be an option if you have an ODBC driver to this database.
    In this dedicated case, you can then set up generic connectivity (= a database
    link to the foreign database using odbc).
    The Oracle database we support generic connectivity can reside on Windows,
    Solaris, HP-UX, AIX and Linux.
    If the Oracle database is on any other platform, you might migrate to a
    database on this platform, then export the migrated DB and then load it into
    the real target db.
    Generic Connectivity will allow you to perform a SQL*Plus copy of tables; this
    means you can create tables like they are defined in your source and transfer
    the data to the Oracle db; but no procedures, triggers or anything coded can be
    transferred.
    Last option (4) is that you generate "flat files". This means ASCII-SPOOL
    Files and then import them using SQL*Loader. As far as I know there is no
    existing SQL*Loader sample file for Red Brick databases exports and you need to
    write them on your own.
    I recommend to read also the following note in My Oracle Support:
    Note 233876.1: Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    Best regards
    Wolfgang

  • ADF 11g- Selecting Maximum value of a field on Commit Button

    Hi
    I am trying to assign a value to a field on form by selecting max(id)+1 from database table on commit button.
    It assign the value to field but try to commit before assigning value.
    code is like this:-
    public String commandButton2_action() {                  ////////////////a commit button.
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("Commit");
    commandButton3_action();////////////Retrieve the maximum value from database.
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    return null;
    please do guide. what to do.
    Regards
    M Niaz

    Thanks,
    I know, that's why i am try to put this on save button instead on any other.
    But this is not an issue whether to use sequence or max()+1. I can use sequence instead but even then i have to get the nextvalue on form before commit.
    and i have to put that on commit button.
    Commit but try to commit the form before getting anything from DB.
    M Niaz

  • Oracle 11g Linguistic NLS SORT Throws Exception

    Hi All,
    I am using oracle 11g and when i try NLS_Sort with Generic_m option, throws ORA-00910 exception. See below for more details
    Select * From v$version
    1 Oracle Database 11g Release 11.1.0.6.0 - Production
    2 PL/SQL Release 11.1.0.6.0 - Production
    3 CORE 11.1.0.6.0 Production
    4 TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    5 NLSRTL Version 11.1.0.6.0 - Production
    Select * From v$NLS_PARAMETERS;
    1 NLS_LANGUAGE AMERICAN
    2 NLS_TERRITORY AMERICA
    3 NLS_CURRENCY $
    4 NLS_ISO_CURRENCY AMERICA
    5 NLS_NUMERIC_CHARACTERS .,
    6 NLS_CALENDAR GREGORIAN
    7 NLS_DATE_FORMAT DD-MON-RR
    8 NLS_DATE_LANGUAGE AMERICAN
    9 NLS_CHARACTERSET WE8MSWIN1252
    10 NLS_SORT    BINARY
    11 NLS_TIME_FORMAT HH.MI.SSXFF AM
    12 NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    13 NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    14 NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    15 NLS_DUAL_CURRENCY $
    16 NLS_NCHAR_CHARACTERSET AL16UTF16
    17 NLS_COMP    BINARY
    18 NLS_LENGTH_SEMANTICS BYTE
    19 NLS_NCHAR_CONV_EXCP FALSE
    I have one table 'Test' in that column TestDesc varchar2(4000). Now if i retrieve the records by
    select sts, it is successfully executed. The same if i do after exec of the below sts, it is
    throwing ORA-00910:specified length too long for its datatype.
    1. ALTER SESSION SET NLS_SORT=GENERIC_m;
    2. Select * From Test order by TestDesc; (It is throwing ORA-00910 exception)
    But the same query/setup is executed successfully in oracle 10g.
    My question:
    Why it is throwing this exception especially in 11g?
    Do i need to excute any alter sts like changing of charactor set..
    Kindly help me to sove this issue.

    Does that mean that 11.2.0.1 (without pse), NLSSORT does not work as intended (documented)?
    Correct. At least, if the related information in bug reports is correct.
    Is there in 11.2.0.2 still silent truncation instead of "... calculates the collation key for a maximum prefix", if there's a difference?
    There is no difference. The term "silent truncation" is not really precise, so the documentation describes the process in a more elaborate way.
    Shouldn't docs mention that a "calculated result" could mean that sorts may sometimes be out of sequence (in-exact collation)?
    Yes, it should. It is sometimes too easy to assume that things obvious to oneself are also obvious to anybody else ;-) I have asked for the following explanation to be added after the relevant doc paragraph:
    "The above behavior implies that two character values whose collation keys (NLSSORT results) are compared to find the linguistic ordering are considered equal if they do not differ in the prefix described above even though they may differ at some further character position. As the NLSSORT function is used implicitly to find linguistic ordering for comparison conditions, BETWEEN condition, IN condition, ORDER BY, GROUP BY, and COUNT(DISTINCT), those operations may return results that are only approximate for long character values. This is a restriction of the current comparison architecture. Currently, the only way to guarantee precise linguistic comparison results is to not compare character values that are longer than 499 characters for monolingual collations and 124 characters for multilingual collations."
    -- Sergiusz
    Edited by: S. Wolicki, Oracle on May 5, 2011 1:17 PM
    Lowered the pessimistic length for multilingual sorts from 249=floor((2000-3)/8) to 124=floor((2000-3)/16)

Maybe you are looking for