本文为摘录(或转载),侵删,原文为: https://www.cppstories.com/2017/01/cpp17features/
1 Language Features
1.1 New auto rules for direct-list-initialization
1.2 static_assert with no message
static_assert() 可以不用再写 message 了, 类似 C assert
本文为摘录(或转载),侵删,原文为: https://www.cppstories.com/2017/01/cpp17features/
static_assert() 可以不用再写 message 了, 类似 C assert
本文为摘录(或转载),侵删,原文为: attachments/pdf/2/p752-zhu.pdf
we compare the effectiveness of CardEst methods in a real DBMS
We establish a new benchmark for CardEst, which:
We integrate multiple most representative CardEst methods into PostgreSQL,
cgroup v1 可以单独操作进程中的线程, man cgroups :
In cgroups v1, a distinction is drawn between processes and tasks. In this view, a process can con‐ sist of multiple tasks (more commonly called threads, from a user-space perspective, and called such in the remainder of this man page). In cgroups v1, it is possible to independently manipulate the cgroup memberships of the threads in a process.
本文为摘录(或转载),侵删,原文为: attachments/pdf/f/p2085-alkowaileet.pdf
这篇论文探讨了文档存储数据库系统的数据模型灵活性限制其在列式关系数据库中进行分析工作负载的表现。作者提出了几种基于 Log-Structured Merge (LSM) tree 事件的技术,旨在将数据存储在列式布局中。他们扩展了 Dremel 格式并引入一个新的列式布局来组织和存储数据。论文还强调了在文档存储中使用查询编译技术的潜力,并介绍了他们在 Apache AsterixDB 中的实现和评估。实验结果显示了显著的性能增益,并在最小程度上影响了摄入性能。
| |
| |
本文为摘录(或转载),侵删,原文为: https://github.com/powa-team/powa
Workload Analyzer.
本文为摘录(或转载),侵删,原文为: ../../../Work/pg_gpdb/src/backend/utils/time/sharedsnapshot.c
在 Greenplum 中,作为切片计划的一部分,许多 PostgreSQL 进程(qExecs,QE)在单个段数据库上运行,作为同一用户 SQL 语句的一部分。属于特定用户在特定段数据库上的所有 qExecs 需要具有一致的可见性。为此,使用了一种称为“共享本地快照”(Shared Local Snapshot)的思想。共享内存数据结构 SharedSnapshotSlot 在特定数据库实例上的会话的统一流程(gang processes)之间共享会话和事务信息。这些流程被称为 SegMate 进程组。
GP 提供了 gpcheckcat 用于在集群内检查系统表。
| 检查项 | 描述 | Utility 模式 | 复合查询 | 错误等级 |
|---|---|---|---|---|
| pg_class | Check pg_class entry that does not have any correspond pg_attribute entry | Y | N | NOREPAIR |
| namespace | Check for schemas with a missing schema definition | Y | N | NOREPAIR |
| unique_index_violation | Check for violated unique indexes | N | Y | NOREPAIR |
| duplicate | Check for duplicate entries | N | Y | |
| missing_extraneous | Cross consistency check for missing or extraneous entries | N | Y | |
| inconsistent | Cross consistency check for coordinator segment inconsistency | N | ||
| foreign_key | Check foreign keys | N |
Note:
| |