laptop and a wrench

不具合

The arcpy.da.Describe() function requires extended time to complete when inputting in a SDE workspace.

最後に公開された状態: October 1, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000151318
送信されましたAugust 4, 2022
最終更新日April 16, 2025
適用対象ArcGIS Pro
見つかったバージョン3.0
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
ステータスAs Designed

参考情報

The arcpy.da.Describe function offers better experience when authoring python code (eg: in a notebook) however it is expected it to be slower than arcpy.Describe, especially with egdb data. When running `arcpy.Describe(...).name`, the logic requires a few ArcObjects to retrieve that particular property, and very few python objects need to be created (a python describe object + the string object for the name). For `arcpy.da.Describe(...).name`, create a python dictionary and query and create python object for the exhaustive list of known describe properties on the object found. For a FeatureClass this is 60 distinct properties , hence, 60 distinct python objects we have to create a value for. And while some of these python objects are strings and numbers, some of them are GPDescribe.Index , GPDescribe.Field, and GPDescribe.Children which are a full large-scale GPDescribe object. In conclusion, arcpy.da.Describe is better to work with but can be slower, while arcpy.Describe is opaque, not as effective to interact with but can be faster. Use arcpy.Describe for production code which has performance issues.

再現の手順

不具合 ID: BUG-000151318

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動