libmdbx 0.13.2.20 (2024-12-20T11:46:01+03:00)
One of the fastest compact embeddable key-value ACID storage engine without WAL.
 
Loading...
Searching...
No Matches
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.
 
static size_t pagesize_max () noexcept
 Returns the maximal database page size in bytes.
 
static size_t dbsize_min (intptr_t pagesize)
 Returns the minimal database size in bytes for specified page size.
 
static size_t dbsize_max (intptr_t pagesize)
 Returns the maximal database size in bytes for specified page size.
 
static size_t key_min (MDBX_db_flags_t flags) noexcept
 Returns the minimal key size in bytes for specified table flags.
 
static size_t key_min (key_mode mode) noexcept
 Returns the minimal key size in bytes for specified keys mode.
 
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 table flags.
 
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.
 
static size_t key_max (const env &, MDBX_db_flags_t flags)
 Returns the maximal key size in bytes for given environment and table flags.
 
static size_t key_max (const env &, key_mode mode)
 Returns the maximal key size in bytes for given environment and keys mode.
 
static size_t value_min (MDBX_db_flags_t flags) noexcept
 Returns the minimal values size in bytes for specified table flags.
 
static size_t value_min (value_mode) noexcept
 Returns the minimal values size in bytes for specified values mode.
 
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 table flags.
 
static size_t value_max (intptr_t pagesize, value_mode)
 Returns the maximal value size in bytes for specified page size and values mode.
 
static size_t value_max (const env &, MDBX_db_flags_t flags)
 Returns the maximal value size in bytes for given environment and table flags.
 
static size_t value_max (const env &, value_mode)
 Returns the maximal value size in bytes for specified page size and values mode.
 
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 table flags.
 
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.
 
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 table flags.
 
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.
 
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 large/overflow-page for specified size and table flags.
 
static size_t valsize4page_max (intptr_t pagesize, value_mode)
 Returns maximal data size in bytes to fit in a leaf-page or single large/overflow-page for specified page size and values mode.
 
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 large/overflow-page for given environment and table flags.
 
static size_t valsize4page_max (const env &, value_mode)
 Returns maximal data size in bytes to fit in a leaf-page or single large/overflow-page for specified page size and values mode.
 
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.
 
static size_t max_map_handles (void)
 Returns the maximum opened map handles, aka DBI-handles.
 

Constructor & Destructor Documentation

◆ limits()

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

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