sql - Oracle parallel hint on cluster -


i wanted use parallel hint give best performance in query equi-join query 2 tables in cluster , join column cluster index.

i wasn't sure if should use parallel option on 1 of tables parallel(table1, 4), both of tables parallel(4) or on clusters index parallel_index(index_name, 4)?

here query:

select /*+ use_hash(a, b)  */a.name, b.price customer a, sales b  b.cust_id < 2000  , b.cust_id = a.cust_id; 

here execution plan query:

enter image description here


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -