Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

long time opening pages with conditions "Exist (SQL query ret..)" ( edit )

MilosJun 20 2013 — edited Jul 30 2013

Hi all!

I have report with multiple text arrays ( 3 columns , 50 - 200 rows).

Everything works fine, but the page for a long time generating ( 12-15 sec.)

I need advice on how to accelerate.


Apex 4.1.0.00.32

DB 10.2.0.4.0

Apex Listener Version: 1.1.3.243.11.40 on different machine

I plan to update the apex to version 4.2 , database to 11 g.


What web listener should I use in new instalation ?

- Oracle Application Express Listener

- Embedded PL/SQL gateway

- Oracle HTTP Server and mod_plsql


Thanks.


Milos.

Comments

TexasApexDeveloper

Use the APEX Listener.. Mod_plsql is not really the best any longer and will probably be de-supported soon... EPG, better for development situations, NOT production usage..

Thank you,

Tony Miller

Ruckersville, VA

Milos

Tony, thanks.

Milos
So I returned after a long time on this issue.

Sets the delay in the evaluation of conditions "Exists (SQL return at least one rows)"
apex execute the following command:
select count(*) from dual where exists (select * from usysnet.V_IRD_READING_BATCH_MP_JOIN@tousys A, usys_odpocty B where A.RBMP_ID = B.RBMP_ID and RBMP_RB_ID = :P32_CISLO)
delay of this comand is more as 5 sec.
but select into text array of conditions:
select * from usysnet.V_IRD_READING_BATCH_MP_JOIN@tousys A, usys_odpocty B where A.RBMP_ID = B.RBMP_ID and RBMP_RB_ID = :P32_CISLO
have delay 0,01sec.
I trying alternative select ( select distinct 1 from ....) but the same result delay.
Advice please?
Milos.
TexasApexDeveloper

Have you tried the select in sql developer or TOAD?  Going over the DBLINK might be the issue you are running into...

Thank you,

Tony Miller

SmartDog Services

Austin, Texas

Milos

I was trying run this script:

select count(*) from dual where exists (select * from usysnet.V_IRD_READING_BATCH_MP_JOIN@tousys A, usys_odpocty B where A.RBMP_ID = B.RBMP_ID and RBMP_RB_ID = :P32_CISLO)

into console ( sqlplus.exe ), delay is about 5 sec.

but this script:

select 1 from dual where exists (select * from usysnet.V_IRD_READING_BATCH_MP_JOIN@tousys A, usys_odpocty B where A.RBMP_ID = B.RBMP_ID and RBMP_RB_ID = :P32_CISLO)

delay is just few miliseconds.

Thanks.

Milos.

Milos

I was trying to analyze the table, recreate the index - but no change in time result.

How to replace it with PL/SQL Expression type ?

Thanks.

Milos.

1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 27 2013
Added on Jun 20 2013
6 comments
477 views