This repository has been archived by the owner on Jan 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Add tools for tracking and canceling a query #280
Labels
Comments
This was referenced Jan 12, 2015
bruth
added a commit
that referenced
this issue
Jan 23, 2015
Named connections are created and added to the `django.db.connections` handler dynamically. The Django cache is used to store the derived database alias and the process ID for the connection. This ensures other threads or processes can lookup the process ID by name and cancel the query using an separate connection. The only exception being SQLite which can be interrupted across connections since it is serverless. At this time, the Oracle backend is not yet supported. Close #280 Signed-off-by: Byron Ruth <b@devel.io>
bruth
added a commit
that referenced
this issue
Jan 23, 2015
Named connections are created and added to the `django.db.connections` handler dynamically. The Django cache is used to store the derived database alias and the process ID for the connection. This ensures other threads or processes can lookup the process ID by name and cancel the query using an separate connection. The only exception being SQLite which can be interrupted across connections since it is serverless. At this time, the Oracle backend is not yet supported. Close #280 Signed-off-by: Byron Ruth <b@devel.io>
bruth
added a commit
that referenced
this issue
Jan 23, 2015
Named connections are created and added to the `django.db.connections` handler dynamically. The Django cache is used to store the derived database alias and the process ID for the connection. This ensures other threads or processes can lookup the process ID by name and cancel the query using an separate connection. The only exception being SQLite which can be interrupted across connections since it is serverless. At this time, the Oracle backend is not yet supported. Close #280 Signed-off-by: Byron Ruth <b@devel.io>
Re: future Oracle support, the standard Python Oracle driver seems to be cx_Oracle, which has a |
@murphyke Thanks. Should be easy enough to add. |
bruth
added a commit
that referenced
this issue
Jan 25, 2015
This was introduced in #280, however it is simpler to use the `isolate_queryset` to wrap an QuerySet and pass it into the the processor. Signed-off-by: Byron Ruth <b@devel.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Two functions that are database dependent:
The text was updated successfully, but these errors were encountered: