Berkeley DB and Related Methods

来自开放百科 - 灰狐
2007年1月31日 (三) 00:08Allen (讨论 | 贡献)的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到: 导航, 搜索

Databases and Related Methods Description

  • db_create Create a database handle
  • DB->associate Associate a secondary index
  • DB->close Close a database
  • DB->cursor Create a cursor handle
  • DB->del Delete items from a database
  • DB->err Error message with error string
  • DB->errx Error message
  • DB->fd Return a file descriptor from a database
  • DB->get Get items from a database
  • DB->get_byteswapped Return if the underlying database is in host order
  • DB->get_env Return a handle for the underlying database environment
  • DB->get_type Return the database type
  • DB->join Perform a database join on cursors
  • DB->key_range Return estimate of key location
  • DB->open Open a database
  • DB->pget Get items from a database
  • DB->put Store items into a database
  • DB->remove Remove a database
  • DB->rename Rename a database
  • DB->set_alloc Set local space allocation functions
  • DB->set_append_recno Set record append callback
  • DB->set_bt_compare Set a Btree comparison function
  • DB->set_bt_minkey Set the minimum number of keys per Btree page
  • DB->set_bt_prefix Set a Btree prefix comparison function
  • DB->set_cachesize Set the database cache size
  • DB->set_dup_compare Set a duplicate comparison function
  • DB->set_encrypt Set the database cryptographic key
  • DB->set_errcall Set error message callback
  • DB->set_errfile Set error message FILE
  • DB->set_errpfx Set error message prefix
  • DB->set_feedback Set feedback callback
  • DB->set_flags General database configuration
  • DB->set_h_ffactor Set the Hash table density
  • DB->set_h_hash Set a hashing function
  • DB->set_h_nelem Set the Hash table size
  • DB->set_lorder Set the database byte order
  • DB->set_pagesize Set the underlying database page size
  • DB->set_paniccall Set panic callback
  • DB->set_q_extentsize Set Queue database extent size
  • DB->set_re_delim Set the variable-length record delimiter
  • DB->set_re_len Set the fixed-length record length
  • DB->set_re_pad Set the fixed-length record pad byte
  • DB->set_re_source Set the backing Recno text file
  • DB->stat Return database statistics
  • DB->sync Flush a database to stable storage
  • DB->truncate Empty a database
  • DB->upgrade Upgrade a database
  • DB->verify Verify/salvage a database

More detal: http://www.huihoo.com/berkeley/db-4.2.52/docs/ref/am/ops.html

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱