Moodle

XMLDB editor: Remove unnecessary option for size of TEXT fields

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

We don't think the SMALL/MEDIUM/BIG text field distinction is actually necessary for performance in MySQL, and it doesn't apply (or is not the same) on other databases.

Consequently it would be nice to remove it from xmldb in order to:

a) simplify the interface

b) stop people accidentally restricting things to 64KB (but only on certain DBs!) when they don't mean to.

We think all fields could be BIG.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

+2

Show
Petr Škoda (skodak) added a comment - +2
Hide
Sam Hemelryk added a comment -

+1 from me

Show
Sam Hemelryk added a comment - +1 from me
Hide
Eloy Lafuente (stronk7) added a comment -

-3 as far as looking for some InnoDB tuning options today I arrived to one place showing the (BIG) speed differences between small and big texts under MySQL. Unluckily I haven't the URL right now I just arrived here while mass-triaging performance related issues for next sprint.

Needs confirmation / testing to see / measure those differences... just FYI ciao

Show
Eloy Lafuente (stronk7) added a comment - -3 as far as looking for some InnoDB tuning options today I arrived to one place showing the (BIG) speed differences between small and big texts under MySQL. Unluckily I haven't the URL right now I just arrived here while mass-triaging performance related issues for next sprint. Needs confirmation / testing to see / measure those differences... just FYI ciao

People

Dates

  • Created:
    Updated: