# Multifile

> Demonstrates opening, connecting to, populating and closing a multifile database. Note that, in addition to the four memory devices commonly defined for persistent storage applications, two additional devices are defined for added database storage. And all the database storage devices are defined as type `MCO_MEMORY_MULTIFILE`. Also note the use of function `mco_disk_transaction_policy()` to set the `NO_SYNC` transaction policy (to speed transactions) and the call of function `mco_execute_statement()` to insert database objects.

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory:

>         api_sql_01_c_api_multifile

> But it is more instructive to run it in your development environment debugger, stepping through the code.

> Related Topics