Skip to content

Improvement: Don't read ProfileEvents from the server if not needed #1708

@kavirajk

Description

@kavirajk

Given now we have settings to disable profile events packet from CH server (hopefully released in next version). We can now skip reading the packet if there is no listener set for profile events.

This saves lots of bandwidth and improve performance.

Related:

  1. Support send_profile_events settings to reduce network flow ClickHouse#89588
  2. bug(performance-memory): Unnecessary memory allocations from reading profile events #1685
  3. fix: Don't scan profile events if listener is not set #1686

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions