Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rundeck performance on 'Activity for this Job' pages #1547
Our rundeck instance has a lot of jobs & a lot of executions ('execution' table is about 1 million rows large). We were noticing that performance got really slow on some pages, such as the 'Activity for this Job' pages. We were able to improve page load time quite a lot by adding the indexes listed below. These indexes were successfully applied on a MySQL 5.6.23 database. I wanted to post them here in case they can help anyone else out, or in case the developers want to integrate them into rundeck.
create index WORKFLOW_STEP__ID on workflow_step(id);
I have been using http://rundeck.org/2.6.3/api/index.html#delete-an-execution
I ended up here for the same reason, super slow "Activity for this Job" tabs on the UI
very annoying when you want to look at the last 10 executions for a job.
Any advice from the Rundeck people ?
Haven't seen any followup on it from the rundeck devs. We're still successfully using the indexes listed in the original post, which cut the time down by 10x for us. It'd be nice if they'd integrate that into rundeck (or otherwise optimize the queries and/or data model), but at least this isn't crippling us anymore.