如何构建一个RDBMS资源 [英] Resources about building an RDBMS

查看:119
本文介绍了如何构建一个RDBMS资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待在实现一个RDBMS。是否有良好的资源在那里有关如何将数据库的内部工作原理,以及各种事情开始的时候了建立自己我需要知道什么? (请没有关于它是否是一个实际的想法或没有意见 - 试想这对一个爱好项目或某事)

I'm looking at implementing an RDBMS. Are there any good resources out there about how a database works internally, and the kinds of things I'd need to know when starting out to build my own? (Please no comments about whether it's a practical idea or not - just imagine it's for a hobby project or something).

再次 - 感兴趣的RDBMS设计,而不是数据库设计。和效率是非常重要的(现在看来似乎相当容易设计出某种类似结构的关系型数据库,如果我不关心速度)。

Again - interested in the RDBMS design, not the Database design. And efficiency is very important (it seems like it's reasonably easy to design some kind of relational database like structure if I don't care about speed).

推荐答案

有关于这一类的东西,一些教科书在那里,当我在大学里,我们这样做的一类项目。这本书应该真正帮助你的方式数据库系统:全书

There are a few textbooks about this sort of stuff out there, when I was in college, we did this for a class project. This book should really help you on your way Database Systems: The Complete Book

我忘了提到它,但我的code是在谷歌code在这里:的 cs4420-质数据库

I forgot to mention it, but my code is on googlecode here: cs4420-dbase

请原谅它是用Java编写的,但我多数票否决我的队友们对这一决定的事实。但是基本的想法都还在那里。它可以处理文件的创建和处理,以及一个简单的SQL解析器和优化。它可以处理基本的索引(b树)和记忆的管理。请原谅一些缺乏评论和奇怪的评论,许多深夜用在了该项目。

Please forgive the fact it is written in java, but I was outvoted by my teammates on that decision. but the basic ideas are all still there. It handles file creation and handling as well as a simple SQL parser and optimizer. It handles basic indexing (b-tree) and "memory" management. Please forgive some of the lack of commenting and strange commenting, many late nights were spent on that project.

这篇关于如何构建一个RDBMS资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆