UCR database log files

Hello

Our RCU redologfiles reside on the file system, can they be moved to the ASM without restarting the database, I think we can run mix files in the file system and ASM.

Thank you

You must be running in logging mode archive, make one:

SQL > change of check point system;

and then try again.

Tags: Business Intelligence

Similar Questions

  • Database log files

    Hi Experts,

    Can anyone tell me the location of the database log file?

    Thanks in advance

    Log files from database, 11g, would be in the folder called diag standing for the Dest diagnosis and is maintained by the diagnostic_dest parameter. To see where you have configured this setting to be, it would be in the Oracle default base location.

    HTH
    Aman...

  • The clause in the database log file duplicate

    I tried to duplicate a database (Oracle RAC 10 g ASM 2 node Windows 2003 Server R2) and in the document of the oracle, it went something like:

    DUPLICATE the TARGET DATABASE to dupdb
    PFILE = /dup/oracle/dbs/initDUPDB.ora
    LOGFILE
    ' / dup/oracle/oradata/trgt/redo01.log' SIZE 200 K,.
    ' / dup/oracle/oradata/trgt/redo02.log' SIZE 200 K,.
    ' / dup/oracle/oradata/trgt/redo03.log' SIZE 200 K;

    I thought as the source database RMAN backup already contained the definitions of redo log. Are only these redo log files used for the process during replication of the database? Is the logfile clause is required to use the command DUPLICATE TARGET DATABASE?

    Thank you much in advance.

    LOG file can be used to specify where the newspapers of recovery for the duplicate database should be placed. This clause is not mandatory and it is really necessary only if you intend to rename the redo log files. If you don't need/want to rename the files, you can use the NOFILENAMECHECK option.

  • upgrade of database: log file error

    I run the database upgrade command and had error log below.

    SQL >
    SQL > select dbms_java.full_ncomp_enabled from double;
    Select double dbms_java.full_ncomp_enabled
    *
    ERROR on line 1:
    ORA-29558: JAccelerator (we'RE) not installed. See the Installation Guide for
    instructions.
    ORA-06512: at "SYS." DBMS_JAVA', line 236


    SQL > SELECT dbms_registry_sys.time_stamp ('JAVAVM') AS timestamp FROM DUAL;

    TIMESTAMP
    --------------------------------------------------------------------------------
    COMP_TIMESTAMP JAVAVM 2010-05-10 14:27:14
    DBUA_TIMESTAMP JAVAVM VALID ON 10-05 - 2010 14:27:14

    Please refer to:

    MOS Doc 293658.1 - 10.1 or 10.2 group Install patches to ORA - 29558 JAccelerator (ON) and ORA-06512 [VIDEO]
    MOS 452024.1 Doc - mandatory is WE (JAccelerator)?

    Re: upgrade 10.2.0.4.0!

    Concerning
    Rajesh

  • Expectations extended on synchronization of log file while the parallel writing journal is fine

    We have 9.2.0.8 as experiences of long waits on the database log file sync (average waiting time = 46 ms) while waiting for the log file write Parallels is very good (average waiting time is less than 1 millisecond).

    The application is of type middleware, it connects to several other applications. A single user in a single application action train several requests to send back through this middleware, so he needs response time of db in milliseconds.

    The database is quite simple:

    -It has a few config tables that the application reads but rarely updated

    -She has table TRANSACTION_HISTORY: the application inserts records into this table using Insert einreihig (about 100 lines per second); each insert is followed by a validation.

    Records are kept for several months and then purged. The table has only column VARCHAR2/NUMBER/DATE, no LOBS, LONG, etc. The table has 4 non-unique single-column index.

    The average line length is 100 bytes.

    The load profile does not appear something unusual, the main figures: 110 transactions per second average transaction = 1.5 KB size.

    The data below are to 1 hour interval (purge wasn't running during this interval), physical reads or writes physical rate is low:

    Load profile

    ~ ~ ~ Per second per Transaction

    ---------------       ---------------

    Size: 160,164.75 1,448.42

    Logical reads: 521,58 57 675,25

    Block changes: 934,90 8.45

    Physical reads: 76,27 0.69

    Physical writings: 86,10 0.78

    Calls of the user: 491,69 4.45

    Analysis: 321,24 2.91

    Hard analysis: 0.09 0.00

    Kinds: 126.96 1.15

    Logons: 0.06 0.00

    Runs: 17.70 1 956,91

    Operations: 110,58


    Top 5 events are dominated by the synchronization of log file:

    Top 5 timed events

    ~~~~~~~~~~~~~~~~~~                                                     % Total

    Event expects Ela time (s)

    -------------------------------------------- ------------ ----------- --------

    401 608 18 448 59.94 file synchronization log

    db file parallel write 124 044 3 404 11.06

    CPU time                                                        3,097    10.06

    Enqueue 10 476 2 916 9.48

    DB file sequential read 261 947 2 435 7.91


    Section events:

    AVG

    Total wait wait wait

    Hour of wait time wait for the event (s) (ms) /txn

    ---------------------------- ------------ ---------- ---------- ------ --------

    Synchronize 0 401 608 46 18 448 1.0 file log

    db file parallel write 124 044 0 3 404 27 0.3

    Enqueue 10 476 277 2 916 278 0.0

    DB file sequential read 261 947 0 2 435 9 0.7

    buffer busy waits 11 467 67 173 15 0.0

    SQL * Net more data to the client 1 565 619 0 79 0 3.9

    lock row cache 2 800 0 52 18 0.0

    control file parallel write 1 294 0 45 35 0,0

    Log end of switch file 261 0 36 138 0.0

    latch free 2 087 1 446 24 12 0.0

    PL/SQL 1 1 20 19531 0,0 lock timer

    log file parallel write 0 143 739 17 0.4 0

    db file scattered read 1 644 0 17 10 0.0

    sequential log file read 636 0 8 13 0.0


    Log buffer is about 1.3 MB. We could increase the log buffer, but there is no log buffer space waits, so I doubt this will help.


    Newspapers in recovery have their own file systems, not shared with the data files. This explains the difference between waiting avg on parallel writing of log (less than 1 ms) file and db file parallel write (27 ms).

    Restoring logs is 100 MB, there are about 120 journal switches per day.


    What has changed: the pads/validations rate grew. Several months ago there were 25 inserts/validations per second in the TRANSACTION_HISTORY table, now get us 110 inserts/validation per second.


    What problem it causes application: due to slow down the reaction of the basis of the application (Java-based) requires discussions more and more.


    MOS documents on synchronization of log file (for example, 1376916,1 waits for troubleshooting "log file sync") recommend to compare the average waiting time on synchronization of log file and the log file parallel write.

    If the values are close (for example log file sync = 20 ms and log file parallel write = 10 ms) so expectations are caused by nits IO. However, it is not the case here.


    There was a bug (2669566) in 9.2 which resulted in underreporting lgwr parallel time of writing to the log file. I was talking about September 2005, during which the bug was present in 9.2.0.6, reported 10.1 fixed in: file parallel journal written (JL Comp) it is possible that your problem IS written to the log file.

    Concerning

    Jonathan Lewis

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • Attach a database without the corrupt log file

    Hello

    IM asking if it is possible that to fix one. MDF datafile without the. DFL

    I want that because I have a corrupt log file nd when I attach the database triggers the following error: -.

    -----------

    The log cannot be rebuilt because there were open transactions / users when the database has been arrested, no checkpoint occurred to the database, or the database was read-only. This error can occur if the transaction log file has been manually deleted or lost due to a hardware failure or the environment.

    --------------------

    I just need the data of this file that I need and I don't have the damaged log file

    I tried

    sp_attach_single_file_db "new_2009", "C:\Data\new_2009_Data.MDF".

    but the same error comes back.

    Note Please that I have no recent backup suggest to restore the database from backup

    Thank you

    One of the commands and restore types should help you, good luck...

    Restore the full backup WITH RECOVERY

    Note: as mentioned above this option is the default, but you can specify as follows.

    Command:

    RESTORE DATABASE AdventureWorks FROM DISK = 'C:\AdventureWorks.BAK '.

    WITH RECOVERY

    GO

    Recover a database that is in the State of 'restore '.

    Note: The following command will take a database that is in the State of 'restoration' and make it available to end users.

    Command:

    RESTORE DATABASE AdventureWorks WITH RECOVERY

    GO

    Restore multiple backups using WITH RECOVERY for the last backup

    Note: The first restoration uses the NORECOVERY option restores additional is possible.  The second command restores the transaction log and then brings the database online for the use of the end user.

    Command:

    RESTORE DATABASE AdventureWorks FROM DISK = 'C:\AdventureWorks.BAK '.

    WITH NORECOVERY

    GO

    RESTORE LOG AdventureWorks FROM DISK = 'C:\AdventureWorks.TRN. '

    WITH RECOVERY

    GO

    More information that you can dig up resources directly connected with SQL Server databases and the MS SQL Server database no matter what version...

    http://www.SQLServerCentral.com/forums/Topic1602448-266-1.aspx

    http://www.filerepairforum.com/Forum/Microsoft/Microsoft-AA/SQL-Server/1413-SQL-database-in-suspect-mode

    https://www.repairtoolbox.com/sqlserverrepair.html SQL Server repair Toolbox

  • Create the database fails with error ORA-01505: Error adding log files

    Hi all

    hope someone can help out me, I'm creating a database by using a SQL script, the content of the script is:
    create the testora database
    the user sys identified by oracle
    the user identified by oracle's system
    LogFile Group 1 ('/ u01/app/oracle/oradata/testora/redo01a.log ',' / u02/app/oracle/oradata/testora/redo01b.log') blocksize 512 re-use, 100 m in size.
    Group 2 ('/ u01/app/oracle/oradata/testora/redo02a.log ',' / u02/app/oracle/oradata/testora/redo02b.log') blocksize 512 re-use, 100 m in size.
    Group 3 ('/ u01/app/oracle/oradata/testora/redo03a.log ',' / u02/app/oracle/oradata/testora/redo03b.log') blocksize 512 re-use, 100 m in size.
    maxLogFiles 5
    maxlogmembers 5
    MAXDATAFILES 100
    US7ASCII character set
    AL16UTF16 national character set
    Local extended management
    DataFile ' / u01/app/oracle/oradata/testora/system01.dbf' re-use of 400 m size
    SYSAUX datafile ' / u01/app/oracle/oradata/testora/sysaux01.dbf' re-use of 400 m size
    default tablespace users
    DataFile ' / u02/app/oracle/oradata/testora/users01.dbf' size 500 m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
    tempfile ' / u01/app/oracle/oradata/testora/temp01.dbf' size 20 m reuse autoextend on maxsize 4g
    Undo tablespace undotbs1
    DataFile ' / u01/app/oracle/oradata/testora/undotbs01.dbf' size 200 m reuse autoextend on maxsize unlimited
    ;

    It fails in the creation of the database with the following result:

    SQL > @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create the testora database
    *
    ERROR on line 1:
    ORA-01092: ORACLE instance is complete. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: Error adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    ID of the session: 1 serial number: 3

    This is the documentation: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_5004.htm#i2142335
    >
    If only the DB_RECOVERY_FILE_DEST initialization parameter is specified, Oracle database then creates a log file member to this place.

  • Recovery of database of old backup and archive log file complete

    Hi expert Oracle!
    I encountered the problem where my oracle database restore.

    In my case:
    -My version of the database: 10.2.0.2
    -J' have a full database backup (01 - Nov)
    -J' have all the archived since (01 - Nov-> 05 - Nov) log file
    -My database down to 05 - Nov with disk error (no data file, not again...).
    -I have no backup RMAN (01 - Nov-> 05 - Nov)

    How to restore my database to 05 - Nov?

    Thank you

    After you RESTORE the DATABASE,

    Use the VALUE UNTIL to set the Point of recovery to 05 - Nov, and then RECOVER the DATABASE
    OR
    Use the SQL command "RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL" that will keep asking 'future' ArchiveLogs backup.

    Hemant K Collette

  • Cannot add the new log file for the 11g database.

    Salvation of DBA

    I'm not able to add the log file, I receive the error message when the database is added.

    SQL > alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of size of 50 m;
    alter database add logfile group 3 ('/ oracle/DEV/db/apps_st/data/log03a.dbf','/oracle/DEV/db/apps_st/data/log03a.dbf') Re-use of 50 m of size
    *
    ERROR on line 1:
    ORA-01505: Error adding log files
    ORA-01577: cannot add the log file ' / oracle/DEV/db/apps_st/data/log03a.dbf'-fichier
    already a part of the database

    SQL > select a.group #, a.status, a member of the journal of v$ a, v$ logfile b where a.group # order of b.group = # 1;

    GROUP # MEMBER STATUS
    ---------- ---------------------------------------- ----------
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01a.dbf
    1 ACTIVE /oracle/DEV/db/apps_st/data/log01b.dbf
    /Oracle/DEV/db/apps_st/data/log02a.dbf CURRENT 2
    /Oracle/DEV/db/apps_st/data/log02b.dbf CURRENT 2

    Kindly help me to add the new log file to my database.

    Thank you
    SG

    PGO

    Please see (how can redo log group be dropped when it ever becomes inactive?) [ID] 730827.1).

    Thank you
    Hussein

  • Unable to connect to the database because the log file is deleted

    Greetings,
    Recently I cleaned a bit unnecessary files on my PC and did not know that an oracle log file has been deleted. That's why when I try to connect to the database I get the following error:

    ORA-01033: ORACLE initialization or shutting

    Plu SQL, I try closing and start up the database I know what type of file that has been deleted. So, how can I solve the problem?

    Kind regards
    Valerie
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 18 11:46:46 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    SQL> startup
    ORA-01031: insufficient privileges
    SQL> connect firefly
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    
    
    SQL> connect sys/manager as sysdba
    Connected.
    SQL> shutdown immediate;
    ORA-01109: database not open
    
    
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area  146800640 bytes
    Fixed Size                  1286220 bytes
    Variable Size              92278708 bytes
    Database Buffers           50331648 bytes
    Redo Buffers                2904064 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00312: online log 2 thread 1:
    'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_57J0VR00_.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    
    
    SQL>

    You must enable ARCHIVELOG mode and use the backup provided to make (or calendar) Script backups of a database of the XE.

    http://download.Oracle.com/docs/CD/B25329_01/doc/admin.102/b25107/backrest.htm#i1004902

    As you have not a
    Directory 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE', you can check to see if the backup was created here!

    Hemant K Collette

    Published by: Hemant K grapple on September 18, 2009 19:00

  • Save the Pidgin (im) text in the database (or personal workspaces) vs log file

    Nobody knows the "beectl" command (active user preference) or activate the transcripts so Pidgin IM text is saved in the database (or personal workspaces) vs log files?

    For the service:
    beectl > modify_property - component _ImService name ArchivingEnabled set to true
    beectl > activate_configuration

    For each user (xxxxxxx), point the transcripts to a folder in their personal workspace:
    beectl > add_preference_property - PRF set = InstantMessage, user = xxxxxxx.
    name archive_enabled type BOOLEAN - true
    beectl > add_preference_property - PRF set = InstantMessage, user = xxxxxxx.
    name archive_folder type identifiable\
    -value "FDLR = ArchiveFolder, workshop = xxxxxxx PersonalWorkspace, enpr =... »

    First create the folder, it is not created on demand.

    Paul

  • Database does not start after losing the current log file.

    Hello

    I'm working on oracle 10.2.0 by mistake I lost my current log file. and I have no backup of it. my database is stopped. my database is in nonarchivelog mode.

    I use the command sequence to overcome
    SQL> shutdown immediate
    ORA-01109: database not open
    
    
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  536870912 bytes
    Fixed Size                  1250044 bytes
    Variable Size             297798916 bytes
    Database Buffers          230686720 bytes
    Redo Buffers                7135232 bytes
    Database mounted.
    SQL> DROP LOGFILE 2;
    DROP LOGFILE 2
         *
    ERROR at line 1:
    ORA-00950: invalid DROP option
    
    
    SQL> alter databasE drop logfile member 'D:\oracle\product\10.2.0\oradata\NEO\REDO02.LOG';
    alter databasE drop logfile member 'D:\oracle\product\10.2.0\oradata\NEO\REDO02.LOG'
    *
    ERROR at line 1:
    ORA-00361: cannot remove last log member
    D:\oracle\product\10.2.0\oradata\NEO\REDO02.LOG for group 2
    any suggestions

    Thank you
    Umesh

    Published by: Umesh Sharma on November 27, 2008 05:30

    With DB in MOUNT State try as follows:

    SQL > recover database until cancel

    type to cancel immediately, if necessary, then

    SQL > alter database open resetlogs;

  • Removal of log file archive on the backup database

    Hi all

    This command delete CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY archive log file automatically on the basis of data pending?

    Thank you

    Hello

    There are two areas... (1) primary 2 pending)

    I thought that you have set this parameter on primary... So like I said if set you in primary this custom delete archive logs in the standby mode.

    But if you choose standby, Yes it will be erased.

    More evidence - based Archivelogs maintenance ensures [464668.1 ID]

    I hope this helps...

  • database logs

    Hi all

    I intend to install our SQL05 server and store its files db on the MD3000i. The server is Dell 1950 with RAID1 and C: for system partition and D: for database logs. In your experience, would I put newspapers on the MD3000i so? I read the best practices is to put newspapers on another controller in RAID1. Is this still applies if I put the diskgroup only for sql server and put the logs and files db here?

    Thank you


Maybe you are looking for