Ask HN: I want to start learning about databases, where should I start?
1–10 of 38 posts
Re: Ask HN: I want to start learning about databases, where should I start?
#2Also, you'll need to learn SQL. Check out http://www.w3schools.com/sql/default.asp for a good primer on the subject.
Re: Ask HN: I want to start learning about databases, where should I start?
#3Re: Ask HN: I want to start learning about databases, where should I start?
#4Re: Ask HN: I want to start learning about databases, where should I start?
#5Re: Ask HN: I want to start learning about databases, where should I start?
#6Pick any SQL flavor to start, sqlite is probably the easiest.
Re: Ask HN: I want to start learning about databases, where should I start?
#7I trust you'll have no shortage of recommendations about CAP, column-based stores, and support for schema flexibility in other comments.
Re: Ask HN: I want to start learning about databases, where should I start?
#8Copy ~/.mozilla/firefox//*.sqlite into another directory and start playing with those files. It should be easy to come up with things you want to find out. Start with some basic single-table ones like 'what are my 10 most visited pages'. Then expand to use multiple tables ('what are my 10 most visited pages that I have not bookmarked').
Once you have an idea of how queries work, think about the database design and the decisions that led to it -- why did the developers choose to relate tables to each other that way? What kinds of queries are the indexes there to optimize for?
Once you've done this, rinse and repeat with a variety of programs so you can get multiple perspectives. http://www.sqlite.org/famous.html or google around for others.
Re: Ask HN: I want to start learning about databases, where should I start?
#9http://www.amazon.com/Database-Design-Mere-Mortals-Hands/dp/...
Re: Ask HN: I want to start learning about databases, where should I start?
#10If you use Firefox or a similar program that makes use of SQLite, that would be the best place to start -- you'll get experience working with a database populated with real data that is relevant to you, and one that has been designed for practical use instead of just a book example. Copy ~/.mozilla/firefox/ /*.sqlite into another directory and start playing with those files. It should be easy to come up with things y…