Skip to content

MySQL: Update default statement_cache_size #7727

Closed

Description

@janpio

Follow up to learnings from #6872

Currently 1000 per connection. Easy to lead to more prepared statements to be created than the MySQL limit for prepared statements: 1000 x connection limit in pool x application servers.

(Setting to 0 disables the cache completely and leads to prepared statements to be deleted after each query by default)

Activity

  1. added
    tech/engines
    on Jun 21, 2021
  2. janpio commented on Feb 16, 2022

    @janpio
    ContributorAuthor

    Note to @pimeys: Let's prepare a PR that changes this value already.

  3. pimeys commented on Mar 2, 2022

    @pimeys

    Parking for Prisma 4.

  4. added this to the 4.0.x milestone on Jun 1, 2022
  5. reopened this on Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions