srizdebnath/tigergraphskills/gsql-perf-accumulator-choice

Claude Code and agent skill by srizdebnath/tigergraphskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Choose and use GSQL accumulators efficiently. Use when tuning queries to reduce memory footprint and execution times.

Install

npx vskill@latest install srizdebnath/tigergraphskills/gsql-perf-accumulator-choice

SKILL.md

The same SKILL.md was published earlier as srizdebnath/tigergraphskills/gsql-perf-accumulator-choice.

Optimizing Accumulator Performance

When to use this

Use during performance profiling of query bottlenecks, specifically when memory usage spikes or execution is slow due to large datasets.

Prerequisites

Basic understanding of GSQL accumulators. Links:

Steps

  1. Prefer SumAccum<INT> or MaxAccum<INT> over collections where possible.
  2. Avoid allocating large ListAccum on highly connected 'supernodes'. Supernodes with 1M+ edges will crash memory if gathering a list.
  3. Replace SetAccum with MapAccum<T, BOOL> if you need key checking, or use integer sums if only counting uniqueness is required.
  4. If building top-K, configure HeapAccum with a tight size limit (e.g. 10 or 100) instead of collecting all records and sorting afterwards.

Common mistakes

  • Storing huge objects/vertices directly in collections. Store only the vertex primary key (STRING) or necessary scalar attributes instead of the entire vertex object.
  • Using local accumulators where a single global accumulator could summarize the data with far less memory mapping.

Sources

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/srizdebnath/tigergraphskills/gsql-perf-accumulator-choice/badge)](https://verified-skill.com/skills/srizdebnath/tigergraphskills/gsql-perf-accumulator-choice)

Something wrong with this skill or its page? Tell us.