The Internet of Things Database