JSQLParser very slow in parsing long queries #1296
Replies: 5 comments
-
Greetings. The size of the query (in characters length) does not matter much. Also you should double check which version you are using as 4.1 and latest 4.2-Snapshots brought massive improvements in this regard. Last but not least, check what kind of features is used in the query. Everything like Oracle 11.2 would not be an issue. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi Andreas, Thanks for the insights. When is version 4.2 releasing? We use maven only. I can probably test out after release. |
Beta Was this translation helpful? Give feedback.
-
On Tue, 2021-08-03 at 12:40 +0000, salonijuneja wrote:
Thanks for the insights. When is version 4.2 releasing? We use maven
only. I can probably test out after release.
This is out of my hands, I am just the janitor.
Although you can use the SNAPSHOT repo with Maven:
<repositories>
<repository>
<id>jsqlparser-snapshots</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
</repositories>
Best regards
Andreas
|
Beta Was this translation helpful? Give feedback.
-
Thanks. But we cannot use snapshots from sonatype :(. I will wait for the next release! |
Beta Was this translation helpful? Give feedback.
-
Please retry with released JSQLParser-8.0 which saw some material performance improvements (like real life queries from 44 seconds down to 2 seconds) |
Beta Was this translation helpful? Give feedback.
-
We have got queries that are 151k characters long. JSQLParser is slowing down and not returning response for more than half hour now. Is it a known issue? Will increasing jvm memory configuration help resolve it?
Sorry but I cannot share the official query. Please let me know if it is a known issue.
Beta Was this translation helpful? Give feedback.
All reactions