groongaストレージエンジン(mroonga)のバージョン 0.7(beta)をリリースしました。
groongaストレージエンジンは、全文検索用のストレージエンジンです。
http://mroonga.github.com/
今回の主な変更は以下です。
・ラッパーモードを追加しました。
ラッパーモードは、任意のストレージエンジンに全文検索機能を付加する利用方法で、InnoDBなどと組み合わせて利用することが可能です。
ラッパーモードはこれまでのモード(ストレージモード)とは、特性が異なる部分があるため、利用の際には以下のドキュメントをご確認ください。
http://mroonga.github.com/userguide/wrapper.html
…
when we set sync_binlog=1,the mysql writing speed will drop
down,why?
following is root cause:
sync_binlog=1 is sometimes required for critical applications. If
the sync_binlog
is not set to 1, there is a risk of corruption of the binary log
if the
server crashes. But, in many filesystems/OS, sync_binlog=1 is
currently way
too slow (sometimes 2-4 times slower than set to 0).
the cause of the performance problem that one of the big
causes is architecture of writing to binlog, "extending file
per
each commit"
Currently binlog file is not pre-allocated, but extending per
each transaction
commit. In contrast, InnoDB log file is pre-allocated and file
size is not
changed. In other words, binlog adopts appending architecture,
InnoDB log
adopts overwriting architecture.
For most of operating systems/file systems (including Solaris ufs
and Linux …
1)install libunwind
CPPFLAGS="-I /usr/local/libunwind/include"
LDFLAGS="-L/usr/local/libunwind/lib"
export CPPFLAGS
export LDFLAGS
./configure --prefix=/usr/local/google-malloc --enable-shared
--enable-static --enable-frame-pointers
make && make install
2)add the export comand to mysqld_safe file and restart
mysql service.
export
LD_PRELOAD=/usr/local/google-malloc/lib/libtcmalloc.so
3)give the tcmalloc and malloc test report.
News Facts
Enabling more efficient and lower cost deployments of
virtualized MySQL environments, Oracle today announced
the first Oracle VM Template for MySQL Enterprise Edition.The new Oracle VM
Template for MySQL helps eliminate manual configuration efforts
and risks by providing a pre-installed, pre-configured and
certified software stack that includesOracle VM Server for x86, Oracle Linux with the …
|
WEB+DB PRESS Vol.63 WEB+DB PRESS Vol.63の他のレビューをみる» 評価: |
JUGEMテーマ: …
MySQLはGPLv2で頒布されているフリー(自由な)ソフトウェアだ。誰でも自由に改造、改善、機能追加して、GPLv2のもと再頒布することが出来る。
そうは言っても改造なんて敷居が高くて出来ないよ・・・という人に朗報なのが本書「MySQL 5.1 Plugin Development」だ!MySQLはストレージエンジンによってデータを管理するレイヤーが独立しているのはよく知られているが、MySQL 5.1ではさらに一歩進んで、ストレージエンジンを含む様々なプラグインを作成できるようになった。プラグインAPIを使ってMySQLを拡張すれば、無造作に改造してしまうよりもずっと楽にMySQLをハック*1することが出来るだろう。
MySQL 5.1で利用可能なプラグインPlugin APIは、MySQL 5.1で新たに追加された機能である。これにより、共有ライブラリ形式
SysBench is a system evaluation benchmark designed for
identifying basic system parameters that are important for a
system running a database under intensive load.
how to use it?
1)install sysbench.
Download:
http://sourceforge.net/projects/sysbench/
./configure --prefix=/opt/sysbench_mysql47/
--with-mysql-includes=/home/oracle/mysql/include/mysql/
--with-mysql-libs=/home/oracle/mysql/lib/mysql
make
make install
2)How to test MYSQL with sysbench?
3)Sysbench options:
…
Today,select count(*) for a table,used time as following:
--first run:
select count(*) from mt_data;
+----------+
| count(*) |
+----------+
| 9750353 |
+----------+
1 row in set (1 min 14.72 sec)
--second run:
mysql> select count(*) from mt_data;
+----------+
| count(*) |
+----------+
| 9750353 |
+----------+
1 row in set (4.27 sec)
used time is too much, how to improve the select count(*)
performance ?
first,show the index for this tables, the result as
following:
Create Table: CREATE TABLE `mt_data` (
`guid` varchar(36) NOT NULL,
`orgid` int(9) NOT NULL,
`tabid` int(9) NOT NULL,
`name` varchar(128) NOT NULL,
`IsDeleted` char(1) NOT NULL,
…
前回のエントリでは、真のオープンソースとは何か?と題して、LPI-Japanがオープンソースの定義を間違えているという点を指摘した。今回はさらに別の角度から、この認定試験の名前を変更するべき理由について考えてみたい。
1. オープンソースなRDBMSはPostgreSQLだけじゃないオープンソースのRDBMSと言えば、日本ではMySQLとPostgreSQLが人気を二分している。*1Googleで検索された回数であれば、MySQLのほうがやや有利だろうか。Googleの検索回数が多いからそれがどうしたと言われそうだが、日本で認知されているオープンソースRDBMSがPostgreSQLだけではないことは確かだろう。
オープンソースなRDBMSということでMySQLが使われる機会は多い。従って、上司や顧客から
…
[さらに読む]