Increase 'archive_max_process'  in oracle 10g

Dear Friends ,
I want to increase the value of 'archive_max_process' dynamically (i.e., alter system or alter database ) in my oracle 10g . Is it possible to do ?

Hi,
Kindly find the below.
alter system set log_archive_max_processes=4;
The LOG_ARCHIVE_MAX_PROCESSES initialization parameter specifies the number of ARCn processes that the database initially invokes. The default is two processes. There is usually no need specify this initialization parameter or to change its default value, because the database starts additional archiver processes (ARCn) as needed to ensure that the automatic processing of filled redo log files does not fall behind.
However, to avoid any runtime overhead of invoking additional ARCn processes, you can set the LOG_ARCHIVE_MAX_PROCESSES initialization parameter to specify up to ten ARCn processes to be started at instance startup. The LOG_ARCHIVE_MAX_PROCESSES parameter is dynamic, and can be changed using the ALTER SYSTEM statement. The database must be mounted but not open. The following statement increases (or decreases) the number of ARCn processes currently running:
ALTER SYSTEM SET LOG_ARCHIVE_MAX_PROCESSES=3;
Best Regards
RajaBaskar

Similar Messages

  • Increase SGA in Oracle 10g

    Hi everyone,
    I am Ann. I am not a DBA, because the main DBA and Developer is on maternity leave have to step up to look after an Oracle Application Forms and Reports and Oracle database (version 10.1).
    Recently, people complaints the apps is slow.
    So I open the Enterprise Manager, and check the Performance Adviser, it shows one issue
    Finding          The buffer cache was undersized causing significant additional read I/O.
    Impact (minutes)          5.31
    Impact (%)     
    13.13
    The recommendation is Increase SGA target size by increasing the value of parameter "sga_target" by 928 M. (there is a button Implement next to the message).
    The findings path is
    The buffer cache was undersized causing significant additional read I/O.
    13.13     
    Wait class "User I/O" was consuming significant database time.     16.27     
    About the server, we use OpenSuse. I also log into the server as root.
    Type free command to get info about memory and here is the details
    borg:~ # free
    total used free shared buffers cached
    Mem: 6101512 6001288 100224 0 180376 4636256
    -/+ buffers/cache: 1184656 4916856
    Swap: 12586916 1728548 10858368
    I just want to know is it safe to run the implement button to increase the SGA target size.
    I know that I have to shutdown and restart the instance.
    Many thanks,
    Ann

    >
    I just want to know is it safe to run the implement button to increase the SGA target size.
    >
    You shouldn't do anything until
    1. You confirm that there is, in fact, a problem
    2. You determine exactly what the problem is
    3. You determine the cause, or causes, of the problem
    4. You identify, and rank, possible solutions to the problem
    5. You test possible solutions in a dev/text environment to make sure your process works as expected.
    6. You script a method to 'undo' any changes you make
    >
    Recently, people complaints the apps is slow.
    >
    So what! People always complain that apps are slow. While it's fine to take note of that don't make a knee-jerk reaction to it.
    Gather more information.
    1. Slow in what way? entering data? running reports? batch jobs?
    2. Slow when? first thing in the morning? mid-day when all users are on the system? all the time?
    3. How long has it been slow? Just started? A couple of days? a few weeks?
    4. What does the main DBA say about the reported slowness? Have you called to ask? Why not? They are on maternity leave not climbing the alps or Himalayas. Call them and ask them if they were aware of reported problems.
    5. Did you ask the main DBA what you should look at? Why not?
    Tell us more information. What are the memory parameters now?
    Open a sql*plus session and then run and post the results of
    1. SHOW PARAMETER SGA_TARGET
    2. SHOW SGA
    3. SHOW PARAMETER POOL

  • How can i increase sga size in oracle 10g

    Hello friends
    how can i increase my sga size in oracle 10g
    Regards
    Vicky
    Edited by: Vignesh Chinnasamy on 31-Jul-2012 02:28

    HI
    **SQL> Show parameter sga ;**
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 2G
    sga_target                           big integer 2G
    **SQL> show parameter memory;**
    NAME                                 TYPE        VALUE
    hi_shared_memory_address             integer     0
    shared_memory_address                integer     0
    **[root@mte ~]# ulimit -a**
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1024
    max locked memory       (kbytes, -l) 32
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    stack size              (kbytes, -s) 10240
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 278528
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    *[root@mte ~]#*

  • User Connections getting increase in Oracle 10g database

    Hi All,
    we have a java application setup in Websphere 6.0 server with Oracle 10g as a back end database.
    Our application server is load balanced by two seperate server.
    We found that there are more number of inactive connections getting established to database from application server.
    Those connections keep on increasing automatically though we closed all the session created through application.
    Is there any specific reason behind this. Currently we are killing those sessions manually.
    Kindly help me in resolving this issue.
    Thanks in advance.
    Regards
    Aruna

    The main reason for this is products like Websphere are stateless, and establish a connection for every statement, execute the statement and close the connection.
    Refrain from setting up connection pooling, either in Websphere or at the database site, and you will keep seeing this.
    As such it is not a database problem. It is a problem of developers who don't know connection pooling.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • Oracle 10G New Feature........Part 1

    Dear all,
    from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
    share some intresting feature on 10g and some internal stuff with all of you.
    Have a look :-
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Oracle 10g Memory and Storage Feature.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1.Automatic Memory Management.
    2.Online Segment Shrink
    3.Redolog Advisor, checkpointing
    4.Multiple Temporary tablespace.
    5.Automatic Workload Repository
    6.Active Session History
    7.Misc
    a)Rename Tablespace
    b)Bigfile tablespace
    c)flushing buffer cache
    8.ORACLE INTERNAL
    a)undocumented parameter (_log_blocks_during_backup)
    b)X$ view (x$messages view)
    c)Internal Structure of Controlfile
    1.Automatic memory management
    ================================
    This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
    better performance with the help of own experience,advice views and by monitoring the behaviour
    of oracle database.
    this was just time consuming activity.........
    Now this feature makes easy life for oracle DBA.
    Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
    it focus on DB_CACHE_SIZE
    SHARED_POOL_SIZE
    LARGE_POOL
    JAVA_POOL
    and automatically set it as
    __db_cache_size
    __shared_pool_size
    __large_pool_size
    __java_pool_size
    check it in alert_log
    MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
    it automatically increase and decrease the SGA parameters value as per the requirement.
    Benefit:- Maximum utlization of available SGA memory.
    2.Online Segment Shrink.
    ==========================
    hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
    thats why its always try to reduce the downtime by intrducing new feature.
    in previous version ,reducing High water mark of table was possible by
    Exp/imp
    or
    alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
    but in 10g with just few command we can reduce the HWmark of table.
    this feature is available for ASSM tablespaces.
    1.alter table emp enable row movement.
    2.alter table emp shrink space.
    the second cmd have two phases
    first phase is to compact the segment and in this phase DML operations are allowed.
    second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
    So if want to shrink the HWM of table then we should use it with two diff command
    first compact the segment and then shrink it on non-peak hrs.
    alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
    and alter table emp shrink space. (This cmd should be on non-peak hrs.)
    Benefit:- better full table scan.
    3.Redolog Advisor and checkpointing
    ================================================================
    now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
    SELECT OPTIMAL_LOGFILE_SIZE
    FROM V$INSTANCE_RECOVERY
    this value is influence with the value of FAST_START_MTTR_TARGET .
    Checkpointing
    Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
    4.Multiple Temporary tablespace.
    ==================================
    Now we can manage multiple temp tablespace under one group.
    we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
    For example, if group1 is not exists,then the following statements create this groups with new tablespace
    CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
    SIZE 50M
    TABLESPACE GROUP group1;
    --Add Existing temp tablespace into group by
    alter tablespace temp2 tablespace group group1.
    --we can also assign the temp tablespace group on database level as default temp tablespace.
    ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
    benefit:- Better I/O
    One sql can use more then one temp tablespace
    5.AWR(Automatic Workload Repository):-
    ================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
    is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
    MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
    we can generate a AWR report by
    SQL> @?/rdbms/admin/awrrpt
    Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
    it show report in Html and Text format.
    we can also take manually snapshot for AWR by
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
    END;
    **The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
    [oracle@RMSORA1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?/rdbms/admin/awrrpt
    Current Instance
    ~~~~~~~~~~~~~~~~
    DB Id DB Name Inst Num Instance
    4174002554 RMSORA 1 rmsora
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified: text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    DB Id Inst Num DB Name Instance Host
    * 4174002554 1 RMSORA rmsora RMSORA1
    Using 4174002554 for database Id
    Using 1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed. Pressing <return> without
    specifying a number lists all completed snapshots.
    Listing the last 3 days of Completed Snapshots
    Snap
    Instance DB Name Snap Id Snap Started Level
    rmsora RMSORA 16186 16 Mar 2006 17:33 1
    16187 16 Mar 2006 18:00 1
    16206 17 Mar 2006 03:30 1
    16207 17 Mar 2006 04:00 1
    16208 17 Mar 2006 04:30 1
    16209 17 Mar 2006 05:00 1
    16210 17 Mar 2006 05:31 1
    16211 17 Mar 2006 06:00 1
    16212 17 Mar 2006 06:30 1
    16213 17 Mar 2006 07:00 1
    16214 17 Mar 2006 07:30 1
    16215 17 Mar 2006 08:01 1
    16216 17 Mar 2006 08:30 1
    16217 17 Mar 2006 09:00 1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 16216
    Begin Snapshot Id specified: 16216
    Enter value for end_snap: 16217
    End Snapshot Id specified: 16217
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_16216_16217.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Benefit:- Now DBA have more free time to play games.....................:-)
    Advance version of statspack
    more DB and OS information with self managing capabilty
    New Automatic alert and database advisor with the help of AWR.
    6.Active Session History:-
    ==========================
    V$active_session_history is view that contain the recent session history.
    the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
    So we can get latest and active session report from v$active_session_history view and also get histortical data of
    of session from DBA_HIST_ACTIVE_SESS_HISTORY.
    v$active_session_history include some imp column like:-
    ~SQL identifier of SQL statement
    ~Object number, file number, and block number
    ~Wait event identifier and parameters
    ~Session identifier and session serial number
    ~Module and action name
    ~Client identifier of the session
    7.Misc:-
    ========
    Rename Tablespace:-
    =================
    in 10g,we can even rename a tablespace by
    alter tablespace <tb_name> rename to <tb_name_new>;
    This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
    **we can't rename system and sysaux tablespace.
    Bigfile tablespace:-
    ====================
    Bigfile tablespace contain only one datafile.
    A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
    Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
    we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
    without ASM or RAID ,it gives poor response.
    syntax:-
    CREATE BIGFILE TABLESPACE bigtbs
    Flushing Buffer Cache:-
    ======================
    This option is same as flushing the shared pool,but only available with 10g.
    but i don't know, whats the use of this command in prod database......
    anyway we can check and try it on test server for tuning n testing some query etc....
    SQL> alter system flush buffer_cache;
    System altered.
    ++++++++++++++++++
    8.Oracle Internal
    ++++++++++++++++++
    Here is some stuff that is not related with 10g but have some intresting things.
    a)undocumented parameter "_log_blocks_during_backup"
    ++++++++++++++++++++++++
    as we know that oracle has generate more redo logs during hotbackup mode because
    oracle has to maintain the a complete copy of block into redolog due to split block.
    we can also change this behaviour by setting this parameter to False.
    If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
    during a hot backup.
    WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
    b)some X$ views (X$messages)
    ++++++++++++++++
    if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
    X$messages :-it show all the actions that a background process do.
    select * from x$messages;
    like:-
    lock memory at startup MMAN
    Memory Management MMAN
    Handle sga_target resize MMAN
    Reset advisory pool when advisory turned ON MMAN
    Complete deferred initialization of components MMAN
    lock memory timeout action MMAN
    tune undo retention MMNL
    MMNL Periodic MQL Selector MMNL
    ASH Sampler (KEWA) MMNL
    MMON SWRF Raw Metrics Capture MMNL
    reload failed KSPD callbacks MMON
    SGA memory tuning MMON
    background recovery area alert action MMON
    Flashback Marker MMON
    tablespace alert monitor MMON
    Open/close flashback thread RVWR
    RVWR IO's RVWR
    kfcl instance recovery SMON
    c)Internal Structure of Controlfile
    ++++++++++++++++++++++++++++++++++++
    The contents of the current controlfile can be dumped in text form.
    Dump Level Dump Contains
    1 only the file header
    2 just the file header, the database info record, and checkpoint progress records
    3 all record types, but just the earliest and latest records for circular reuse record types
    4 as above, but includes the 4 most recent records for circular reuse record types
    5+ as above, but the number of circular reuse records included doubles with each level
    the session must be connected AS SYSDBA
    alter session set events 'immediate trace name controlf level 5';
    This dump show lots of intresting information.
    it also show rman recordes if we used this controlfile in rman backup.
    Thanks
    Kuljeet Pal Singh

    You can find each doc in html and pdf format on the Documentation Library<br>
    You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
    <br>
    Nicolas.

  • Oracle 10g on HP-UX, Terrible Poor Performance!!

    Hi All,
    I setup an Oracle 10g on HP-UX 11iv1. Server is a HP 9000, 4 CPUs (750
    MHZ). It is connected to Disk System 2405 (Virtual Array 7110). Fiber
    Channels are connected at 2 GB speed.
    I installed a cluster 10g database. First I installed CRS and after
    that I installed oracle database. ( I want to test clustered database
    with one instance)
    I installed every thing line by line as oracle document wrote.
    All the things, kernel parameters, patches, are like oracle wrote in
    its document.
    I installed Golden quality package June 2004.
    I increased shmmax to 2.3 G . My SGA is 1.7 G And change some other
    parameters as Sandy Gruver wrote in Best Practices for Oracle on HPUX.
    I used oracle new storage system called ASM for this case.
    When I put the system under the load, I was monitoring the system
    carefully.
    I started gmp. When we sent some quarries to database (It is not heavy
    load, I tested it with a Linux system on proliant ML570 without any
    problem), suddenly DISK section in gpm changed to red (critical ) I
    read the warning. It said "Disk bottleneck probability = 100%". I
    changed the output of disk report to "Report IO by Disk"
    "DISK%" was 100% and "RAW IO RT" was about 1000 for two disks ( This
    two disks dedicated for ASM). In this situation CPU idle time was 1% or
    2% for all the CPUs but load average was about 1. Performance is not
    acceptable at all ( In comparison with Oracle that installed on Linux).
    Glance reported Disk was in Critical situation.
    I think the problem is IO or something about Disks
    I used HP Disk System 2405. Fibber channels on both server side and
    Disk Array side are configured at 2 Gb and topologies are
    PTTOPT_FABRIC.
    Is it ok that RAW IO RT about 1000 for each LUN?
    Why Disk% in glance/report IO BY Disk/ was 100%?
    I found an error in STM logs about I/O.It said:
    Entry type: I/O error
    Product: Fiber Channel Interface
    Logger: td
    It logged this error about 12 times during the test.Any comment?
    Regards,
    Hasan

    Sorry, I have not a solution for your problem, but similar things happen on our installation on Solaris 5.8 with Oracle 10:
    I have a banking business solution from Windows/SQL Server 2000 to Sun Solaris/ORACLE 10g migrated. In the test environment everything was working fine. On the production system we have very poor DB performance. About 100 times slower than SQL Server 2000!
    Environment at Customer Server Side:
    Hardware: SUN Fire 4 CPU's, OS: Solaris 5.8, DB Oracle 8 and 10
    Data Storage: Em2
    DB access thru OCCI [Environment:OBJECT, Connection Pool, Create Connection]
    Depending from older applications it's necessary to run ORACLE 8 as well on the same Server. Since we have running the new solution, which is using ORACLE 10, the listener for ORACLE 8 is frequently gone (or by someone killed?). The performance of the whole ORACLE 10 Environment is very poor. As a result of my analyse I figured out that the process to create a connection to the connection pool takes up to 14 seconds. Now I am wondering if it a problem to run different ORACLE versions on the same Server? The Customer has installed/created the new ORACLE 10 DB with the same user account (oracle) as the older version. To run the new solution we have to change the ORACLE environment settings manually. All hints/suggestions to solve this problem are welcome. Thanks in advance.
    Anton

  • Netweaver 2004s installation problem on Windows: Oracle 10G

    Hi Friends,
    I would like to install Netweaver 2004S(with usage types AS ABAP, AS JAVA, BI, BI JAVA, EP & DI) on a server which has Windows 2003 server OS running on it.
    The server has 6GB RAM and has 5GB of free space on C: and a free sapce  of 60GB on H: & 50GB on I: respectively.The database that is to be used is Oracle 10g.
    Do I need to install first SAP solution manger 4.0 on this or Can i proceed with Netweaver  2004 S installation???
    I am installing a central system.
    First I tried installing SAP solution manger 4.0 on this system and it went successfully. Now when i am installing Netweaver 2004s on the same machine, during installation I am asked whether to "install a MCOD or create a new database for this installation".
    I chose Install MCOD and proceeded  further with Installation. But my installation is taking a lot of time while executing the service :"Creating database schema". The message which i get on status bar is " Removing schema user SAPSR3" and the status remains the same.
    Have any of you faced this problem ? Please let me know how you have proceeded further.
    Before starting the installation  one of the prerequisites " SWAP SPACE VALUES" for installation was not satisfied by my system  and even then i proceeded with the installation.
    Is it because of this SWAP space problem , my intsallation is strcuk?? or what could be the reason fo this?
    Thanks
    Diwakar

    Hello Diwakar, 
    If you are just installing NW2004s then it is not mandatory to install Solution manager.
    To increase the swap space --
    Right click my on computer ->Select Properties -> Click Advanced Tab ->Click Settings (performance) -> Select Advanced Tab -> In virtual memory -> Change
    you canIncrease swap space/page file here.
    Do not install the system as MCOD, make the seperate database.
    Do revert for further doubt.
    Best Regards,
    Sachin.

  • Open cursors problem- j2ee + oracle 10g

    Hi,
    I am using EJB on sunOne application server 8.1., Oracle 10g DB.
    EJB container connects to Oracle DB through a set of connection pools.
    BMP for all entity beans.
    I have about 160 PL/SQL functions that make up the business logic of the online application. everytime the application runs, I get an increasing number of open cursors, including some of the ones that are explicitly closed within PL/SQL (inspection with sys.v_$open_cursor).
    I made sure all CallableStatements, PreparedStatements, RecordSets within the beans are closed and set to NULL. All PL/SQL functions use explicit cursors, so every select statement is managed within a cursor which is explicitly closed when the function finishes with it.
    From v$open_cursor, I identified the sessions with the cursors still open, and issued (ALTER SYSTEM KILL SESSION �sid, #serial�) for each of the sessions (this is done via a PL/SQL function for all inactive sessions).
    These sessions have state INACTIVE, and wait_class IDLE. This has Killed all sessions, but I was not able to use the application anymore. I suspect by killing those sessions we have also caused the connections between EJB container and the Oracle DB. The only way to use the application now is to stop and restart the sunONE domain � this is very inconvenient.
    Has anyone encountered a similar problem? any suggestions to reduce or eliminate the open cursors number? Please help.
    Thank you all

    Maybe you can try to have a smaller steady-pool-size and idle-timeout-in-millis for your connection pools.
    Also, if that's at all possible, have smaller number of connection pools being shared by more apps.
    Just my 2c.
    thanks.

  • Oui-10207error while installing oracle 10g on linux in vmware

    Hi,
    I have installed vmware on windows 7(64 bit) on which i have installed Oracle Enterprise linux 5. I have set all the variables correctly. but when i try to install oracle 10g on linux, i get the error
    OUI-10207:there is not enough disk space in the OUI swap area /tmp/OraInstall2011-10-17_03-44-48PM.Please make atleast 529KB of space avaivale and retry.
    but i have around 95bg of space. My partitions are as follows
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 12551 100815876 83 linux
    /dev/sda2 12552 13041 3935925 82 Linux swap/solaris
    /dev/sda3 13042 13054 104422+ 83 linux
    Please help me in solving the problem.
    Thanks
    Viraj

    What is your swap size? try to increase size
    execute below command on terminal, paste result here.
    #swapon -s
    #free
    Tips : how to increase swap space
    http://hackertrip.wordpress.com/2011/09/11/increase-swap-space/

  • Question on replication in Oracle 10G Release 2

    Good day,
    I have a few questions on setting up replication that fits my scenario described below. Thank you in advance for reading and answering my post.
    Scenario
    I need to replicate 100-200 tables from the first OLTP server to the second DSS server that is read-only. The servers are physically located in different countries. Both servers use Oracle 10G Release 2. Required frequency of refreshes is 1-3 hours.
    Questions
    1. Is it optimal to use materialized views with fast/force refreshes for implementation of this scenario? If no, what are the better options?
    2. How do network interruptions and latency affect stability of work of replication with materialized views?
    3. How big is additional performance overhead at OLTP (source) server due to setting up replication with materialized views?

    1) I guess it depends on how you define "optimal". It's certainly a reasonable option. You might also look at Streams or even logical standby databases. There are various trade-offs involved, so it really depends on your environment.
    2) What does "stability of work of replication" mean, exactly? Obviously, if the network fails, the replication job(s) will generate errors. Depending on how you set things up, the replication process will be retried after increasing intervals until it succeeds.
    3) Maintaining materialized view logs on the OLTP system could certainly impact performance-- the logs have to be maintained synchronously with the OLTP transactions. That may or may not noticably impact OLTP transaction performance-- it's probably roughly equivalent to putting a trigger on each of the 100-200 tables. Something like Streams is designed to put less load on the source system because changes are captured asynchronously.
    Justin

  • TNS 12549 error on installing Oracle 10g on Windows XP Home?

    Hi,
    I installed Oracle 10g on Windows XP Home by clicking on Disk1\install\setup (NOT Disk1\setup as instructed since that did not work). Everything seemed to go fine except towards the end of the install I got a whole bunch of errors saying that "operating system resource quota exceeded". There were options to Ignore or Abort at most of these stages. I chose Ignore and the whole install seemed to complete but I am not able to connect to the database using sqlPlus. I looked at the log files created where I saw a whole bunch of errors in several files. For example in sqlnet log, I saw this error (among others) appeneded below. It seems obvious that some resource quotas were exceeded but I am not able to figure out exactly what quotas should be increased. Any help regarding this would be greatly appreciated.
    Thanks.
    Sudip
    ===================================================
    Fatal NI connect error 12549, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleorcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=CHAKRABORTY-04)(USER=Owner))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
    Time: 13-MAR-2005 18:03:25
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12549
    TNS-12549: TNS:operating system resource quota exceeded
    ns secondary err code: 12560
    nt main err code: 519
    TNS-00519: Operating system resource quota exceeded
    nt secondary err code: 8
    nt OS err code: 0
    ===================================================

    XP Home is not supported, despite of this some people get oracle to work.
    But in your case, possibly your machine has simply not enough resources, 12549 is a very generic error. Check the hardware requirements in the installation guide.

  • ORA-12952 and Oracle 10g XE problem with migration to 11g XE

    Hi, all
    My DB (Oracle 10g XE) reach storage limit. I have tried to migrate to 11g XE version but unsuccessful.
    For migration I used next manual: http://download.oracle.com/docs/cd/E17781_01/install.112/e18803/toc.htm#XEINW136
    expdp returned next error:
    Processing object type DATABASE_EXPORT/SCHEMA/CLUSTER/INDEX
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    2D6F0304 14916 package body SYS.KUPW$WORKER
    2D6F0304 6300 package body SYS.KUPW$WORKER
    2D6F0304 5638 package body SYS.KUPW$WORKER
    2D6F0304 2145 package body SYS.KUPW$WORKER
    2D6F0304 6861 package body SYS.KUPW$WORKER
    2D6F0304 1262 package body SYS.KUPW$WORKER
    285BD50C 2 anonymous block
    Next I have tried to garbage some information from DB but I got some as "UNDO cannot get next block" error.
    What else can I do to migrate the data from 10g with limitation problem to 11g?
    Thank You in advance.

    There is output from SQL:
    "OWNER"; "TABLESPACE_NAME"; "COUNT(*)"; "SIZE_MB"
    "A1"; "USERS"; "899"; "3995,9375"
    "SYS"; "SYSTEM"; "980"; "323,1875"
    "FLOWS_020100";"SYSAUX"; "658"; "297,625"
    "SYS"; "SYSAUX"; "626"; "151,125"
    "XDB"; "SYSAUX"; "753"; "84,5"
    "SYSTEM";"SYSTEM"; "259"; "31,75"
    "SYS"; "UNDO"; "10"; "20,25"
    "MDSYS"; "SYSTEM"; "96"; "12,25"
    "SYSTEM";"SYSAUX"; "109"; "6,8125"
    "CTXSYS";"SYSAUX"; "74"; "4,625"
    "D1"; "USERS"; "14"; "3,5625"
    "DBSNMP";"SYSAUX"; "25"; "1,5625"
    "HR"; "USERS"; "25"; "1,5625"
    "FLOWS_FILES";"SYSAUX"; "7"; ",5"
    "OUTLN"; "SYSTEM"; "8"; ",5"
    "TSMSYS";"SYSAUX"; "4"; ",25"
    1. When I tried to delete some old data from USERS dataspase by some PROCEDURE I got the next error:
    ERROR at line 1:
    ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDO'
    This problem I solved. PROCEDURE generate huge buffer for transaction. Therefore I deleted the old data by small pieces.
    After I have deleted the old data the Application start to comunicate with database without ORA-12952 error.
    2. I've reduced the size of SYSAUX (http://remidian.com/oracle/purging-sysaux-tablespace-purging-awr-reports.html) down to 94%
    3. I has SYSTEM tablespace 100% full. When I've tried to resize the SYSTEM table up I got the ORA-12952. Then I've increased the SYSTEM table size by 1M. In such way I got additional 9Mb for the SYSTEM tablespace (from 360Mb to 369Mb 98%). Is any other way to reduce of the SYSTEM tablespace filling?
    4. Next (http://wiki.oracle.com/page/Data+Pump+Export+%28expdp%29+and+Data+Pump+Import%28impdp%29)
    on the step: $ expdp system/<password> DIRECTORY=expdp_dir DUMPFILE=expfull.dmp FULL=y LOGFILE=expfull.og
    i got the error:
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.CREATE_OBJECT_ROWS while calling FORALL [TABLE]
    ORA-12952: The request exceeds the maximum allowed database size of 4 GB
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 116
    ORA-06512: at "SYS.KUPW$WORKER", line 6248
    There is my last state of the tablespace filling:
    "Tablespace"; "Size (MB)"; "Free (MB)"; "% Free"; "% Used"
    "UNDO"; "500"; "411,6875"; "82"; "18"
    "SYSAUX"; "570"; "31,5"; "6"; "94"
    "USERS"; "4180"; "178,875"; "4"; "96"
    "SYSTEM"; "369"; "1,25"; "0"; "100"
    "TEMP"; "291"; "0"; "0"; "100"

  • Appropriate size for Autoextending datafile in oracle 10g

    Hi,
    I am using Oracle 10g 10.2.0.3.0 on linux 64 bit with 16GB RAM, one thing i want to find out that i have my schema datafile, which set on autoextend, i have set next size to 100mb, if the file reaches to its full does it make us wait for long to create a place of 100mb or should i reduce the size from 100mb to 10mb.
    What should be the appropriate Next size in Autoextend for oracle database in my case, if there is a performance problem like login delay in schema due to increasing in size of datafile then how do i find out because i do not have database diagnostic tools.
    Because today there was a delay in login to the schema and EM was showing wait, but i could not find out that why the wait was there, when i check the datafile size it was 1203 MB , i thought it may be due to the extension of data file but how do i confirm this thing.
    In the table DBA_ADVISOR_FINDINGS it is giving following problem
    Problem PL/SQL execution consumed significant database time.
    Symptom Wait class "Network" was consuming significant database time.
    Problem Wait event "TCP Socket (KGAS)" in wait class "Network" was consuming significant database time.

    Slow connect is not related with datafile extension.
    Regarding Wait event "TCP Socket (KGAS)"
    Please read Metalink note 416451.1
    How fast is tnsping to database, ping to database server?

  • Oracle 10g Express Edition - number of simultaneous connections

    Goodmorning,
    I'm goingo to test Oracle 10g Express Edition but I ned to know the max numbers of simultaneous connections it supports.
    Many thanks to all.

    Hi,
    >>Can you tel me how to increase this number in oracle 10g express???
    Just modifying the processes parameter is sufficient. The sessions parameter will be adjusted automatically.
    SQL> alter system set processes=200 scope=spfile;
    SQL> shutdown immediate
    SQL> startupFor more information, take a look at this [url http://forums.oracle.com/forums/thread.jspa?messageID=1672879&#1672879]thread
    Cheers
    Legatti

  • Java Connection Pooling issue with Oracle 10g Express Edition

    Hello
    I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
    I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
    Listener refused the connection with the following error:
    ORA-12516, TNS:listener could not find available handler with the
    matching protocol stack.
    The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
    For e.g.:
    Cache size = 17
    Available Connections = 17
    Cache Limit = 1000
    Active size = 0
    However, if I kill my Tomcat server process and run the application again, it works fine with no error.
    I looked around for possible causes and solutions and all I could find
    was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
    Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
    Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
    Log: Loaded JDBC Driver
    Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
    Error code not handled : 0
    Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS: no appropriate service handler found
    The Connection descriptor used by the client was:
    localhost:1521:xe
    // End of log
    And the Bundled Tomcat server automatically shuts down.
    Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
    E.g.
    Cache size = 18
    Available Connections = 18
    Cache Limit = 1000
    Active size = 0
    Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
    Swetha

    hello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
    try {OracleDataSource ds;
         Connection conn;
      ds = new OracleDataSource();
      ds.setURL("jdbc:oracle:thin:@localhost");
      conn = ds.getConnection("userid","password");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained.  good look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • JSP Precompile Error in Weblogic 5.1 Server

    My application is running well in Weblogic 5.1 sp10 server. I am trying to run my application as NT service. The NT service installed and started with no problem. But I got following error messages when I try to access my JSP. Can anyboby help me out

  • Brush is making dots instead of a line

    Last night in CS5 I was playing with the opacity and spacing of the brush, and now I can't get back to a normal brush. I want just a normal stroke, but the brush is making lots of transparent dots instead. I've switched to Photoshop Elements 7 for no

  • Inter plant profit determination on Consolidation

    Dear Gurus/Experts, I am facing a scenario in Consolidation in an Indian Implementation project. The Client is a manufacturing company and has two plants. The production of 1st plant is mostly captive consumed by 2nd plant and also sold outside. Now

  • Error Message mystery

    When I try to open my newly downloaded and installed CS6 I get the following error message: The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll What is going on and how can I fix it?

  • Scb-68 and PCI-8331 what is converting my analog sgnal into digital%3F

    Long ago, around 7 years ago, I worked on a project in which I interface photodetector to my computer through SCB-68 kit. The SCB-68 kit was connected to computer using PCI-8331 card. Now, my input was analog signal from photodetector but at programm