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

Collapse the level 2 optimizer into its parent module.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: 10.11.1.1
    • Component/s: SQL
    • Labels:
      None
    • Urgency:
      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

              • Assignee:
                rhillegas Richard N. Hillegas
                Reporter:
                rhillegas Richard N. Hillegas
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: