实现PostgreSQL逻辑复制实战进行传递,从而实现不同DB数据库的复制。 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 如何自定义输出插件 我们所要实现以下几个回调函数: LogicalDecodeStartupCB startup_cb; LogicalDecodeBeginCB begin_cb; LogicalDecodeChangeCB change_cb; LogicalDecodeShutdownCB shutdown_cb; 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 函数意义 复制槽初始化会调用 startup_cb 之前活跃的复制槽不再使用,就会调用 可选的 shutdown_cb 开始动作被解码,就会调用begin_cb回调。 被中止的事务及其内容不会被解码。 返回槽slot_name中的改变,从上一次已经被消费的点开始返回。 pg_logical_slot_peek_changes • 参数和行为就像pg_logical_slot_get_changes()函数,不过改变不会被 消费,即在未来的调用中还会返回这些改变。 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 使用限制0 码力 | 17 页 | 1.90 MB | 1 年前3
阿里云 AnalyticDB for PostgreSQL
- 打造更简单易用的Cloud SQL Data WarehousePostgreSQL (云Greenplum)低成本,快速 构筑在线企业数据仓库。 • 应用易开发、适配 支持SQL 2003,部分兼容Oracle语法, 支持PL/SQL 存储过程,OLAP窗口函数,事务及数据库标准隔离级别 完备功能和生态,实现应用快速迁移或适配 • PB级数据秒级响应 MPP水平扩展架构,PB级数据查询秒级响应;向量化计算,及列存储智能索引,领先传统数据库引擎性能 3x; 典型场景分析 数据分析场景 场景挑战 AnalyticDB for PostgreSQL 优势 ETL 批量处理 • 复杂 SQL 调优 • 海量数据关联聚合 • 支持标准SQL,OLAP窗口函数,存储过程 • 新一代Cascade框架 分布式SQL优化器,复杂查询免调优 • MPP多节点全并行计算,PB级数据秒级响应 • 基于列存储的高性能大表扫描,及高压缩比 在线数据探索 • 高并发0 码力 | 22 页 | 2.98 MB | 1 年前3
PostgreSQL WAL日志解析与应用容复制到日志缓冲区内。 在日志缓冲区刷新期间检查日志缓冲区是否有新内容添加,因为这 关系到设置日志缓冲区的刷新点。 确定检查点重做位置在联机备份期间强制执行完整页写入,直到备 份完成。 从内置函数获取当前WAL插入位置。 2016Postgres中国用户大会 Postgres Conference China 2016 中国用户大会 Locks of WAL • WALWriteLock0 码力 | 16 页 | 705.31 KB | 1 年前3
PostgreSQL 14.10 DocumentationInterface Definition ............................................................. 2471 62.1. Basic API Structure for Indexes ................................................................ 2471 62.2. Index Table 9.45.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); 191 Data Types The non-default GIN operator class jsonb_path_ops does not support @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 3032 页 | 13.27 MB | 1 年前3
PostgreSQL 14.10 DocumentationMethod Interface Definition ....................................................... 2338 62.1. Basic API Structure for Indexes .......................................................... 2338 62.2. Index Access Table 9.45.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops does not support the key-exists @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 2871 页 | 13.38 MB | 1 年前3
PostgreSQL 13.13 DocumentationMethod Interface Definition ....................................................... 2254 61.1. Basic API Structure for Indexes .......................................................... 2254 61.2. Index Access Table 9.45.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops does not support the key-exists @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 2782 页 | 13.00 MB | 1 年前3
PostgreSQL 12.17 DocumentationMethod Interface Definition ....................................................... 2259 61.1. Basic API Structure for Indexes .......................................................... 2259 61.2. Index Access Table 9.45.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops does not support the key-exists @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 2786 页 | 12.72 MB | 1 年前3
PostgreSQL 12.17 DocumentationInterface Definition ............................................................. 2389 61.1. Basic API Structure for Indexes ................................................................ 2389 61.2. Index example of creating an index with this operator class is: 189 Data Types CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops does not support the key-exists @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 2943 页 | 12.61 MB | 1 年前3
PostgreSQL 13.14 DocumentationInterface Definition ............................................................. 2387 61.1. Basic API Structure for Indexes ................................................................ 2387 61.2. Index Table 9.45.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops does not support the key-exists @? and @@. An example of creating an index with this operator class is: CREATE INDEX idxginp ON api USING GIN (jdoc jsonb_path_ops); Consider the example of a table that stores JSON documents retrieved0 码力 | 2940 页 | 12.89 MB | 1 年前3
PostgreSQL 9.6.24 Documentation.............................................672 25.3.3. Making a Base Backup Using the Low Level API .........................................673 25.3.3.1. Making a non-exclusive low level backup .. Definition ............................................................................2263 59.1. Basic API Structure for Indexes ............................................................................ Table 9-43.) An example of creating an index with this operator class is: CREATE INDEX idxgin ON api USING GIN (jdoc); The non-default GIN operator class jsonb_path_ops supports indexing the @> operator0 码力 | 2814 页 | 6.58 MB | 1 年前3
共 43 条
- 1
- 2
- 3
- 4
- 5













