Modified: phpdoc/ja/trunk/reference/mysqlnd_memcache/book.xml =================================================================== --- phpdoc/ja/trunk/reference/mysqlnd_memcache/book.xml 2012-12-24 00:16:39 UTC (rev 328872) +++ phpdoc/ja/trunk/reference/mysqlnd_memcache/book.xml 2012-12-24 01:14:43 UTC (rev 328873) @@ -1,6 +1,6 @@ - + Mysqlnd Memache プラグイン @@ -9,79 +9,83 @@ &reftitle.intro; - The mysqlnd memcache plugin (mysqlnd_memcache) is an PHP - extension for transparently translating SQL into requests for the - MySQL InnoDB Memcached Daemon Plugin (server plugin). It includes - experimental support for the MySQL Cluster Memcached Daemon. The server - plugin provides access to data stored inside MySQL InnoDB (respectively - MySQL Cluster NDB) tables using the Memcache protocol. - This PHP extension, which supports all PHP MySQL extensions that use - mysqlnd, will identify tables exported in - this way and will translate specific SELECT queries into Memcache requests. + mysqlnd memcache plugin (mysqlnd_memcache) + は PHP の拡張モジュールで、SQL を + MySQL InnoDB Memcached Daemon Plugin (サーバープラグイン) + 用のリクエストへと透過的に変換します。 + 実験的に、MySQL Cluster Memcached Daemon にも対応しています。 + サーバープラグインは、MySQL InnoDB (と、実験的に MySQL Cluster NDB) + のテーブルに格納されたデータに Memcache プロトコルでアクセスする機能を提供します。 + この PHP 拡張モジュールは、mysqlnd + を使うすべての MySQL 拡張モジュールに対応しています。 + この方式で公開されたテーブルを識別し、特定の SELECT クエリーを Memcache のリクエストに変換します。 - mysqlnd_memcache data flow + mysqlnd_memcache のデータの流れ - This plugin depends on the MySQL InnoDB Memcached Daemon Plugin. It is not - provided to be used with a stand-alone Memcached. For a generic query cache - using Memcached look at the mysqlnd query - cache plugin. For direct Memcache access look at the - memcache and - memcached extensions. + このプラグインは、MySQL InnoDB Memcached Daemon Plugin に依存します。 + スタンドアロンの Memcached と組み合わせて使うことはできません。 + Memcached を使った汎用的なクエリーキャッシュについては + mysqlnd クエリキャッシュプラグイン + を参照ください。直接 Memcache にアクセスするには、 + memcache や + memcached といった拡張モジュールを参照ください。 - The MySQL native driver for PHP is a C library that ships together with - PHP as of PHP 5.3.0. It serves as a drop-in replacement for the - MySQL Client Library (libmysql/libmysqlclient). Using mysqlnd has - several advantages: no extra downloads are required because it's bundled with PHP, - it's under the PHP license, there is lower memory consumption in certain cases, and - it contains new functionality such as asynchronous queries. + MySQL Native Driver は C のライブラリで、PHP 5.3.0 + 以降で PHP に同梱されるようになりました。MySQL Client Library (libmysql/libmysqlclient) + の代替として機能します。mysqlnd を使う利点はいろいろあります。 + PHP に同梱されているので追加のダウンロードが不要であること、 + PHP ライセンスで公開されていること、メモリの消費量が抑えられること、 + そして非同期クエリなどの新たな機能が含まれていることなどです。 - The mysqlnd_mmemcache operates, for the most part, - transparently from a user perspective. The mysqlnd memcache - plugin supports all PHP applications, and all MySQL PHP extensions. - It does not change existing APIs. Therefore, it can easily be used with - existing PHP applications. + mysqlnd_mmemcache の機能の大部分は、 + ユーザーの視点からはプラグインの存在を意識せずに使えます。このプラグインはすべての + PHP アプリケーションをサポートし、そしてすべての MySQL 用 PHP + 拡張モジュールに対応します。既存の API には何も手を加えません。 + そのため、既存の PHP アプリケーションにも容易に組み込めます。 - The MySQL Memcache plugins add key-value style access method for data stored - in InnoDB resp. NDB (MySQL Cluster) SQL tables through the Memcache protocol. - This type of key-value access if often faster than using SQL. + MySQL Memcache プラグインは、InnoDB や NDB (MySQL Cluster) + の SQL テーブルに格納されたデータに対する + キー/値 形式でのアクセス機能を追加します。 + アクセスには Memcache プロトコルを使います。 + このアクセス方法を使うと、たいていは SQL を使うよりも高速になります。
- Key Features + 主要な機能 - The key features of PECL/mysqlnd_memcache are as follows. + PECL/mysqlnd_memcache の主要な機能をまとめます。 - Possible performance benefits + パフォーマンスの向上が見込める - Client-side: light-weight protocol. + クライアント側: 軽量なプロトコル。 - Server-side: no SQL parsing, direct access to the storage. + サーバー側: SQL のパースをせずに、ストレージに直接アクセスする。 - Please, run your own benchmarks! Actual performance results are - highly dependent on setup and hardware used. + 自分でベンチマークをして確認しましょう! + 実際のパフォーマンスは、セットアップ方法やハードウェアによって大きく異なります。 @@ -92,31 +96,31 @@
- Limitations + 制限 - The initial version is not binary safe. Due to the way the MySQL Memcache - plugins works there are restrictions related to separators. + 現在の初期バージョンは、バイナリセーフではありません。 + MySQL Memcache プラグインの挙動のせいで、セパレータに関する制約があります。 - Prepared statements and asynchronous queries are not supported. Result set - meta data support is limited. + プリペアドステートメントと非同期クエリーには対応していません。 + 結果セットのメタデータにも、部分的にしか対応していません。 - The mapping information for tables accessible via Memcache is not cached - in the plugin between requests but fetched from the MySQL server each time - a MySQL connection is associated with a Memcache connection. See - mysqlnd_memcache_set for details. + Memcache 経由でアクセス可能なテーブルに関するマッピング情報は、 + リクエスト間でキャッシュされません。MySQL の接続と Memache + の接続を関連づけるたびに、MySQL サーバーから取得します。詳細は + mysqlnd_memcache_set を参照ください。
- On the name + 名前の由来 - The shortcut mysqlnd_memcache - stands for mysqlnd memcache plugin. - Memcache refers to support of the MySQL Memcache plugins - for InnoDB and NDB (MySQL Cluster). The plugin is not - related to the Memcached cache server. + mysqlnd_memcache + は mysqlnd memcache plugin の略です。 + ここで言う Memcache とは、MySQL Memcache plugins + for InnoDB and NDB (MySQL Cluster) をサポートしていることを指します。 + このプラグインは Memcached キャッシュサーバーとは関係ありません。