How to resolve the "cannot create a initial area for a segment in tablespace XXXXXX" error when rebuilding indexes in Oracle __oracle

Source: Internet
Author: User

Solution: <?xml:namespace prefix = o ns = "Urn:schemas-microsoft-com:office:office"/>

If this warning appears, the table space is not enough, you should add data files to the tablespace or increase the size of the data file that is already in the table space.

More detailed:

Cannot create INITIAL extension blocks for segments in table space yxkfile ... Warrior, help.

sql>   create   table   TEMPB   as   select   *   from   TXLXB;  
  Create   table   TEMPB   as   select   *   from   TXLXB  
&N Bsp                                   &NB Sp                                 &NBSP
  error is on line 1th:  
  ora-01658:   Cannot create   initial   extension block

  Yxkfile for a segment in a tablespace Case:  
  1, with alter   tablespace   yxkfile   add   datafile   ... Add a data file  
  2, use alter   tablespace   datafile   ...   autoexte nd   on open datafile automatic extensions

Users are having problems creating indexes:

This error occurred when I rebuilt the index today:

Sql>alter index T_XX rebuild partition t_xxx200603 tablespace;

sql>ora-01658: Unable to create INITIAL area for segments in table space idx_xxx200603

Later, I saw that the tablespace idx_data200603 could not be automatically expanded, that the space was not enough, my solution is:

Sql>alter database datafile '/rdbm/orasrv/idx_xxx200603.dbf ' autoextend on;

It would be nice to rebuild the index again.

This opens the automatic extension of the DataFile

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.