Skip to content

Slow query when passing dates #1742

Open
@askurat

Description

@askurat
  1. What versions are you using?
    Oracle Version: 19C
    arch:arm64
    oracledbVersion:6.8.0
    platform:darwin
    version:v23.10.0
  1. Is it an error or a hang or a crash?
    None of the above.

  2. What error(s) or behavior you are seeing?
    When binding a date, the query runs extremely slow. A query that should take milliseconds is taking almost a minute. This seems similar to this issue reference here: Slow queries with date in binds (oracle 11g) #1357
    The difference being, we are passing the date as a string already and the query still takes time. When hard-coding the date in the query, it queries in under a second. This happens both Mac and Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions