oceanbase / oceanbase/seekdb

Miscellaneous optimization points for schema service and location refresh

Open
#435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dima type: task
Dominant language
C++
Stars
2.9k
Forks
339
Avg merge
1d 19h
Merged PRs (30d)
52

Description

Description

This issue tracks a collection of minor optimization points identified in the codebase.

Proposed Optimizations

  1. Schema Service Hash Table (version_his_map_):
    • Reduce the bucket size.
    • Optimize field memory usage.
  2. Location Refresh Mechanism:
    • Optimize related threads and queues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the schema service's version_his_map_ and the location refresh implementation, then inspect how their buckets, fields, threads, and queues are currently used. Done means the proposed memory and refresh-path optimizations are implemented and verified with the repository's relevant tests or measurements.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.