Skip to content

PdoSessionHandler: Hight database load by deleting sessions #13858

@fadoe

Description

@fadoe

The problem is in PdoSessionHandler from Symfony 2.6 and MySQL:

When deleting sessions from database in close()-method, for all rows the time for lifetimeCol and timeCol is calculated. This will slow down the database and is not a good solution. How can it optimized?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions