Re: acceptable way to program
Date: Sun, 02 Jan 2005 15:14:18 -0800
Message-ID: <41d87f2e$1_1_at_127.0.0.1>
Chas Douglass wrote:
> DA Morgan <damorgan_at_x.washington.edu> wrote in
> news:41d8219f$1_1_at_127.0.0.1:
>
> [snip]
>
>>It is true. Most of the Java being written against relational >>databases doesn't perform and doesn't scale well.
>
> [snip]
>
> Thats a pretty broad brush you're painting with. Do you have some numbers
> on which your are basing this claim?
>
> It also gives the impression that performance is the most important element
> of software development, which is certainly not always true.
>
> Chas Douglass
Addressing your second comment I would not say that performance and
scalability are the most important attributes of a program. But when
the database is capable of returning a result set in less than a second
and the Java developer getting the same result set uses a method that
takes 1-5 seconds there is a major problem and not just to the end-user.
Often management ends up purchasing far more expensive hardware to
compensate for bad design, bad implementation, and a lack of experience.
Let me give you some simple examples related to Oracle since that is
where this has been cross-posted. How many Java developers in your
organization know about the following?
EXPLAIN PLAN
TKPROF
TRACE ANALYZER
Bind Variables
Stored Outlines
Hints
And that is just the tip of the iceberg. The answer, undoubtedly, is a very small number. And yet no serious Oracle DBA or developer would consider doing much without one or all of them.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Mon Jan 03 2005 - 00:14:18 CET