First wave of performance fixes.
1) Running in write-committed mode
2) Using sequences for order id generation