How does one query an Oracle 10g database to determine the degree of parallelism for a table? My searches have proved fruitless. I would anticipate it is something like this:
select degree
from table_metadata
where table_metadata is metadata about my table.
Since parallelism seems to be unknown consider the following statement:
create table foo
...
parallel (8);
Here parallel (8) sets the degree of parallelism to 8
will work assuming that you own the table. Otherwise, depending on your privileges, either use
ALL_TABLESorDBA_TABLESrather thanUSER_TABLESand add a predicate on theOWNERcolumn.