Add snippets Query docs, info and compact database