Use the below query to find the applied archive log gap between primary and standby oracle database.