SQL implementation of a storage for Jouba