Hi Siddharth Pawar •,
Welcome to Microsoft Q&A forum.
As I understand, you want to perform online migration of Oracle to Azure PostgreSQL.
The ora2pg tool connects your Oracle database, scans it automatically, and extracts its structure or data. Then ora2pg generates SQL scripts that you can load into your PostgreSQL database. You can use ora2pg for tasks such as reverse-engineering an Oracle database, migrating a huge enterprise database, or simply replicating some Oracle data into a PostgreSQL database. The tool is easy to use and requires no Oracle database knowledge besides the ability to provide the parameters needed to connect to the Oracle database.
Refer to the documentation here for complete details:
https://learn.microsoft.com/en-us/azure/postgresql/migrate/how-to-migrate-from-oracle
Let us know if this helps. If not, we will continue to engage to understand more on the requirement. Thanks