Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Performance Comparison of Stored Procedure written in Pl/SQL vs. Java

After going through the discussion here I have one more question now.

Lets assume, there is an enterprise level application with million of user base and with millions of transaction each day. Performance vise, which would be better.

  1. Java Stored Procedure
  2. Or Oracle Stored Procedures (Pl/SQL)

P.S: When i say enterprise application development, I meant it from developers point of view where we have different layers of abstraction. Testing frameworks. Automated Testing deployed on multiple blades and extensive debugging etc

like image 318
x.509 Avatar asked Apr 07 '26 09:04

x.509


1 Answers

I suspect performance issues will come down to what kind of database operations you're doing. However a very important issue for me when dealing with databases is testability. Many times I've been in projects with are too centric around the database - where we end up with tons of business logic that I can't unit test, verify or perhaps even change.

I'm always for the pragmatic choice - everything in it's right place. And for some stuff you really should keep it in the database. But this is an issue worth thinking about.

like image 151
Martin Algesten Avatar answered Apr 09 '26 23:04

Martin Algesten



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!