Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3936

Storage-engine private data area per physical table

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:

      Description

      We need a data area per physical table where storage engine can store anything it wants.
      Additionally, this should store engine_options, tablefile path, etc. It cannot be directly in the TABLE_SHARE, because partitions have different paths and engine_options.

      We cannot directly backport MySQL WL#4305 (see the link below), because it was reverted by Oracle and, anyway, it doesn't solve the problem of different paths and engine_options.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              serg Sergei Golubchik added a comment -

              Attached the work-in-progress patch for 10.0-base tree.

              Left to do:

              • don't pass table name into handler::open()
              • use handler_share in almost all engines
              • move connect_string and other engine options into engine_options.
              • support per-partition engine_options
              Show
              serg Sergei Golubchik added a comment - Attached the work-in-progress patch for 10.0-base tree. Left to do: don't pass table name into handler::open() use handler_share in almost all engines move connect_string and other engine options into engine_options. support per-partition engine_options

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  serg Sergei Golubchik
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 weeks Original Estimate - 2 weeks
                    2w
                    Remaining:
                    Time Spent - 2 days, 6 hours, 30 minutes Remaining Estimate - 2 weeks
                    2w
                    Logged:
                    Time Spent - 2 days, 6 hours, 30 minutes Remaining Estimate - 2 weeks
                    2d 6h 30m