Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-mysql-fix-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file django-mysql-fix-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-mysql-fix-0.1.1.tar.gz
Algorithm Hash digest
SHA256 37c427b72d25c830511dc0031a13e8d9a443872fae2f46ede9a15b2c52880e32
MD5 e12c4f64ed01124d6414f465868bc91b
BLAKE2b-256 8c12212e582e5d0d23c908f9d4ee08ab7d68ab4b2e3e127a9f648e9c84c10b17

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

1 file

0.1.5

1 file

0.1.3

1 file

0.1.2

1 file

This release

0.1.1 This release

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page