MiniM. Saving time.


| About | Download | Tools | Knowledge Base | How to Buy |

MiniM Overview

Getting Started

Download

Documentation

Tools

Cache Tools

GT.M Tools

Knowledge Base

FAQ

Contacts

Copyrights

MiniM Knowledge Base | Jul 22, 2011

How to Create Empty Database for MiniMono

Root file for empty database for MiniMono may be required if MiniMono-based application does not use any standart MiniM routines from the %SYS database and use only custom application-specific routines. By developer's opinion may be used any root file of MiniM database.

Empty root file of MiniM database is installed by MiniM installer into /minimono subdirectory, file empty.dat. If was not run any MiniMono examples with globals changing, this file is empty and does not contains any globals. File contains only internal structure with free blocks. File may be copied to use in the MiniMono application or by installer.

Empty root file of MiniM database is created automatically on MiniM start for the TEMP database. By default this file is located in the /db subdirectory, file temp.dat. File may be copied to use in the MiniMono application or by installer. If this file cannot be copied and is locked by MiniM server, stop MiniM and copy file.

Empty root file of MiniM database may be created programmatically by call special system function $view("db",1). For detailed description see MiniM Language Guide.

Example how to create empty root file of MiniM database with volume of 1 megabyte:

USER>w $v("db",1,"e:\program files\MiniM\db\empty.dat",1)

Example how to create empty root file of MiniM database with volume of 5 megabyte:

USER>w $v("db",1,"e:\program files\MiniM\db\empty.dat",5)

File may be copied to use in the MiniMono application or by installer.

Eugene Karataev
support@minimdb.com


Copyright (C) Eugene Karataev
Info Support