CN110121712A - 一种日志管理方法、服务器和数据库系统 - Google Patents
一种日志管理方法、服务器和数据库系统 Download PDFInfo
- Publication number
- CN110121712A CN110121712A CN201780055469.7A CN201780055469A CN110121712A CN 110121712 A CN110121712 A CN 110121712A CN 201780055469 A CN201780055469 A CN 201780055469A CN 110121712 A CN110121712 A CN 110121712A
- Authority
- CN
- China
- Prior art keywords
- affairs
- server
- data
- writes
- writing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
Abstract
本申请提供了一种日志管理方法、服务器和数据库系统。该方法包括:服务器接收第一写事务,并检测所述第一写事务是否为非确定事务,在该服务器检测到第一写事务为非确定事务时,该服务器生成并存储第一写事务的数据日志。根据本申请公开的技术方案,服务器节点可以用过判断写事务的类型,从而采取不同的日志策略,从服务器端检测接收到的写事务是否是非确定事务,如果写事务是非确定事务,则生成并存储该写事务的数据日志,后续通过数据日志进行非确定事务的数据恢复,从而保证数据恢复时恢复结果与原始结果相同。从而减少了业务端的复杂度,业务端不再需要通过复杂的设计以保证写事务不是非确定事务。
Description
PCT国内申请,说明书已公开。
Claims (32)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/114648 WO2019109257A1 (zh) | 2017-12-05 | 2017-12-05 | 一种日志管理方法、服务器和数据库系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110121712A true CN110121712A (zh) | 2019-08-13 |
CN110121712B CN110121712B (zh) | 2022-04-05 |
Family
ID=66750366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780055469.7A Active CN110121712B (zh) | 2017-12-05 | 2017-12-05 | 一种日志管理方法、服务器和数据库系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110121712B (zh) |
WO (1) | WO2019109257A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111404737A (zh) * | 2020-03-10 | 2020-07-10 | 腾讯科技(深圳)有限公司 | 一种容灾处理方法以及相关装置 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694798B (zh) * | 2020-04-23 | 2023-04-25 | 武汉达梦数据库股份有限公司 | 一种基于日志解析的数据同步方法及数据同步系统 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070233753A1 (en) * | 2006-03-31 | 2007-10-04 | Fujitsu Limited | Database system management method, database system, database device, and backup program |
CN101159003A (zh) * | 2007-11-16 | 2008-04-09 | 中国科学院软件研究所 | 数据库恶意事务处理方法及其系统 |
CN101436207A (zh) * | 2008-12-16 | 2009-05-20 | 浪潮通信信息系统有限公司 | 一种基于日志快照的数据恢复和同步方法 |
CN101540704A (zh) * | 2009-05-05 | 2009-09-23 | 北京神舟航天软件技术有限公司 | 不可信dbms恶意入侵检测系统及方法 |
CN102436490A (zh) * | 2010-10-28 | 2012-05-02 | 微软公司 | 多功能存储器内数据库恢复 |
CN105159818A (zh) * | 2015-08-28 | 2015-12-16 | 东北大学 | 内存数据管理中日志恢复方法及其仿真系统 |
CN106610876A (zh) * | 2015-10-23 | 2017-05-03 | 中兴通讯股份有限公司 | 数据快照的恢复方法及装置 |
CN107077492A (zh) * | 2014-09-10 | 2017-08-18 | 亚马逊科技公司 | 可扩展的基于日志的事务管理 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127045B (zh) * | 2007-09-25 | 2010-04-21 | 中兴通讯股份有限公司 | 数据库可重复读实现方法、装置及数据库管理系统 |
US9779128B2 (en) * | 2014-04-10 | 2017-10-03 | Futurewei Technologies, Inc. | System and method for massively parallel processing database |
US9928264B2 (en) * | 2014-10-19 | 2018-03-27 | Microsoft Technology Licensing, Llc | High performance transactions in database management systems |
-
2017
- 2017-12-05 CN CN201780055469.7A patent/CN110121712B/zh active Active
- 2017-12-05 WO PCT/CN2017/114648 patent/WO2019109257A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070233753A1 (en) * | 2006-03-31 | 2007-10-04 | Fujitsu Limited | Database system management method, database system, database device, and backup program |
CN101159003A (zh) * | 2007-11-16 | 2008-04-09 | 中国科学院软件研究所 | 数据库恶意事务处理方法及其系统 |
CN101436207A (zh) * | 2008-12-16 | 2009-05-20 | 浪潮通信信息系统有限公司 | 一种基于日志快照的数据恢复和同步方法 |
CN101540704A (zh) * | 2009-05-05 | 2009-09-23 | 北京神舟航天软件技术有限公司 | 不可信dbms恶意入侵检测系统及方法 |
CN102436490A (zh) * | 2010-10-28 | 2012-05-02 | 微软公司 | 多功能存储器内数据库恢复 |
CN107077492A (zh) * | 2014-09-10 | 2017-08-18 | 亚马逊科技公司 | 可扩展的基于日志的事务管理 |
CN105159818A (zh) * | 2015-08-28 | 2015-12-16 | 东北大学 | 内存数据管理中日志恢复方法及其仿真系统 |
CN106610876A (zh) * | 2015-10-23 | 2017-05-03 | 中兴通讯股份有限公司 | 数据快照的恢复方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111404737A (zh) * | 2020-03-10 | 2020-07-10 | 腾讯科技(深圳)有限公司 | 一种容灾处理方法以及相关装置 |
Also Published As
Publication number | Publication date |
---|---|
WO2019109257A1 (zh) | 2019-06-13 |
CN110121712B (zh) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11734306B2 (en) | Data replication method and storage system | |
US11461280B2 (en) | Handling metadata operations and timestamp changes during resynchronization | |
US11256715B2 (en) | Data backup method and apparatus | |
EP3961365A1 (en) | Synchronously replicating datasets and other managed objects to cloud-based storage systems | |
US11321291B2 (en) | Persistent version control for data transfer between heterogeneous data stores | |
US7822892B2 (en) | Managing the copying of writes from primary storages to secondary storages across different networks | |
EP2976714B1 (en) | Method and system for byzantine fault tolerant data replication | |
JPH07239799A (ja) | 遠隔データ・シャドーイングを提供する方法および遠隔データ二重化システム | |
KR20130065338A (ko) | 메인메모리 데이터베이스 관리 시스템의 액티브 노드 및 스탠바이 노드의 데이터베이스 관리 장치 및 방법 | |
CN110121694A (zh) | 一种日志管理方法、服务器和数据库系统 | |
US11409711B2 (en) | Barriers for dependent operations among sharded data stores | |
JP6133396B2 (ja) | 計算機システム、サーバ、及び、データ管理方法 | |
US20210165760A1 (en) | Managing Dependent Delete Operations among Data Stores | |
US20210165768A1 (en) | Replication Barriers for Dependent Data Transfers between Data Stores | |
CN115858236A (zh) | 一种数据备份方法和数据库集群 | |
US20230315713A1 (en) | Operation request processing method, apparatus, device, readable storage medium, and system | |
CN110121712A (zh) | 一种日志管理方法、服务器和数据库系统 | |
WO2017122060A1 (en) | Parallel recovery for shared-disk databases | |
US11341159B2 (en) | In-stream data load in a replication environment | |
CN116339609A (zh) | 一种数据处理方法以及存储设备 | |
CN113609104B (zh) | 一种部分故障的键值对分布式存储系统访问方法及装置 | |
CN117992467A (zh) | 数据处理系统、方法、装置及相关设备 | |
CN117234837A (zh) | 一种对象存储集群的健康监测方法及相关装置、存储介质 | |
CN117270792A (zh) | 一种数据迁移方法、装置、设备和存储介质 | |
KR20160016358A (ko) | 데이터의 일관성을 보장하는 상태기기 기반의 복제 및 체크포인트데이터와 복제로그를 이용한 분산 복구를 처리하는 데이터 복제 방법 및 데이터 저장 시스템 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |