Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Complete canonical source tree for SQLite version 3.51.3, include test cases and extensions. This is a snapshot of all code under version control at the time of release. This is the urtext. All of the other source code bundles shown below are derived from this one. (SHA3-256: 6b3a1a86bd4671442d962844f928a4fd80614681099748a8c29c435a4f3de19e)
株価データをmysqlにinsertするシステムを組んでおります。 全銘柄の株価を1分おきに取得します。 銘柄数は3600、株式市場の時間は1日300分 3600×300=1,080,000レコードとなります。 カラムは以下の通りです。 id int(10) AUTO_INCREMENT code smalint(5)//銘柄コード price double//株価 dekidaka int(10)//出来高 created_at date//取得時刻 selectする際の速度を最重視するため、 ストレージエンジンはMyISAMを採用し、ORMは使用しない予定です。 普段テーブル設計をする際はupdated_atカラムを含ませているのですが、 レコード数が膨大になって容量を食う上、updateも行わないため除いています。 ・insertは遅くても問題ない ・updateは基本的に行わない(
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く