Skip to content

[Performance]: Improve Vector #6812

Closed
Closed

Description

@aunjgr

Is there an existing issue for performance?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Details of Performance

In some join workload, the interface{} operations in Vector is very time-consuming. It occupies more than 90% of the total time cost in profiling.

Assigning a slice to an interface{} variable in Go always allocates a slice header on heap. And the join operator has n_columns x n_rows times of interface{} assignments. That's a big pressure for GC.

We need to find a way to eliminate this kind of time cost.

Additional information

No response

Activity

  1. added this to the v0.7.0 milestone on Nov 21, 2022
  2. added
    priority/p0
    on Nov 21, 2022
  3. jensenojs commented on Dec 22, 2022

    @jensenojs
    Contributor

    #7291

    #7293

    These two pr changes (and possibly other issues from mo-cloud) could be removed once the issue is completed.

  4. assigned and unassigned on Jan 13, 2023
  5. modified the milestones: v0.7.0, V0.8.0 on Feb 20, 2023
  6. added a commit that references this issue on Mar 10, 2023
  7. aunjgr commented on Mar 20, 2023

    @aunjgr
    ContributorAuthor

    The refactor has been done.

    API change (cooperate with DN) and performance/memory improvement will be tracked in individual issues.

  8. added a commit that references this issue on May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/performancepriority/p0triage/accepted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions