無料PHPプログラム

MySQL 5.1 リファレンスマニュアル :: 25 Extending MySQL :: 25.2 The MySQL Plugin Interface
« 25.1.2 MySQL Test Suite

25.2.1 Characteristics of the Plugin Interface »
Section Navigation      [Toggle]
  • 25 Extending MySQL
  • 25.1 MySQL Internals
  • 25.2 The MySQL Plugin Interface
    • 25.2.1 Characteristics of the Plugin Interface
    • 25.2.2 Full-Text Parser Plugins
    • 25.2.3 INSTALL PLUGIN Syntax
    • 25.2.4 UNINSTALL PLUGIN Syntax
    • 25.2.5 Writing Plugins
  • 25.3 Adding New Functions to MySQL
  • 25.4 Adding New Procedures to MySQL

25.2. The MySQL Plugin Interface

[+/-]

25.2.1. Characteristics of the Plugin Interface
25.2.2. Full-Text Parser Plugins
25.2.3. INSTALL PLUGIN Syntax
25.2.4. UNINSTALL PLUGIN Syntax
25.2.5. Writing Plugins

MySQL 5.1 and up supports a plugin API that allows the loading and unloading of server components at runtime, without restarting the server. Currently, the plugin API supports creation of full-text parser plugins. Such a plugin can be used to replace or augment the built-in full-text parser. For example, a plugin can parse text into words using rules that differ from those used by the built-in parser. This can be useful if you need to parse text with characteristics different from those expected by the built-in parser.

The plugin interface is intended as the successor to the older user-defined function (UDF) interface. The plugin interface eventually will include an API for creating UDFs, and it is intended this plugin UDF API will replace the older non-plugin UDF API. After that point, it will be possible for UDFs to be revised for use as plugin UDFs so that they can take advantage of the better security and versioning capabilities of the plugin API. Eventually, support for the older UDF API will be phased out.

The plugin interface requires the plugin table in the mysql database. This table is created as part of the MySQL installation process. If you are upgrading from an older version to MySQL 5.1, you should run the mysql_upgrade command to create this table. See 項4.5.4. 「mysql_upgrade ? MySQL アップグレードのテーブル チェック」.

Copyright c 1997, 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices
Top / Previous / Next / Up / Table of Contents
© 2010, Oracle Corporation and/or its affiliates

無料CGI PHPスクリプト | 新着情報スクリプト | 営業日カレンダー | PHPマニュアル | MySQLマニュアル | PEARマニュアル

Copyright (c) 2010 jmcodex.com All rights reserved.