Desculpe-me Rafael o texto perdeu sua formatação tornando-o mais dificil e cansativo no entendimento ... achei esse link pertinente .... http://fritshoogland.wordpress.com/2012/07/23/rename-oracle-managed-file-omf-datafiles-in-asm/ ... []'s
> To: oracle_br@yahoogrupos.com.br > From: fpeterse...@hotmail.com > Date: Fri, 15 Feb 2013 01:07:03 +0000 > Subject: RE: [oracle_br] criação datafile com ASM > > > Rafael, a doc da oracle é bem direta quanto a criação de tablespace em asm, > conforme segue .... > Creating Tablespaces in Oracle ASMWhen Oracle ASM creates a data file for a > permanent tablespace (or a temporary file for a temporary tablespace), the > data file is set to auto-extensible with an unlimited maximum size and 100 MB > default size. You can use the AUTOEXTEND clause to override this default > extensibility and the SIZE clause to override the default size. > Oracle ASM applies attributes to the data file, as specified in the system > default template for a data file as shown in the table in "Managing Disk > Group Templates". You can also create and specify your own template. > Files in a tablespace might be in both Oracle ASM files and non-Oracle ASM > files due to the tablespace history. RMAN commands enable non-Oracle ASM > files to be relocated to an Oracle ASM disk group and enable Oracle ASM files > to be relocated as non-Oracle ASM files. > For example, if there is a disk group named data, then you can create a > tablespace tblspace in that disk group with the following SQL > statement:CREATE TABLESPACE tblspace DATAFILE +data; > The following example illustrates the usage of Oracle ASM with defaults. This > example enables Oracle ASM to create and manage the tablespace data file for > you, using Oracle supplied defaults that are adequate for most > situations.Assume the following initialization parameter > setting:DB_CREATE_FILE_DEST = +data > The following statement creates the tablespace and its data file:CREATE > TABLESPACE tblspace; > > Espero ter ajudado ...[]'s > To: oracle_br@yahoogrupos.com.br > From: raffaell.t...@yahoo.com > Date: Thu, 14 Feb 2013 11:03:30 -0800 > Subject: [oracle_br] criação datafile com ASM > > > > > > > > > > > > > > > > > > > > > > > > > > > sei que posso definir apenas o filegroup e o Oracle vai se virar pra > criar o > > arquivo com uma nomeclatura dele > > queria sabe se o cara pode definir o filegroup + o nome do > > arquivo sem se preocupar com o diretorio completo > > por exemplo > > sei que assim funciona > > > > CREATE TABLESPACE DB_IDX_HUB_PART DATAFILE > > '+DATA/mlhdb/datafile/DB_IDX_HUB_PART_001.dbf' size 10g autoextend on next > > 100m; > > > > assim tb funciona > > > > CREATE TABLESPACE DB_IDX_HUB_PART DATAFILE '+DATA' size 10g > > autoextend on next 100m; > > > > queria sabe se existe alguma forma de não informar o > > /mlhdb/datafile/ > > mas informar o DB_IDX_HUB_PART_001.dbf > > > > [As partes desta mensagem que não continham texto foram removidas] > > > > > > > > > > > > > > > > > > > [As partes desta mensagem que não continham texto foram removidas] > > > > ------------------------------------ > > -------------------------------------------------------------------------------------------------------------------------- > >Atenção! As mensagens do grupo ORACLE_BR são de acesso público e de inteira > >responsabilidade de seus remetentes. > Acesse: http://www.mail-archive.com/oracle_br@yahoogrupos.com.br/ > -------------------------------------------------------------------------------------------------------------------------- > >Apostilas » Dicas e Exemplos » Função » Mundo Oracle » Package » Procedure » > >Scripts » Tutoriais - O GRUPO ORACLE_BR TEM SEU PROPRIO ESPAÇO! VISITE: > >http://www.oraclebr.com.br/ > ------------------------------------------------------------------------------------------------------------------------ > Links do Yahoo! Grupos > > [As partes desta mensagem que não continham texto foram removidas]