oracle并行查询parallel/* parallel(table_short_name,cash_number) */,我来为大家科普一下关于oracle怎么并行查询?下面希望有你要的答案,我们一起来看看吧!

oracle怎么并行查询(oracle并行查询parallel)

oracle怎么并行查询

oracle并行查询parallel

/* parallel(table_short_name,cash_number) */

/* parallel(a,8)(b,8)*/

查询

select /* parallel(b,8)*/ * from tablename1 b

select /* parallel(a,8)(b,8)*/ * from tablename1 a,tablename2 b where a.id=b.id

插入

insert /* append parallel(a,32) nologging*/ into tablename1@FJSERVER a select /* parallel(b,8)*/ * from tablename2 b

--查看有效的CPU数

>show parameters cpu

--查看有效的CPU数

select * from v$osstat where stat_name='NUM_CPUS';

2022-8-11

,