Skip to content

Slow loading #1453

Answered by aaronwmorris
piratinskii asked this question in Q&A
Aug 13, 2024 · 3 comments · 7 replies
Discussion options

You must be logged in to vote

I was able get some time to focus on this.

I found a regression that was slowing some queries down by a factor of 4 because one of the date components was being used as a string instead of an integer. This only appeared to cause problems with MariaDB.

However, the new index across the new date component fields yields significantly faster performance. Basically, for some of the database entries, there are now dedicated fields for year, month, day, and hour so that indi-allsky does not have to rely on extracted fields.

Here is an example of one query for the distinct hours on a given day. The hardware is roughly the speed of a Raspi3, so not a fast system.

(original) Year as string regressi…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@piratinskii
Comment options

@aaronwmorris
Comment options

@piratinskii
Comment options

@piratinskii
Comment options

@aaronwmorris
Comment options

Comment options

You must be logged in to vote
1 reply
@aaronwmorris
Comment options

Comment options

You must be logged in to vote
1 reply
@piratinskii
Comment options

Answer selected by piratinskii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants