How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle 10g

Hi
how How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle10g in SQLPLUS ?
Many thanks.

Steps :
0 - change SPFILE
ALTER SYSTEM SET log_archive_dest = '/oracle9i/archive/tmpr' SCOPE =SPFILE;
ALTER SYSTEM SET log_archive_start = TRUE SCOPE =SPFILE;
ALTER SYSTEM SET log_archive_format = 'tmpr_%s.arc' SCOPE =SPFILE;
1 - shutdown immediate
2 - startup mount
3 - alter database archivelog;
4 - alter database open
Note : to verify if is ok type :
SQL> archive log list;

Similar Messages

  • How to change the document color mode(RGB to CMYK)?

    Kindly advice me how to change the document color mode(RGB to CMYK) via scripting in "illustrator cs3".
    Thanks.

    Somebody wrote and posted this a couple of years ago.
    // Duplicate the selection from the active document into a new document.
    // To invoke the JavaScript debugger, remove comment delimiters
    //$.level = 1; debugger;
    var newItem;
    var docSelected = app.activeDocument.selection;
    if ( docSelected.length > 0 ) {
    // Create a new document and move the selected items to it.
    var newDoc = app.documents.add();
    if ( docSelected.length > 0 ) {
    for ( i = 0; i < docSelected.length; i++ ) {
    docSelected[i].selected = false;
    newItem = docSelected[i].duplicate( newDoc,
    ElementPlacement.PLACEATEND );
    else {
    docSelected.selected = false;
    newItem = docSelected.parent.duplicate( newDoc,
    ElementPlacement.PLACEATEND );
    else {
    alert( "Please select one or more art objects" );
    It should give some ideas about how to proceed.

  • How to Find the Current Instance Id in Oracle 10g

    Hi,
    how to find the current instance id in oracle 10g studio,
    I have the below code :
    if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
    /// do something
    it is saying that "'processInstance' is not a function"
    Thanks,
    Brijesh Kumar Singh.

    Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
    Dan

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • On iCal,how to change the travel time mode from car to foot?

    on iCal (Mavericks), how to change the traveltime mode before an event ? i only have the "time" choice with "5 min, 15 min, 30 min, 1 hour, 2 hours". I would like to choose  "foot/walking" , "car" or "Train/bus".

    America is only one of 197 countries in the world. So if you do not use a bike, your feet or public services to travel so, maybe 196 other countries do it :-)

  • How to change the Slate/Clamshell Mode

    Hi,
        I want to change this device to Slate/Clamshell Mode in our desktop app.
    http://software.intel.com/en-us/articles/detecting-slateclamshell-mode-screen-orientation-in-convertible-pc
        Can we send any APIs ? or?

    We have no public interface to forcefully change the system state to Slate/Clamshell Mode from an application.  The mode is controlled by hardware only.
    Why do you want to change the mode from your desktop app?
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • How to increase the request timeout value in Oracle 10g web container

    Hi,
    Iam using Oracle10g Application server .
    For long running backend process my JSP page is getting re-submitted after 3 mins.
    How do i avoid this ?
    Is there a way to increase the http request timeout interval.
    If so where do i change the timeout interval.
    In IIS web server I can change the timeout interval.
    Thanks
    Sridhar.

    Hi,
    If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
    The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
    After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
    Hope this helps.
    Smita

  • How to alter the DEPENDENCIES in a table oracle 10g

    I am using Oracle 10g.
    I had created a table with DEPENDENCIES='disabled' i.e, default dependencies access.
    Now i want to ALTER the table which has DEPENDENCIES='enabled';
    Can you give me the ALTER command
    Thanks

    What is it that you're trying to accomplish from a business perspective?
    So far as I'm aware, there is no DEPENDENCIES setting for a table. There is a ROWDEPENDENCIES setting that controls whether ORA_ROWSCN tracks the SCN of changes at the block or at the row level. Is that what you're lookinig for?
    Justin

  • How to change the "Store demo mode" in AppleTV?

    In AppleTv set up menu, I can't access certain features. The message "Not available in store demo mode" appears. How do I change/remove this mode?

    The question is how you got into this mode in the first place!
    Home users are not officially able to access this - whether it's a software glitch or inadvertent remote combinatiojn of presses enabling it i have no idea.
    AC

  • How to change the parameter's value of Oracle Forms Applet?

    Hello,
    I'm working with Oracle Forms 10.1.2.3.0 and JRE 1.6.0_14, we got some performance issues and we think are related with Java, so we enabled Java trace and we realized that every time user moves the cursor from one item to another, the applet sends a request to the server. This is the request.
    network: Connecting http://server/forms/lservlet;jsessionid=e53bb50b2f95ecb357451bf21a291367cc1747d2d9956b3ba1c4a05916d87d34.e34LaheTahaLai0LaxyLbN4ObxqTe6fznA5Pp7ftolbGmkTy with proxy=DIRECT
    I want to disable these connections as Sun states that sometimes they are not needed (not sure if this is the case but we want to test it).
    I got a possible answer from a Sun forum, the possible fix is to set the following property to false:
    <APPLET ...>
    <PARAM name="codebase_lookup" value="false">
    </APPLET>
    But I don't know how to pass that parameter to Oracle Forms applet.
    Does anybody know?
    Thanks.

    You can try passing the parameter in the HTML template file ... for example in the $ORACLE_HOME/forms/server/basejpi.htm
    i.e.
    <PARAM NAME="TYPE" VALUE="%jpi_mimetype%">
    <PARAM NAME="CODEBASE" VALUE="%codebase%">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="%archive%" >
    <PARAM name="codebase_lookup" value="false">
    I have never done it myself so I do not know if it would be recognized though.

  • Archive log mode in oracle 10g

    Hi,
    I would like to know the archive log mode in oracle 10g and I use this code in SQLPlus
    select log_mode from v$database
    But it displayed: "2" not : NOARCHIVELOG or ARCHIVELOG
    It displayed a number, not a String.
    How could I know this?
    Thanks

    Hi Paul
    Because I am a newbie in DBA Oracle so I got many difficulties.
    You are very kind to help me.
    So I have some more questions:
    1. when I executed this code, it always reported error:
    $ tmp=`${ORACLE_HOME}/bin/sqlplus -s / as sysdba << EOF
    set heading off feedback off;
    exit
    EOF`
    tmp='ERROR:
    ORA-01031: insufficient privileges
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus'
    so when I updated like this:
    tmp=`${ORACLE_HOME}/bin/sqlplus -s sys/syspass@db02 as sysdba <<EOF     
                   set heading off feedback off;
                   exit
                   EOF`
    It run correctly.
    2. With Paul's guide:
    Do not execute Oracle commands from root, execute them as oracle user. This works to me :
    $ tmp=`${ORACLE_HOME}/bin/sqlplus -s / as sysdba << EOF
    set heading off feedback off
    alter database backup controlfile to '${CONTROLFILE_DIR}/<file name>';
    alter database backup controlfile to trace;
    exit
    EOF`
    Of course CONTROLFILE_DIR must be set to a directory with write permission for oracle user.
    For ex: I have an Unix account: unix/unix
    and a Sys Oracle account: oracle/oracle
    I login with Unix acount (unix/unix) and call script file that contains above code.
    tmp=`${ORACLE_HOME}/bin/sqlplus -s oracle/oracle@db02 as sysdba <<EOF     
                   set heading off feedback off
                   alter database backup controlfile to '${CONTROLFILE_DIR}/backup_control.ctl';
                   alter database backup controlfile to trace;
                   exit
                   EOF`
    Unix report as following: Linux error: 13: Permission denied.
    CONTROLFILE_DIR directory is read,write,execute for account unix/unix.
    Of course CONTROLFILE_DIR must be set to a directory with write permission for oracle user. You mean I have to create a Unix user is the same to Oracle user so that Oracle user can have permission to write.
    Please guilde more detail.
    Thanks for your attention.
    Message was edited by:
    user481034

  • Using Oracle 11g How to change the Log mode from NoArchieve to Archieve Log

    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandana

    user11225122 wrote:
    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandanaremove log_archive_start=TRUE from pfile (it is depricated from 10g onwards)
    SQL>startup nomount pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>Create spfile from pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>SHUT IMMEDIATE;
    SQL>STARTUP MOUNT
    SQL>ALTER DATABASE ARCHIVELOG;
    SQL>ALTER DATABASE OPEN;
    SQL>ARCHIVE LOG LIST;
    SQL>SHOW PARAMATER SPFILE;
    YOU WILL FIND THE LOCATION OF SPFILE
    SQL>

  • How can I change the frame rate mode?

    Adobe Premiere Pro exports my videos with a variable frame rate. Because of this long videos are asynchronous. How can i change the frame rate mode? So Adobe Premie Pro exports my videos with a CONSTANT frame rate? The original video  has a constant frame rate...

    Sorry my mistakes. I am from Germany.. so...I mean with asynchronous that the video file and the sound file are displaced. In the beginning of the Video it's normal, but if the videos is very long it goes VERY "asynchronous"
    I analyzed the video with "mediainfo":
    General
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 2.00 GiB
    Duration                                 : 20mn 13s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 14.2 Mbps
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:58:30
    ©TIM                                     : 00:00:00:00
    ©TSC                                     : 30
    ©TSZ                                     : 1
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : [email protected]
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 3 frames
    Format settings, GOP                     : M=3, N=30
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 20mn 13s
    Source duration                          : 20mn 13s
    Bit rate                                 : 14.0 Mbps
    Width                                    : 2 560 pixels
    Height                                   : 1 440 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 30.000 fps
    Minimum frame rate                       : 30.000 fps
    Maximum frame rate                       : 30.030 fps
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.127
    Stream size                              : 1.98 GiB (99%)
    Source stream size                       : 1.98 GiB (99%)
    Language                                 : English
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:56:13
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    mdhd_Duration                            : 1213733
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 20mn 13s
    Source duration                          : 20mn 13s
    Bit rate mode                            : Variable
    Bit rate                                 : 158 Kbps
    Maximum bit rate                         : 254 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 22.8 MiB (1%)
    Source stream size                       : 22.8 MiB (1%)
    Language                                 : English
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:56:13
    mdhd_Duration                            : 1213777
    And there i can read that the "frame rate mode" is variable... and that's the bad thing... I want to change that point to a constant frame rate mode. I use the H.264 codec 

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How can I programatically change the slave acquisition mode of my pci-1409?

    In my LabVIEW application I need to be able to programmatically change the slave acquisition mode from standard to external HV lock. I couldn't find this property listed in the property node.

    Nan,
    When you change this property in MAX, you are actually modifying the camera file for the session (*.icd file). These file can be modified just like a text file. You could programtically modify parse and modify the "SlaveAcqMode (STANDARD)" line in the camera file to reflect the mode you want to use. Below is a KB that explains how to parse and modify an *.iid file, you can use the same method on the icd file.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/ccc5bb5990aa416786256c23006e687c?OpenDocument
    Best Regards,
    Chris Drymalla

Maybe you are looking for

  • Any opinions on if I should repair my old powerbook or just buy a new one?

    Alright, here's the situation. I have a Tipowerbook 867 (upgraded to 512 ram) that's a bit over two and a half years old. Over this two plus year period, I have used this powerbook quite a lot, pretty much every single day for several hours at a mini

  • Creating a trigger in Portal

    I'm trying to create a trigger in Portal using the Wizard with the code below. It will not compile. Any ideas on why? Thank you, Sam DECLARE next_chemical_id msds.chemicals.id%TYPE; BEGIN SELECT chem_id.NEXTVAL INTO next_chemical_id FROM dual; :chemi

  • Reconciling GL to subledger detail

    We are trying to create an archive table of all detail transactions, in each month, in Oracle Financials, so that we can run data warehouse reports against it. Our initial step is to reconcile GL to the detail transactions in all the subledgers - AP,

  • [svn] 1179: - added setup and storing settings in a separate file to facilitate updates .

    Revision: 1179 Author: [email protected] Date: 2008-04-10 11:58:03 -0700 (Thu, 10 Apr 2008) Log Message: - added setup and storing settings in a separate file to facilitate updates. - fixed support for paths with spaces (i.e diffpack pack "c:/my docu

  • SAP IdM 7.2 - enhancement UI

    Hi all, I have this specific request from our customer: 1. They want to reset the passwords for a list of users in their IC. For that, we thought that it should be possible to create a new UI screen, that displays the list and an extra  button to res