Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: Bush2000
As you've correctly pointed out, stored procedures are faster precisely because they're precompiled and the SQL engine doesn't have to build a query plan -- it's done in advance, at the time you add the stored proc to the database.

You've never done any DB work, so you probably don't realize that the delay is the actual processing of the data. The DB has to build temporary tables and does all the number crunching in a very, very inefficient manner, processing data relationally.

In an language like C# or Java, you do number crunching in an OO manner, optimized to the specific report to be churned.

For any complex report, the DB will be the absolute slowest way to number crunch possible.

59 posted on 06/24/2002 1:27:57 PM PDT by Dominic Harr
[ Post Reply | Private Reply | To 54 | View Replies ]


To: Dominic Harr
The DB has to build temporary tables and does all the number crunching in a very, very inefficient manner, processing data relationally. In an language like C# or Java, you do number crunching in an OO manner, optimized to the specific report to be churned. For any complex report, the DB will be the absolute slowest way to number crunch possible.

That's an interesting straw man, Harr, but it has little to do with anything. Jeeves never said he was doing his report-formatting in the stored procs. He said he's retrieving the basic data and then dumping it into documents on the middle tier. How you twisted that to mean he was doing the reports on the backend tier is a mystery.
96 posted on 06/24/2002 4:06:24 PM PDT by Bush2000
[ Post Reply | Private Reply | To 59 | View Replies ]

To: Dominic Harr
In an language like C# or Java, you do number crunching in an OO manner...

Object-Oriented number crunching.
*snicker* Do you even program or are you just in marketing?

123 posted on 06/25/2002 10:31:44 AM PDT by Rightwing Conspiratr1
[ Post Reply | Private Reply | To 59 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson