Added support to store traces compacted in mysql