Skip to content

Conversation

@tkyc
Copy link
Contributor

@tkyc tkyc commented Jul 2, 2024

  • Added connection level cache for destination column metadata.
  • Added cacheBulkCopyMetadata boolean connection property.
    • true: driver will cache the metadata at the connection level
    • false: driver will not do any connection level metadata caching

Caveat: If the table changes in any way (column definition, new columns, deleted columns, etc..), then during a bulk copy the operation may or may not error out when caching is enabled. Just a note that there could be unintended consequences without warning.

barryw-mssql
barryw-mssql previously approved these changes Jul 3, 2024
@Jeffery-Wasty Jeffery-Wasty added this to the 12.7.1 milestone Jul 3, 2024
barryw-mssql
barryw-mssql previously approved these changes Jul 4, 2024
barryw-mssql
barryw-mssql previously approved these changes Jul 5, 2024
Jeffery-Wasty
Jeffery-Wasty previously approved these changes Jul 5, 2024
@tkyc tkyc dismissed stale reviews from Jeffery-Wasty and barryw-mssql via cbcfa45 July 5, 2024 17:39
@Jeffery-Wasty
Copy link
Contributor

@microsoft-github-policy-service agree company="Microsoft"

Jeffery-Wasty
Jeffery-Wasty previously approved these changes Jul 5, 2024
@tkyc tkyc dismissed Jeffery-Wasty’s stale review July 5, 2024 17:49

The merge-base changed after approval.

barryw-mssql
barryw-mssql previously approved these changes Jul 5, 2024
Jeffery-Wasty
Jeffery-Wasty previously approved these changes Jul 5, 2024
@tkyc tkyc dismissed stale reviews from Jeffery-Wasty and barryw-mssql July 5, 2024 17:54

The merge-base changed after approval.

Jeffery-Wasty
Jeffery-Wasty previously approved these changes Jul 5, 2024
barryw-mssql
barryw-mssql previously approved these changes Jul 5, 2024
@tkyc tkyc dismissed stale reviews from barryw-mssql and Jeffery-Wasty July 5, 2024 17:59

The merge-base changed after approval.

@tkyc tkyc force-pushed the bulkcopy-conn-lvl-cache branch from cbcfa45 to 77f8f78 Compare July 5, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed/Merged PRs

Development

Successfully merging this pull request may close these issues.

6 participants