Skip to content

Pseudo-objects consumes too much memory #62590

@0xPoe

Description

@0xPoe

Enhancement

Image
  • When tables lack statistics, pseudo-objects are created for estimation
  • In scenarios with many tables (like 20 million tables), this leads to excessive memory usage
  • Each pseudo-object allocates two maps (for columns and indexes)
  • The issue affects more customers than just large cluster clients, including a user with only 100 tables. (It depends on the frequency of the queries that use the pseudo-objects)
  • Potential solutions include creating one global pseudo-object or modifying the estimation logic

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions