Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

summer-ospp:利用pgreplay解析审计日志,提取PolarDB-PG数据库真实workload #403

Open
lanzhao0329 opened this issue Jul 19, 2023 · 1 comment

Comments

@lanzhao0329
Copy link

题目要求:

PolarDB 在升级或者不同环境中迁移时,需要关心迁移前后的稳定性、正确性以及性能指标。一个很好的测试方式是利用实例真实的 workload ,在不同实例上运行,然后对比结果。

pgreplay 是开源社区提供的一个解析日志,提取真实 workload 的工具,但目前支持解析的日志格式较少。

本项目希望 pgreplay 能够支持解析 PolarDB 中常用格式的审计日志,在此基础上解决解析的 SQL 未记录完整的场景,解析的 SQL search_path 未知的场景,解析的 SQL 参数化类型未知的场景,更进一步,能够提供进行结果比较与性能比较的能力。

任务目标:

基础产出:pgreplay 支持解析PolarDB常用格式的审计日志;
进阶产出:解决题目中三个会导致worload运行失败的场景;
挑战产出:提供结果比较与性能比较的能力。

题目难度

基础

技术要求

熟悉C语言,了解PostgreSQL的日志,了解pgreplay工作原理。

导师信息

Li haiyang,summer-ospp Mentor, PolarDB-for-PostgreSQL Committer.
mohen.lhy@alibaba-inc.com(联系导师请附上个人简历)

开源之夏项目地址:https://summer-ospp.ac.cn/org/prodetail/2309e0138?list=org&navpage=org

@polardb-bot
Copy link
Contributor

polardb-bot bot commented Jul 19, 2023

Hi @lanzhao0329 ~ Thanks for opening this issue! 🎉

Please make sure you have provided enough information for subsequent discussion.

We will get back to you as soon as possible. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant