Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.
This repository was archived by the owner on Oct 22, 2026. It is now read-only.

[BUG] TiSpark recent release is slower than before #2105

Open

Description

@birdstorm

The problem is located that in the recent release of TiSpark, the default value of PARTITION_PER_SPLIT is changed from 10 to 1. It results in increasing Spark tasks.

some related problems:

  • ScanRequest receive a slower response from tikv when scanning meta data
    • cause: scanning is not concurrent.
  • Memory usage incresed.
    • cause: the memory usage of ColumnVector should be optimized.

Affected versions: v2.3.14 to v2.3.16, v2.4.1

Activity

  1. self-assigned this
    on Sep 8, 2021
  2. crabo commented on May 11, 2022

    @crabo

    "Memory usage": Pls also check DAGIterator.process(), the underlying grpc always thow OutOfDirectMemoryError even in unpooled mode. As 10Million rows table scan in ETL, Off-Heap mem is requried roughly 5GB, that's really a big waste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions