MAXLOGHISTORY and control_file_record_keep_time in Oracle 8.0.5

Hi All,
We are trying to help a customer recover an 8.0.5 instance that was downed by the control file becoming too full, according to bug 636522. When they attempted to start the database, they encountered "denied expansion of controlfile section 11 by 7281 record(s) the number of records is already at maximum value (65535)". We had them lower the control_file_record_keep_time in order to get the instance back up. It no longer gets that error, but instead, according to the alert.log, it is just hanging after "ALTER DATABASE OPEN" is issued, and the db is still in mount mode.
The instructions for that bug specify that recovery is needed, which makes sense. What I do not understand is why it says to fix the problem by setting MAXLOGHISTORY lower. Wouldn't that just cause the problem to get worse? Can someone explain it a little more thoroughly before I recreate the control file for them? The other thing I don't understand is that in the trace of their controlfile, MAXLOGHISTORY is only 38117, but in the original error, it said 65535 was the limit.
I know an upgrade would be nice, but they say they are unable to at this time.
Thanks in advance for any insight,
-Dave

David,
This is what I think happens:
->There is a bug that causes the system to crash when the controlfile (or certain portions of it) is very large.
-> large MAXLOGHISTORY parameter causes the controlfile to grow very large.
So… bringing down the MAXLOGHISTORY keeps the controlfile out of the its “danger” size (the one that causes the bug to appear).

Similar Messages

  • Best Practice to fetch SQL Server data and Insert into Oracle Tables

    Hello,
    I want to read sqlserver data everry half an hour and write into oracle tables ( in two different databases). What is the best practice for doing this?
    We do not have any database dblinks from oracle to sqlserver and vice versa.
    Any help is highly appreciable?
    Thanks

    Well, that's easy:
    use a TimerTask to do the following every half an hour:
    - open a connection to sql server
    - open two connections to the oracle databases
    - for each row you read from the sql server, do the inserts into the oracle databases
    - commit
    - close all connections

  • Difference between upgrdae and migration about oracle database

    Difference between upgrdae and migration about oracle database
    please give the comments

    Well, the question is almost philosophic...<br>
    In 9i, there is a Migration Guide whereas in 10g there is a Upgrade Guide.<br>
    Furthermore, in 9i, there is the command line startup migrate whereas in 10g that's startup upgrade.
    Somebody think upgrade when go to new release, and migration when go to new version.<br>
    Others think upgrade when new version replace database in place, and migration when new version include a move of database.<br>
    Another point of view is : upgrade is for technical, and migration for application/data.<br>
    <br>
    Well, after these explanations, your upgrade/migratation notion will not be more clear, but I think that is not very important, only a terminology game. The most important is to know what you need : new version or new release.<br>
    <br>
    Nicolas.

  • Difference between Null in c and Null in Oracle

    Hi,
    Can any one tell me the difference between NULL in C language and NULL in Oracle
    Rds,
    Naga

    > Null is some garvage value in oracle.
    Not sure what you mean.
    AFAIK and not being a C programmer myself, isn't null CHR(0) in C? I'm not sure the two concepts (SQL null and C null) have anything in common.

  • Migration MS ACCESS FORMS and Reports to Oracle (Java or Forms or Reports)

    Hello ,
    can someone tell me, how i can migrate a whole MS ACCESS 2000 mdb (with forms and Reports) to Oracle.
    I think i have first migrate the Access DB with the OMWB to Oracle and in the next Step to convert the VBA Code to JAVA or Forms9i.
    BUT Is there a tool available for Migrating VBA code like the OMWB ????

    I don't know if this is an obvious question, but do you have MS Access 2k installed on the machine you are trying to run this from? I'm assuming yes.
    If you do and there is still a problem, you should log a ticket for support who will take your mdb and help out with the issue for you.
    Many thanks
    Barry

  • Loading MS Access Table and Data into Oracle

    Hi,
    I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
    Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
    I have Oracle 10g database and its clients.
    Thanks in advance,
    Rajeev.

    You can use Oracle migration workbench
    Loading MS Access Table and Data into Oracle
    It´s very easy to use and good to import
    regards,
    Felipe

  • How to extract data from xml and insert into Oracle table

    Hi,
    I have a large xml file. which will have hundreds of the following transaction tags having column names and there values.
    There is a table one of the schema with coulums "actualCostRate","billRate"....etc.
    I need to extract the values of these columns and insert into the table
    <Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuUK" chargeCode="LCOCD1" externalID="L-RESCODE_UK1-PROJ_UK_CNT_GBP-37289-8" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-12" transactionType="L" units="11" taskID="5017601" inputTypeCode="SALES" groupId="123" voucherNumber="ABCVDD" transactionClass="ABCD"/>
    <Transaction actualCostRate="0" billRate="0" chargeable="1" clientID="NikuEU" chargeCode="LCOCD1" externalID="L-RESCODE_US1-PROJ_EU_STD2-37291-4" importStatus="N" projectID="TESTPROJ" resourceID="admin" transactionDate="2002-02-04" transactionType="L" units="4" taskID="5017601" inputTypeCode="SALES" groupId="124" voucherNumber="EEE222" transactionClass="DEFG"/>

    Re: Insert from XML to relational table
    http://www.google.ae/search?hl=ar&q=extract+data+from+xml+and+insert+into+Oracle+table+&btnG=%D8%A8%D8%AD%D8%AB+Google&meta=

  • Install and uninstall of Oracle 11g R2 on Windows 2008 Server

    Hi,
    I installed Oracle 11g R2 and set up a database on Windows 2008 Server following the steps in the Installation Guide and it was successful. After uninstalling the product and doing a re-install, the step to configure the Net Configuration Assistant fails with the following msg.
    Failed to allocate port(s) in the specified range(s) for the following process(es): JMS
    [5540-5559], RMI [5520-5539], Database Control [5500-5519], EM Agent [3938] | [1830-1849]
    Also, when I ran "netca.bat" and tried to reconfigure the Listener, it indicated the default port 1521 is being used. I ran "netstat -an" and do not see the port listed.
    Questions:
    What is the best way to check if something was leftover from my previous install of Oracle that is using the default ports?
    What do I need to do to ensure a re-install is successful?
    Uninstalling Oracle -
    1.     Log in as the Administrator.
    2.     Stop all Oracle Services.
    3.     From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4.     Delete the C:\app\oracle directory.
    5.     Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

    Johan, after I uninstalled Oracle, I checked to ensure there were no remaining Oracle services remaining.
    Srini, below are the steps I followed to uninstall Oracle. In step 3, I just ran deinstall.bat without any parameters and provided required information as prompted. Note, I uninstalled using the Administrator user and not the "oracle" account that I used to install Oracle.
    Uninstalling Oracle -
    1. Log in as the Administrator.
    2. Stop all Oracle Services.
    3. From a cmd window, run C:\app\oracle\product\11.2.0\dbhome_1\deinstall\deinstall.bat.
    4. Delete the C:\app\oracle directory.
    5. Remove the following registry entries as per http://download.oracle.com/docs/cd/E11882_01/relnotes.112/e16777/toc.htm:
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle Services for MTS
    HKLM\System\CurrentControlSet\Services\EventLog\Application\OracleDBConsole<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.<SID>
    HKLM\System\CurrentControlSet\Services\EventLog\Application\Oracle.VSSWriter.<SID>
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle11

  • Statement for Lock and Unlock an Oracle user (Urgent)

    Hi DBAs.
    I just want to know about the statement used for lock and unlock the Oracle user thru sysdba suer.
    Thanks
    Hassan

    Hey,
    SQL> alter user <USERNAME> account lock;
    and
    SQL> alter user <USERNAME> account unlock;
    Cheers,
    Marcello M.
    Sorry Justin, same answer........
    Message was edited by:
    Marcello M.

  • How to find Fragmentation of tables and tablespaces in oracle 8i

    Hi,
    How can i measure the fragmentation of Tables and Tablespaces in oracle 8i.
    Do any one have any handy script to find the same.
    What are the attributes to be determined to do health checkup of a database.

    how many such empty blocks are there in the table and of what size.Again Tom Kyte reference :
    http://asktom.oracle.com/pls/ask/f?p=4950:8:7760471022221195640::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:231414051079
    For tablespace, fragmentation is the regular termAbout tablespace, the link from post above can help.
    Nicolas.

  • How to read the data from XML file and insert into oracle DB

    Hi All,
    I have below require ment.
    I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
    Many Thanks.

    Sounds a lot like this question, only with less details.
    how to read data from XML  variable and insert into table variable
    We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us.  Plenty of examples abound on the forums that cover the topics you seek as well.

  • Extract the data from SQL Server and Import into Oracle

    Hi,
    I would like to run a daily job that will export the table data from SQL server table (it will be only one or two table) and Import back into Oracle table (it might one or two table tables).
    Could you please guide me that how can i do this using either sql server or oracle?
    We have oracle 9.2 and sql server 2005.
    Normally i do from flat file which is generated by source destination nand i dump into oracle using sql*loader but this time I have to directly extract/export the data from MS Sql server and load into Oracle table, mostly it will reload so i might doing any massaging data during the load.
    If you show me the detail approach, it will be really appreciated.
    I have access to Sql server but i don't how to use sql server to do this or using oracle as a daily job even becuase have to schedule the job for this as it will be a daily job.
    Thanks,
    poratips

    Unless you can find an open source ODBC driver for SQL Server that runs on Solaris (and I wouldn't be overly hopeful there) Heterogeneous Services would require that you license something-- a third party ODBC driver, a new Oracle instance, or an Oracle Transparent Gateway.
    As I stated below, you could certainly use SQL Server's ETL tool, DTS. Oracle's ETL tools would require additional licensing since you're just on 9.2. You could also write a small application (Java or otherwise) that connected to both databases and transferred the data. If you're particularly enterprising, you could load the SQL Server Type 4 JDBC driver into Oracle's JVM and write a Java stored procedure that connected to the SQL Server database via JDBC, but that's a pretty convoluted approach.
    Justin

  • How to integrate from MS SQL SERVER 2005 and Flatfile to Oracle 10g.

    Hi
    I am new to ODI. I am trying to load sample data from MS SQL Server 2005 and Flatfile to Oracle 10g.
    1. I have created three models.
    1-1. SQL2005 (SRC_CUSTOMER table)
    1-2. Flatfile (SRC_AGE_GROUP.txt & SRC_SALES_PERSON.txt)
    1-3. Oracle 10g (TRG_CUSTOMER table)
    You may know I got those environments from the ODI DEMO environment.
    2. I could able to reverse the tables also.
    3. I have created an interface which contains source table (from MSSQL 2005), Flatfile and target table from ORACLE model.
    4. I have imported the knowledge modules. But I am confusing in selecting the knowledge modules to source and target tables.
    I've selected LKM File to SQL for flatfile model.
    I've also selected LKM SQL to SQL for MSSQL 2005 model and IKM Oracle Incremental Update for the target table (ORACLE).
    I've also implemented the interface that I created. It worked without errors. But there is no data in target table which is TRG_CUSTOMER.
    I really would like to know what happened and what the problems are.
    You can email me [email protected]
    Thanks in advance
    Jason Lee

    what did give for SRC_AGE_GROUP SRC_CUSTOMER join condition
    if it is
    (SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MAX
    give it as
    (SRC_CUSTOMER.AGE>SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE<SRC_AGE_GROUP.AGE_MAX

  • Problem with getting current date and time using oracle.jbo.domain.Date

    I`d like to get current date and time using oracle.jbo.domain.Date method getCurrentDate(), but it always return current date and 12:00:00. I also need to get the current time.

    I think you should use java.sql.Timestamp domain.
    (And set database type to TIME or DATETIME.)
    Jan

  • Convert flat file to XML document and store into Oracle database

    First:
    I have a flatfile and created external table to read that file in Oracle
    Now I want to create an XML document for each row and insert into Oracle database, I think that XMLtype.
    Could you please provide me some information/steps.
    Second:
    Is there performance issues, because everyday I need to check that XML document stored in the database against the in coming file.
    Thank You.

    Oracle 11g R2 Sun Solaris
    Flat file is | (pipe delimited), so I did create an EXTERNAL Table
    row1     a|1|2|3|4
    row2     b|2|3|4|5
    row3     c|6|7|8|9
    I want to store each record as XML document. So it will be easy to compare with next day's load and make insert or update.
    The reason is:
         First day the file comes with 5 columns
         after some days, the file may carry on some additional columns more than 5
         In this case I do not want to alter table to capture those values, if I use XML than I can capture any number of columns, CORRECT!. Please make me correct If I am wrong.
         This is the only reason to try to use the XMLType (XML Document)
         On Everyday load we will be matching these XML documents and update it if there is any column's value changes
    daily average load will be 10 millions and initial setup will be 60-80 millions
         Do I have anyother option to capture the new values without altering the table.
    Please advise!.

Maybe you are looking for

  • Mail and Address Book adding second name to contacts!?

    Each time I recieve an email from, for example, my father, Mail and Address Book change his name to 'Dad Bramhall'. I specifically change it to 'Dad but whenever I sync. to my iPhone the address book entry changes to Dad Bramhall. This is so frustrat

  • Problem in Select stmt in loop

    Hi all, Pls provide your suggestions for the following code. LOOP at ITAB. select * from zxyz into corresponding fields of table ITAB_FINAL where fromdate eq date1           todate eq date2           MATNR eq ITAB-matnr. ENDLOOP. My question is that

  • On Instagram you offer a free iPhone for 20K tagers and followers, is this true or a scam.

    On Instagram you offer a free iPhone for 20K tagers and followers, is this true or a scam.

  • BDC tabstrip control in CO01

    Hi All, I am trying to record the bdc for transaction CO01 .in the second sceen i need to enter the quantity and in the third tab strip subscreen there is storage location.Can anyone please tell me how to handle this .I have recorded it by changing t

  • "Remote IP Address Invalid" to one and "Didn't Respond" to the other..

    I'm a tiger and the other computer I'm attempting to video iChat with is a leopard. It has worked before but now out of nowhere we can't video chat. Every time we try to connect, his will say that I didn't respond and mine will say, mainly, Remote IP