Advantages and limitations of document databases