quarta-feira, 1 de junho de 2016

Aumentando Data File Oracle / Increasing Oracle Data file

O tamanho de uma tablespace é o tamanho de seu "datafile". Vou comentar sobre duas maneiras de aumentar o nosso banco:

1)Adicionar um "datafile" a uma tablespace

2)Incrementar o tamanho do seu "datafile"

1)Quando você adiciona um novo "datafile" para uma tablespace que já existe, você está incrementando o espaço em disco alocado para a correspondente tablespace.

Ex:

ALTER TABLESPACE usuário ADD DATAFILE 'DATA.ORA'

2)Incrementar o tamanho do seu "datafile"

Ex:

alter database datafile 'C:\ORACLE\ORADATA\DATA_1.DBF' resize 1000m;

Deixando assim o seu "datafile" com 1000 MB

--------------------------------------------------------------------------------------------------------------


The size of a table space is the size of your " datafile " . I will comment on two ways to increase our bank :

1 ) Add a " datafile " to a table space

2 ) Increase the size of your " datafile "

1 ) When you add a new " datafile " for a table space that already exists, you are increasing the disk space allocated for the corresponding tablespace.

Ex:

ALTER TABLESPACE ADD DATAFILE user ' DATA.ORA '

2 ) Increase the size of your " datafile "

Ex:

alter database datafile 'C: \ ORACLE \ oradata \ DATA_1.DBF ' resize 1000m ;

thus leaving his " datafile " with 1000 MB

Nenhum comentário:

Postar um comentário