How to set the database in NOARCHIVELOG mode
hellow world,
I knewly joined this organization.
Our database is very small < 4GB data.
Database is running in ARCHIVELOG MODE.
since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
SIR, MY QUESTION IS
WHAT FOR ALL LOG FILES WAITING?
when i am saying NOARCHIEVE than
please explain me, where i committed mistake. I am new to ADMINISTRATION.
1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.
Similar Messages
-
Forms 10g : How to set the Database Item property for an item dynamically ?
Hello all,
I have a requirement where I need to set the database item property of an item to TRUE/FALSE
dynamically at runtime based on certain conditions.
Earlier, in forms 6i I've used,
Set_Item_Property (<item_name>, DATABASE_ITEM, PROPERTY_TRUE);
But in Forms 10g it doesn't recognize this Database_Item property and gives a compilation error.
Have I overlooked something or has this property become obsolete in Forms 10g ?
If obsoleted what is the replacement property ?
Regards,
SamSome options:
1. Create a database-view, including the "real" column in databases where it exists and a "dummy"-column in databases where it doesn't exist.
If that's not possible,
2. set database="No" for your item and
-- create a POST-QUERY-trigger which reads the data for that column from the database, if the column exists, and
-- create a ON-UPDATE-trigger which includes an
UPDATE_RECORD;
UPDATE THETABLE SET
THECOLUMN=thevalue
WHERE ROWID=:THEBLOCK.ROWID;3. Base your block on either a select-from-clause, a ref-cursor or a procedure to adjust he query-part,, for saving use a procedure. -
Changing database to noarchivelog mode during impdp
Hi Guys,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production on RHEL5.
I am in the middle on the impdp and I want my database to run on noarchivelog as it creates a lot of archivelogs.
Will it be proper if I stop the import:
e.g Import> STOP_JOB=IMMEDIATE
and shutdown the database put the database on noarchivelog mode.
then opne database and
impdp hr/hr@mydb ATTACH=myfulljob Will these work fine?
Or should I execute:
alter system archive log stop;
Please Help !!!!!!!!!!!Vinod Dhandapani wrote:
Running the database in Noarchivelog mode means you should be ready to lose data incase there is any crash. I would recommend you to change the size of the redologs so that it will not create frequent archivelogs. Which does nothing about the space required for the archivelogs. If you are generating redo at the rate of 1gb/hour, you will consume archivelog dest space at the rate of 1gb/hour. Doesn't matter if those files are 10mb each or 100mb each.
If space is the problem then use a shell script to move the archivelog to another location (Tape)....And hopefully that shell script is invoking rman to do the work, so that in the event of recovery, rman will know that backups were taken and where they are located.
>
Incase you want to convert the database from archivelog to noarchivelog, follow the steps provided in the following link.
http://racadmin.blogspot.com/2011/06/convert-archivelog-mode-to-noarchivelog.html
Thanks -
I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl
You have to connect via ODBC, then use code along the lines of what is described here:
http://scn.sap.com/thread/3526924
by me on March 28 and Jan on March 29.
Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to start weblogic in debug mode ? and how to set the eclipse in the deb
how to start weblogic in debug mode ? and how to set the eclipse in the debug
Put this in JAVA_OPTIONS :
Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999) -
How to set the classloader mode in Netweaver 04s
Hi All,
Can anybody tell me how to set classloader mode in Netweaver 04S?
In websphere , there is direct option you when you select the project through admin console. But I am able to find the place in the netweaver where I can set such mode.
classloader mode such as parentfirst, parent last etc
I want to set the mode parent last.
This is very urgent requirenment.So please let me know if anybody is having any input on this.
Thanks,
ChandanHi Siddhesh,
Thanks for replying.
Actually,NW has its own version of jaxrpc related jar files (in <drive>:\usr\sap\J2E\JC02\j2ee\cluster\server0\bin\ext\webservices_lib folder) which are of a older version and are being picked up instead of the jars that are present in my application package. As a result, there are exceptions like:
#1.5#0018FE710E98005B000000000000182800044D0B9F1ED11B#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###java.lang.NoSuchMethodError: javax.xml.namespace.QName.getPrefix()Ljava/lang/String;#
#1.5#0018FE710E98005B000000010000182800044D0B9F1ED31A#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.BackslashUtil.getQNameWithDifferentLocal(BackslashUtil.java:62)#
#1.5#0018FE710E98005B000000020000182800044D0B9F1ED379#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.BackslashUtil.getQNameWithBackslashlessLocal(BackslashUtil.java:39)#
#1.5#0018FE710E98005B000000030000182800044D0B9F1ED3D3#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.SymbolTable.populateServices(SymbolTable.java:3078)#
#1.5#0018FE710E98005B000000040000182800044D0B9F1ED42B#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:745)#
#1.5#0018FE710E98005B000000050000182800044D0B9F1ED481#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)#
#1.5#0018FE710E98005B000000060000182800044D0B9F1ED4D8#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)#
#1.5#0018FE710E98005B000000070000182800044D0B9F1ED52F#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)#
#1.5#0018FE710E98005B000000080000182800044D0B9F1ED585#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)#
#1.5#0018FE710E98005B000000090000182800044D0B9F1ED5E1#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain### at java.lang.Thread.run(Thread.java:534)#
#1.5#0018FE710E98004F00001A610000182800044D0B9F1F2B60#1210612216475#System.out#tdemand.com/TrueDemandWeb#System.out#Guest#0#####SAPEngine_Application_Thread[impl:3]_9##0#0#Info##Plain###2008-05-12 10:10:16,459 ERROR [com.tdemand.common.service.client.ServiceProxyUtil] - <Error processing WSDL document:
javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.xml.rpc.ServiceException: Cannot find service: BootstrapService>
javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.xml.rpc.ServiceException: Cannot find service: BootstrapService
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)
at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
at org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory.createJaxRpcService(LocalJaxRpcServiceFactory.java:182)
This problem is solved in websphere as probably because we have classloader configuration set through Admin console.
But just wanted to know does we have such option in NetWeaver? If yes, how to set the classloader mode to parent last.
Or if you know some other solution then let me know.
Thanks,
Chandan -
How to set the Data Synchronisation mode for ADF BC component?
Hi All,
How to set the Data Synchronisation mode for ADF BC component
Thanks
RaghavendraCan you clarify what you mean by the data synchronization mode?
If you mean the Sync Mode, then in 10.1.3 you set this property by:
1. Selecting your DataBindings.cpx file
2. Expanding the "Data Control Usages" section in the structure window
3. Selecting the ADFBC-based data control
4. Setting the "syncMode" property in the property inspector. -
How to set the full screen mode using setClip method
hi all,
how to set the full screen mode using setClip in that softkeys should not be used insteat on that need to create a own softkeys using commands.
thanks & regards
Bala.In CS5 there are changes made to how the screen mode is reported. In CS3-CS5 the screen mode has a corresponding number. So for instance if the ScreenMode is set to "Preview Off" and you ask indesign CS3 or CS4 to display the screen mode, it will report "1936552047", while in CS5 it will report "PREVIEW_OFF".
try executing this simple command in respectively CS3, CS4 and CS5 and you will see what I am talking about:
alert(app.activeWindow.screenMode);
there is no difference if you do:
alert(app.activeDocument.layoutWindows[0].screenMode);
The CS5 solution is rather awkward to work with, unless I am missing something? PREVIEW_OFF is not a string, nor is it a number.
Example - doing:
myScreenMode=app.activeDocument.layoutWindows[0].screenMode;
and then trying to reset screenMode by something like:
app.activeDocument.layoutWindows[0].screenMode= myScreenMode
does not work in CS5 of course. It will throw an error. Neither will this line work:
app.activeDocument.layoutWindows[0].screenMode=ScreenModeOptions.myScreenMode;
Any way of working around this? -
How to set the router and play the Command & Conquer using direct IP mode?
My router is WRT54GFirmware Version: v3.03.1
How to set the router and play the Command & Conquer using direct IP mode with other computer?Hi, when you say direct IP mode, what do you mean ? do you wanna play the game online or on the LAN ??
can you give a few more details. -
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
Hi All,
Need help from the gurus.
Currently we are in state unable to do anything.
Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.Hemant,
thanks for the reply.
I tried the way you suggested and it threw an error.
ORA-01145: offline immediate disallowed unless media recovery enabled
I searched and found that an additional tag of drop needs to be added to the command which you suggested.
ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
i don't know what will the drop command have an effect ?
i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
Thanks,
Sachin
I -
Database in noarchivelog mode, truncate command issued
Database in noarchivelog mode, truncate command has been issued how to restore the table?
FACTS:-
1. DB In noarchivelog Mode
2. Cannot enable flash back mode because of 1. above
3. No exports available
4. No backup's Available.
Any thoughts ?Oracle Support/ Professional Services has a Data Unloader (DUL) and ORA-00600 has DUDE, both of which may be able to extract information from data files that are corrupted, where the control files are lost, etc.
These are not, however, cheap utilities. Unless the data itself is really valuable, it is generally not a viable option.
Justin -
Running a physical standby database in noarchivelog mode
Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
Standby Database: single instance 11.2.0.2
OS: AIX 7.1
Hello,
I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
ThanksHello again;
If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
For this :
b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
And for this :
resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
--- Will post a detailed example here in a moment.
Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
I did another switchover and it was done. I used TAF and none of the users even noticed.
Best Regards
mseberg -
How to query the database in an Entity Object (EO)
I am using JDeveloper 11.1.2.2.0
I am Forms developer working in a new ADF project and need some help from the ADF gurus, I am just a ADF beginner.
Maybe hits question has a easy solution, but I don't know how to implement this:
I have simplified my scenario, but this is what I Need to do:
One database table DBTABLE with 3 columns (C1,N1,D1) C1-varchar2; N1-Numeric; D1-Date.
In the DBTABLE I have the following data:
ONE; 10; 01/10/2012
ONE; 20; 02/10/2012
TWO; 15; 02/10/2012
ONE; 15; 03/10/2012
I have created an ADF EO for the DBTABLE with all 3 attributes, then I have created another transient numeric attribute T1.
My requirement is when I create a new record and set attribute C1=ONE the transient attribute T1 should show sum(N1) from DBTABLE where D1>= 01/10/2012 and D1 < 03/10/2012.
In this case when I create a new record should the shown in T1 a total of 10+20 = 30.
I know how to use the EOImpl getters and setters, and how to set the T1 attribute when C1 is set. My problem is how to calculate the total T1.
How can I implement this in ADF? It is possible to implement this in the EO? It is possible to make the query select sum(N1) from DBTABLE where D1>= 01/10/2012 and D1 < 03/10/2012 and return the value to the EO attribute?
Thank you in advanceHi Peter
Thank you for your suggestions, both of them are interesting but unfortunately they do not solve my problem, or at least I don’t know how.
I will try to better explain my problem
I have te table DBTABLE and another related table called DBDATES with colums(C1,DT1,DT2,TARGET) where I record periods of time and desired target. For instance my DBDATES table could have the following records
ONE; 01/01/2012; 31/01/2012; 100
ONE; 01/02/2012; 29/02/2012; 90
ONE; 01/03/2012; 31/03/2012; 95
TWO; 01/01/2012; 31/01/2012; 140
Exist a FK between both tables in the C1 column.
I have created an EO for the table DBTABLE with the tree persistent attributes (C1, N1, D1) an transient attribute (T1). The (C1,D1) is my DB primary key.
When I create a new record in the DBTABLE and based in the actual date I need to query the DBDATES table to check which is my TARGET and the valid target dates. For Instance if a record for person ONE is created on February 12, my TARGET is 90 from 01/02/2012 to 29/02/2012.
At the same moment I need to check the total amount of items record to the person ONE during the full target period.
Select sum(N1)
From DBTABLE
Where D1 between V2 and V3
And C1= V1;
Bind variables:
V1 = ‘ONE’;
V2 = ‘01/10/2012’ – queried from DBDATES
V3 = ‘03/10/201’ – queried from DBDATES
In resume, for a determined person when I create a new record in the DBTABLE I need to know their target for the actual period and how much as been record until now.
I don't know if is possible to solve this without using the View Objects, because I need to query the DBTABLE for a time frame and with bind variables.
Thank you in advance for your help. -
How to set a view in display mode??
Hi,
I have created a new view in overview page of BT111H_OPPT.
This view is of table type and associated with value node .
I am able to display contents of table on UI but they are in editable mode.
I need them in display mode .
How to achieve this functionlaity??
Any suggestions will be helpful.
thanks
kanikaHi Kanika,
There are 2 ways:
In the configuration of your view you can set the fields as display mode.
In the method get_i* of your atributtes you can disable the field too.
I think the better solution is using the configuration.
Best regards,
Caíque Escaler -
How to recover the database when some of the archive log file get deleted.
I am facing a problem with Oracle database, which is related to archivelogs.
Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
When the database was in running condition, disk got full, so some archivelogs were deleted manually.
After this they restarted the DB, and now DB is not coming up. Errors are as follows:
SQL> startup
ORACLE instance started.
Total System Global Area 1444383504 bytes
Fixed Size 731920 bytes
Variable Size 486539264 bytes
Database Buffers 956301312 bytes
Redo Buffers 811008 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
1
ORA-00289: suggestion :
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00280: change 215548705 for thread 1 is in sequence #1107
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
ORA-00308: cannot open archived log
'/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL>
1. How to recover the database and bring it online
Any help will be highly appreciated.
With Regards
Hemant Joshi
Edited by: hem_Kec on Sep 7, 2008 9:07 AMHi,
Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss.
Maybe you are looking for
-
When I try to open a .pdf file it asks me to save the file instead of displaying it.
When I try to open a .pdf file it asks me to save the file instead of displaying it?
-
Transferring from old Mac to new Mac
Have just purchased an iMac and have transferred data from an old iMac and MacBook Pro so I now have two accounts on my new computer. Can I merge the two accounts and if so, how? Can I have both accounts open at the same time? Preference is to merge
-
Tried to open new POP account - disaster
Hi there, I wanted to change over my mail address from one yahoo account to another. When I tried to do this ie: added another account, I typed in exactly the same incoming mail server as the original yahoo address. It tried to check connection to PO
-
Hi all, I'm just written a mini-program to read the title of a URL, and it works. Problem comes when it accesses a site that is not of English-language. I get garbage characters showing up if I use System.out.println on the title I've just read. It w
-
TS3276 How do I block an unwanted email sender?
Other than bouncing back to sender, or changing my email address, putting them in junk mail or a file, how do I block my abusive ex from sending me unwanted emails?