Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Do you use PL/SQL
Doug Davis wrote:
> On May 20, 6:12 am, Marc Blum <b..._at_marcblum.de> wrote:
>
> > > thanks. real-world experiences such as this are always helpful to me. > > PL/SQL does seem like it would be good for less CPU intensive tasks.
As someone who has been in IT since 1969 and has more than a few years of experience with Oracle your response, the line above this, is an emetic. You truly do not understand PL/SQL. You seem to truly not understand relational databases. You seem to not have any background in Oracle concepts and architecture. And your students deserve to take this class from someone who, if not a subject matter expert, has at least a passing familiarity with the subject.
The more you write the more you throw gasoline on the issue.
> I would think that if you put business-logic in a client side app, you > would have the problems of more network traffic (although this seems > very dependent apon how much network traffic is inherent in the app, > it seems like it may not even be a problem for some).
You just don't get it so let me spell it out. No database yet built and put into production has been accessed by only the designated front-end tool. It will be accessed by many tools and all but one of them will not have the business logic.
You put business logic into the database to protect the data from people with SQL*Plus, MS Access, and yes even Crystal Reports. Doing so is far more efficient in terms of CPU, Disk I/O, network bandwidth, etc. Plus, in the database, we have tools that we can use to tune DML.
The problem in application development these days is that people who have essentially no background in databases, such as you, make decisions based wholly upon their ignorance. No SQL developer would pretend to know how many layers belong in a Java application, or whether to use or not use beans. But front-end developers, reeking of ignorance, quite often think they can write SQL, and worse yet PL/SQL.
> Also, if you did > a lot of SQL queries on the client side, and wanted to change and > develop another client, you may have to reprogram much of the business > logic too. So, i could see that being a problem.
Don't worry. We have DBMS_ADVANCED_REWRITE and we rip your queries out of our databases and replace them with our own when they are too ugly.
I would recommend that you pick up a copy of Tom Kyte's books and read them. And again that you find a good DBA to co-teach with you so that your students have a chance of being successful.
Essentially every sentence you have written here demonstrates that you do not understand the subject. Please reconsider taking the assignment.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Tue May 22 2007 - 17:25:15 CDT
![]() |
![]() |