Skip to content

File inx

marufcetin edited this page Sep 1, 2026 · 1 revision

File Extension: .inx (8-Byte Packed Primary Index)

Turkce Dokumantasyon | English Documentation

Category: File Formats & Storage
Location: dbstore/tables/${table_id}.inx
Format: Contiguous Fixed-Width Binary Array (8 bytes per ID)


1. Definition and Overview

The .inx file contains a tightly packed, fixed-width contiguous sequence of 64-bit unsigned integers (pack("Q*", @ids) / pack("a8*", @ids)). It allows $O(1)$ count lookups via file length arithmetic (-s $file / 8) and instantaneous paginated slice reading via binary file seek offsets.


2. Binary Layout

Byte Offset:  [0..7]   [8..15]  [16..23] ...
Record ID:    [ID #1]  [ID #2]  [ID #3]  ...

3. See Also

AmberDB Encyclopedia

Home · A-Z Index


Getting Started & Guides


Core Concepts


Core CRUD Methods


Query, Search & Facets


Transactions & Locks


Cache, Buffer & Low-Level


Locale & Helpers


Maintenance & Tools


Configuration Flags


File Formats


Language

Clone this wiki locally