FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(mysql): page Table Browser with ORDER BY PK; do not block on COUNT(*) · Issue #807 · QueryaHub/Querya-Desktop · GitHub

fix(mysql): page Table Browser with ORDER BY PK; do not block on COUNT(*) #807

Description

Summary

Browse is SELECT * FROM db.t LIMIT n OFFSET m with no ORDER BY — InnoDB pages skip/duplicate without a PK order. COUNT(*) on large InnoDB tables is a full scan and shares the pooled socket (30s-style timeouts via forceClose).

Scope

  • When a PK exists, ORDER BY those columns.
  • Do not require blocking COUNT(*) before first paint (estimate TABLE_ROWS from information_schema.TABLES or count asynchronously).
  • Timeout must not kill the SQL-editor socket if they still share a pool key (see shared-socket issue).

Out of scope

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdata-gridInteractive data grid, cell editor, filtering, groupingsmysqlMySQL database driver and workspaceperformanceTheme parser epic label: performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL