Core Mapping

This picture illustrates the core mapping theory between off-chain sql db and the on-chain runtime storage.