Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I know implementing database is a huge topic, but I want to have a basic understanding of how database systems work (e.g. memory management, binary tree, transaction, sql parsing, multi-threading, partitions, etc) by investigating the source code of the database.
Since there are a few already proven very robust open source databases like mysql, sqlite and so on. However, the code are very complicated and I have no clue where to start. Also I find that the old school database textbooks are only explaining the theory, not the implementation details.
Can anyone suggest how I should get started and if there are any books that emphasis on the technology and techniques of building dbms used in modern database industry?
I hate to sound like an grumpy, old academic, but the theory really is what you need to study, if you are determined to build your own RDBMS. The implementation details are really just, erh, implementation details. Apart from textbooks, you might also want to study research papers, which tend to cover the subject in higher detail.
When you start implementing your database engine, you could look into existing open-source implementations, but do expect the learning curve to be steep. As you have already discovered, these projects tend to be quite complex. When you have concrete questions to those projects, try posting them on the relevant mailinglists. When you have concrete questions about your own implementation, post them here :)
http://en.wikibooks.org/wiki/Design_of_Main_Memory_Database_System
Refer, Database system implementation book by Ullman. Start with jdbc or odbc driver and move down to storage layer if you want to read from code.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have searched the internet for drivers to connect to either database and all the projects I have seen have either been dead for a long time, look incomplete, or don't have good enough documentation to be usable without reading all the source.
Has anyone used Erlang to talk to either MySQL or PostgreSQL before and what sort of package did you use to do this?
Will Glozer wrote a nice native PostgreSQL client:
http://github.com/wg/epgsql
Yariv's mysql driver seems to be the best available: http://code.google.com/p/erlang-mysql-driver/
http://yarivsblog.com/articles/2006/09/13/erlang-mysql-driver-reloaded/
I haven't personally used it as my erlang projects mostly talk to redis, but my quick scan of the source didn't reveal anything too terrifying.
Maturity is a relative thing, especially for more esoteric languages like erlang.
Erlang pgsql - The pgsql-driver is a 100% erlang implementation of the Postgres Frontend/Backend protocol.
Plain straight ODBC ? Quite simple to set it up, but a pain to make it work..
http://github.com/inaka/sumo_db_mysql or http://github.com/inaka/sumo_db_pgsql Both of them are stable, actively maintained and used in production systems
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a database frontend which should have the following features
can access PostgreSQL and MySQL databases
can handle schemata
offers a nice sql query tool
supports an import and export functionality (something like tab separated text files)
it's free
looks awesome - every time when a colleague comes to my office he must
get the feeling: oh boy, this man really knows his job and should get more money!
At the moment I've used phpmyadmin, phppgadmin, pgadminIII, mysqladmin and dbVisualizer. Furthermore I was a big fan of the aqua datastudio until it became commercial. This tools offers a great variety of functionalities which can simplify a programmer's life. However, now you have to buy a license...I'm a scientist and money for software is limited. =)
My Swiss army knife for databases is SquirreL SQL.
universal client (JDBC based)
extensible (through plugins)
does the job
It's UI is not its biggest strength though. But I rate higher what I can do with it than the way it looks like.
OpenOffice Base can use ODBC to connect to almost anything, including PostgreSQL and MySQL.
Point 6 might be a problem... :(
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
My apologies if this is too subjective of a question.
I have a theory about wiki design; specifically, how a particular change to the model embodied by the wiki software would make the wiki revision process more closely resemble the open-source development process and thereby reap benefits that the current wiki model does not.
I would like to develop a proof-of-concept of this modified wiki design by finding an existing wiki package that I can alter. However, it's hard for me to find the optimum balance between the features I need and what my programming skills are actually up to.
I need wiki software that:
is open-source. This is a pretty non-negotiable requirement because otherwise I won't be able to test any modified version under real-world conditions.
implements revisions according to the standard wiki model.
implements security-protected user accounts. The security does not have to be defense-agency-grade, but it does have to take reasonable steps to see that no one can access the abilities available to an account except the owner of that account. (It's great if the software also allows anonymous and/or IP-based editing, but not crucial.)
is as simple and clean in design as possible. It's an extra bonus if it's written in Python or a similarly user-friendly language.
is as fully-featured as possible within the above constraints.
What do you recommend?
MoinMoin seems to meet your requirements (it's in Python, and under GPL; it's pretty feature-rich, including access control as you require).
Do you like Wikipedia? If so go for http://www.mediawiki.org/wiki/MediaWiki It is PHP
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm in the process of setting up a new website which would greatly benefit from having user-forums.
Since I already have user accounts, and profile details, stored away it seems that I'd benefit from choosing an open-source forum package which I could modify so that logins were tested against my existing database.
Right now all my site is Perl-based, and looking around I don't see many great Perl forums - the only obvious one I could find which is featureful is yabb - but that is written to authenticate against flat files and to be frank the code is nasty.
If I need to use a PHP solution then so be it, but first are there any simple forums that are written in perl that you'd suggest? I'd expect to have different forum-groups and nominate particular users as moderators. More than that I don't need, just basic threading and an attractive appearance.
Really simple forums are often really insecure forums. If you're determined to use perl, a major web forum doesn't come to mind, and if your competent in security I'd say roll your own. You could even release it to the open source community to help people like you. I know there are several great PHP ones out there that aren't so insecure an rather well developed.
I seem to remember that Drupal had a reasonable fit as a module.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Anybody found yet a good web site architecture using linq to sql? Any help will be very helpful!
We just finished up an internal IT project banking heavily on Linq2Sql and it paid off. I was a bit skeptical at first, but I think it worked out great in the end. Just remember, the fundamentals don't change.
try to stay as stateless as possible
keep clean lines between your services and data access
don't fight linq, use it. If it isn't helping you, you are probably doing something wrong
Our implementation ended up being a hybrid of the Andrew Siemer and Beth Massi approach (a bit heavier on the Andrew side) and in C#
What, apart from StackOverflow? ;-)
Remember Linq is a technology that sits atop the typical data access structures. Therefore all rules that have applied thus far still hold. Just because you can get to data a little easier in the client app doesnt mean you throw out the architecture best practices for data access.
Rob Conery's MVC Storefront
As others have said, linq-to-sql is no different to any other ORM so the architecture is the same as you would use for NHibernate and others.