Is there any better way in oracle to enable parallel other than this? I want to do do following set of operation.

execute immediate "alter session enable parallel query";

execute immediate "alter session enable parallel ddl";

execute immediate "alter session set parallel_force_local=false";


Is there any better way of doing in oracle 11g/12c?

Thanks in advance.
You should alter your tables and indexes and specify the amount of parallel that you want.

How Parallel Execution Works

ALTER TABLES sales PARALLEL 8;
ALTER TABLE customers PARALLEL 4;