Object Archive:Concept:Object archiving is the ability to write objects to a file on a hard disk, and to restore those objects when the program is opened again. Also known as: Object serialization, Object persistence.The way data is persisted (in fact, the 3 category)1,nskeyedarchiver--Object Archive2,nsuserdefaults 3, Property list4,sqlite Database 5,core Data databaseHow to archive:Archiving objects in the Foundation libraryDefine your own objects for archiving (need to implement archiving Pro
Linux
/--root directory (top-level directory)
ls---Display the contents of the file
Man ls--Help manual, function, syntax, parameter exit Q
bin--(green) Normal user's command
root--Root User's host directory
Medi--、 mnt--mount point
cp--Replication directory: cp–r/etc dir_1
*.tar.gz--Archive Compression Red
cd--Open File
TAR–ZXVF file name--Extract Files
ls--help--help manual is about the same as man LS
su--Change User example: An administrator change
Tag:oracle archive archivearchivelog Turn on archive mode> Archive log list;> Shutdown Immediate;> Startup mount> ALTER DATABASE Archivelog> ALTER DATABASE open;> Archive log list;View Archive mode while still looking at archive
First, the impact of the problemIf the database archive does not set the archive deletion policy or the archive explosion causes the archive space to be full, the database will not be able to provideNot even shut down the database. Because closing the database will leave the log, when the space is full is unable to wri
Label:1. Check whether it is an archive modeSQL>log list;
Database Log Mode No Archive Mode
Automatic archival Disabled
Archive destination use_db_recovery_file_dest
log sequence current
log sequence 18 2. Close the databaseSQL>log list;
Database Log Mode No Archive
Tags: simple operation of Linux archive commandsThis command is to package multiple files into a single file, and can be compressed at the same time-C Create archive-X expand Archive-T View file list in Archive-F Specify archive file namePackage 3 files into a file Note tha
Oracle archive Mode 1. Check whether archive log list is archived; 2. Enable archive mode shutdown immediate; startup mount; alter database archivelog; alter database open; archive log list; ----- confirm whether archive is enabled 3. The number of ARCn processes is alter sy
Ios archive learning notes
Archive refers to the process of saving one or more objects in a certain format for future restoration of these objects.
Archiving using xml Attribute lists
If you archive NSString, NSDictionary, NSArray, NSData, and NSNumber objects, you can use the writeToFile: atomically: method implemented in the class to write data to the file.
Us
Node where RAC Archive log is written incorrectly
Multiple customers have asked several times that archive logs of node2 In the RAC environment are written to the archive path of node1.
This problem causes some customers to be unable to read logs correctly when using OGG.
What causes this problem?
Search for and test. If the following conditions are found,
Oracle RMAN archive deletion policy
RMAN> show all;
Configure archivelog deletion policy to none;
By default, the archive deletion policy is not configured in Oracle10g 11g;
In this case, how does one Delete archive logs that have not been applied:
RMAN> delete archivelog all;
Released channel: ORA_DISK_1Allocated channel: ORA_DISK_1Channel ORA_DISK_1: SID = 60 d
ORA-00257 Archive Log is full error message:Ora-00257:archiver error. Connect internal only, until freed Reason:Archive log is fullWorkaround:1. Log in with SYS user Sqlplus SYS as SYSDBA 2. See where Archivlog is located Sql> Show parameter log_archive_dest; 3. If value is empty, you can use the archive log list; Check the archive directory and log sequence sql
log file Set archive targetThe archive target is the directory where the archived log files are stored. A shujuku can have multiple archive targets. In ChongWhen the database is built, the archive target is set by default and can be viewed through the db_recovery_file_dest parameter.The syntax for setting the
Label: 11G application database DBA Oracle
1 SQL> archive log list; # Check whether the archive mode is used2 SQL> alter system set log_archive_start = true scope = spfile; # enable active ArchivingSQL> alter system set log_archive_dest = 'location =/Oracle/ora9/oradata/arch 'scope = spfile;# Set the archiving pathSQL> alter system set log_archive_dest_1 = 'location =/Oracle/ora9/oradata/arch1' scope = spfi
How to build a archive file using shell scripting and export the signed IPA file.1. Build Script DescriptionThis shell script is used for Build,xcode workspace source code engineering and is exported as a re-signed IPA file for distributing test installation files and files for submitting AppStore audits. Implement auxiliary product development, test configuration management work.Using this script requires the following environments- Mac OS 10.9+- XCo
Set to archive mode
1 sql> archive log list; #查看是不是归档方式 2 sql> alter system set LOG_ARCHIVE_START=TRUE Scope=spfile; #启用主动归档 sql> alter system set log_archive_dest= ' Location=/oracle/ora9/oradata/arch ' scope=spfile; #设置归档路径 sql> alter system set log_archive_dest_1= ' Location=/oracle/ora9/oradata/arch1 ' scope=spfile; Sql> alter system set log_archive_dest_2= ' Location=/oracle/ora9/oradata/arch2 ' sco
Shut down
1. First off the database:
Copy Code code as follows:
[Oracle@oeltan1 ~]$ srvctl Stop database-d tantest
2. Turn off CRS service again
[
Copy Code code as follows:
Root@oeltan1 ~]# Crsctl Stop CRS
Start:
Copy Code code as follows:
[Root@oeltan1 ~]# crsctl start CRS
[Oracle@oeltan1 ~] $srvctl start Asm-n node_name
The above boot has generally started
Copy Code code as follows:
[Oracle@oeltan1 ~]$ srv
Label:Recovering archived log filesIf you simply apply the archive after recovering the data file, you do not need to manually restore the archive file, and Rman automatically recovers the appropriate archive when recover.Recovering an archive separately is typically a special requirement, such as creating a data guard
...
Logid:32bit a number that is incremented by 0, such as 0,1,2,3 ...
Logseg:32bit a number that is incremented by 0, such as 0,1,2,3 ...
The Wal log, like online redo log, is not infinite in number. The archive log appears.Wal Log Maintenance1. Parameter max_wal_size/min_wal_size9.5 ago: (2+ checkpoint_completion_target) * checkpoint_segments +1 9.5: PostgreSQL9.5The checkpoint_segments parameters are discarded and the max_wal_size an
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.