Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6259

Collapse the level 2 optimizer into its parent module.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.11.1.1
    • 10.11.1.1
    • SQL
    • None
    • Normal

    Description

      Right now there are 2 optimizer implementations, only one of which is ever loaded. The other implementation was disabled by the following comment in modules.properties:

      1. use level1 optimizer for small configurations
        #
      2. can't do this in the codeline because with 2 implementations, it is entirely
      3. by chance which get picked. So we may be running with different modules
      4. depending on which jdk
        #
      5. to be resolve by Siuling and Dan
        #
        #derby.module.optimizerSmall=org.apache.derby.impl.sql.compile.OptimizerFactoryImpl
        #cloudscape.config.optimizerSmall=cloud,cloudtarget

      Since we have deprecated support for the small CDC configuration, I don't think that we need further resolution by Siuling and Dan. Collapsing the two optimizers together should slightly reduce our static footprint.

      Attachments

        1. derby-6259-01-aa-collapseOptimizers.diff
          15 kB
          Richard N. Hillegas
        2. derby-6259-02-aa-increasePrivacy.diff
          8 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: