Skip to content

[measurement only] #2629 + prepared_statements: false#2633

Closed
yahonda wants to merge 2 commits into
rsim:masterfrom
yahonda:measure-2629-ps-false
Closed

[measurement only] #2629 + prepared_statements: false#2633
yahonda wants to merge 2 commits into
rsim:masterfrom
yahonda:measure-2629-ps-false

Conversation

@yahonda

@yahonda yahonda commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

Throwaway PR to measure #2629 alone with prepared_statements: false. Verifies #2629 doesn't add new failures vs master + ps:false baseline.

yahonda and others added 2 commits April 28, 2026 17:33
Replaces literal interpolation in the remaining
oracle_enhanced/{schema_statements,structure_dump}.rb dictionary queries
with bind variables, so the same SQL text is reused across calls
regardless of which table/object name is being looked up. Concretely:

- schema_statements.rb#tablespace        — :table_name
- structure_dump.rb#structure_dump_primary_key — :table_name
- structure_dump.rb#structure_dump_unique_keys — :table_name
- structure_dump.rb#drop_sql_for_object  — :object_type

Without this, each unique value produces a fresh shared cursor on the
server, which is what the legacy session-level cursor_sharing = force
default was masking. With these queries bound, removing that default
(rsim#2626) no longer regresses CI runtime on schemas with many objects.

Closes rsim#2628.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@yahonda

yahonda commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator Author

Closing measurement-only PR; goal accomplished.

@yahonda yahonda closed this Apr 28, 2026
@yahonda yahonda deleted the measure-2629-ps-false branch April 28, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant