DBMS(Database Management System)
- 客户端:
- 发出结构化命令到服务端
- 使用boost asio库发送SQL命令
- 接受服务端返回的结构化内容
- 将服务端返回的结构化数据处理打印
- 发出结构化命令到服务端
- 服务端:
- 负责管理存储文件格式
- 表信息文件
- 表数据文件
- 索引文件
- 接受客户端收到的结构化命令
- 处理查询命令输入(包含错误)
- 正则识别
- 层级调用功能实现对应文件操作并获取命令结果
- 处理发送命令结果到io
- 负责管理存储文件格式
- Client:
- Issue structured commands to the server
- Use the boost asio library to send SQL commands
- Accept the structured content returned by the server
- Process and print the structured data returned by the server
- Issue structured commands to the server
- Server:
- Responsible for managing storage file formats
- Table information file
- Table data file
- Index file
- Accept the structured commands received by the client
- Handle query command input (including errors)
- Regular recognition
- Hierarchical call function to implement corresponding file operations and obtain command results
- Process and send command results to io
- Responsible for managing storage file formats
- install VS2022 or other compilers that support C++
- compile files by using CMake
注意:本项目依赖于Boost库,请修改CMakeLists.txt中:
Reset the BOOST profile in CMakeLists.txt for functional usage.
set(BOOST_INC_DIR D:/Codes/C++/boost_1_80_0)
set(BOOST_LINK_DIR D:/Codes/C++/boost_1_80_0/stage/lib)
D:/Codes/C++/boost_1_80_0
修改为本地所在的Boost库位置
Modify this to the Boost library location in your env.
本项目为Bzj@UESTC命题约束提供
Bzj@UESTC provided the idea for this project