Bug 13797 - Schema inheritance chains cause schema adds to take very very long
Summary: Schema inheritance chains cause schema adds to take very very long
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-19 21:55 UTC by Garming Sam
Modified: 2019-02-20 17:07 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garming Sam 2019-02-19 21:55:49 UTC
Every time you add a new subclassOf relationship in the schema, the time to add the piece of schema increases dramatically. After 20 or 30 pieces of chained schema, the time it takes is tens of minutes or more.

There are no massive chain in the standard schema, but it should be possible to make them without a massive time complexity blow-out. The code needs to be changed to avoid duplication of work.