libmdbx  0.13.0.37 (2024-04-04T17:32:49+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::env::limits Struct Reference

#include <mdbx.h++>

Public Member Functions

 limits ()=delete
 

Static Public Member Functions

static size_t pagesize_min () noexcept
 Returns the minimal database page size in bytes. More...
 
static size_t pagesize_max () noexcept
 Returns the maximal database page size in bytes. More...
 
static size_t dbsize_min (intptr_t pagesize)
 Returns the minimal database size in bytes for specified page size. More...
 
static size_t dbsize_max (intptr_t pagesize)
 Returns the maximal database size in bytes for specified page size. More...
 
static size_t key_min (MDBX_db_flags_t flags) noexcept
 Returns the minimal key size in bytes for specified database flags. More...
 
static size_t key_min (key_mode mode) noexcept
 Returns the minimal key size in bytes for specified keys mode. More...
 
static size_t key_max (intptr_t pagesize, MDBX_db_flags_t flags)
 Returns the maximal key size in bytes for specified page size and database flags. More...
 
static size_t key_max (intptr_t pagesize, key_mode mode)
 Returns the maximal key size in bytes for specified page size and keys mode. More...
 
static size_t key_max (const env &, MDBX_db_flags_t flags)
 Returns the maximal key size in bytes for given environment and database flags. More...
 
static size_t key_max (const env &, key_mode mode)
 Returns the maximal key size in bytes for given environment and keys mode. More...
 
static size_t value_min (MDBX_db_flags_t flags) noexcept
 Returns the minimal values size in bytes for specified database flags. More...
 
static size_t value_min (value_mode) noexcept
 Returns the minimal values size in bytes for specified values mode. More...
 
static size_t value_max (intptr_t pagesize, MDBX_db_flags_t flags)
 Returns the maximal value size in bytes for specified page size and database flags. More...
 
static size_t value_max (intptr_t pagesize, value_mode)
 Returns the maximal value size in bytes for specified page size and values mode. More...
 
static size_t value_max (const env &, MDBX_db_flags_t flags)
 Returns the maximal value size in bytes for given environment and database flags. More...
 
static size_t value_max (const env &, value_mode)
 Returns the maximal value size in bytes for specified page size and values mode. More...
 
static size_t pairsize4page_max (intptr_t pagesize, MDBX_db_flags_t flags)
 Returns maximal size of key-value pair to fit in a single page for specified size and database flags. More...
 
static size_t pairsize4page_max (intptr_t pagesize, value_mode)
 Returns maximal size of key-value pair to fit in a single page for specified page size and values mode. More...
 
static size_t pairsize4page_max (const env &, MDBX_db_flags_t flags)
 Returns maximal size of key-value pair to fit in a single page for given environment and database flags. More...
 
static size_t pairsize4page_max (const env &, value_mode)
 Returns maximal size of key-value pair to fit in a single page for specified page size and values mode. More...
 
static size_t valsize4page_max (intptr_t pagesize, MDBX_db_flags_t flags)
 Returns maximal data size in bytes to fit in a leaf-page or single overflow/large-page for specified size and database flags. More...
 
static size_t valsize4page_max (intptr_t pagesize, value_mode)
 Returns maximal data size in bytes to fit in a leaf-page or single overflow/large-page for specified page size and values mode. More...
 
static size_t valsize4page_max (const env &, MDBX_db_flags_t flags)
 Returns maximal data size in bytes to fit in a leaf-page or single overflow/large-page for given environment and database flags. More...
 
static size_t valsize4page_max (const env &, value_mode)
 Returns maximal data size in bytes to fit in a leaf-page or single overflow/large-page for specified page size and values mode. More...
 
static size_t transaction_size_max (intptr_t pagesize)
 Returns the maximal write transaction size (i.e. limit for summary volume of dirty pages) in bytes for specified page size. More...
 

Constructor & Destructor Documentation

◆ limits()

mdbx::env::limits::limits ( )
delete

The documentation for this struct was generated from the following file: