当前位置:网站首页>Snapshot: data snapshot (data disclosure method)
Snapshot: data snapshot (data disclosure method)
2022-07-19 03:03:00 【boonya】
Catalog
Data snapshot
Data snapshot , It is an immutable fast data copy storage for e-commerce business data . It is convenient to check the price and other attributes of the goods at the moment of ordering , It will not change due to changes in the price system . Prevent goods from being sold out 、 Incomplete data such as offline , Go to the bottom of the data .
Example : Baidu search snapshot

Search engine snapshot
Search engine snapshot , It refers to when visitors cannot open a search result , Or when the opening speed is particularly slow , The information provided for visitors was previously saved in the search engine The server The plain text of the corresponding web page content on . however , The snapshot content saved by search engines generally only includes text data , Non text data such as pictures and other multimedia will not be saved . therefore , When the source website cannot be accessed , Pictures and other multimedia will not be displayed in the snapshot .
Store snapshots
The global network storage industry association SNIA(StorageNetworking Industry Association) To the snapshot (Snapshot) Is defined as : A fully available copy of the specified data set , This copy includes the corresponding data at some point in time ( Copy the start time ) Image of . A snapshot can be a copy of the data it represents , It can also be a copy of the data .
The function of snapshot is mainly to backup and restore online data . When the storage device has application failure or file damage, it can be quickly Data recovery , Restore data to an available point in time . Another function of snapshot is to provide another data access channel for storage users , When the original data is processed by online application , Users can access snapshot data , You can also use snapshots for testing and other work . all The storage system , Low end, high school, whatever , As long as it applies to online systems , Then snapshot becomes an indispensable function .
How to implement a snapshot
Currently, there are two main technologies for snapshot , One is to copy when writing for the first time (Copy OnFirst Write,COFW), Sometimes referred to as copy on write (CopyOn Write,COW). That is, when data is first written to a storage location , First, read out the original content , Write to another location ( Storage space reserved for snapshots , In this article, we call it snapshot space ), Then write the data to the storage device . The next write operation for this location will no longer perform the copy on write operation . This technology is often used for the first time in computer related technology , Its basic principles are similar , Only the object-oriented is different , Applicable to different occasions . from COW We can know the execution process of , This implementation requires a read operation when writing to a storage location for the first time ( Read the data of the original location ), Two write operations ( Write original location and write snapshot space ), If writing is frequent , Then this method will be very expensive IO Time . So it can be inferred that , If you expect I/O Most of them are mainly read operations , Write less , The snapshot implementation technology in this way is an ideal choice , Because it takes less time to complete the snapshot . besides , If an application is prone to write hotspots , That is, write only for a limited range of data , that COW The snapshot implementation method of is also an ideal choice . Because its data changes are limited to a range , Multiple writes to the same copy of data will only result in one copy on write .
边栏推荐
- 【单片机仿真】(二十一)DB(Define Byte)— 定义字节
- 【单片机仿真】(十四)指令系统位操作类指令 — 位数据传送指令MOV、位变量修改指令
- 4. Some thoughts on asynctool framework
- From the perspective of MySQL architecture, how does an SQL statement execute?
- 这是数学的问题
- 2、AsyncTool框架实战使用
- Go语言 实现发送短信验证码 并登录
- Configure VLAN and use OSPF protocol for layer 3 switches
- Rsync - remote synchronization
- 审视自己投资的路
猜你喜欢

多项式插值拟合(二)

【NoSQL】NoSQL之redis配置与优化(简单操作)

Summary of the most complete methods of string interception in Oracle

一个优酷VIP会员帐号可以几个人用的设备同时登录如何共享多人使用优酷会员账号?

MySQL主从复制+读写分离

【回归预测】基于粒子滤波实现锂离子电池寿命预测附matlab代码

Advanced usage of the responsibility chain pattern
4、AsyncTool框架的一些思考

GFS distributed file system

DHCP principle and configuration
随机推荐
mysqldump: [Warning] Using a password on the command line interface can be insecure.
Elk log analysis system
【NoSQL】redis高可用和持久化
LETV has more than 400 employees? Living a fairy life without a boss, the official responded
DDD 超越 MVC了吗
Comprehensive experiment of static routing
[single chip microcomputer simulation] (XII) instruction system logic operation instruction - logic XOR instruction XRL, accumulator clear 0 and reverse instruction
First blog ----- self introduction
2. Actual use of asynctool framework
What happens when you get stuck compiling and installing MySQL database in Linux system?
Hcip day 1_ HCIA review
【单片机仿真】(十六)控制转移类指令 — 无条件转移指令、条件转移指令
SQL经典练习题(x30)
[single chip microcomputer simulation] (XI) instruction system logic operation instruction - logic and instruction anl, logic or instruction ORL
【MySQL】MHA高可用
【PHP】tp6多表连接查询
Go language realizes sending SMS verification code and logging in
GraphQL初识
樂視還有400多比特員工?過著沒有老板的神仙日子 官方出來回應了...
mysql复制表