good article URL link:
http://www.dbspecialists.com/files/presentations/semijoins.html
A big thanks to Xiaobin Lin for taking the time to submit and the
related patch for bug
#64248. The patch is based on 5.5.20
This should help users to restore their database faster thanks to
fast index creation. More information is available via the
bugs page. I have heard that this is just one of
several patches he has contributed.
Contributions such as this, help MySQL to continue to deliver an
always improving product.
So a big “Thank You” from the MySQL team.
http://sqlhjalp.blogspot.com/2012/02/community-helping-customers-restore.html
MySQLには日本語・英語で様々な良本があるのですが、もちろん無料で読めるWeb上の記事にもそれに迫る(いや一部それ以上の)良い記事があります。特に今ちょうど連載されている記事は毎記事ごとに臨場感があってGoodではないでしょうか?
いや、読まないなんてもったいない!!
ビギナーのあなたにはこの連載記事などどうでしょうか?
MySQL事始
また、MySQL
5.6.xの動向が気になったり、今後採用を検討している人がざっくり新機能を知りたい場合には次の連載記事をお勧めします。
MySQL製品最新事情
…
オトコの熱いブログエントリのとおり大幅な進歩を遂げつつあるMySQL 5.6
最新のMySQL 5.6.4では首記のとおり、時刻を格納するカラムにマイクロ秒まで格納できるようになりました。
fsp(fractional seconds part)として0〜6を指定できます。Release
notesにある以下の例だと、それぞれ小数点以下三桁、六桁が指定できます。
CREATE TABLE t1 (t TIME(3), dt DATETIME(6));
fspは無指定の場合0となります。これは既存のものとの互換性のためです。
現在の時刻を示す関数にもfspが指定できるようになり、それを格納できます。こんな感じになります。
mysql> insert into t1 …
Connector/Netはバージョンが多くあるので以前に以下のような記事を書きました。
どのMySQL Connector/Netを使いましょうか?
これに対してMySQLでのJDBCドライバ実装のConnector/Jの現在メンテナンスされているバージョンは 次の一覧のように少ないため、まよわずConnector/J 5.1.xを使ってください。
DD MON YEAR 5.0.x 5.1.x ------------------------------------------ 22 DEC 2005 5.0.0 ----- 11 JUL 2006 5.0.1 ----- 11 JUL 2006 5.0.2 ----- 26 JUL 2006 5.0.3Be ----- 20 OCT 2006 5.0.4 ----- 02 MAR 2007 5.0.5 ----- 11 APR 2007 ----- 5.1.0 Al 15 MAY 2007 5.0.6 22 JUN 2007 ----- 5.1.1 Al 29 JUN 2007 ----- 5.1.2 Be 20 JUL 2007 5.0.7 10 SEP 2007 ----- 5.1.3 RC 09 OCT 2007 5.0.8 5.1.5 GA 07 MAR 2008 ----- 5.1.6 GA 21 OCT 2008 ----- 5.1.7 GA 16 JUL 2009 ----- 5.1.8 GA 21 SEP 2009 …[さらに読む]
Twitter's new tweet store:
When you tweet it's stored in an internal system called T-bird, which is built on top of Gizzard. Secondary indexes are stored in a separate system called T-flock, which is also Gizzard based.
Unique IDs for each tweet are generated by Snowflake, which can be more evenly sharded across a cluster. FlockDB is used for ID to ID mapping, storing the relationships between IDs (uses Gizzard).
Gizzard is Twitter's distributed data storage framework built on top of MySQL (InnoDB).
InnoDB was chosen because it doesn't corrupt data. Gizzard us just a datastore. Data is fed in and you get it back out again.
To get higher performance on individual nodes a lot of features like binary logs and replication are turned off. Gizzard handles sharding, replicating N copes of the data, and job scheduling.
Gizzard is used as a building block for other storage systems at Twitter. …
[さらに読む]The InnoDB Plugin introduces the idea of a named file format and a configuration parameter to enable the use of features that require use of that format. The new file format is the “Barracuda” format, and the file format supported by prior releases of InnoDB is called file format “Antelope”. Compressed tables and the new row format that stores long columns “off-page” require the use of the “Barracuda” file format or newer. Future versions of InnoDB may introduce a series of file formats, identified with the names of animals, in ascending alphabetical order.
Beginning with this release, every InnoDB per-table tablespace
file is labeled with a file format identifier. This does not
apply to the system tablespace (the ibdata files)
but only the files of separate tablespaces (the
*.ibd files where tables and indexes are stored in
their own tablespace). As noted below, however, the system
tablespace is …
英語を勉強したいが技術も勉強したい。それは技術者にとって悩ましい悩みではいだろうか。そんな悩める技術者諸君にとって喜ばしい知らせがある。MySQLの勉強も英語のリスニングも同時にできる、そうOurSQL Database Community Podcastならね。
OurSQL: The MySQL Database Community Podcast
だいたい1回30分前後でMySQLについて様々なトピックについてのディスカッションが行われている。既にエピソード69までたまっているのでまさに聞き放題だ!Webページ上で直接聴くこともできるし、お気に入りのミュージックプレイヤーで聴くなら下記のPodcast FeedのURLを登録すれば良い。筆者はAmarokで聴いている。
http://technocation.org/audio/feed
Enjoy!!
http://www.bearcave.com/software/antlr/antlr_examples.html
http://www.antlr2.org/doc/sor.html
http://www.antlr.org/