Store stream to db