Database Intro 1
Databaseとは?
多量の構造化されたデータを備蓄・回収すること
データベースを扱う機械そのものも指す
Tables : Columns x Rows (like excel)
これを読んでおく様に、とのこと。
Tuple=順序付けられた複数の要素で構成される組(データの形式)
NamedTupleはPythonのClassに似ている
*手でDatabaseを作ると悪い点
error prone = エラーが出やすい
tedious = 長ったらしくて退屈
slow = 100万個のデータ処理は手では不可能
*4つのDatabase種類
1.Relational Database SQL : tables
-postgresql = reddit
2.Google App Engine's Database
3.Dynamo by Amazon(recommended)
4.No SQL
-mango
*SQL=structured query language
invented in 1970's
example: select * links where id=5;
select: fetch data
* : all columns
links: tables
id=5; : constraint=強制