• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Poor Oracle performance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Poor Oracle performance?


  • Subject: Poor Oracle performance?
  • From: Ken Anderson <email@hidden>
  • Date: Tue, 15 May 2007 14:13:55 -0400

Everyone,

I'm performing queries against Oracle using the thin style of connecting:

jdbc:oracle:thin:@<addr>:<port>:<SID>

When I use iSQL-Viewer to perform a query, the result set comes back in under 100 milliseconds.  When I do the same query with EOF, it takes 16 seconds.  When I break during this long period, it's always here:

EODatabaseChannel._selectWithFetchSpecificationEditingContext(EOFetchSpecification, EOEditingContext) line: 878
JDBCChannel.selectAttributes(NSArray, EOFetchSpecification, boolean, EOEntity) line: 185
JDBCChannel.evaluateExpression(EOSQLExpression) line: 261
JDBCChannel._evaluateExpression(EOSQLExpression, boolean, boolean) line: 303
JDBCChannel._bindInputVariablesWithBindingsAndExecute(NSArray, String, Connection, boolean, boolean) line: 230
T4CPreparedStatement(OraclePreparedStatement).execute() line: 2976
T4CPreparedStatement(OraclePreparedStatement).executeInternal() line: 2885
T4CPreparedStatement(OracleStatement).doExecuteWithTimeout() line: 984
T4CPreparedStatement.execute_maybe_describe() line: 694
T4CPreparedStatement(OracleStatement).execute_maybe_describe() line: 913
T4CPreparedStatement.execute_for_rows(boolean) line: 785
T4CPreparedStatement.doOall8(boolean, boolean, boolean, boolean) line: 182
T4C8Oall.receive() line: 435
T4CMAREngine.unmarshalSB1() line: 951
T4CMAREngine.unmarshalUB1() line: 979
NetInputStream.read() line: not available
NetInputStream.read(byte[]) line: not available
NetInputStream.read(byte[], int, int) line: not available
NetInputStream.getNextPacket() line: not available
DataPacket.receive() line: not available
DataPacket(Packet).receive() line: not available
SocketInputStream.read(byte[], int, int) line: 129
SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]


Any thoughts as to why it's performing so poorly?  I'm using the same connection style and performing the exact same query...

Thanks,
Ken

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Poor Oracle performance?
      • From: Gavin Eadie <email@hidden>
    • Re: Poor Oracle performance?
      • From: Robert Walker <email@hidden>
  • Prev by Date: [IGNORE]: Always ZERO with Oracle NUMBER fields
  • Next by Date: Re: [OT] file encoding
  • Previous by thread: [IGNORE]: Always ZERO with Oracle NUMBER fields
  • Next by thread: Re: Poor Oracle performance?
  • Index(es):
    • Date
    • Thread