#29788: Support for Oracle Managed File (OMF) Tablespaces
-------------------------------+--------------------------------------
     Reporter:  Vackar Afzal   |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Migrations     |                  Version:  2.1
     Severity:  Normal         |               Resolution:
     Keywords:  oracle, OMF    |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------
Description changed by Vackar Afzal:

Old description:

> 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"
>     },
> }}}

New description:

 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]

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29788#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.9661c0446f4f149e2a0137cb066535a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to