long-term query work - included steps proposed by Randolf
HelloI did my best to follow the statement Randolf Word-by-Word and hope to get the solution for my
problem soon. Sometimes back, I posted a thread about this problem then occupied with others
stuff and wasn't able to follow. Here I am again with the same question.
Here's the link to my previous post
long running query in database 10g
Here is the bottom of my requriemment.I'm working on Oracle forms 10g, which uses the package below. We want to display the information about the customer
with order County ADB on different status as pending, error, back-Order, expedited, shipping of std.
Output will look like.
client name pending error backorder expedited std shipping
ABC 24 0 674 6789 78900
XYZ 35 673 5700 0 798274
.
.
.
There are 40 customers total. The long-running query are accelerated and the delivery of std.When I run the package of Oracle Developer of shape, it takes 3 minutes to run but when I run the same query in our application using forms
(who uses Oracle Application Server) it takes about 1 hour, which is totally unacceptable.
The user wants it be done in less than 1 minute.
I tried to combine together in the waiting, error and out of stock of queries, but AFAIK this is not
work in the form of Oracle that we need a placeholder for each situation.
Please don't think this is the related issue of forms, it's a performance problem.
PACKAGE BODY ORDER_COUNT_PKG IS
PROCEDURE post_query IS
BEGIN
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.PENDING
FROM orders o
WHERE o.status = 'P'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.ERROR
FROM orders o
WHERE o.status = 'E'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.BACK_ORDER
FROM orders o
WHERE o.status = 'B'
AND (parent_order_id is null
OR (order_type='G'
AND parent_order_id=original_order_number))
AND o.client = :ORDER_STATUS.CLIENT_NUMBER;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.EXPEDITE
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND (nvl(o.priority,'1') = '2'
OR stm.surcharge_amount <> 0)
AND o.client = :ORDER_STATUS.CLIENT_NUMBER
GROUP BY o.client;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
BEGIN
SELECT count(*)
INTO :ORDER_STATUS.STD_SHIP
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :ORDER_STATUS.CLIENT_NUMBER
GROUP BY o.client;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
END post_query;
END ORDER_COUNT_PKG;
the query that takes a long time isSELECT count(*)
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :CLIENT_NUMBER
GROUP BY o.client
The version of the database is 10.2.1.0.2SQL> alter session force parallel dml;
These are the parameters relevant for the optimizer:SQL> show parameter user_dump_dest
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
user_dump_dest string /u01/app/oracle/admin/mcgemqa/
udump
SQL> show parameter optimizer
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.4
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
SQL> show parameter db_file_multi
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_file_multiblock_read_count integer 16
SQL> show parameter db_block_size
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_block_size integer 8192
SQL> show parameter cursor_sharing
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
cursor_sharing string EXACT
Here is the output of the EXPLAIN PLAN of:SQL> explain plan for
2 SELECT count(*)
3 FROM orders o,shipment_type_methods stm
4 WHERE o.status in ('A','U')
5 AND (o.parent_order_id is null
6 OR (o.order_type = 'G'
7 AND o.parent_order_id = o.original_order_number))
8 AND nvl(o.priority,'1') <> '2'
9 AND o.client = stm.client
10 AND o.shipment_class_code = stm.shipment_class_code
11 AND stm.surcharge_amount = 0
12 AND o.client = :CLIENT_NUMBER
13 GROUP BY o.client
14 /
Explained.
Elapsed: 00:00:00.12
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
----------------------------------------------------------------------------------------------------
Plan hash value: 559278019
----------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
----------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
24 rows selected.
Elapsed: 00:00:00.86
SQL> rollback;
Rollback complete.
Elapsed: 00:00:00.07
Here is the output of SQL * Plus AUTOTRACE, including CALENDAR information:SQL> SELECT count(*)
2 FROM orders o,shipment_type_methods stm
3 WHERE o.status in ('A','U')
4 AND (o.parent_order_id is null
5 OR (o.order_type = 'G'
6 AND o.parent_order_id = o.original_order_number))
7 AND nvl(o.priority,'1') <> '2'
8 AND o.client = stm.client
9 AND o.shipment_class_code = stm.shipment_class_code
10 AND stm.surcharge_amount = 0
11 AND o.client = :CLIENT_NUMBER
12 GROUP BY o.client
13 /
Elapsed: 00:00:03.09
Execution Plan
----------------------------------------------------------
Plan hash value: 559278019
----------------------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
----------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 35 | 46764 (3)| 00:09:22 |
| 1 | SORT GROUP BY NOSORT | | 1 | 35 | 46764 (3)| 00:09:22 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 175K| 3431K| 25979 (3)| 00:05:12 |
| 3 | NESTED LOOPS | | 25300 | 864K| 46764 (3)| 00:09:22 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 15 | 2 (0)| 00:00
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 2 | | 1 (0)| 00:00:01 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 176K| | 2371 (8)| 00:00:29 |
----------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter(("O"."PARENT_ORDER_ID" IS NULL OR "O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER")) AND NVL("O"."PRIORITY",'1')<>'2
AND "O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE")
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter("O"."STATUS"='A' OR "O"."STATUS"='U')
Statistics
----------------------------------------------------------
55 recursive calls
0 db block gets
7045 consistent gets
0 physical reads
0 redo size
206 bytes sent via SQL*Net to client
238 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
The TKPROF output for that statement looks like the following:SELECT count(*)
FROM orders o,shipment_type_methods stm
WHERE o.status in ('A','U')
AND (o.parent_order_id is null
OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number))
AND nvl(o.priority,'1') <> '2'
AND o.client = stm.client
AND o.shipment_class_code = stm.shipment_class_code
AND stm.surcharge_amount = 0
AND o.client = :CLIENT_NUMBER
GROUP BY o.client
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.01 0.00 0 0 0 0
Execute 1 0.04 0.04 0 0 0 0
Fetch 2 2.96 2.91 0 7039 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 4 3.01 2.95 0 7039 0 1
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 95
Rows Row Source Operation
------- ---------------------------------------------------
1 SORT GROUP BY NOSORT (cr=7039 pr=0 pw=0 time=2913701 us)
91 TABLE ACCESS BY INDEX ROWID ORDERS (cr=7039 pr=0 pw=0 time=261997906 us)
93 NESTED LOOPS (cr=6976 pr=0 pw=0 time=20740 us)
1 TABLE ACCESS BY INDEX ROWID SHIPMENT_TYPE_METHODS (cr=2 pr=0 pw=0 time=208 us)
3 INDEX RANGE SCAN U_SHIPMENT_TYPE_METHODS (cr=1 pr=0 pw=0 time=88 us)(object id 81957)
91 INDEX RANGE SCAN ORDERS_ORDER_DATE (cr=6974 pr=0 pw=0 time=70 us)(object id 81547)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.02 0.02
********************************************************************************
DBMS_XPLAN. Output DISPLAY_CURSOR:SQL> variable CLIENT_NUMBER varchar2(20)
SQL> exec :CLIENT_NUMBER := '14'
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.06
SQL> SELECT /*+ gather_plan_statistics */ count(*)
2 FROM orders o,shipment_type_methods stm
3 WHERE o.status in ('A','U')
4 AND (o.parent_order_id is null
5 OR (o.order_type = 'G'
6 AND o.parent_order_id = o.original_order_number))
7 AND nvl(o.priority,'1') <> '2'
8 AND o.client = stm.client
9 AND o.shipment_class_code = stm.shipment_class_code
10 AND stm.surcharge_amount = 0
11 AND o.client = :CLIENT_NUMBER
12 GROUP BY o.client
13 /
COUNT(*)
----------
91
Elapsed: 00:00:02.85
SQL> set termout on
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
----------------------------------------------------------------------------------------------------
SQL_ID 4nfj368y8w6a3, child number 0
-------------------------------------
SELECT /*+ gather_plan_statistics */ count(*) FROM orders o,shipment_type_methods stm WHERE
o.status in ('A','U') AND (o.parent_order_id is null OR (o.order_type = 'G'
AND o.parent_order_id = o.original_order_number)) AND nvl(o.priority,'1') <> '2' AND
o.client = stm.client AND o.shipment_class_code = stm.shipment_class_code AND
stm.surcharge_amount = 0 AND o.client = :CLIENT_NUMBER GROUP BY o.client
Plan hash value: 559278019
----------------------------------------------------------------------------------------------------
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
----------------------------------------------------------------------------------------------------
| 1 | SORT GROUP BY NOSORT | | 1 | 1 | 1 |00:00:02.63 | 7039 |
|* 2 | TABLE ACCESS BY INDEX ROWID | ORDERS | 1 | 175K| 91 |00:03:56.87 | 7039 |
| 3 | NESTED LOOPS | | 1 | 25300 | 93 |00:00:00.02 | 6976 |
|* 4 | TABLE ACCESS BY INDEX ROWID| SHIPMENT_TYPE_METHODS | 1 | 1 | 1 |00:00:00.01 | 2 |
|* 5 | INDEX RANGE SCAN | U_SHIPMENT_TYPE_METHODS | 1 | 2 | 3 |00:00:00.01 | 1 |
|* 6 | INDEX RANGE SCAN | ORDERS_ORDER_DATE | 1 | 176K| 91 |00:00:00.01 | 6974 |
----------------------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter((("O"."PARENT_ORDER_ID" IS NULL OR ("O"."ORDER_TYPE"='G' AND
"O"."PARENT_ORDER_ID"=TO_NUMBER("O"."ORIGINAL_ORDER_NUMBER"))) AND NVL("O"."PRIORITY",'1')<>'
"O"."SHIPMENT_CLASS_CODE"="STM"."SHIPMENT_CLASS_CODE"))
4 - filter("STM"."SURCHARGE_AMOUNT"=0)
5 - access("STM"."CLIENT"=:CLIENT_NUMBER)
6 - access("O"."CLIENT"=:CLIENT_NUMBER)
filter(("O"."STATUS"='A' OR "O"."STATUS"='U'))
32 rows selected.
Elapsed: 00:00:01.30
SQL>
I can't wait for suggestions to improve the performance of this statement.Thank you
Sandy
OK Sandy, progress. It is now 'down' to 30 minutes just because you are only running a query in this form, not five or three, but it's still about 29 minutes and 57 seconds longer that he should take. You will see results of the above query you posted, that all WAIT events are ' SQL * Net client message ', which means that the database server is waiting for communication from the application server. Some massive waits, one of 2 290 696 seconds, which is equal to 26 days! It could be someone who has logged, but now gone on vacation. Recognize a name of machine, where it is the Ap Server?
But you know now that your query will be executed quickly, and I'm not sure what OEM recommended implementation plan, he could only use a Scan of full Table instead of an analysis of index range on orders, which would make sense since you are now picking up five statuses of command where before you were only picking up 3 or 2 in each SELECTION. So, is not a problem per se database, it is a problem of the Ap server and from there you could better raise the problem in this subforum: Business Intelligence Applications and it may well be interesting to try that I proposed yesterday to clone among other forms of 'good' and just Exchange procedures. Good luck with it!
Tags: Database
Similar Questions
-
Long-term process works do not at all
What has happened recently and there has been any changes made on the server (with the exception of restart the server after finding thereon.). No process for a long time are now working at all. The rendering process (short term) seem to work, but if it must go beyond that, it doesn't happen. And there is no sign that the process never exisited at all. First of all, we have seen what happens when we went to finish the process isolated running on the server. She did not allow for us to do. We have attached an image of the error. Then we tried to run new processes and that's when we found that they are not created.
This led to think there may be something wrong in the database, the table process was left down or something. But when we looked at the table was actually there. We decided to create a new test process that would make a simple form, pre filled with the common name of the users and when the user has clicked done, would route itself back to this user. After that, he would. The goal was just to see if we could spend whatever it is. Needless to say that this test has failed. The party made worked, but the process never goes beyond. The end user (in the workspace) gets no indication that something is wrong. It seems that the process works well. But in the administration console, you won't see any instance of the process. The process table is created, but no data in it.
We then decided to attempt to invoke the process of the work bench. We received an error when you try to do. I have attached a picture of this error also.
Anyone have any ideas? Any help with this is greatly appreciated.
If something fails it will generate a stack trace in the newspaper... You can go through the support, at this stage, as there is not much we can do for you here.
Paul
-
I have a query that has been running forever. I ran this query yesterday and he finished in 100 seconds (which is normal for this scenario). But today it's forever. The plan of the explain command seems good and I made sure all the tables used in the query have updated its stats. Can someone help me please on other factors should I look to find the root cause of this long term query.
OS: Windows 7
Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production
Hi Vpolasa,
You can diagnose it the problem with help from under article by arup nanda: -.
Thanks and greetings
Maxou
-
Long-term headless app work: QTcpSocket receive do not
We have an app without long-term head that uses sockets for IPC.
Headless part contains a QTcpServer, the user interface of the QTcpSocket.
the code without a head:
server = new QTcpServer(this); bool ok = connect(server, SIGNAL(newConnection()), this, SLOT(onNewConnection()));server->listen(QHostAddress::LocalHost, m_port);
user interface code:
bool stateOk = connect(clientSocket, SIGNAL(stateChanged(QAbstractSocket::SocketState)), this, SLOT(onStateChanged(QAbstractSocket::SocketState))); if (!clientSocket->isOpen()) { clientSocket->connectToHost(QHostAddress::LocalHost, m_port); bool conOk = connect(clientSocket, SIGNAL(connected()), this, SLOT(connected())); bool disconOk = connect(clientSocket, SIGNAL(disconnected()), this, SLOT(disconnected())); bool readReadOk = connect(clientSocket, SIGNAL(readyRead()), this, SLOT(commandReceived())); bool errorOk = connect(clientSocket, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(error(QAbstractSocket::SocketError))); Q_ASSERT(errorOk); qDebug() << "connected to server socket"; }
output debug shows headless headless app is running constantly, the signal is properly connected, the socket for the server returns isListening() to true.
debug output of the user interface shows that all signals are correctly connected, and onStateChanged goes from HostLookupState to ConnectingState and finally to ConnectedState
At this point, I'd wait the server socket to pull the signal of newConnection, but alas, it isn't.
I generate and run the xandos example and it works correctly, but it does not long-term use and has the server in the user interface, while the part without head connects.
I suspect that the app without head doesn't have an event loopand QTcpServer documentation states:
Although QTcpServer is mostly designed for use with an event loop,it's possible to use it without one.In that case, you must use waitForNewConnection(),which blocks until either a connection is available or a timeout expires.
Now I wonder:
The long March without head app has an event loop?
If this is not the case, how best to use the blocking call without disabling the rest of its features? A thread?
Write that post little got me on the right track already, a problem merging caused the socket to the server must be started before you call the constructor of the Application (which provides the event loop).
Now the server is running, receive a few orders, then she stops unexpectedly, the fires of the user interface
QAbstractSocket::RemoteHostClosedError changes the State of ClosingState and UnconnectedState -
In my point of view of folder, file types include long-term (i.e., "Microsoft Visio Drawing" and some are abbreviated ("for Excel files XLS).) Before this machine, all my types of files have been long-form... How can I get the form long back for all of my files?
Have you tried to create a macro - see this
http://www.MrExcel.com/Forum/showthread.php?t=525026
If you save stencil files and model that are designed to work together, to ensure that their design page, styles, and colors settings are compatible. For more details, see http://msdn.microsoft.com/en-us/library/aa200991(v=office.10).aspxChapter 10, Managing Styles, sizes, and Colors.
-
I tried today to save my keys using the ide from qnx, using the windows--> preference - signature of the steps, but I get the same error. "The long-term key registration error" & "error connection abort: connect.
Do I need to get new keys too? Thank you for your help
Hi Mark, it worked. Set the path, he was not able to find the file
.csj. and then moved the files in the bbndk folder, and it has worked. I wonder why the Wizard failed. But thank you very much -
Long-term storage of inkjet all-in-one (F4480)
Is there a good way to prepare for storing ink jet printers long-term (> 1 year) so that the jets get clogged?
We have a F4480 deskjet all-in-one that has not been used in several months. As far as I know it still works fine. It has been stored in the original box & delivery packaging for 3 months. We hope it won't be necessary for 1-2 years. We had 2 former HP hoof to the top after a long period without use. I said that they should be tested every month or two. Do you need >
This model integrates print on ink supplies heads, so in the worst case, you'll just need to replace the cartridges. I think after a year or two ink supplies will probably dried out or clogged. When you restore the printer to the service, you may be able to run up to three cycles of cleaning of the Toolbox. Is there is an impression, but it is scratched or one or more colors are missing, then soak the nozzles of the cartridges down in about 1 "of very hot water for 10 minutes can recover the cartridges.
The best plan would be to simply use the cartridges before long-term storage and then store the low or empty cartridges in the printer.
For best results, store the printer with cartridges installed. Be sure to turn off the printer to its power switch and wait for the cartridges to Park properly before removing the power. Store the printer in a place cool and away from drafts, pets and other potential hazards. Make sure that the printer is stored standing in its normal operating position. Store the printer upside down or sideways or the end can cause problems.
-
I'm converting to digital using Roxio Video Capture video old VHS of my family. It works very well but is that the only question I have... .Mov format is good for long-term file storage? Should I upgrade to something more universally used like MP4?
Your analog conversion rate is a source of poor quality in the first place, and you won't get anything else that standard definition quality no matter what your use container.
-
Pool pane there problem with long sql query?
Hello
I use Jdeveloper 11.1.2.2.0
In the application I'm developing, there is a long sql query to call (it's a function from a package, which may take a few minutes to run) and I want to display a progress bar for the user.
The progress bar component is a "progress indicator" and the percentage of achivement is refreshed by a component 'pool' with 1-second interval.
The two components are connected in a javabean.
The function with the sql query is the javabean too.
To run the sql query that is long on background I am calling from a thread, and the pool component get the advancement of the percentage of a pipe filled with the sql function.
If the function to run is just a long loop of java operations the progress bar works fine, but if I put my long sql query instead, stop listener pool should be performed to stop long, s sql queryo progress are updated only at the end of the long sql query.
You have any ideas?
Thank you
Thanks for your replies. Unfortunately, it was not the solution to my case, sql procedures to block the entire application while ADF awaits them at the end...
To solve my problem, I finally used a PL SQL Job to call my sql procedure (dbms_job.submit).
The application is released right after the call and the component of the pool is not more secure!
Kind regards
Yann
-
Work on a project that requires a retention period of 40 years. Are there assurances that all versions of Acrobat Reader will be fully backward compatible?
PDF is an ISO standard, designed for the storage of long-term archival. He is not an owner of Adobe format and Adobe isn't the only vendor or provider consultation PDF, workflow, and/or printing software.
I should also add that many if not most Governments, research / educational institutions and industry uses PDF for archiving to archive long-term documents.
You're pretty sure!
-Dov
-
Query works well in an environment, but not in the other environment
Hello
I have a question that I am trying to run in two different environments.
Test: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production
Prod: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production
Now the query runs fine in one environment and fails in the other environment.
It gives following error.
ORA-01861: literal does not match the format string
01861 00000 - "literal does not format string.
The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
The same query works very well on the TEST environment and the PROD environment.
Any help related to it would be appreciated.
Thank you
MaheshMaheshGx wrote:
HelloI have a question that I am trying to run in two different environments.
Test: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production
Prod: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit ProductionNow the query runs fine in one environment and fails in the other environment.
It gives following error.ORA-01861: literal does not match the format string
01861 00000 - "literal does not format string.The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
The same query works very well on the TEST environment and the PROD environment.
Any help related to it would be appreciated.
Thank you
MaheshThis is called a bug. One caused by the person who developed the code. They relied on an implicit conversion between strings and dates when
production quality code will always use the function to_char and to_date with a format mask. -
How can I trouble shoot for long term concurrent progams
Hello
How can I trouble shoot for long term concurrent progams
applications: 11.5.10.2
DB: 9.2.0.8
I want to know what are the steps to check what competing demand for long-term occur?
Thanks in advanceHi, this is already discussed, check the thread below
-
is iCloud for storing long-term reliable?
For storing long-term valuable family photos?
It is an excellent product to store your valuable photos and videos, but notes, store them on all your devices. iCloud is not a traditional backup cloud based storage platform. In other words, you cannot remove photos from a device once they are stored in iCloud thinking you will save space this device because, once removed, it removes all devices. If you agree with this, then sure, go ahead and use iCloud for your photos/videos. If you are looking for a traditional backup cloud storage platform, consider these third party apps like Dropbox, Flickr or Google Photos (my favorite). Good luck!
-
Satellite A200: How long can I work on battery
Hello
I bought new Toshiba A200-1AE with Windows Vista and I have a question I can find how long can I work on battery? Because I can not find it. Only one percent of the battery.
Help, please.Hello
It's not easy to say how long you will be able to work with the battery power.
Battery working time depends on the use of the laptop. If you run applications of high performance such as games, video software, etc. laptop battery power down much faster!
Why? Because all the laptop as the CPU, GPU, HDD parts, cooling modules are run with maximum efficiency. All these pieces of waste and the need of the battery power!Are you using XP or Vista? Vista needs much more resources than other systems operating Microsoft. It wastes more battery performance. This means that the laptop will run a lot more time with installed XP as with Vista OS by using the battery.
-
Hello Folk,
I need to buy new 2-3 computers for my new Office of architecture.
Please enlighten me what would be the best long-term investment, so that I can not spend as much.
Thank you very much and enjoy the coming days of Advent.
Nicely,
Siamak
You need to investigate "in person"... Go to the Apple Store (or a "Apple Shop" located in a section of another bank) > click here > https://locate.apple.com/ch/fr/sales/?pt=4&lat=47.3692907&lon=8.5418192 for locations at or near Zurich
Maybe you are looking for
-
Memory config for Tecra 8000 PIII/500
Can someone clarify this for me - I guess that the memory config for it would be the same as for a PC. Can I mix and match modules memory too long that I do not exceed the maximum of 256 MB. Apart from the conflict, a 133 MHz module would just run at
-
10 to 20 pushes the power button on the top of PC to start on m9400f
My m9400f was wonderful beyond 3-4 months. If the PC is disconnected from the wall even momentarily, when plugged in again, I can sometimes press the power switch 10 to 20 times before the computer starts. Sometimes it does not start at all. I leave
-
Hang-up system to 76% during the installation of Vista Service Pack 1, 3/3.
Hello! I installed Vista SP1 last night and everything seemed to go well, except the system stagnates at 76% this morning at 04:00 (it is now 21:00). I have the following message is displayed on my screen "installation of the Service Pack: step 3 3
-
* Original title: MJTriState Someone from the Tristate MJ (not sure of the name), called, saying that it represents the widows team of Microsoft Support. They had followed my computer (Windows 7) and noticed problems with it because it was very slow
-
Windows 7 won't remember the last used file path
So to this question, take the Gmail. If you enter an email and want to attach a file, you click on join and Win 7 by default on the desktop, from which you access the folder you need. It's very good... for the first time. However, while she is sup