0207|09|
2007|09|10|12|
2008|01|02|03|
2009|01|05|08|10|11|12|
2010|01|02|03|04|09|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|

2022-01-31 『データベースは結論を出せない』 [長年日記]

I've written a lot about "Hyouka", the novel and anime.

この中の主要人物である、「福部里志」は、あらゆる知識・雑学に精通している趣味人として描かれています。

The main character in this story, Satoshi Fukube, is portrayed as a hobbyist who is well versed in all kinds of knowledge and miscellaneous topics.

そして、

He calls himself a "database", with saying

『データベースは結論を出せない』

"The database cannot reach to conclusions"

と、自分の知識を、推論や予測に上手に使えないことを、自虐的に語ります。

and self-deprecates his inability to use his knowledge for reasoning and prediction.

しかし、これは、データベースに対する、(世間一般の)典型的な誤解です。

However, this is a typical misunderstanding of databases (by the public).

-----

データベースは、膨大な知識の記憶媒体だけ、というものではありません。

A database is not just a storage medium for vast amounts of knowledge.

データベースには、特定の複雑な条件にヒットするテーブルを、超高速で引っ張り出してくることができる機能があります ―― というか、それができないのであれば、「データベース」の名に値しません。

Databases have the ability to pull up tables that hit certain complex criteria at very high speed -- or rather, if they can't do that, they don't deserve the name "database".

# select * from passenger_log where riding_user IN ( select user_id from request_log_view where passenger_log.departure_time < time_before) ;

『出発時刻がバスの発車時刻としたリクエスト要求出しているユーザを特定し、その経路ルートのポイントを全て上げろ』

"Identify the users whose departure time is after the departure time of the bus, and raise all points on their travel route"

という条件を、数千万にも及ぶテーブルから、(SQL文などで)サクッと出すことができるような、

from tens of millions of tables (using SQL statements, etc.).

『複数検索条件を同時に走らせて、それを別の観点の情報として提出させることができる機能』を有するものが『データベース』です。

A database is one that has the ability to run multiple search conditions simultaneously and extract information from different perspectives.

もちろん、これは、「推論」でも「予測」でもなく、もちろん「結論」でもありません。

Of course, this is not an " estimation " or a " prediction ", and of course not a " conclusion".

しかし、時として、データベースの持つポテンシャルは、「それ以上の何か」なのです。

Sometimes, however, the potential of a database is "something more".

-----

しかし ―― 私もそんなことを真面目に論じたい訳ではありません。

Of course, this is not an " estimation " or a " prediction ", and of course not a " conclusion ".

一般的に「データベース」とは、広い知識に与えられる人の称号(尊称)で、良い、と思っています。

Generally speaking, "database" is a title (a title of respect) given to a person's broad knowledge, which is no problem, I think.

なんで、こんなことを書いているかというと、最近、また、データベースの構築をやっていて、そんでもって、バックグラウンドで「氷菓」を視聴していたものですから。

The reason why I'm writing this is because I've been working on building a database again recently, and I've been watching "Hyouka" in the background.