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',
        ...
    },
}

Compatibility

Tested with Django master branch and Django 1.6.0+.

It doesn’t work with Django <= 1.5.x.

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

Metadata

Release files for django-mysql-fix 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-mysql-fix 0.1.5
File Size Uploaded Provenance
django-mysql-fix-0.1.5.tar.gz 3.7 kB Without provenance Details

Release files / django-mysql-fix-0.1.5.tar.gz

Download URL django-mysql-fix-0.1.5.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
98f87e82316e7194af6e8f3ac23d8ccbefb325642d93ff1b8972cbde9f09b97a
BLAKE2b-256 checksum
How to use checksums
51499320f4f6d2e7c108af124f34b99b5ef7fe88550aabdee5a2dd0d87d1ca6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-mysql-fix 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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