Hi, as you know storing in Blockchain is a costly operation. So, you can store the data in oracle DB and store the row hash to the blockchain.
mapping (uint=> byets32) dataHashById;
Then, whenever you fetch the data from DB, you have to make hashing of that row and verify against the hash from the blockchain.
also keep in mind Everytime when you change the row in oracledb you have to make a transaction in Blockchain as you maintain oracledb as well as Blockchain. You have to synch these two
Hope this helps
Give yourself time to explore this field properly. Enroll in Blockchain Online Training now.