﻿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
29788	Add support for Oracle Managed File (OMF) Tablespaces	Vackar Afzal	Mariusz Felisiak	"
Oracle has 2 means of creating tablespaces:
* Oracle managed files (OMF)
* User managed files (UMF)

Currently Django only supports UMF, and not OMF.
To add support for OMF just need to omit the 'name' of the datafile - very simple changed.

Could add a flag to the 'OPTIONS' key in the database settings to specify which should be used:

{{{
    ""default"": {
      ""ENGINE"": ""django.db.backends.oracle"",
      ""OPTIONS"": {
        ""threaded"": True,
        ""oracle_managed_files"": True # <--------------- This is the new addition: default=False
      },
      ""NAME"": ""my_sid"",
      ""USER"": ""my_user"",
      ""PASSWORD"": ""my_pass"",
      ""HOST"": ""localhost"",
      ""PORT"": ""1521""
    },
}}}

This is required if you are working with an Oracle instance that only supports OMF i.e.[https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.CommonDBATasks.Database.html#Appendix.Oracle.CommonDBATasks.CreatingTablespacesAndDatafiles AmazonRDS]
"	New feature	closed	Database layer (models, ORM)	2.1	Normal	fixed	oracle, OMF		Accepted	1	0	0	0	0	0
