-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2022 oceanbase miniob competition (#104)
2022 oceanbase competition
- Loading branch information
Showing
30 changed files
with
1,905 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,35 @@ | ||
# Introduction | ||
miniob 是 OceanBase与华中科技大学联合开发的、面向"零"基础数据库内核知识同学的一门数据库实现入门教程实践工具。 | ||
miniob设计的目标是让不熟悉数据库设计和实现的同学能够快速的了解与深入学习数据库内核,期望通过相关训练之后,能够对各个数据库内核模块的功能与它们之间的关联有所了解,并能够在 | ||
使用数据库时,设计出高效的SQL。面向的对象主要是在校学生,并且诸多模块做了简化,比如不考虑并发操作。 | ||
注意:此代码仅供学习使用,不考虑任何安全特性。 | ||
# 介绍 | ||
miniob 是 OceanBase 与华中科技大学联合开发的、面向"零"基础同学的数据库入门实践工具。 | ||
miniob 设计的目标是让同学们快速了解数据库并深入学习数据库内核,期望通过相关训练之后,能够对数据库内核各个模块的功能及其关联有所了解,并能够在 | ||
使用数据库时,设计出高效的 SQL 。miniob 面向的对象主要是在校学生,并且诸多模块都做了简化,比如不考虑并发操作。 | ||
|
||
[GitHub 首页](https://github.com/oceanbase/miniob) | ||
|
||
# 如何开发 | ||
## 搭建开发环境 | ||
有多种方式搭建开发环境,可以直接在本地安装一些三方依赖,或者使用Docker。如果使用的是Windows,我们建议使用Docker来开发。 | ||
|
||
### 搭建本地开发环境 | ||
直接在本地搭建开发环境,可以参考 [how_to_build](docs/how_to_build.md)。 | ||
|
||
### 使用Docker开发 | ||
|
||
请参考 [如何使用Docker开发MiniOB](docs/how-to-dev-using-docker.md) | ||
(注意:此代码仅供学习使用,不考虑任何安全特性。) | ||
|
||
### Windows上开发MiniOB | ||
|
||
[如何在Windows上使用Docker开发miniob](docs/how_to_dev_miniob_by_docker_on_windows.md) | ||
|
||
## 词法语法解析开发环境 | ||
|
||
如果已经在处理一些SQL词法语法解析相关的问题,请参考 [MiniOB 词法语法解析开发与测试](docs/miniob-sql-parser.md)。 | ||
Docker 环境已经预安装了相关的组件。 | ||
|
||
# 数据库管理系统实现基础讲义 | ||
由华中科技大学谢美意和左琼老师联合编撰数据库管理系统实现教材。参考 [数据库管理系统实现基础讲义](docs/lectures/index.md) | ||
[GitHub 首页](https://github.com/oceanbase/miniob) | ||
|
||
# miniob 介绍 | ||
[miniob代码架构框架设计和说明](docs/miniob-introduction.md) | ||
# 1. 题目说明 | ||
[miniob 题目描述](docs/miniob_topics.md) | ||
|
||
# miniob 训练 | ||
我们为MiniOB设计了配套的训练题目,大家可以在 [MiniOB 训练营](https://open.oceanbase.com/train?questionId=200001) 上进行提交测试。 | ||
# 2. 开发指南 | ||
## 搭建开发环境 | ||
1. [本地配置gcc环境](docs/how_to_build.md)。 | ||
2. [使用Docker开发](docs/how-to-dev-using-docker.md)。 | ||
3. [在Windows上使用Docker](docs/how_to_dev_miniob_by_docker_on_windows.md)。 | ||
|
||
[miniob 题目描述](docs/miniob_topics.md) | ||
## 词法、语法解析 | ||
请参考 [miniob 词法语法解析开发与测试](docs/miniob-sql-parser.md)。 | ||
|
||
为了满足训练营或比赛测试要求,代码的输出需要满足一定要求,请参考 [MiniOB 输出约定](docs/miniob-output-convention.md)。一般情况下,不需要专门来看这篇文档,但是如果你的测试总是不正确,建议对照一下输出约定。 | ||
# 3. 提交测试 | ||
题目完成并通过自测后,大家可以在 [miniob 训练营](https://open.oceanbase.com/train?questionId=200001) 上提交代码进行测试。 | ||
|
||
# miniob 实现解析 | ||
客户端输出需要满足一定要求,如果你的测试结果不符合预期,请参考 [miniob 输出约定](docs/miniob-output-convention.md)。 | ||
|
||
[miniob-date 实现解析](https://oceanbase-partner.github.io/lectures-on-dbms-implementation/miniob-date-implementation.html) | ||
# 4. 数据库管理系统实现基础讲义 | ||
由华中科技大学谢美意和左琼老师联合编撰的数据库管理系统实现教材:[《数据库管理系统实现基础讲义》](docs/lectures/index.md) | ||
|
||
[miniob drop-table 实现解析](https://oceanbase-partner.github.io/lectures-on-dbms-implementation/miniob-drop-table-implementation.html) | ||
# 5. miniob 介绍 | ||
[miniob 源码解析视频](https://open.oceanbase.com/activities/4921877) | ||
|
||
[miniob select-tables 实现解析](https://oceanbase-partner.github.io/lectures-on-dbms-implementation/miniob-select-tables-implementation.html) | ||
[miniob 源码解析文档](https://www.oceanbase.com/docs/community-developer-quickstart-10000000000627363) | ||
|
||
[miniob 调试篇](https://oceanbase-partner.github.io/lectures-on-dbms-implementation/miniob-how-to-debug.html) | ||
(资料持续整理中,请大家自行查阅标题为“MiniOB...”的视频或文档) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.