GitHub - powa-team/powa: PostgreSQL Workload Analyzer

本文为摘录,原文为: https://github.com/powa-team/powa Workload Analyzer.

Hash Index of PG

1 Hash Indexing 2 Page Addressing 本文为摘录,原文为: ../../../Work/pg_master/src/backend/access/hash/README 1 Hash Indexing 这个目录包含了 Postgres 的散列索引实现。其中大部分核心思想来自于 Margo Seltzer 和 Ozan Yigit 在 1991 年 1 月举行的冬季 USENIX 会议上的论文...

NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems

本文为摘录,原文为: attachments/pdf/a/p1187-zhang.pdf PM stands for Persistent Memory, 持久内存,它是一种非易失性内存,即使断电也能保留数据。 eADR 保证了 CPU 缓存中的数据在电源故障时会被刷新...

Performance Tip of the Week

1 #9: Optimizations past their prime 1.1 Best practices 1.2 #21: Improving the efficiency of your regular expressions 本文为摘录,原文为: https://abseil.io/fast 1 #9: Optimizations past their prime 1.1 Best practices – 可能的情况下编写清晰、惯用的代码 Prefer writing clear, idiomatic code whenever possible. It is not only easier to read and...

pgaudit/pgaudit: PostgreSQL Audit Extension

1 Introduction 2 Why pgAudit 3 Usage Considerations 4 Settings 4.1 pgaudit.log 4.2 pgaudit.log_catalog 5 Session Audit Logging 6 Object Audit Logging 7 Format 本文为摘录,原文为: https://github.com/pgaudit/pgaudit#readme 1 Introduction PostgreSQL 审计扩展(pgAudit)通过标准的 PostgreSQL 日志记录功能提供详细的会话...

std::initializer_list in C++

1 Referencing local array 2 The cost of copying elements 本文为摘录,原文为: https://www.cppstories.com/2023/initializer_list_improvements/ 1 Referencing local array std::initializer_list 在使用中会转化成为常量对象的匿名局部数组: std::initializer_list<int> wrong() { // for illustration only! return { 1, 2, 3, 4}; } int main() { std::initializer_list<int> x = wrong(); } The...

The Design and Implementation of Modern Column-Oriented Database Systems

1 Introduction 1.1 Virtual IDs 1.2 Block-oriented and vectorized processing \\ 1.3 Late materialization 晚期物化 1.4 Column-specific compression 1.5 Direct operation on compressed data 1.6 Efficient join implementations 1.7 Redundant representation of individual columns in dif- ferent sort orders 1.8 Database cracking and adaptive indexing 1.9 Efficient loading architectures 2 Column-store internals and advanced techniques 2.1 Vectorized Processing 向量化处理 2.2 Compression 2.3 Operating...

The mapping of oid and relfilenode in PG

1 Relfilenode of ordinary table 2 Relfilenode of Nail tables 3 Nail table Relfilenode storage mechanism 4 Summary 本文为摘录,原文为: https://www.highgo.ca/2021/01/12/the-mapping-of-oid-and-relfilenode-in-pg/ A table in PostgreSQL has a relfilenode value, which specifies the file name of the table on disk (except foreign table and partition table). In general, this value can be found in the relfilenode field of the pg_class table, but there...

The Vertica Analytic Database- C-Store 7 Years Later

1 ABSTRACT 2 BACKGROUND 2.1 Design Overview 3 DATA MODEL 3.1 Projections 3.2 Join Indexes 3.3 Prejoin Projections 3.4 Encoding and Compression 3.5 Partitioning 3.6 Segmentation: Cluster Distribution 3.7 Read and Write Optimized Stores 4 TUPLE MOVER 5 QUERY EXECUTION 5.1 Query Operators and Plan Format 5.2 Query Optimization 本文为摘录,原文为: attachments/pdf/3/The Vertica Analytic Database- C-Store 7 Years Later (p1790_andrewlamb_vldb2012).pdf 1 ABSTRACT...

Troubles with Nulls, Views from the Users

1 INTRODUCTION 2 DESIGN AND METHODOLOGY 本文为摘录,原文为: attachments/pdf/6/p2613-guagliardo.pdf 1 INTRODUCTION NULL 用于表示不完整的数据 2 DESIGN AND METHODOLOGY

大数据已死

https://motherduck.com/blog/big-data-is-dead/ 谷歌的大数据工程师乔丹·蒂加尼 (Jordan Tigani),最近直言不讳地说:“大数据已死”。 他认为,大数据时代已...

全方位对比 Postgres 和 MySQL

本文为摘录,原文为: https://mp.weixin.qq.com/s/xf7qb4oAVHyi4_U32FSKPA

人生是一个长板问题

本文为摘录,原文为: http://www.ruanyifeng.com/blog/2023/05/weekly-issue-254.html 大家可能听说过"水桶原理":水桶的容量由最短的那块木板决定。 它的意思是,某些系统的关键,不在于发展...