Commit Graph

9 Commits

Author SHA1 Message Date
Lou Knauer
9034cb90aa make database schema mysql compatible; use prepared statements 2022-01-20 10:00:55 +01:00
Lou Knauer
b7432fca5f continue working on non-node scoped metrics 2022-01-10 16:13:40 +01:00
Lou Knauer
9d87e8874c slight change to job structure 2022-01-07 09:39:00 +01:00
Lou Knauer
5403177edc all schemas new 2021-12-17 15:49:22 +01:00
Lou Knauer
89333666b3 BC: new schemas for basically everything 2021-12-16 13:17:48 +01:00
Lou Knauer
84c5cd47f6 support the new job archive directory structure 2021-12-08 10:08:41 +01:00
Lou Knauer
61cdcf4ead Implementation of resolvers for new GraphQL schema 2021-10-26 10:24:43 +02:00
Lou Knauer
236f51ba9a Massive speedup in job table initialization
It went from taking like 15 minutes on a ramdisk to taking 430 seconds
on my SSD (~900000 jobs inserted).

- Create indexes after inserts so that they do not need to be updated continually
- Use prepared statements for the job insert
- Bundle 200 job inserts into a single transaction
2021-10-20 09:30:50 +02:00
Lou Knauer
22e3e49970 Optionally initialise new db from JSON files 2021-10-11 11:11:14 +02:00