From: Mike Bayer Date: Sat, 27 Jun 2026 16:06:18 +0000 (-0400) Subject: more changelog updates X-Git-Tag: rel_2_1_0b3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c47ae0fa47ab605161382fe7555e5fe8598f64;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git more changelog updates Change-Id: I182aba53fd92baaa132665b6ea49d882acd3b190 --- diff --git a/doc/build/changelog/migration_21.rst b/doc/build/changelog/migration_21.rst index 473deeecfa..7b37de2916 100644 --- a/doc/build/changelog/migration_21.rst +++ b/doc/build/changelog/migration_21.rst @@ -2015,6 +2015,29 @@ A summary of ``odbc_connect`` patterns is as follows:: :ticket:`11250` +.. _change_8430: + +Improved reflection performance via native multi-table queries +-------------------------------------------------------------- + +The SQL Server dialect now implements native bulk reflection methods, +including :meth:`.MSDialect.get_multi_columns`, +:meth:`.MSDialect.get_multi_pk_constraint`, +:meth:`.MSDialect.get_multi_foreign_keys`, +:meth:`.MSDialect.get_multi_indexes`, and +:meth:`.MSDialect.get_multi_table_comment`. Previously, the SQL Server +dialect fell back to the default implementation which calls the per-table +single-reflection methods in a loop, resulting in one round-trip per table +per object type. The new implementations issue a single bulk query per +object type against the ``sys.*`` catalog views, dramatically reducing the +number of database round trips when reflecting large schemas. The +single-table reflection methods are now thin wrappers over the multi-table +implementations, consistent with the pattern used by the PostgreSQL and Oracle +dialects. + +:ticket:`8430` + + Oracle Database =============== diff --git a/doc/build/changelog/unreleased_21/11450.rst b/doc/build/changelog/unreleased_21/11450.rst index 3f60d15c3d..9ec502b929 100644 --- a/doc/build/changelog/unreleased_21/11450.rst +++ b/doc/build/changelog/unreleased_21/11450.rst @@ -2,6 +2,6 @@ :tags: feature, orm :tickets: 11450 - Added :paramref:`.selectinload.chunksize` parameter to :func`.selectinload` + Added :paramref:`.selectinload.chunksize` parameter to :func:`.selectinload` allowing users to configure the number of primary keys sent per IN clause when loading relationships. Pull request courtesy bekapono. diff --git a/doc/build/changelog/unreleased_21/13291.rst b/doc/build/changelog/unreleased_21/13291.rst index 2a8d0b5472..f68faba21a 100644 --- a/doc/build/changelog/unreleased_21/13291.rst +++ b/doc/build/changelog/unreleased_21/13291.rst @@ -1,5 +1,5 @@ .. change:: - :tags: bug, declarative + :tags: bug, orm :tickets: 13291 Fixed issue where the declarative class registry would not consider diff --git a/doc/build/changelog/unreleased_21/13333.rst b/doc/build/changelog/unreleased_21/13333.rst index 53cf3c9996..8fea67cee6 100644 --- a/doc/build/changelog/unreleased_21/13333.rst +++ b/doc/build/changelog/unreleased_21/13333.rst @@ -1,5 +1,5 @@ .. change:: - :tags: bug, declarative + :tags: bug, orm :tickets: 13333 A warning is now emitted when a Declarative attribute name is named diff --git a/doc/build/changelog/unreleased_21/13350.rst b/doc/build/changelog/unreleased_21/13350.rst index 2959fe2f4d..710be09752 100644 --- a/doc/build/changelog/unreleased_21/13350.rst +++ b/doc/build/changelog/unreleased_21/13350.rst @@ -1,5 +1,5 @@ .. change:: - :tags: reflection + :tags: engine, reflection :tickets: 13350 Removed the legacy ``include_columns`` key from the dictionary returned diff --git a/doc/build/changelog/unreleased_21/5987.rst b/doc/build/changelog/unreleased_21/5987.rst index 3ff37340f1..8408a52c62 100644 --- a/doc/build/changelog/unreleased_21/5987.rst +++ b/doc/build/changelog/unreleased_21/5987.rst @@ -1,5 +1,5 @@ .. change:: - :tags: usecase, orm, performance + :tags: orm, performance :tickets: 5987 The :func:`.selectinload` loader strategy now selects the ``omit_join`` diff --git a/doc/build/changelog/unreleased_21/8068.rst b/doc/build/changelog/unreleased_21/8068.rst index dba11f7767..25eeaadf3c 100644 --- a/doc/build/changelog/unreleased_21/8068.rst +++ b/doc/build/changelog/unreleased_21/8068.rst @@ -1,5 +1,5 @@ .. change:: - :tags: bug, declarative + :tags: bug, orm :tickets: 8068 Fixed issue where the declarative class resolver would not consider