Hi,
Are there any hints or methods specific to optimizing analytical functions in 9i? I've got a query that runs in miliseconds, but when I add an analytical function (FIRST_VALUE ..... OVER (PARTITION BY ..... ORDER BY ...), the it starts taking more than 10 minutes. The execution plan shows a window sort for it.
Thanks.
Are there any hints or methods specific to optimizing analytical functions in 9i? I've got a query that runs in miliseconds, but when I add an analytical function (FIRST_VALUE ..... OVER (PARTITION BY ..... ORDER BY ...), the it starts taking more than 10 minutes. The execution plan shows a window sort for it.
Thanks.