- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to create initial segment error
Operating System - HP-UX
1754183
Members
4064
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО08-06-2002 08:12 AM
тАО08-06-2002 08:12 AM
Hello dudes,
I'm facing a strange error with Oracle 8i when trying to perform an alter command.
Just to give you some details, datafiles tablespace have a lot of free space, table is little (1024k) but when I try
ALTER TABLE ---- ADD( UNIQUE (FIELDNAME));
it is retourned this error:
unable to create initial extents for segment in tablespace 'tablespacename'
Oracle manual reports as a solution to use another tablespace bigger, but this is not a matter of free space.
have you some insights on it?
Thanks already
I'm facing a strange error with Oracle 8i when trying to perform an alter command.
Just to give you some details, datafiles tablespace have a lot of free space, table is little (1024k) but when I try
ALTER TABLE ---- ADD( UNIQUE (FIELDNAME));
it is retourned this error:
unable to create initial extents for segment in tablespace 'tablespacename'
Oracle manual reports as a solution to use another tablespace bigger, but this is not a matter of free space.
have you some insights on it?
Thanks already
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 08:31 AM
тАО08-06-2002 08:31 AM
Re: Unable to create initial segment error
Are you specifying a very large size for the initial extent of the table? Since this action needs a piece of contiguous space in the tablespace for allocating the initial extent, you might need to either:
1) reduce the size of the initial extent of the table, or
2) add a new datafile to the tablespace that can provide the contiguous space as definded for the table, or
3) perform a tablespace reorg to free-up or defragment the space.
Regards,
Kenneth
1) reduce the size of the initial extent of the table, or
2) add a new datafile to the tablespace that can provide the contiguous space as definded for the table, or
3) perform a tablespace reorg to free-up or defragment the space.
Regards,
Kenneth
Always take care of your dearest before it is too late
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 12:03 PM
тАО08-06-2002 12:03 PM
Re: Unable to create initial segment error
Run this from sqlplus:
select max(bytes) from dba_free_space where tablespace_name = '';
This will tell you the maximum size for the extent that you are looking for.
Brian
select max(bytes) from dba_free_space where tablespace_name = '
This will tell you the maximum size for the extent that you are looking for.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 09:53 AM
тАО08-07-2002 09:53 AM
Solution
Hi,
Try Specifying a "USING INDEX STORAGE" clause as part of the ALTER TABLE.
1. If the index has to be in the same tablespace as the table, define the
storage values as follows :
alter table tab_name add(unique(col_name) USING INDEX STORAGE (initial nK next nK));
2. If the index needs to be in a different tablespace than the table, specify the storage values as follows :
alter table tab_name add(unique(col_name) USING INDEX TABLESPACE tabsp_name STORAGE (initial nK next nK));
Rgds,
Kawah
Try Specifying a "USING INDEX STORAGE" clause as part of the ALTER TABLE.
1. If the index has to be in the same tablespace as the table, define the
storage values as follows :
alter table tab_name add(unique(col_name) USING INDEX STORAGE (initial nK next nK));
2. If the index needs to be in a different tablespace than the table, specify the storage values as follows :
alter table tab_name add(unique(col_name) USING INDEX TABLESPACE tabsp_name STORAGE (initial nK next nK));
Rgds,
Kawah
If in doubt, ask!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP