Insert Statement During The Partitioning Sometimes Choses The Wrong Execution Plan (Doc ID 1382614.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial - Version: 11.2.0.2 to 11.2.0.3 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

Performing the operation sdo_router_partition.partition_router, the statement

INSERT /*+ APPEND */ INTO edge_part SELECT edge_id, start_node_id, end_node_id, (SELECT p_id FROM node_part WHERE vertex_id = start_node_id),(SELECT p_id FROM node_part WHERE
vertex_id = end_node_id),  func_class, length, speed_limit, divider, null FROM edge;

sometimes is executed in a bunch of minutes while some other times it looks like it is taking days.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms