Skip to content
feiben edited this page Jun 24, 2016 · 7 revisions

Two variables decide how LunarBase runs. Before creation or in run time, user is enabled to turn on or off the two switches:

#Data logger As a transaction Logger, which is an append-only and transactional data recorder. User still can fetch records by internal hidden monotonic increasing ids, but for other search conditions, a logger will not support. The sequential write to spin-driver is faster than to solid state driver:

search_engine_mode = off
rt_mode = off

#Real time database, with column storage As a real time database. Turning rt_mode on will boot up LunarMax engine for any real-time tasks. Details for this mode is in chapter 3:

search_engine_mode = off
rt_mode = on

#Search engine on columns with long content When search_engine_mode is on, columns specified will be searchable by keywords. LunarBase is easily going to be a search engine.

search_engine_mode = on
rt_mode = off

#Both Both database and search engine:

search_engine_mode = on
rt_mode = on

Clone this wiki locally