Replies: 2 comments 6 replies
-
Everywhere, it's used to collect transactions.
Indexes are defined in the migrations, I'm not sure how to make sure PostgreSQL actually creates them. I'll do some research! |
Beta Was this translation helpful? Give feedback.
-
Thanks @JC5 for the fast reply. The migration table in my database shows 49 rows. So it seems that all migrations are applied to the database. But for me it looks like that there are a lot of indices missing. The migration files don't add any I will try to fix the slow queries on my instance with adding indices manually and will see if this improves the web interface performance. |
Beta Was this translation helpful? Give feedback.
-
I'm using postgres and the latest available firefly iii (docker) version.
Beside firefly iii I configured pghero to analyze slow queries.
The database size is 32,8MB
The biggest tables are
The top result of pghero takes an average time of 34 ms and was called 26,191 times.
But non of the tables in the SQL have helpful indices
Is there an easy way to find out where this SQL query is called?
Should I add more indices on my own directly in the database or should firefly iii handle all the index creation?
PgHero found also other queries, but I would like to understand how to deal with these "slow" queries (<20ms and called more than 100 times)
Beta Was this translation helpful? Give feedback.
All reactions