The shell scripts are self executable files. That simply
means that all the lines, which are written inside the script, get executed one
by one like any other command in UNIX. So the simplest way to execute millions
of DML operations at one go is to connect to the oracle database and pass the
commands written in the file to the database for execution.