これはMySQL Casual Advent Calendar 2011 - MySQL Casualの8日目の記事です!
UDFでFizzBuzz
id:sugyanさんがストアドプロシージャでFizzBuzzをやっていたのでMySQLのUDF(user-defined function)でもやってみました。
kamipo/mysql_fizzbuzz · GitHub …
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
これはMySQL Casual Advent Calendar 2011 - MySQL Casualの8日目の記事です!
UDFでFizzBuzz
id:sugyanさんがストアドプロシージャでFizzBuzzをやっていたのでMySQLのUDF(user-defined function)でもやってみました。
kamipo/mysql_fizzbuzz · GitHub …
http://www.chriscalender.com/?p=28
There is a quick way to type both MySQL database and table names quickly by enabling MySQL auto completion feature. This is called automatic rehashing. This option is on by default, which enables table and column name completion.
First connect to mysql database called foo:
$ mysql -utest -p db1
Now let us say you would like to list all records from tables
wp_users. Type select * from w and press tab key to complete
table name:
mysql> select * from phi {Press TAB
KEY}
Please note that if the partial name is unique, mysql will completes it for you. Otherwise, you can hit tab key again to see all possible matches.
Auto-completion enables you to cut down typing time and great way to speed up your work :)
If you don't use this feature, disable this feature by passing -A or --skip-auto-rehash option to mysql. That causes mysql to start …
[さらに読む]PAM認証について全然分かっていないのですが、MontyProgram(MariaDB)とPerconaが足並みをそろえて「オープンソースのPAM認証プラグイン」を発表していたので、少し気になって、記事を読んでみました。 詳しい方、要するになんなのか、色々教えてください! 以下、翻訳のような翻訳でないような、メモ。 2011/12/05:MontyProgmramの動き http://www.h-online.com/open/news/item/MariaDB-to-get-PAM-and- ...
ご本人からもブログでの報告があったので、こちらでも紹介します。 知る人ぞ知る(知らない人はたぶん知らない)木下氏が、ついに本家MySQLのInnoDB開発チームに参加することになりました(平たく言うと、転職)。 http://buildup-db.blogspot.com/2011/12/blog-post.html 木下さんは、MySQL 5.0.30 の頃に、ロック粒度の工夫により多CPU環境でのMySQL同時実効性能を劇的に(?)向上させたのをメジャーデビューとし、その後もMySQLの ...
一部の関係者や、勘の鋭い方はお気づきだと思いますが、11月にPerconaを辞して、12月よりInnoDB
teamの一員として働くこととなりました。XtraDB等Perconaの製品については少なくとも現職にある限りは、関与することは今後基本的にありません。
…
The detail description as following:
"MySQL Database Error: Row size too large. The maximum row size
for the used table type, not counting BLOBs, is 8126. You have to
change some columns to TEXT or BLOBs "
main reasons as following:
1)MYSQL VARCHAR length limit is 65535 bytes,if you use UTF8,the
length limit is 65535/3.
2)mysql5.1 bug,the bug is http://bugs.mysql.com/bug.php?id=50495
please upgrade the MYSQL version to 5.1.47
OSC2011-Fukuoka に、日本MySQLユーザ会(MyNA)として参加してきました。OSC(オープンソースカンファレンス)は各地で開催されていますが、福岡は私にとって、地方*1OSC参加の原点でもあり、今年で5回目の参加になります。ちなみにOSC-Fukuoka は、今年で5回目の開催だそうです。 http://www.ospn.jp/osc2011-fukuoka/ 今回は久々に、セミナーも担当させていただいたので、個人的にはかなりドタバタしたまま一日が終わってしまった感がありま ...