Long-running query
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
Tags: Database
Similar Questions
-
long-term query work - included steps proposed by Randolf
Hello
I 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
Here is the bottom of my requriemment.long running query in database 10g
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.
There are 40 customers total. The long-running query are accelerated and the delivery of std.client name pending error backorder expedited std shipping ABC 24 0 674 6789 78900 XYZ 35 673 5700 0 798274 . . .
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.
the query that takes a long time isPACKAGE 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 version of the database is 10.2.1.0.2SELECT 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
These are the parameters relevant for the optimizer:SQL> alter session force parallel dml;
Here is the output of the EXPLAIN PLAN of: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 SQL * Plus AUTOTRACE, including CALENDAR information: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
The TKPROF output for that statement looks like the following: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>
DBMS_XPLAN. Output DISPLAY_CURSOR: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 ********************************************************************************
I can't wait for suggestions to improve the performance of this statement.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>
Thank you
SandyOK 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!
-
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
-
When you click on the Cancel button, avoid running query
Hello
I'm going to the jsff a page to another at the click of a button
In the second page I go back to the 1st page when the Cancel button is clicked
But when clicked on this button cancel my request get rerun and takes a long time to come back on the 1st page
This is a read only vo interview... How can I avoid running query on a button click Cancel
Thank youReal question is: "why is your query run when you press the Cancel button?
If your application is already running on the first page, this should not happen unless you:
-to perform an operation on the Cancel button that runs the query
-changed "Refresh" of your iterator property
-perform rollbackDario
-
How to stop a script of long-run, or leave in the first place?
How to stop a longrunning script to stop or start in the first place. It does in itself. I don't know what it is. The only reason for which we know that it is running is because from time to time, we get a box popping up to say something like "this can't start/work due to a long-running script. Is this something that is important for our computor or is she something harmful, or simply unnecessary?
Hi Anna-KarinEdvardsson,
1 did you change on your computer before the show?
2 are. what scripts you referring?
3. when exactly the script starts?
I suggest you to set the computer to clean boot and check how it works.
To configure the computer clean boot, follow the steps in the below link:
Note: After the installation of updates to the clean boot follow step: 7 article to reset your computer to normal startup.
-
Original title: a long-running script
Why constantly to make the message-' BT Yahoo is not available due to a long-running script.
How can I remove it?
Why constantly to make the message-' BT Yahoo is not available due to a long-running script.
How can I remove it?
a. on the Tools menu, click Internet Options.
b. on the Advanced tab, click to select the checkbox disable the script debugger .
c. click OK
Error message: "a script on this page slows down Internet Explorer runs slowly.
http://support.Microsoft.com/kb/175500/en-usHow to resolve script errors in Internet Explorer on Windows computers
-
* Original title: pop ups
I frequently get a pop up that says "' web page addresses do not cause of long-running script." " It's maddening.
It's all web sites that do, or just a specific or both? If its just one or two sites, try them as 'compatibility mode' - http://windows.microsoft.com/en-US/internet-explorer/use-compatibility-view#ie=ie-11
If this does not help, it occurs to these sites if you run IE (assuming you're using IE) "mode without modules? (
[Internet Explore (No. Add ons)]) If still no joy, then see if anything in this article allows --- https://support.microsoft.com/en-us/kb/308260#cause it is a long read but has a few things to try for script errors in Internet Explorer.
The default base heal - use another browser like Mozilla Firefox - https://www.mozilla.org/en-US/firefox/new/
-
"Error running query: the real member does not exist in the application.
Hi all
I have a HFM EN users need to run, but somehow they started getting this error "error running query: real member does not exist in the application". I traced their levels of access to mine, and I am able to run the same report without any problem but the user still getting the same error. what may be the possible cause. Please help me so that I can ensure the debugging.
Thank you
Zitouni
I was able to solve this problem by checking the user of security principals class was trying to run the report for. The user did not have acesss on the class of the said security and change all, solve the problem.
Thanks, Sattu
-
Hi all
I need your help to get this issue resolved its urgent and I'm not able to get to the conclusion. Here is my scenario, I'm getting slow query runs because of some non-visible characters that are copied with the application of the PL/SQL developer tool. Please find below attached screenshot: Oracle_Issue
Note: This non-visible characters are caused when we write the query then us hit the SPACEBAR or press TAB PL/SQL developer tool
I use the developer tool PL/SQL to write or test the query. Now I take this request copy paste in my application of the company (who takes this query connects to Oracle or any source of data base, catch data and produce PDF reports for customers).
Now, my client is the Oracle user when I write and you run this query by the PL/SQL Developer, it works fine, but when I paste in my Inbox feature request (reporting system) and run it, it runs slower and jams to the customer database. Now after a little research I found that when I copy the query directly from PL/SQL developer at my request, he copy some characters not visible (introduced when we press SPACE or TAB in PL/SQL developer tool when writing query) with the request, then I copy this query again to my box of the application Notepad and delete these non-visible characters. Now, after removing the non-visible characters again once I copy backup question in my application and run the query, it works normally. Please find below attached screenshot: Oracle_Issue 2
So I think that the cause of slow performance is due to some INVISIBLE CHARACTERS present in the query.
My application uses SQL server 2008-2012 at the backend to store data from different sources.
Character set used: SQL_Latin1_General_CP1_CI_AS
To write and test queries: PL/SQL developer tool
My Client use Oracle 11 g
Character set used: Normal character: NLS_CHARACTER: AL16UTF16
National Characeter: NLS_NCHAR_CHARACTER: WE8WIN1521
I just wanted to know the blocking process to the top of the database and the characters not visible how affecting slow running query of query database.
Please let me know if I'm missing something or you need more information on this issue.
Thanks in advance,
HP
Simple answer. No.
Spaces and line breaks do not change the execution plan created. Does not plan to run slower or faster.
-
Hi all
one who fires first
KEY-RUN-QUERY FIRES BEFORE PRE-REQUETE or vice versa?
Thank you
newbi_egy wrote:
What do you mean with "obvious developer.
1. I hear of course developer KEY-EXEQRY integrated call/write EXECUTE_QUERY trigger to run the query.
2. This is in all versions, same behavior except the shortcut key to run the query in 6i F8 in 11 g Ctrl + F11
3. it's Ok, it should be that way. This is correct behavior.
You can test this way
1 al ' KEY-EXEQRY
message('KEY-EXEQRY');
message('KEY-EXEQRY');
EXECUTE_QUERY;
2. in the previous QUERY
message('PRE-QUERY');
message('PRE-QUERY');
3. press F8 or Ctrl + F11 to run the query based on you form version
Result:
First Messenger KEY-EXEQRY
Second QUERY before displaying the messages
-
I want to uninstall my new imac CS4, because CS4 is no longer running.
Hello, I want to uninstall my new imac CS4, because CS4 is no longer running.
The problem is: before I sold my old mac, I put all programs in the trash, without no deinstalltion.
The new mac is installed with a backup and so, if I want to run photoshop, par example, I get this:
... and so its impossible for me, uninstall CS4.
Can someone help me?
Excuase my bad English:)
-
Cannot run query because of RepositoryException
Hello
I'm new to this product.
I am customizing the application of CRS. I want to create a point in ProductCatalog descriptor and must insert some properties. Here is my custom .xml
<? XML version = "1.0" encoding = "UTF-8"? >
< gsa-model >
< name point-descriptor = "check_inv" >
< table name = "My_DCS_SKU" type = "primary" id-column-name = "sku_id" >
< property name = data type "inventory_status" = "string".
column-name = display-name-resource "INVENTORY_STATUS" = "inventory_status" default = "InStock" / >
< property name = data type "sku_id" = "string".
column-name = display-name-resource "sku_id" = "sku_id" / >
< /table >
< / descriptor point >
< / gsa-model >
With this XML, I am able to see my newly added and point-descriptor properties in dyn/admin(in ProductCatalog). Even if I am able to check the values of these properties in dyn/admin.
But in jsp when I get the inventory_status, I get an exception:
Cannot run query because of the RepositoryException: atg.repository.RepositoryException: no property named 'sku40145' could be found in the descriptor of the item "check_inv".
I added the following code in jsp.
< name dsp:droplet = "/ atg/dynamo/drop/RQLQueryForEach" >
< name dsp:param = "queryRQL" value = "sku_id = sku40145" / >
< name dsp:param = "repository".
value = "/ atg/commerce/catalog/ProductCatalog" / >
< name dsp:param = "itemDescriptor" value = "check_inv" / >
< name dsp:oparam = "output" >
< p > < dsp:valueof param = "element.inventory_status" / >
< / dsp:oparam >
< / dsp:droplet >
Please suggest me how to get rid of this problem?
I use ATG10.1.1
Thank you
Phanie
Published by: 995229 on March 21, 2013 02:21try to use a parameter for the value of your sku_id-
and use the param below-
-
Hello
I have the below slow running query.
Please suggest / give your input on the reduction of the time for this request
ENV: Oracle 10.2.0.4.0
SELECT *.
OF GMS_NOTE g
WHERE g.SEQ_ID =
(SELECT MAX (B.SEQ_ID)
OF GMS_NOTE gn
WHERE the gn. HIST_ID = g.HIST_ID)
AND SUPERIOR (SRC_ID) =: SYS_B_0
AND SUPERIOR (SAL_CODE) =: SYS_B_1
AND TRANS_DATE > = TO_DATE (: SYS_B_2, SYS_B_3);
PLAN_TABLE_OUTPUT
-------------------------------------------------------------------------------------------------------------------------
Hash value of plan: 4245552679
---------------------------------------------------------------------------------------------------
| ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
---------------------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | 1. 402 | 57739 (1) | 00:11:33 |
|* 1 | FILTER |
|* 2 | TABLE ACCESS FULL | GMS_NOTE | 1. 402 | 57736 (1) | 00:11:33 |
| 3. GLOBAL TRI | 1. 10.
| 4. FIRST LINE | 3. 30. 3 (0) | 00:00:01 |
|* 5 | INDEX RANGE SCAN (MIN/MAX) | GMS_NOTE_PK | 3. 30. 3 (0) | 00:00:01 |
---------------------------------------------------------------------------------------------------
Information of predicates (identified by the operation identity card):
---------------------------------------------------
1 - filter("O".") SEQ_ID "IS (SELECT MAX ('B'.". SEQ_ID") OF
"GMS_NOTE" 'B' WHERE 'B '. "HIST_ID"=:B1))
2 filter (UPPER ("SRC_ID") =: SYS_B_0 AND UPPER ("SAL_CODE") =: SYS_B_1)
AND 'TRANS_DATE' > = TO_DATE (: SYS_B_2,: SYS_B_3))
5 - access("B".") HIST_ID "(=:B1)"
21 selected lines.
Index / row count information for the GMS_NOTE (not partitioned table):
His stats are up to date.
Select count (*) in the GMS_NOTE;
COUNT (*)
----------
4858242
CREATE A UNIQUE GMS_NOTE_PK ON GMS_NOTE INDEX
(HIST_ID, SEQ_ID);
CREATE INDEX IDX1_BIDFEEDORDER ON GMS_NOTE
(HIST_ID, UPPER ("SRC_ID"), UPPER ("SAL_CODE"), TRANS_DATE);
ALTER TABLE GMS_NOTE ADD)
CONSTRAINT GMS_NOTE_PK
KEY ELEMENTARY SCHOOL
(HIST_ID, SEQ_ID)
WITH THE HELP OF INDEX GMS_NOTE_PK
ENABLE VALIDATE);
Thanks in advance.user13517642 wrote:
Thanks Nikolay.I created an index on the trans_date column, and it is originally a range of indexes on the table instead of a table scan full scan.
I'm not Nikolai, but you're welcome. ;)
Now turn this trans_date the composite index index, I suggested, for an even better improvement.
-
How to remove a discoverer report that has a status of running query
Hello
How to remove a discoverer report that has a status of running query
Thank youHi 925907,
I think you would work with your DBA to kill the session associated with the workbook running.
A query like this will provide your DBA with all the necessary information, it must:
Select
vs.*
Of
v$ session vs
where
vs. Program like 'dis51ws@% ';After the session was killed, it is a deletion of standard workbook (select file > open workbooks, and then right click on the name of the workbook, and then select delete).
Patrick
-
How export (unload) result of the query without running query on sql developer
Hello
I want to know how export (unload) result of the query without running query on sql developer.
I know this way.
1. execution of query
2. click on "Download" on the results tab
http://i.stack.imgur.com/CQ4Qb.jpg
Is he available unload a query result before the race?No, but you can do this ask the developer SQL change however, for other users can vote and add weight to the possible future implementation.
Kind regards
K.
Maybe you are looking for
-
Satellite L300D - screen is blank
On turn on my laptop, I get the Messenger sign and then the screen turns white I think it could be the inverter of the screen itself. Also, I can see the light from the screen lights up then go offshore any help would be welcome Jim She [herd
-
Measurement of voltage and the voltage with CompactDAQ display?
OK, I just got my CompactDAQ hooked up with two modules (9225, 9239) and am able to simple single-phase voltage (120 VAC)... I connected an indicator, and it gives me shooting random sine wave values and what I'm looking for a simple voltage reading.
-
Another computor uses the same IP that myself, what do I do?
Compuyor another uses the same IP address as me, what can I do to solve the problem?
-
Error 1406 when trying to download Adobe reader 9.4
Original title: Error 1406 downloading Adobe Reader 9.4.0 I got an error 1406.Could not write value NoExplorer key\SOFTWARE\Microsoft\\Windows\CurrentVersion\Explorer\Browser Helper Objexts\ {18DF081C-E8AD-4283-A596-FA578C2EBDC3}. Check that you have
-
Adding a property to a virtual machine
Hello, I would like to add a property to a VM in vCAC with vCO so far, I use the code below with the virtualMachine entries, propertyName, propertyValue= "ManagementModelEntities.svc"; var modelentitySet var = "VirtualMachineProperties";var found = f