Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORDS TOMCAT PERFORMANCE IMPROVEMENT SETTINGS

User_PWYUDMay 12 2020 — edited Jun 5 2020

Hi Community,

I have installed ORDS 19.4 on Tomcat 9.0.34 on AWS RDS Oracle EE 12c.

When fetching large number of rows, ORDS is very slow.

I have already change entries in defaults.xml for JDBS maxlimitconnections:

<entry key="jdbc.DriverType">thin</entry>

<entry key="jdbc.InitialLimit">3</entry>

<entry key="jdbc.MinLimit">1</entry>

<entry key="jdbc.MaxLimit">20</entry>

<entry key="jdbc.MaxStatementsLimit">20</entry>

<entry key="jdbc.InactivityTimeout">1800</entry>

<entry key="jdbc.statementTimeout">900</entry>

<entry key="jdbc.MaxConnectionReuseCount">1000</entry>

But there is no improvement.

When changing the page_size from default 20 to 500 the time for fetching > 300.000 records comes from 11 hours to 1 hour.

But still it is not acceptable and we need further improvements.

The authentication is set on 'Basic Authentication', and ORDS service creates for every feched page a new connection/authentication.

I wonder if this could be changed by AUTH2 authentication + storing the token for the secret client key? How should I implement this?

Can we use connection pooling on Tomcat level?

I would very much appreciate any feedback on above questions.

Many thanks,

Kind regards,

Johan Hoste

This post has been answered by Olafur T on May 21 2020
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2020
Added on May 12 2020
35 comments
3,085 views