Maxsize of Tablespace [message #437459] |
Mon, 04 January 2010 09:17 |
pokhraj_d
Messages: 117 Registered: December 2007
|
Senior Member |
|
|
Hi ,
I have one tablespace PSINDEX with Maxsize of 6 GB.
But when I query the tablespace its showing the BYTES is greater than MAXBYTES.
Please advice why it has showing like that.
Pokhraj
|
|
|
|
|
|
Re: Maxsize of Tablespace [message #440865 is a reply to message #437459] |
Wed, 27 January 2010 10:00 |
daverich
Messages: 23 Registered: January 2010 Location: UK
|
Junior Member |
|
|
Run this query below:
select file_name, (bytes/1024)/1024 "Size in MB", maxbytes, autoextensible from dba_data_files where tablespace_name='PSINDEX';
Check if "autoextensible" is YES or NO.
I found that (well, not in books) if autoextensible "NO" then maxbytes will be 0.
If autoextensible is "YES" then it should show max filesize in byte.
Perhaps you should use Michel's command
Quote:alter database datafile 'E:\ORACLE\BASES\MIKA\T.DBF' autoextend on maxsize 50m;
to change the autoextend "on" and then run the query again. That should display your maxbytes.
[Updated on: Wed, 27 January 2010 10:01] Report message to a moderator
|
|
|
|