CN105824879B - 一种基于PostgreSQL块存储设备的迁移方法 - Google Patents
一种基于PostgreSQL块存储设备的迁移方法 Download PDFInfo
- Publication number
- CN105824879B CN105824879B CN201610133040.2A CN201610133040A CN105824879B CN 105824879 B CN105824879 B CN 105824879B CN 201610133040 A CN201610133040 A CN 201610133040A CN 105824879 B CN105824879 B CN 105824879B
- Authority
- CN
- China
- Prior art keywords
- postgresql
- block
- postgresql block
- data
- tables
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000013507 mapping Methods 0.000 claims abstract description 24
- 238000013508 migration Methods 0.000 claims abstract description 9
- 230000005012 migration Effects 0.000 claims abstract description 9
- 238000013506 data mapping Methods 0.000 claims abstract description 3
- 238000013480 data collection Methods 0.000 claims description 3
- 238000004064 recycling Methods 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 2
- 238000012795 verification Methods 0.000 claims description 2
- 101150057388 Reln gene Proteins 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 102100033265 Integrator complex subunit 2 Human genes 0.000 description 1
- 108050002021 Integrator complex subunit 2 Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000004224 protection Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 238000013509 system migration Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
字段 | 类型 | 描述 | |
1 | Relfilenode(表编号) | oid | 表ID |
2 | Reltablespace(表空间编号) | oid | 表空间ID |
3 | Forknum(文件类型) | Int2 | 表fork类型 |
4 | Blockid(块编号) | oid | 表所占用的块ID |
5 | Blockno(块位置) | oid | 被占用的块所在数据表中的位置 |
字段 | 类型 | 描述 | |
1 | Blockid(块编号) | oid | 块ID |
2 | Isfree(占用标识) | bool | 是否被使用 |
3 | Dev(设备标识) | string | 块设备标识 |
Claims (9)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955290X | 2015-12-17 | ||
CN201510955290 | 2015-12-17 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105824879A CN105824879A (zh) | 2016-08-03 |
CN105824879B true CN105824879B (zh) | 2019-06-28 |
Family
ID=56987026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610133040.2A Active CN105824879B (zh) | 2015-12-17 | 2016-03-09 | 一种基于PostgreSQL块存储设备的迁移方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105824879B (zh) |
WO (1) | WO2017101505A1 (zh) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630879B (zh) * | 2015-12-17 | 2019-03-26 | 深圳市华讯方舟软件技术有限公司 | 一种PostgreSQL块存储设备读写模块 |
CN105573678B (zh) * | 2015-12-17 | 2018-11-09 | 深圳市华讯方舟软件技术有限公司 | 一种PostgreSQL块 |
CN105824879B (zh) * | 2015-12-17 | 2019-06-28 | 深圳市华讯方舟软件技术有限公司 | 一种基于PostgreSQL块存储设备的迁移方法 |
CN106815298B (zh) * | 2016-12-09 | 2020-11-17 | 中电科华云信息技术有限公司 | 基于块存储的分布式共享文件系统 |
CN111367470B (zh) * | 2020-02-21 | 2021-09-17 | 苏州浪潮智能科技有限公司 | 分布式存储卷在线迁移方法、系统、装置及可读存储介质 |
CN111506685A (zh) * | 2020-03-24 | 2020-08-07 | 山东省国土测绘院 | 一种融合制图方法、系统及电子设备 |
CN112035461B (zh) * | 2020-06-17 | 2024-05-10 | 深圳市法本信息技术股份有限公司 | 数据库的表数据文件的迁移方法和系统 |
CN112380217B (zh) * | 2020-11-17 | 2024-04-12 | 安徽鸿程光电有限公司 | 数据处理方法、装置、设备及介质 |
CN112800051A (zh) * | 2020-12-28 | 2021-05-14 | 厦门市美亚柏科信息股份有限公司 | 一种PostGresSQL数据库删除记录的恢复方法和装置 |
CN114564443B (zh) * | 2022-02-21 | 2024-10-15 | 苏州浪潮智能科技有限公司 | 数据迁移的控制方法、系统、计算机设备和存储介质 |
CN115098492A (zh) * | 2022-05-17 | 2022-09-23 | 中国人民财产保险股份有限公司 | 一种分布式数据库的分库方法、装置及存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848118A (zh) * | 2005-04-14 | 2006-10-18 | 三星电子株式会社 | 管理文件系统的设备和方法 |
CN100337220C (zh) * | 2003-02-17 | 2007-09-12 | 西安三茗科技有限责任公司 | 一种Linux系统硬盘数据实时动态保护方法 |
CN100508502C (zh) * | 2006-12-22 | 2009-07-01 | 清华大学 | 基于cam的宽带网络业务流按每流排队的可扩展的装置 |
CN101567003B (zh) * | 2009-05-27 | 2012-05-16 | 清华大学 | 并行文件系统中资源的管理和分配方法 |
CN102622272A (zh) * | 2012-01-18 | 2012-08-01 | 北京华迪宏图信息技术有限公司 | 基于集群和并行技术的海量卫星数据处理系统及处理方法 |
CN102768672A (zh) * | 2012-06-12 | 2012-11-07 | 上海方正数字出版技术有限公司 | 一种磁盘空间管理方法和装置 |
CN102243629B (zh) * | 2010-05-12 | 2013-02-27 | 北京安华金和科技有限公司 | 一种基于多级视图和触发器的数据库透明加解密方法 |
CN104462119A (zh) * | 2013-09-18 | 2015-03-25 | 腾讯科技(深圳)有限公司 | 数据迁移方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100005077A1 (en) * | 2008-07-07 | 2010-01-07 | Kickfire, Inc. | Methods and systems for generating query plans that are compatible for execution in hardware |
CN105630879B (zh) * | 2015-12-17 | 2019-03-26 | 深圳市华讯方舟软件技术有限公司 | 一种PostgreSQL块存储设备读写模块 |
CN105573678B (zh) * | 2015-12-17 | 2018-11-09 | 深圳市华讯方舟软件技术有限公司 | 一种PostgreSQL块 |
CN105824879B (zh) * | 2015-12-17 | 2019-06-28 | 深圳市华讯方舟软件技术有限公司 | 一种基于PostgreSQL块存储设备的迁移方法 |
-
2016
- 2016-03-09 CN CN201610133040.2A patent/CN105824879B/zh active Active
- 2016-08-26 WO PCT/CN2016/096971 patent/WO2017101505A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100337220C (zh) * | 2003-02-17 | 2007-09-12 | 西安三茗科技有限责任公司 | 一种Linux系统硬盘数据实时动态保护方法 |
CN1848118A (zh) * | 2005-04-14 | 2006-10-18 | 三星电子株式会社 | 管理文件系统的设备和方法 |
CN100508502C (zh) * | 2006-12-22 | 2009-07-01 | 清华大学 | 基于cam的宽带网络业务流按每流排队的可扩展的装置 |
CN101567003B (zh) * | 2009-05-27 | 2012-05-16 | 清华大学 | 并行文件系统中资源的管理和分配方法 |
CN102243629B (zh) * | 2010-05-12 | 2013-02-27 | 北京安华金和科技有限公司 | 一种基于多级视图和触发器的数据库透明加解密方法 |
CN102622272A (zh) * | 2012-01-18 | 2012-08-01 | 北京华迪宏图信息技术有限公司 | 基于集群和并行技术的海量卫星数据处理系统及处理方法 |
CN102768672A (zh) * | 2012-06-12 | 2012-11-07 | 上海方正数字出版技术有限公司 | 一种磁盘空间管理方法和装置 |
CN104462119A (zh) * | 2013-09-18 | 2015-03-25 | 腾讯科技(深圳)有限公司 | 数据迁移方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
WO2017101505A1 (zh) | 2017-06-22 |
CN105824879A (zh) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105824879B (zh) | 一种基于PostgreSQL块存储设备的迁移方法 | |
CN105630879B (zh) | 一种PostgreSQL块存储设备读写模块 | |
CN104246764B (zh) | 利用非均匀散列函数在非均匀访问存储器中放置记录的方法和装置 | |
CN109977111A (zh) | 采用基于散列和基于树的键-值数据结构的数据管理系统 | |
CN105573678B (zh) | 一种PostgreSQL块 | |
US9996557B2 (en) | Database storage system based on optical disk and method using the system | |
Manzanares et al. | {ZEA}, A Data Management Approach for {SMR} | |
CN107704194B (zh) | 无锁io处理方法及其装置 | |
JP2006293981A (ja) | データベース格納方法、および、データベース格納システム | |
CN101241476A (zh) | 一种虚拟存储系统和方法 | |
US7921142B2 (en) | Method and apparatus for storing and accessing data records on solid state disks | |
US10838624B2 (en) | Extent pool allocations based on file system instance identifiers | |
CN111324305B (zh) | 一种分布式存储系统中数据写入/读取方法 | |
CN102915340A (zh) | 一种扩展的基于b+树对象文件系统 | |
US8131966B2 (en) | System and method for storage structure reorganization | |
Rosenthal | The medium-term prospects for long-term storage systems | |
Lindstrom et al. | The design and analysis of bucketsort for bubble memory secondary storage | |
CN111309263B (zh) | 一种分布式对象存储中的逻辑卷实现方法 | |
CN116738511A (zh) | 磁盘分块加密方法 | |
CN107844592A (zh) | 一种查询元数据的方法和装置 | |
CN107451069A (zh) | 基于预留空间的固态盘阵列的垃圾回收方法 | |
Liang et al. | Enabling a B+-tree-based data management scheme for key-value store over SMR-based SSHD | |
CN109597793B (zh) | 一种提升文件系统io性能的方法 | |
CN105404471A (zh) | 一种分布式云存储高速缓存层实现方法 | |
CN101859232A (zh) | 一种可变长度数据存储接口 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518102 Guangdong Province, Baoan District Xixiang street Shenzhen City Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor Applicant after: SHENZHEN HUAXUN FANGZHOU SOFTWARE TECHNOLOGY Co.,Ltd. Applicant after: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 518102 Guangdong Province, Baoan District Xixiang street Shenzhen City Tian Yi Lu Chen Tian Bao Industrial District thirty-seventh building 3 floor Applicant before: SHENZHEN HUAXUN FANGZHOU SOFTWARE TECHNOLOGY Co.,Ltd. Applicant before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
COR | Change of bibliographic data | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210630 Granted publication date: 20190628 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20230421 Granted publication date: 20190628 |
|
PD01 | Discharge of preservation of patent | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230606 Address after: 518102 room 404, building 37, chentian Industrial Zone, chentian community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Huaxun ark Photoelectric Technology Co.,Ltd. Patentee after: SHENZHEN HUAXUN FANGZHOU SOFTWARE TECHNOLOGY Co.,Ltd. Address before: 518102 3rd floor, building 37, chentian Industrial Zone, Baotian 1st Road, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province Patentee before: SHENZHEN HUAXUN FANGZHOU SOFTWARE TECHNOLOGY Co.,Ltd. Patentee before: CHINA COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |