Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrive ~1000 rows with simple SELECT * takes roughly 40 seconds compared to SQLDeveloper's 0.9second it there are CLOB columns #26873

Open
vilmospapp opened this issue Apr 26, 2024 · 1 comment

Comments

@vilmospapp
Copy link

Description

Hi,
Currently working on a project where I need to access Oracle Database Server. The connection goes through a VPN tunnel, but with DBeaver it's terribly slow to fetch data. e.g.: Theres a table with 896 rows, with DBeaver it takes almost a minute to fetch the data. I also installed SQLServer on my laptop and from that one, it takes only 0.9 seconds if the table has CLOB columns.

If there are no CLOB columns ~1000 rows retrieved within 0.152s with DBeaver.

I suspect some jdbc driver settings could be the problem, but in SQLDeveloper I didn't manage to extract the configs so I could apply the same configs in DBeaver.

I also collected tcpdump from each tests and I can see that for DBeaver there are lot more packets and a lot with [PSH,ACK] communication while with SQLDeveloper there's no PSH just [ACK] and TCP Window related messages.

Could someone give me some hint what could be the problem?

DBeaver Version

Community Edition 24.0.3.202404211624

Operating System

macOS Sonoma 14.3 (23D56)

Database and driver

Screenshot 2024-04-26 at 17 11 48

Steps to reproduce

  1. Have a table with ~1000 records and 2-4 CLOB fields named FOO
  2. Send a the query to Oracle : SELECT * FROM FOO;

Additional context

No response

@vilmospapp
Copy link
Author

There must be also a bug or performance issue with the jdbc driver as with this one: https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc10/19.22.0.0 the query runs roughly 50% faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants