Memurai Docs
  • GO TO MEMURAI.COM

›Memurai SQL

Getting Started

  • Installation
  • Configuration
  • License Files
  • Logging
  • Memory
  • Network
  • TLS
  • Windows Service
  • Server Roles
  • Product Lifecycle

Tools

  • memurai-cli
  • Persistence Consistency

Memurai for Linux

  • Linux prerequisites
  • Linux Installation
  • Multiple Linux instances

Memurai SQL

  • MSQL Overview
  • MSQL Installation
  • MSQL Configuration
  • MSQL Quick start
  • Metadata Persistence
  • MSQL Commands

Reference

  • API
  • Modules API
  • Lua Scripting API
  • Client Libraries

Metadata persistence

Overview

Memurai SQL creates in-memory indexes for your data stored in Memurai (or Valkey), and such indexes are not currently persisted on disk. However, Memurai SQL can persist the indexes metadata (names of indexes, prefixes, names and types of columns, etc.)

Memurai SQL metadata

With metadata persistence switched ON, Memurai SQL can find the metadata about the indexes that were created. Therefore, the next time you start Memurai SQL, it remembers the indexes you created in the past, and automatically repopulates them by fetching data from Memurai (or Valkey).

Metadata files

With metadata_persistence set to ON, the following files are stored on disk:

master.tids: A binary file with a list of the index tables and their TIDs (Table IDs).

idxtable_?.meta: For each index that was set up by using the MSQL.CREATE command, an idxtable_?.meta file is created. For example, if there were five indexes created, the following meta files will be listed in the metadata folder:

idxtable_1.meta
idxtable_2.meta
idxtable_3.meta
idxtable_4.meta
idxtable_5.meta

Each of the above meta files is a binary file containing the index table info, such as name, prefix, and list of columns with types.

← MSQL Quick startMSQL Commands →
  • Overview
  • Memurai SQL metadata
  • Metadata files

* Redis is a trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by Memurai is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Memurai

Quick links
HomeGet MemuraiFAQDocumentationContactNewsletterAboutSupport
TwitterLinkedInFacebookStack OverflowNewsletter
Memurai
113 Cherry Street #11630
Seattle, WA 98104
© 2025
All rights reserved by Janea Systems, Inc.
TermsPrivacyCookie