Skip to content

The get_observations function will time out on large datasets #1

Description

@Robsteranium

In other scenarios we've found it necessary to split this query into two pieces:

  • first query for all observation URIs and spill the results to disk
  • then page through the URIs and insert then into a second query using a VALUES clause

This should scale better than e.g. LIMIT/OFFSET (which still requires the database to assemble the offset solutions).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions