Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • F FIORest
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • FNAR Industries
  • FIO
  • FIORest
  • Merge requests
  • !8

Eager-load of rain's spreadsheet-oriented queries

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kovus requested to merge feature/eager-load-rainmodule into develop Mar 15, 2021
  • Overview 6
  • Commits 9
  • Changes 1

This is a fairly comprehensive visit to the functionality needed by rain's spreadsheet. This is a pretty good improvement on the database query work needed to produce the resulting json; resulting in some pretty nice performance improvements on some queries, and negligible performance changes on others (but still a reduction in work).

There's also a small bugfix in here regarding the rain/prices endpoint: Previously, the code appeared to assume that a CX entry only exists if it is found in the AI1 CX. So anything that was not scanned from AI1 would be missing in the result, such as AEN (at time of writing). The changes here remove that assumption, as well as making the database do lighter work through multiple queries instead of one very large union/join.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/eager-load-rainmodule