archive--xattrs: To preserve extended property information for a file while archiving-TF File.tar: Do not expand archiving to see what files are archived and compressed:-ZCF: Call gzip, and create an archive file Eg:tar- ZCF test.tar.zip TEST/-ZXF: Archive after unzip eg:tar-zxf test.tar.zip//delete-Z option to delete -jcf: Call bzip2 and create archive-JXF: Archive after decompression -jCF: Call XZ, and c
Learning resources from: www.magedu.comMistakes are unavoidable in the learning process, and if found, they are also pointed out by the great gods.Some of the sample operations are related to historical operations, and if the previous example operation has not been performed, there may be some examples of operations that cannot be performed. Examples are for informational purposes only. (see annex for examples)File management Commands--compression decompression and
Basic concepts:Compression: The file according to some algorithm to reduce, such as a text file content is: AAAAADDDD We can simplify it as a5d4 need to restore back, so that the original text storage needs 18 Bytes, now only need 8 bytes, greatly save space, generally speaking, the simpler the compression algorithm, The faster the compression speed, the more complex the algorithm, the higher the compression ratio [(the size before compression-the size after compression)/the size before compress
I. Archiving and compression
Compression Command tool: GZIP,BZIP2
Archive Command tool: Tar
Second, compression2.1. GzipGzip is a standard, widely-used file compression and decompression utility. Gzip allows file to be collocated. With gzip compressed files, you can get tarball packaged files in the format "*.tar.gz" or "*.tgz".Gzip Options
–stdout: Writes the output to the standard output device.
–to-stdout: Writes the
Tags: solution partition Table database management SSIS bcpSQL Server Data Archiving scenarioPurposeThis article is intended to provide a solution for archiving SQL Server Big data tables from a database management aspect. It can be used as a reference for the project design when the new business is on line.Archive Solution Selectionprogramme One:Program IntroductionAfter BCP exports the data to the local d
Oracle forced log archiving archive_lag_target forced archiving forced switching in the Data Guard environment, if the oracle database archiving frequency is too low, resulting in Data loss in the event of a fault, we can use the archive_lag_target parameter to force log switching and archiving. You can set a time (in
Forced log archiving archive_lag_target forced archiving forced switch in the Data Guard environment, if the oracle database archiving frequency is too low, resulting in Data loss in the event of a fault, we can use the archive_lag_target parameter to force log switching and archiving. You can set a time (in seconds) f
Some compression and archiving commands in linux I. Common compression and decompression tools compressuncomprss suffix: zgzipgunzip suffix: gzbzip2bunzip2 suffix: bz2zip some compression and archiving commands in linux I. Common compression/decompression tools compress/uncomprss suffix :. z gzip/gunzip suffix :. gz bzip2/bunzip2 suffix :. bz2 zip/unzip suffix :. zip note: The first compress is not very com
.
This problem occurs again for the second time. After careful check and confirmation with colleagues, it is found that the archive log of the ORACLE database is enabled, by default, the ORACLE database archiving function is not enabled.
Run the SQL command to View Details:
SQL> sqlplus/as nolog; ------------------- start SQL * Plus
SQL> connect sys/password @ orcl as sysdba;
SQL> archive log list;
Database Log mode
Definition of Object archive:An object archive is an object archive that is saved as a file to disk, and used to read the contents of a file in the path saved by the file.Using Nskeyedarichiver for archiving, nskeyedunarchiver, this way, the data is serialized and deserialized before the data is written and read.Single object archiving, multiple object archiving,
By performing this lab, students would learn how to work with archive files.In this lab, you'll perform the following tasks:
Create archive files using tar with and without compression
Compress and uncompress files into a gzip archive file
Compress and uncompress files into a bzip2 archive file
Use zip and unzip to compress and Uncompress archive files
Part 1:overviewIn the this task, we'll use gzip , bzip2 and to tar zip/unzip Archive and restore files. These commands
Simple Test of Oracle 11g flash back Archiving
The new features in Oracle 11g flash back archive provide a possibility for custom query of historical data. After learning this feature, I found that it is clear and easy to use. If used properly, it is still a good feature.Let's simulate an example.First, create an independent tablespace. The attribute must be segment space management auto. Because the default attribute is the same, we simplify the stat
To configure automatic archiving for the database (if you configure Oracle installation to use PFILE), add the following log parameter lines to the INIT (SID). ORA file in the $ ORACLE_HOME/dbs directory:
LOG_ARCHIVE_START = TRUE LOG_ARCHIVE_DEST =
Some log parameters include:
LOG_ARCHIVE_START -- enable automatic archiving
LOG_ARCHIVE_DEST -- specifies the path of the archived redo log file. The Oracle
Four data persistence methods in ios development [1. attribute list and archiving] And ios4
Permanent storage in iOS, that is, data will not be lost when the device is shut down and restarted or the application is closed. In actual application development, data is often stored permanently, so that users can see the results and traces of their changes after the application is started again. In ios development, we need the data persistence technology, a
Object archiving? The object data is stored as files to encrypt the data (that is, the data is not explicitly displayed in the document) and stored permanently.
If you want to use it, you can restore it from the file.
(1) Standard Data
// Main. M file # import
An object is created as follows:
Archive is to output the results of the array:
( 111, 222, 333)
(2) Custom Data Archiving: create a da
Tags: Val 4.0 nic use Backup startup div Oracle CTI The Oracle database can run in 2 modes:
Archive Mode (Archivelog)
Archiving mode can improve the recoverability of Oracle database, the production database should run in this mode, the archiving mode should be combined with the corresponding backup strategy, only the archive mode does not have a corresponding backup strategy will only cause
In the same table, the data is archived by placing the row in the inactive state. Database, you can compress optimizations for those inactive row. While archiving is implemented, applications can be restricted from accessing only those data in the active state. By default, those inactive row are not available to the app.turn on the in-database archiving function of the table and use the keyword "row archiva
encodeobject:name Forkey:@"_name"]; [Acoder encodeobject:child Forkey:@"_child"];}//Implement the solution file method in the protocol.- (ID) Initwithcoder: (Nscoder *) adecoder{if(self =[Super Init]) {Self.age= [Adecoder Decodeintforkey:@"_age"]; Self.name= [Adecoder Decodeobjectforkey:@"_name"]; Self.child= [Adecoder Decodeobjectforkey:@"_child"]; } returnSelf ;}@endInitialize the object and parameters to be archived in the main function.#import#import "Human.h"intMainintargcConst Char*arg
This method is based on the last one of the methods made some changes, more convenient.Since the code inside the new class has not changed, it is no longer written here.Optimization Benefits: At the beginning of the definition of a macro, the path is placed directly in the macro here, if you want to change the address later, directly change the macro definition of OK.#import#import "Human.h"#definePATH @ "/users/cain/desktop/objective-c/Experiment code/File operation/Archive/human/human.txt"intM
Common compression tool after compressing file suffixCompress/uncompress: . ZGzip/gunzip: . GZBZIP2/BUNZIP2: . bz2XZ/UNXZ: . XZ1, gzip/gunzip. GZgzip [OPTION] ... FILE ...-D: Uncompressed, equivalent to Gunzip-C: Outputs the result to standard output;-#:1-9, specify the compression ratio;Zcat: View text file contents without explicit expansion;2, bzip2/bunzip2. bz2bzip2 [OPTION] ... FILE ...-k:keep, keep the original documents;-D: Unzip-#:1-9, compression ratio, default is 6;Bzcat: View text fil
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.