Skip to content

Databend Query Error with Large Dataset in Kubernetes Environment #129

@mrchypark

Description

@mrchypark

Current Setup

  • Kubernetes cluster
  • 1 meta node and 2 query nodes running
  • Using sqlx.Open("databend", "") with sslmode=disable added
  • github.com/datafuselabs/databend-go v0.6.6

Issue

When executing queries on a large dataset, we're encountering errors.

failed to query page: All attempts fail:
#1: 404 {"error":{"code":"404","message":"route error: query 8e7ba07b-31f9-44c6-8acb-afebc6a94419 SHOULD be on server L0VVVZjokcB7K2ot8xQtW, but current server is RtMjqHG7wzwNB5P1KWIpo6, which started at 2024-07-15T23:34:17.851+00:00(100326.88 secs ago)"}}. please check your arguments

Questions

What could be causing these errors with large datasets?
Are there any recommended configurations or best practices for handling large data queries in this setup?
Should we consider scaling our resources, and if so, how?

We appreciate any insights or suggestions you can provide to help us resolve this issue and optimize our Databend queries for large datasets in our Kubernetes environment. Thank you in advance for your assistance!

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