Cara Mengatasi Error "unable to create INITIAL extent for segment in tablespace" di Oracle
Ketika membuat object baru di database oracle, ada error sebagai berikut:
ORA-01658: unable to create INITIAL extent for segment in tablespace
Error tersebut di karenakan tablespace penuh, dan harus di resize terlebih dahulu.
Caranya adalah menggunakan command "ALTER DATABASE" sebagai berikut:
alter database datafile '<path to your db>' resize M;Contoh:
ALTER database datafile 'C:\oraclexe\oradata\XE\system.dbf' resize 8192M;Cara lain yaitu membuat Datafile baru di tablespace menggunakan command berikut:
alter tablespace tablespace_name add datafile '' size M autoextend M maxsize M|off>;