-
Notifications
You must be signed in to change notification settings - Fork 10
MongoDB
Testing has been performed with a simple MongoDB installation. Multi-regional and clustered MongoDB instances should work without issue, but this has not been verified. Cloud-based document databases (e.g. CosmoDB, DocumentDB, etc) that provide a MongoDB API compatible interface may work as-is, but have not yet been tested.
The MongoDB implementation requires that the user account configured to log into MongoDB has read/write access to tables and collections specified in the configuration. Upon the first run, tables, collections, and some default indexes will be created.
If there are additional indexes desired, it is possible to script your own indexes as needed. This includes indexes with a primary use of calculating a destination shard at the time of write.
The mode of storage in CxAnalytix is intended more as a historical data store than a high-performance, transactional document retrieval system. This means that while it is possible to craft a shard index used to avoid crawling multiple shards, it is outside of the scope of CxAnalytix.
If you have already followed the instructions for configuruing the app.config file, you can jump directly to the MongoDB output configuration instructions.
If you are intended to store a lot of historical data for analysis, it may be a good idea to review the Shard Key Cookbook. You are, of course, free to Bring Your Own Indexing but there may be some information in the cookbook that will help you choose a shard key with a cardinality appropriate for your scan volume.