downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dba_close> <基本的な例
Last updated: Fri, 13 Nov 2009

view this page in

DBA 関数

目次

  • dba_close — DBA データベースを閉じる
  • dba_delete — キーが指す DBA エントリを削除する
  • dba_exists — キーが存在するかどうかを確認する
  • dba_fetch — キーが指すデータを取得する
  • dba_firstkey — 最初のキーを取得する
  • dba_handlers — 利用可能なハンドラの一覧を得る
  • dba_insert — エントリを挿入する
  • dba_key_split — 文字列形式のキーを配列形式に分割する
  • dba_list — オープンされている全データベースファイルのリストを得る
  • dba_nextkey — 次のキーを取得する
  • dba_open — データベースをオープンする
  • dba_optimize — データベースを最適化する
  • dba_popen — データベースを持続的にオープンする
  • dba_replace — エントリを置換または挿入する
  • dba_sync — データベースを同期する


dba_close> <基本的な例
Last updated: Fri, 13 Nov 2009
 
add a note add a note User Contributed Notes
DBA 関数
doppelbauer at gmail dot com
14-Oct-2006 02:47
jason
21-Dec-2004 03:33
Don't make the dumb mistake I did, if you copy the first example at the top and modify it for test, the dba_open specifies "n" which will truncate the database that you are pointing to. Make sure you change it to "r" if you just want to read from an existing dbm file.
kevinphpdotnet at stormtide dot ca
17-Mar-2004 07:10
When using db4 on redhat 7.3 you may get signal 11s on the apache child processes. The installation test scripts will report that db4 is working correctly as the cli will not sig 11 out. The solution is to check to see if mod_rewrite is installed with apache, if it is either dereference it from libdb.so.3 or build apache without mod rewrite. Once this is done you will no longer have your child processes dying out and db4 will work. If you do not get a sig 11 after dba_open just ignore this comment.
djm at web dot us dot uu dot net
17-Oct-1999 10:28
With db2, you need to call dba_sync() to get the data written to disk; the examples are missing this.  db2 uses
the BTREE file format, not the more common HASH.
BTREE is faster, though, in my tests, so it's a good
choice.

dba_close> <基本的な例
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites