10

My question is fairly simple. Is Java used internally by Oracle in their DBMSs?

1 Answer 1

19

No.

All (standard) packages are written in PL/SQL. The DBMS engine itself is written in C

Edit:
Oracle does include a JVM which runs on the same machine as the database itself, but that is not used to run any "DBMS related" code.

It's only there to run stored procedures/functions written in Java.

9
  • Wow, did not no know about the C part. +1. Commented Sep 13, 2011 at 10:17
  • 5
    Check out their "History Timeline": oracle.com/us/corporate/timeline/index.html: 1983: "Oracle releases Version 3 of its database, with server code written in the C programming language"
    – user1822
    Commented Sep 13, 2011 at 10:24
  • My guess is Java is not exists then. I think first Java came at Oracle 8i. Commented Sep 13, 2011 at 16:59
  • 4
    The internal JVM is not used to run any "DBMS related" code. It's only there to run stored procedures/functions written in Java.
    – user1822
    Commented Sep 13, 2011 at 18:27
  • 7
    @a_horse_with_no_name - I guess it depends on what you mean by "standard" packages. Oracle ships a number of packages that are built in Java (anything that uses XDB, for example, including many of the XMLQuery packages, depend on the internal JVM). These aren't "standard" in the sense of packages that most developers use frequently. But they are "standard" in the sense that they are installed when you do a default installation of the Oracle database. Commented Sep 13, 2011 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.