Re: Is perl better? :(((
akizub_at_yahoo.com
Date: 02/02/05
- Previous message: Spare Brain: "Can you help me with JDBC getDate() error?"
- In reply to: dar7yl: "Re: Is perl better? :((("
- Next in thread: Tom Dyess: "Re: Is perl better? :((("
- Reply: Tom Dyess: "Re: Is perl better? :((("
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 1 Feb 2005 18:10:00 -0800
Dar7yl:
Thank for answer.
>If your jdbc driver supports it, turn on tracing/profiling.
I use jodbc14.jar from Oracle. Don't know how to force it to trace.
Tomorrow will have a look on oracle.com.
But what is the diffence where time is spent? I still have to pay the
price.
> if (rs.next())
> {
> // logic goes here
> }
Of course I usually do this. You can see it from previous code.
I only tried to simplify the code and reduce number of getMilliseconds
calls.
>Perhaps, you could optimize the query to return the whole list in one
call.
Of course I do it in real project.
And I can do it in both Java or perl.
But then quiry eats so much power of Oracle that DBAs call me and ask
to stop it.
Did you ever had such experience when your query runs for hour and DBA
call you and ask what is that query which combines 9 tables and hold
whole system for an hour?
What can I answer for such DBA? That this is your database structure
and your relations? And there is no other way to obtain data from your
imparctical design?
And people like this design and support this system...
So, I ask no questions.
I ask them here :))))
Anyway. It seems for me more and more that difference is in OCI driver
for perl. I'll try to play with it but will take time.
And anyway again it's rear approach. Most applications use thin driver.
And when it three times slower then OCI... too bad.
Thanks anyway. I already gave up.
But it was good experience for me.
I know a lot of new stuff and will know even more (with this OCI I
hope).
And project remains on perl. But who cares!
perl is much better then COBOL.
Another of my previous projects is still on COBOL :(((
Alex Kizub.
- Previous message: Spare Brain: "Can you help me with JDBC getDate() error?"
- In reply to: dar7yl: "Re: Is perl better? :((("
- Next in thread: Tom Dyess: "Re: Is perl better? :((("
- Reply: Tom Dyess: "Re: Is perl better? :((("
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|