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
SELECT degree
FROM user_tables
WHERE table_name = <<some table name>>
will work assuming that you own the table. Otherwise, depending on your privileges, either use ALL_TABLES or DBA_TABLES rather than USER_TABLES and add a predicate on the OWNER column.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With