metadata access performance improvement for accessing traf objects Packed version of descriptor structures is now stored in traf TEXT table during various DDL operations. During dml, if packed descriptors exist, then they are read and used. If they dont exist, then descriptors are generated on the fly.
Descriptor classes are defined in file sqlcat/TrafDDLdesc.h and are based off the older desc structures from desc.h. These are simplified and class'ified version of the older structures and are versioned. Changes to these classes should be done carefully by either using filler bytes or versioning them.
2 new cqds, traf_store_object_descriptor and traf_read_object_descriptor, are added to control if packed descs should be stored/read. These are currently set to OFF by default but are enabled during regressions run. Once this feature is tested, these cqds will be turned on by default.
In addition, some helper commands have been added to manipulate descrs. Syntax: alter table t [check|generate|delete|disable|enable] stored descritors
If authorization is enabled, then auth/priv specific info is generated on the fly and currently not stored in metadata. In a later checkin, these will also be stored in metadata.