Skip to main content

Memory RxStorage

The Memory RxStorage is based on plain in memory arrays and objects. It can be used in all environments and is made for performance. Use this storage when you need a really fast database like in your unit tests or when you use RxDB with server side rendering.


  • Really fast. Uses binary search on all operations.
  • Small build size


  • No persistence
import {
} from 'rxdb';
import {
} from 'rxdb/plugins/storage-memory';

const db = await createRxDatabase({
name: 'exampledb',
storage: getRxStorageMemory()