shared cache invalidation

1 prelog 2 Configurable parameters 3 SICleanupQueue 3.1 重置后的处理 3.2 信号的处理 本文为摘录,原文为: https://github.com/postgres/postgres/blob/master/src/backend/storage/ipc/sinval.c 1 prelog 共享缓存失效消息在一个无限数组中存储,maxMsgNum 是下一个数组下标来...

April 25, 2024 · Yang, Ying-chao

cary huang: PostgreSQL’s Planner – Simple Scan Paths vs Plans

1 Introduction 2 Where it all start 3 What happens behind pg_plan_query 4 set_base_rel_sizes() 5 set_base_rel_pathlist() 6 generate_gather_paths 7 get_cheapest_fractional_path and create_plan 8 Examine the Plan 本文为摘录,原文为: https://postgr.es/p/6s9 1 Introduction 当你向 PostgreSQL 发送查询时,通常会经历查询处理的各个阶段,并在最后返回...

March 25, 2024 · Yang Yingchao

HashData|产品介绍

1 Abort HashData 2 设计理念 3 架构介绍 3.1 管理模块 3.2 用户模块 4 产品特性 4.1 数据仓库服务 4.2 灵活高效的业务支持 4.3 多维度弹性 4.4 高可用和低成本 4.5 接近零停机时间 4.6 优化...

January 12, 2024 · Yang, Ying-chao

OCI Database with PostgreSQL: 完善OCI的云数据库套件以满足各种需求

1 为什么 OCI Database for PostgreSQL 脱颖而出 2 Vanilla PostgreSQL 的问题 3 OCI Database with PostgreSQL – 高级架构 3.1 数据库优化存储 (DbOS) 的优点 3.2 进一步的存储优化 3.3 结论 本文为摘录,原文为: https://mp.weixin.qq.com/s?__biz=MzI3OTM3MDkyNg==&mid=2247497316&idx=1&sn=d08b84d63ab2e4b69949af9170762189&chksm=eb4a7ba5dc3df2b3ca2b3721e5614ab5711be6e984ec44173035323953d193440240f8412591&mpshare=1&scene=1&srcid=1208AtRH30qSa2LdMxzmf3sV&sharer_shareinfo=9a0858a92025bbb0e8887abc9a5eee8a&sharer_shareinfo_first=9a0858a92025bbb0e8887abc9a5eee8a#rd 对于希望在云中...

December 8, 2023 · Yang Yingchao

Barriers in PostgresSQL

1 Barriers: 协调进程的同步屏障 1.1 静态参与 2 TODO: Barriers API 3 TODO: how it is used in hash jon… 简单总结一下 PG 中进程同步用到的屏障: https://github.com/postgres/postgres/blob/master/src/backend/storage/ipc/barrier.c 1 Barriers: 协调进程的同步屏障 来自维基百科[1...

October 21, 2023 · Yang, Ying-chao

云数据库 PostgreSQL 日志管理及分析-操作指南-文档中心-腾讯云

1 慢查询 1.1 功能说明 1.2 监控视图 1.3 慢 SQL 列表 1.4 慢 SQL 统计分析 1.5 功能说明 2 错误日志 3 错误日志默认设置 4 运行日志管理 4.1 PG_LOG 介绍 4.2 修改 PG_LOG 保留时长 本文为摘录,...

August 15, 2023

The Part of PostgreSQL We Hate the Most

1 What is Multi-Version Concurrency Control? 2 PostgreSQL’s Multi-Version Concurrency Control 2.1 Multi-Versioned Storage 2.2 Version Vacuum 3 Why PostgreSQL’s MVCC is the Worst 3.1 Problem #1: Version Copying 3.2 Problem #2: Table Bloat 3.3 Problem #3: Secondary Index Maintenance 3.4 Problem #4: Vacuum Management 4 Concluding Remarks...