Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Best scripting language for Oracle?

Oracle Database Tips by Donald BurlesonNovember 12,  2015

Question:  I need a scripting language for Oracle and I understand that there are many choices, PHP, Perl, JavaScript, Python and UNIX shell scripts like Korn shell and BASH shell.  What are the relative merits of each scripting language in Oracle?

Answer by Steve Karam:  Each Oracle scripting language has it's own benefits and drawbacks:

  • PHP - PHP is easy to configure, easy to learn, can interface with Oracle, the OS, and files. You can use regex for pattern matching and can do any kind of output including SMTP, screen out, file out, FTP, XML Webserver updating, etc. It can run from the command line or via the browser.

  • JavaScript - JavaScript is a web client language that is embedded in HTML and interpreted by the browser (IE, firefox, safari, etc). It is not usable as a standalone language. Javascript isn't too great for monitoring, as it is mostly a client side engine interpreted by your web browser. There are neat things you could do, however, if you combine Javascript with a server-side web programming language like PHP to make a web monitoring package. For instance, use PHP to pull data out as XML and read the data with a Javascript script in your web code, a la AJAX.

  • Perl - I wish I knew more perl, as it is really good for parsing. You can use regex in nearly any command, and it is made for grabbing data and chunking through it. A lot of perl jockeys I've met brag that they can take 100 lines of PHP code and do it in 5 lines or less in perl.

  • Shell scripts - Shell scripts are always good, you can use the basic shell commands like grep, sed, awk, head, tail, less, more, etc to do nearly anything you want. It's not as advanced as a full blown programming language like perl or php though because it relies on programs to do much.

  • Python - Another option is Python...I don't know much about it except that it's fast and can parse very quickly and easily.




Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.