Content Summary
Archiving (archiving) – consisting of a range of policies, processes, and technologies – has slowly become a necessary business for companies that comply with laws, regulations, and complex information technologies. While the company is facing an annual growth in critical data, storage capacity management technology bottlenecks have not improved. And the company also faces other challenges,
question:
As databases grow larger, the challenges to performance and management are growing. Each query may need to find more data pages, especially if the query has a scan operation, which can cause the query to become more and more slow. At the same time, there will be more and more data to be backed up and backup operations continue to grow longer. Backup files and databases use more and more data files, and so on, a whole range of problems will follow.
Data
Archiving objects is similar to copying objects, that is, the Protocol is required. Why is there no archiving protocol for nsstring and nsnumber objects in the past? Because they come with their own.
Therefore, if we want to archive custom objects (instead of the default objects in Foundation), we need to introduce the archive protocol
For example, declare a user class, create an object user1, archive thi
Oracle archiving operations, oracle archiving logsOracle uses redo log files to record database operations, But redo log file groups are used cyclically. When all log files are filled up, the system automatically switches to the first log file, of course, the database administrator can also use commands to manually switch between them. When the log file is recycled, the existing Log File Content in the log
IOS file operations and custom object archiving (serialization) and anti-archiving (deserialization)
IOS allows you to create, read, write, move, and delete files.
1. File Creation:
// Set the location of the file stored in the text box NSString * strFilePath = [NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex: 0]; // specify the file name NSString * fileName =
decodeDoubleForKey:@"height"]; } return self;}Read and Write methods in the controller.- (ibaction) Save {//1. New Model ObjectStudent *stu = [[Student alloc] init]; Stu. No= @"42343254"; Stu. Age= -; Stu. Height=1.55;//2. Archiving Model Objects //2.1. Get full path to documents NSString*doc = [Nssearchpathfordirectoriesindomains (NSDocumentDirectory, Nsuserdomainmask,YES) Lastobject];//2.2. Get the full path of the file NSString*path
, serialize ****************//1. Create a mutable binary stream nsmutabledata *data=[[nsmutabledata alloc]init]; 2. Create an Archive object (with the ability to convert a custom class into a binary stream) Nskeyedarchiver *archiver=[[nskeyedarchiver alloc]initforwritingwithmutabledata: Data]; 3. Using the Archive object, convert the object of the custom class into a binary stream [archiver encodeobject:p forkey:@ "person"]; 4 archive Complete [archiver finishencoding]; Write
First of all to say what is archiving and archiving, everyone under windows are ARJ WINZIP or RAR, such as software to package the software process compression, the same Linux inside also have similar software their suffix name is *.tar *.gz
*.tar.gz bz2 *.z. BZ2 is a software compression package that is more powerful than compression. Now let's take a look at these commands.
1.compress compressed files are
The new features of In-database archiving are introduced in Oracle Database 12c, which allows users to archive data by marking data rows on the table as inactive inactive. These inactive data rows can be compressed into one optimization and are not visible to the app by default. This feature enables the functionality and requirements of this "tag delete" in the case of minimal changes to existing code.Before 12c:Some applications have the concept of "
Current log sequence 1
6, change the archive mode to Archivelog
sql> ALTER DATABASE Archivelog;
7, Requery archive mode
sql> ARCHIVE LOG LIST
Database log Mode archive mode
AutoArchive enabled
Archive Endpoint Use_db_recovery_file_dest
The oldest online log sequence 1
Next Archive log sequence 1
Current log sequence 1
8, open the database
sql> ALTER DATABASE OPEN;
The database archiving mode Setup has been completed, querying its archive mode in addi
[Win10] some small summary about incomplete archiving (Forgive me for this damn title) and win10 Archiving1. Obtain the screen resolution of a device in synchronous Mode
Public static class ScreenResolution {///
First thought Source: http://bbs.wfun.com/thread-860192-1-1.html
Test results:
Desktop (device win10. 10240)Correct Value: 1920x1080Test Result: 1920x1080
Mobile (emulator W10M 10240 WXGA 4.5 inch)Correct Value: 768x1280Test Result: 768x1280
HashMap archiving-beyond yesterday's series, hashmap ArchivingJava HashMap
Read the source code to store an array of data:
transient Entry[] table;
Internal classes with internal key and value:
static class Entry
Therefore, the data structure of HashMap is the linked list structure under the array,
Public V put (K key, V value) {if (key = null) return putForNullKey (value); int hash = hash (key. hashCode (); int I = indexFor (hash, table. length); //
using database archiving technology to solve performance degradation problem
Many database administrators encounter the confusion that the size of the database file is growing as the business progresses. This brings great difficulties to the database management, on the one hand, to provide more and more high-performance disk capacity for online business, on the other hand, the performance of the database is getting worse. A new technology of database
the database as DBA)
2) SQL> shutdown immediate; (close the database immediately)
3) SQL> startup mount (start the instance and load the database, but do not open it)
4) SQL> alter database archivelog; (change the database to archive Mode)
5) SQL> alter database open; (open the database)
6) SQL> alter system archive log start; (enable automatic archiving)
7) SQL> exit (exit)
Make a full backup because the backup logs generated in non-archive log mode
1. Differences between the archive log mode and the non-archive log ModeIn non-archive mode, only cold backup can be performed, and only full backup can be performed during recovery. data during the last full backup to system error cannot be recovered.Archive mode supports hot backup, Incremental backup, and partial recovery.You can use archive log list to check whether the archive mode is not the archive mode when the archive mode is in the status.2. Configure the database archive ModeChange no
The Oracle database has a connection redo log, which records changes to the database, such as insertion, deletion, and data update. All these operations are recorded on the online redo day.
The Oracle database has a connection redo log, which records changes to the database, such as insertion, deletion, and data update. All these operations are recorded on the online redo day.
Oracle archiving Mode
1. Check whether the oracle database is in archi
Today, companies and organizations are aware of the need to regulate electronic documents, comply with relevant regulations, meet legal evidence to find demand, and quickly find and retrieve historical data for e-mail, all of which require e-mail archiving storage and acquisition capabilities.messagesolution The cloud archiving system is a turnkey solution for cloud platform providers, based on the cloud pl
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.