- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ORA-02142: missing or invalid ALTER TABLESPACE opt...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 06:42 AM
тАО06-07-2006 06:42 AM
I am trying to increase a tablespace which is reporting back 'ORA-02142: missing or invalid ALTER TABLESPACE option' when i issue try to resize the database.
TABLESPACE_NAME CONTENTS TBS_MBYTES USED_MBYTES FREE_MBYTES FREE_PERCENT TYPE
------------------------------ ---------- ---------- ----------- ----------- ------------ -------
XDB PERMANENT 38 37.88 0.25 0.66 PERCENT
SQL> select * from dba_data_files where tablespace_name = 'XDB';
FILE_NAME
------------------------------------------------------------------------------------------------------------------------------------
FILE_ID TABLESPACE_NAME BYTES BLOCKS STATUS RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
---------- ------------------------------ ---------- ---------- --------- ------------ --- ---------- ---------- ------------
USER_BYTES USER_BLOCKS
---------- -----------
/u01/app/oracle/oradata/OEMREP1/xdb01.dbf
9 XDB 39976960 9760 AVAILABLE 9 YES 1.7180E+10 4194302 160
39911424 9744
SQL> alter tablespace XDB
2 datafile '/u01/app/oracle/oradata/OEMREP1/xdb01.dbf' resize 50M;
datafile '/u01/app/oracle/oradata/OEMREP1/xdb01.dbf' resize 50M
*
ERROR at line 2:
ORA-02142: missing or invalid ALTER TABLESPACE option
Any idea without bringing offline.
Regards,
Pat
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 06:49 AM
тАО06-07-2006 06:49 AM
Solutionshould be "resize 50M,"
Also, what's the "2" at the beginning of the second line, if that's not just a posting artifact, it needs to be cleaned up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 07:04 AM
тАО06-07-2006 07:04 AM
Re: ORA-02142: missing or invalid ALTER TABLESPACE option
ALTER DATABASE DATAFILE '/u01/app/oracle/oradata/OEMREP1/xdb01.dbf' RESIZE 50M;
Regards, MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 07:29 AM
тАО06-07-2006 07:29 AM
Re: ORA-02142: missing or invalid ALTER TABLESPACE option
ALTER DATABASE DATAFILE '/u01/app/oracle/oradata/OEMREP1/xdb01.dbf' RESIZE 50M;
Worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2006 07:29 AM
тАО06-07-2006 07:29 AM