Extending the scope of segments

You may need to extend a segment if the database object or objects assigned to the segment run out of space. sp_extendsegment adds database devices to an existing segment.

Before you can extend a segment:

The following example adds the database device pubs_dev2 to an existing segment named bigseg:

sp_extendsegment bigseg, pubs2, pubs_dev2 

To extend the default segment in your database, place the word “default” in quotes:

sp_extendsegment "default", mydata, newdevice 

See Reference Manual: Procedures.