﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17291	Oracle: cache the server version when first needed	Anssi Kääriäinen	nobody	"As discussed in [http://groups.google.com/group/django-developers/browse_thread/thread/490d0f96db7f7f43 this] django-developers thread, it would be good from performance standpoint to cache the version information when first needed, and then use that information for every connection taken from that DB. The caching is per database alias.

There is also some cleanups included in the patch. The main thing is that I added supports_regex `DatabaseFeature`, which is false for Oracle v9.

The attached patch does pass lookup tests. It is about 20% faster on taking 1000 connections and immediately closing them.

I do get one test failure in basic tests, but I do get the same failure in test_unicode_data on master, too. Probably something wrong with my setup. I am running the full test suite currently, but I can't report about results until Monday when I am next at work.

Unfortunately I can't test this on Oracle v9."	Cleanup/optimization	closed	Database layer (models, ORM)		Normal	fixed			Accepted	1	0	0	0	0	0
