I need to maintain a 200 entries, 12 column table at extremely high speed, can I simply use boost multiindex to cutoff the sql overhead?
Has anyone ever tried to do this? What are the cons and pros of such a solution?
thanks
A multi-index container will be much faster than a SQL table under certain circumstances:
For best performance you will need to set up indexes on any fields you will be searching, obviously. If you need to look at multiple fields use a composite key, since you can't use two separate indexes together.
If you no need to use T-SQL and you no need in benefits of full SQL server, then you could use multi_index with no problems. Additionally may be you will want to use custom allocator for your records (pool_allocator or something else).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With