I would like to know about how to alter maxextents in Oracle.
To modify the maxextents for an object, you'll need to know if it is a table or an index. I'll show you how to do this for a table. It is similar for an index.
You'll want to use the ALTER TABLE command to modify the storage characteristics of the table. For instance:
ALTER TABLE my_table STORAGE( maxextents 505 );Substitute the appropriate number of maximum extents for '505' in the above command.
For More Information
- Dozens more answers to tough Oracle questions from Brian Peasland are available.
- The Best Oracle Web Links: tips, tutorials, scripts, and more.
- Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.