Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::Storage Struct Reference

Static Public Member Functions

static void VerifyBlockAllocSize (const idx_t block_alloc_size)
 Ensures that a user-provided block allocation size matches all requirements.
 
static void VerifyBlockHeaderSize (const idx_t block_header_size)
 

Static Public Attributes

static constexpr idx_t SECTOR_SIZE = 4096U
 The size of a hard disk sector, only really needed for Direct IO.
 
static constexpr idx_t FILE_HEADER_SIZE = 4096U
 
static constexpr const idx_t MAX_ROW_GROUP_SIZE = 1ULL << 30ULL
 The maximum row group size.
 
static constexpr idx_t MIN_BLOCK_ALLOC_SIZE = 16384ULL
 The minimum block allocation size. This is the minimum size we test in our nightly tests.
 
static constexpr idx_t MAX_BLOCK_ALLOC_SIZE = 262144ULL
 The maximum block allocation size. This is the maximum size currently supported by duckdb.
 
static constexpr idx_t DEFAULT_BLOCK_HEADER_SIZE = sizeof(idx_t)
 The default block header size for blocks written to storage.
 
static constexpr idx_t MAX_BLOCK_HEADER_SIZE = 128ULL
 The default block header size for blocks written to storage.
 
static constexpr idx_t DEFAULT_BLOCK_SIZE = DEFAULT_BLOCK_ALLOC_SIZE - DEFAULT_BLOCK_HEADER_SIZE
 The default block size.
 

Member Data Documentation

◆ FILE_HEADER_SIZE

constexpr idx_t duckdb::Storage::FILE_HEADER_SIZE = 4096U
staticconstexpr

The size of the headers. This should be small and written more or less atomically by the hard disk. We default to the page size, which is 4KB. (1 << 12)


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