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

reprint badge: improve performance on search #17

Open
cbellone opened this issue Sep 11, 2017 · 3 comments
Open

reprint badge: improve performance on search #17

cbellone opened this issue Sep 11, 2017 · 3 comments
Labels

Comments

@cbellone
Copy link
Member

We should save first, last name and email address directly as columns and use them in the where clause instead of searching into the JSON Blob

@cbellone cbellone added the desk label Sep 11, 2017
@syjer
Copy link
Member

syjer commented Sep 12, 2017

additional possible improvements (http://www.hsqldb.org/doc/2.0/guide/dbproperties-chapt.html): enable compression of clob/lob and the script -> less data to write and read from the sdcard

  • hsqldb.lob_compressed to true
  • hsqldb.script_format to 3 -> for compression

@syjer
Copy link
Member

syjer commented Sep 16, 2017

use the following jdbc url: jdbc.url=jdbc:hsqldb:file:alfio;hsqldb.lob_compressed=true;hsqldb.script_format=3

(database must be recreated)

@syjer
Copy link
Member

syjer commented Oct 2, 2017

note: in theory it should be way faster now. To check!

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

No branches or pull requests

2 participants