agent write into db cpu mem ok