Berkeley DB 程序员参考指南
首页 白天 夜间 BookChat 小程序 小程序 下载 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

Database truncation

来源 Oracle Berkeley DB 项目组 浏览 2 扫码 打印 2026-09-15 10:56:38
  • Database truncation

Database truncation

The DB->truncate() method empties a database of all records.

上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • 前言
  • Berkeley DB Programmer’s Reference Guide
  • Preface
  • 1. Introduction
    • Mapping the terrain: theory and practice
    • What is Berkeley DB?
    • What Berkeley DB is not
    • Do you need Berkeley DB?
    • What other services does Berkeley DB provide?
    • What does the Berkeley DB distribution include?
    • Where does Berkeley DB run?
    • The Berkeley DB products
  • 2. Access Method Configuration
    • Selecting an access method
    • Logical record numbers
    • General access method configuration
    • Btree access method specific configuration
    • Hash access method specific configuration
    • Heap access method specific configuration
    • Queue and Recno access method specific configuration
  • 3. Access Method Operations
    • Opening multiple databases in a single file
    • Partitioning databases
    • Retrieving records
    • Storing records
    • Deleting records
    • Database statistics
    • Database truncation
    • Database upgrade
    • Database verification and salvage
    • Flushing the database cache
    • Database close
    • Secondary indexes
    • Foreign key indexes
    • Cursor operations
  • 4. Access Method Wrapup
    • Retrieving and updating records in bulk
    • Partial record storage and retrieval
    • Storing C/C++ structures/objects
    • Retrieved key/data permanence for C/C++
    • Error support
    • Cursor stability
    • Database limits
    • Disk space requirements
    • External File support
    • Access method tuning
    • Access method FAQ
  • 5. Java API
    • Compatibility
    • Java programming notes
    • Java FAQ
  • 6. Berkeley DB Server
  • 7. C# API
  • 8. Standard Template Library API
    • Dbstl typical use cases
    • Dbstl examples
    • Berkeley DB configuration
    • Using advanced Berkeley DB features with dbstl
    • Using transactions in dbstl
    • Using dbstl in multithreaded applications
    • Working with primitive types
    • Store and Retrieve data or objects of complex types
    • Dbstl persistence
    • Dbstl container specific notes
    • Using dbstl efficiently
    • Dbstl memory management
    • Dbstl miscellaneous notes
    • Dbstl known issues
  • 9. Berkeley DB Architecture
    • Programming model
    • Programmatic APIs
    • Scripting languages
    • Supporting utilities
  • 10. The Berkeley DB Environment
    • Creating a database environment
    • Sizing a database environment
    • Opening databases within the environment
    • Error support
    • DB_CONFIG configuration file
    • File naming
    • Shared memory regions
    • Security
    • Encryption
    • Remote filesystems
    • Environment FAQ
  • 11. Berkeley DB Data Store and Concurrent Data Store Applications
    • Handling failure in Data Store and Concurrent Data Store applications
    • Architecting Data Store and Concurrent Data Store applications
    • Quick Start Guide
  • 12. Berkeley DB Transactional Data Store Applications
    • Why transactions?
    • Terminology
    • Handling failure in Transactional Data Store applications
    • Architecting Transactional Data Store applications
    • Getting Started with Transactional Data Store Applications
    • Opening the environment
    • Opening the databases
    • Recoverability and deadlock handling
    • Atomicity
    • Isolation
    • Degrees of isolation
    • Transactional cursors
    • Nested transactions
    • Environment infrastructure
    • Deadlock detection
    • Checkpoints
    • Database and log file archival
    • Log file removal
    • Recovery procedures
    • Hot failover
    • Using Recovery on Journaling Filesystems
    • Recovery and filesystem operations
    • Berkeley DB recoverability
    • Transaction tuning
    • Transaction throughput
    • Transaction FAQ
  • 13. Berkeley DB Replication
    • Replication environment IDs
    • Replication environment priorities
    • Building replicated applications
    • Replication Manager methods
    • Base API methods
    • Building the communications infrastructure
    • Connecting to a new site
    • Managing Replication Manager group membership
    • Replication views
    • Managing replication directories and files
    • Running Replication Manager in multiple processes
    • Running replication using the db_replicate utility
    • Choosing a Replication Manager acknowledgement policy
    • Elections
    • Synchronizing with a master
    • Initializing a new site
    • Bulk transfer
    • Transactional guarantees
    • Master leases
    • Read your writes consistency
    • Clock skew
    • Communicating between Replication Manager Sites
    • Special considerations for two-site replication groups
    • Network partitions
    • Replication FAQ
    • Ex_rep: a replication example
    • Ex_rep_base: a TCP/IP based communication infrastructure
    • Ex_rep_base: putting it all together
    • Ex_rep_chan: a Replication Manager channel example
  • 14. Berkeley DB Slice Support
    • Slice APIs
    • Key Design
  • 15. Distributed Transactions
    • Berkeley DB XA Implementation
    • Building a Global Transaction Manager
    • XA Introduction
    • Configuring Berkeley DB with the Tuxedo System
    • Restrictions on XA Transactions
    • XA: Frequently Asked Questions
  • 16. Application Specific Logging and Recovery
    • Defining application-specific log records
    • Automatically generated functions
    • Application configuration
  • 17. Programmer Notes
    • Error returns to applications
    • Globalization Support
    • Environment variables
    • Multithreaded applications
    • Berkeley DB handles
    • Name spaces
    • Memory-only or Flash configurations
    • Disk drive caches
    • Copying or moving databases
    • Compatibility with historic UNIX interfaces
    • Run-time configuration
    • Performance Event Monitoring
    • Programmer notes FAQ
  • 18. The Locking Subsystem
    • Configuring locking
    • Configuring locking: sizing the system
    • Standard lock modes
    • Deadlock detection
    • Deadlock detection using timers
    • Deadlock debugging
    • Locking granularity
    • Locking without transactions
    • Locking with transactions: two-phase locking
    • Berkeley DB Concurrent Data Store locking conventions
    • Berkeley DB Transactional Data Store locking conventions
    • Locking and non-Berkeley DB applications
  • 19. The Logging Subsystem
    • Configuring logging
    • Log file limits
  • 20. The Memory Pool Subsystem
    • Configuring the memory pool
    • Warming the memory pool
  • 21. The Transaction Subsystem
    • Configuring transactions
    • Transaction limits
  • 22. Sequences
  • 23. Berkeley DB Extensions: Tcl
    • Using Berkeley DB with Tcl
    • Tcl API programming notes
    • Tcl error handling
    • Tcl FAQ
  • 24. Berkeley DB Extensions
    • Using Berkeley DB with Perl
    • Using Berkeley DB with PHP
  • 25. Dumping and Reloading Databases
    • Dump output formats
    • Loading text into databases
  • 26. Additional References
暂无相关搜索结果!

    本文档使用 WanXiangYunDang 构建

    展开/收起文章目录

    思维导图备注

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    微信小程序阅读

    BookChat 微信小程序阅读
    微信扫一扫,知识掌上学

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度