There are many situation, where the data from external sources(like text, csv, JSON, XML etc.,) needs to be loaded into database.This can be achieved by many ways. Though there are many ways, each option is suited for particular scenarios only. This is mainly due to the difference in the source data and target data structures. For eg, we might need different mechanism to read text file vs XML files. The mechanism needs to be decided depending on the nature/type of source data. |
Given below the possible ways to load data into oracle database.
- Database Client Tools (like SQL developer, TOAD etc., support loading data from files into tables)
- Program/Script ( Using any "Programming language" (Like Java etc.,) or "Scripting Language" (Like shell script, python etc.,))
- SQL Loader (Oracle provided utility )
- External Table ( Oracle provided option to read data from external files as if they present in table)
- PLSQL Program ( Oracle supplied UTL_FILE package to do file handling operations like read, write, copy and remove operations on operating system files)
- ETL Tools ( Lot of ETL tools are available to map, extract and load the data from external files into oracle database)
Of all the options given above, option 3,4 & 5 are oracle provided mechanism to load data into oracle database.
Here is a course on Udemy to teach about oracle supplied options to load the data from external source into oracle database.
This course covers in detail about SQL Loader, UTL_FILE & External table concepts with example.
No comments:
Post a Comment