skip to navigation
skip to content

Not Logged In

django-mysql-fix 0.1.3

This project contains optimizations (hacks) for MySQL for Django ORM

Latest Version: 0.1.6

django-mysql-fix

This project contains optimizations (hacks) for MySQL for Django ORM.

It’s based on Django 1.7 (master branch). It was started on PyCon 2014 Development Sprint.

We are going to test possible regressions that might appear in real projects. This backend will pass all Django tests, but we still have to test it in real projects.

How to use

Specify django-mysql-fix backend in your DATABASES setting in Django settings.py:

DATABASES = {
    'default': {
        'ENGINE': 'django_mysql_fix.backends.mysql',
        ...
    },
}

Fixed issues

For now there is only one optimization there.

  • MySQL INNER JOIN with order fails to optimize query that ends up with seconds to get result, but STRAIGHT_JOIN instead of INNER JOIN solves the issue and we can get result in 0.001 instead of 3+ seconds. https://code.djangoproject.com/ticket/22438
 
File Type Py Version Uploaded on Size
django-mysql-fix-0.1.3.tar.gz (md5) Source 2014-04-15 3KB
  • Downloads (All Versions):
  • 30 downloads in the last day
  • 130 downloads in the last week
  • 414 downloads in the last month