Reputation: 117
I would like to know if I can mark a chunk to extendable while adding a chunk to a dbspace using the onspaces
command itself. There is a column called is_extendable in the syschunks table in the sysmaster database. How do you enable it while adding a chunk to a dbspace?
Upvotes: 1
Views: 278
Reputation: 1086
Take a look at Automatic space management, it's only available since 11.70.
In particular, Marking a chunk as extendable or non-extendable indicates that you do not use onspaces
but you use (for example) DB-Access to execute an administrative function:
To mark a chunk as extendable:
Run the
admin()
ortask()
function with the modify chunk extendable argument, as follows:EXECUTE FUNCTION task("modify chunk extendable", "chunk number");
To mark a chunk as not extendable:
Run the
admin()
ortask()
function with the modify chunk extendable off argument, as follows:EXECUTE FUNCTION task("modify chunk extendable off", "chunk number");
Upvotes: 4