Skip to content

skip scan#62

Merged
HarrisChu merged 1 commit into
vesoft-inc:masterfrom
HarrisChu:skip_scan
Apr 13, 2026
Merged

skip scan#62
HarrisChu merged 1 commit into
vesoft-inc:masterfrom
HarrisChu:skip_scan

Conversation

@HarrisChu

Copy link
Copy Markdown
Contributor

Add NEBULA_SKIP_SCAN environment variable to skip row scanning in NebulaGraph 5.0 client responses, reducing client-side overhead.
When NEBULA_SKIP_SCAN=true, the client skips decoding every row of the result set after receiving the response header. This saves CPU time and memory on the client side, especially beneficial for:

  • Workloads that only care about whether a query succeeded (e.g., write-heavy loads)
  • High-throughput scenarios where minimizing client latency matters

Usage

NEBULA_SKIP_SCAN=true k6 run script.js
Or in k6 options:
{
  "scenarios": {
    "my_scenario": {
      "env": {
        "NEBULA_SKIP_SCAN": "true"
      }
    }
  }
}

@HarrisChu HarrisChu merged commit ef669af into vesoft-inc:master Apr 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants