Help Excel rules optimization
Hi OPA Experts,
We use the OPA 10.4.4. We have created about 25 excel files containing different conditions, with one or 2 each result (especially flag field "Y" or "n" out). It is that need a flag output, send us a request to OPA containing particular xml, for example excel file 1 and get the corresponding indicator of output in excel file 1. If we need all exit signs (all 25 exit excel), then send us several xml to OPA affecting performance.
Is it possible to combine all 25 excel files in 1 excel (to create a separate for each type of flag sheet) and invoke 1 single query XML?.
Moses,
OPA supports cell merging in Excel, then you can at least simplify the Excel sheet by merging cells of columns where the values are the same (columns of 1st, 2nd, 3rd and 5th). Who will save the one who maintains the Excel sheet a lot of extra typing
Tags: Oracle Applications
Similar Questions
-
Help in the optimization of a query update
Hi gurus,
I'm trying to optimize the query update on a large TT_TERM_HIST table below (table size is 13 GB).
The update statement is supposed to update the lines ~ 7 M. Total number of lines are ~ 9 M.
The TT_TERM table is also large (table size is 9.5 GB) and PK on column DEAL_NUM.
UPDATE tt_term_hist hist SET LOCAL_BANKING_SYSTEM19 = (SELECT LOCAL_BANKING_SYSTEM19 FROM tt_term tt WHERE tt.deal_num = hist.deal_num) WHERE hist.deal_num IN (SELECT deal_num FROM tt_term WHERE SUBSTR (LOCAL_BANKING_SYSTEM19, 1, 5) IN ('FT7FC', 'FT7MC', 'FT7TM')) ;
Performance plan is as follows:
----------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ----------------------------------------------------------------------------------------------- | 0 | UPDATE STATEMENT | | 266K| 6763K| 1756K (16)| 05:51:23 | | 1 | UPDATE | TT_TERM_HIST | | | | | | 2 | NESTED LOOPS | | 266K| 6763K| 691K (1)| 02:18:16 | |* 3 | TABLE ACCESS FULL | TT_TERM | 44729 | 742K| 333K (1)| 01:06:41 | |* 4 | INDEX RANGE SCAN | IRTERM_HIST_PK | 6 | 54 | 2 (0)| 00:00:01 | | 5 | TABLE ACCESS BY INDEX ROWID| TT_TERM | 1 | 17 | 3 (0)| 00:00:01 | |* 6 | INDEX UNIQUE SCAN | IRTERM_PK | 1 | | 2 (0)| 00:00:01 | ----------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 3 - filter(SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7FC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7MC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7TM') 4 - access("HIST"."DEAL_NUM"="DEAL_NUM") 6 - access("TT"."DEAL_NUM"=:B1)
Then, I created a function-based index table TT_TERM using the function 'SUBSTR (LOCAL_BANKING_SYSTEM19, 1, 5)' and the plan amended as follows:
------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | ------------------------------------------------------------------------------------------------- | 0 | UPDATE STATEMENT | | 89688 | 2364K| 480K (19)| 01:36:06 | | 1 | UPDATE | TT_TERM_HIST | | | | | | 2 | NESTED LOOPS | | 89688 | 2364K| 121K (1)| 00:24:21 | | 3 | INLIST ITERATOR | | | | | | | 4 | TABLE ACCESS BY INDEX ROWID| TT_TERM | 15060 | 264K| 1225 (0)| 00:00:15 | |* 5 | INDEX RANGE SCAN | CS_TERM_LBS19 | 6024 | | 17 (0)| 00:00:01 | |* 6 | INDEX RANGE SCAN | IRTERM_HIST_PK | 6 | 54 | 2 (0)| 00:00:01 | | 7 | TABLE ACCESS BY INDEX ROWID | TT_TERM | 1 | 17 | 3 (0)| 00:00:01 | |* 8 | INDEX UNIQUE SCAN | IRTERM_PK | 1 | | 2 (0)| 00:00:01 | ------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 5 - access(SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7FC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7MC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7TM') 6 - access("HIST"."DEAL_NUM"="DEAL_NUM") 8 - access("TT"."DEAL_NUM"=:B1)
Try to use the index PARALLEL is shooting to the high cost in Millions.
UPDATE /*+ PARALLEL */ tt_term_hist hist SET LOCAL_BANKING_SYSTEM19 = (SELECT LOCAL_BANKING_SYSTEM19 FROM tt_term tt WHERE tt.deal_num = hist.deal_num) WHERE hist.deal_num IN (SELECT deal_num FROM tt_term WHERE SUBSTR (LOCAL_BANKING_SYSTEM19, 1, 5) IN ('FT7FC', 'FT7MC', 'FT7TM')) ;
---------------------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | TQ |IN-OUT| PQ Distrib | ---------------------------------------------------------------------------------------------------------------------------------- | 0 | UPDATE STATEMENT | | 6096K| 156M| 24M (25)| 81:18:18 | | | | | 1 | UPDATE | TT_TERM_HIST | | | | | | | | | 2 | PX COORDINATOR | | | | | | | | | | 3 | PX SEND QC (RANDOM) | :TQ10002 | 6096K| 156M| 4482 (1)| 00:00:54 | Q1,02 | P->S | QC (RAND) | |* 4 | HASH JOIN BUFFERED | | 6096K| 156M| 4482 (1)| 00:00:54 | Q1,02 | PCWP | | | 5 | BUFFER SORT | | | | | | Q1,02 | PCWC | | | 6 | PX RECEIVE | | 1023K| 17M| 1225 (0)| 00:00:15 | Q1,02 | PCWP | | | 7 | PX SEND HASH | :TQ10000 | 1023K| 17M| 1225 (0)| 00:00:15 | | S->P | HASH | | 8 | INLIST ITERATOR | | | | | | | | | | 9 | TABLE ACCESS BY INDEX ROWID| TT_TERM | 1023K| 17M| 1225 (0)| 00:00:15 | | | | |* 10 | INDEX RANGE SCAN | CS_TERM_LBS19 | 6024 | | 17 (0)| 00:00:01 | | | | | 11 | PX RECEIVE | | 9007K| 77M| 3257 (1)| 00:00:40 | Q1,02 | PCWP | | | 12 | PX SEND HASH | :TQ10001 | 9007K| 77M| 3257 (1)| 00:00:40 | Q1,01 | P->P | HASH | | 13 | PX BLOCK ITERATOR | | 9007K| 77M| 3257 (1)| 00:00:40 | Q1,01 | PCWC | | | 14 | TABLE ACCESS FULL | TT_TERM_HIST | 9007K| 77M| 3257 (1)| 00:00:40 | Q1,01 | PCWP | | | 15 | TABLE ACCESS BY INDEX ROWID | TT_TERM | 1 | 17 | 3 (0)| 00:00:01 | | | | |* 16 | INDEX UNIQUE SCAN | IRTERM_PK | 1 | | 2 (0)| 00:00:01 | | | | ---------------------------------------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 4 - access("HIST"."DEAL_NUM"="DEAL_NUM") 10 - access(SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7FC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7MC' OR SUBSTR("LOCAL_BANKING_SYSTEM19",1,5)='FT7TM') 16 - access("TT"."DEAL_NUM"=:B1)
The Pb, I train of CARS with 2 nodes. DB version details are as follows:
SQL> select banner from v$version; Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production CORE 11.2.0.4.0 Production TNS for Linux: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production
Please let know us your opinion on how to optimize the query. Please let me know in case you need other inputs.
Hello
"The update statement is supposed to update the lines ~ 7 M." "Total number of lines are ~ 9 M."
Could specify total number by each table? It makes sense to use "hash join" to join table?
Try to replace 'in' also exists.You can try to update the join, it might help to exclude a single step to join as:
UPDATE ( SELECT HIST.LOCAL_BANKING_SYSTEM19 OLD_VAL , TT.LOCAL_BANKING_SYSTEM19 NEW_VAL FROM TT_TERM_HIST HIST, TT_TERM TT WHERE TT.DEAL_NUM = HIST.DEAL_NUM AND SUBSTR (LOCAL_BANKING_SYSTEM19, 1, 5) IN ('FT7FC', 'FT7MC', 'FT7TM') ) SET OLD_VAL = NEW_VAL ;
! WARNING! It is just not tested sample.
WBR,
-
Hi all
I just did a clean install of 10 OPA on a Windows 7 x 64 with Office 2007 Enterprise, all seamed clean and functional, but when I want to add an Excel file for the OPM rules, there is an error like "This Exception was thrown by the target of a call"... no idea on how can I make it work? The same happens on a Vista computer.
Kind regards
Caesarthe solution that worked for me:
the control panel to change the regional and language options - regional options - standard formats: English (US) -
Need help in the optimization of the query with the Group and joins by clause
I'm having the problem by running the following query... It takes a lot of time. To simplify, I added the two tables FILE_STATUS = stores the file load details and COMM table Board table job showing records treated successfully and which was communicated to the other system real. Records with status = T is trasnmitted to another system and traansactions with P is waiting.
Here's the query I wrote to give me the details of the file that has been loaded into the system. He reads the table of State and the commission files to display the name of the file, total records loaded, total at the table of the commission and the number of records which has finally been passed successfully loaded (Status = T) with other systems.CREATE TABLE FILE_STATUS (FILE_ID VARCHAR2(14), FILE_NAME VARCHAR2(20), CARR_CD VARCHAR2(5), TOT_REC NUMBER, TOT_SUCC NUMBER); CREATE TABLE COMM (SRC_FILE_ID VARCHAR2(14), REC_ID NUMBER, STATUS CHAR(1)); INSERT INTO FILE_STATUS VALUES ('12345678', 'CM_LIBM.TXT', 'LIBM', 5, 4); INSERT INTO FILE_STATUS VALUES ('12345679', 'CM_HIPNT.TXT', 'HIPNT', 4, 0); INSERT INTO COMM VALUES ('12345678', 1, 'T'); INSERT INTO COMM VALUES ('12345678', 3, 'T'); INSERT INTO COMM VALUES ('12345678', 4, 'P'); INSERT INTO COMM VALUES ('12345678', 5, 'P'); COMMIT;
In production, this request has several joins and takes a long time to deal with... the main culprit for me is the join on the COMM table to count the number of number of transactions sent. Please can you give me tips to optimize this query to get results faster? What I need to delete the Group and use the partition or something else. Help, please!SELECT FS.CARR_CD ,FS.FILE_NAME ,FS.FILE_ID ,FS.TOT_REC ,FS.TOT_SUCC ,NVL(C.TOT_TRANS, 0) TOT_TRANS FROM FILE_STATUS FS LEFT JOIN ( SELECT SRC_FILE_ID, COUNT(*) TOT_TRANS FROM COMM WHERE STATUS = 'T' GROUP BY SRC_FILE_ID ) C ON C.SRC_FILE_ID = FS.FILE_ID WHERE FILE_ID = '12345678';
Don't know if it will be faster based on the information provided, but analytical functions offer an alternative approach;
select carr_cd, file_name, file_id, tot_rec, tot_succ, tot_trans from (select fs.carr_cd, fs.file_name, fs.file_id, fs.tot_rec, fs.tot_succ, count(case when c.status = 'T' then 1 else null end) over(partition by c.src_file_id) tot_trans, row_number() over(partition by c.src_file_id order by null) rn from file_status fs left join comm c on c.src_file_id = fs.file_id where file_id = '12345678') where rn = 1; CARR_CD FILE_NAME FILE_ID TOT_REC TOT_SUCC TOT_TRANS ------- -------------------- -------------- ---------- ---------- ---------- LIBM CM_LIBM.TXT 12345678 5 4 2
-
Need help on query optimization
Hi experts,
I have the following query that lasts more than 30 minutes to retrieve data. We use Oracle 11 g.
If I run the inline queries (subqueries) A and B separately, it comes in a few seconds, but when I try to join the two should we close at 1: 00 sometimes. In my case query A specific, 52 returns records and query B return 120 files only.SELECT B.serv_item_id, B.document_number, DECODE(B.activity_cd,'I','C',B.activity_cd) activity_cd, DECODE(B.activity_cd, 'N', 'New', 'I', 'Change', 'C', 'Change', 'D', 'Disconnect', B.activity_cd ) order_activity, b.due_date, A.order_due_date , A.activity_cd order_activty_cd FROM (SELECT SRSI2.serv_item_id , NVL(to_date(TO_CHAR(asap.PKG_GMT.sf_gmt_as_local(TASK2.revised_completion_date),'J'),'J'), SR2.desired_due_date) order_due_date , 'D' activity_cd FROM asap.serv_req_si SRSI2, asap.serv_req SR2, asap.task TASK2 WHERE SRSI2.document_number = 10685440 AND SRSI2.document_number = SR2.document_number AND SRSI2.document_number = TASK2.document_number (+) AND SRSI2.activity_cd = 'D' AND TASK2.task_type (+) = 'DD' ) A , (SELECT SRSI1.serv_item_id, SR1.document_number, SRSI1.activity_cd, NVL(to_date(TO_CHAR(asap.PKG_GMT.sf_gmt_as_local(TASK1.revised_completion_date),'J'),'J'), SR1.desired_due_date) due_date FROM asap.serv_req_si SRSI1, asap.serv_req SR1, asap.task TASK1, asap.serv_req_si CURORD WHERE CURORD.document_number = 10685440 AND SRSI1.document_number = SR1.document_number AND SRSI1.document_number != CURORD.document_number AND SRSI1.serv_item_id = CURORD.serv_item_id AND SRSI1.document_number = TASK1.document_number (+) AND TASK1.task_type (+) = 'DD' AND SR1.type_of_sr = 'SO' AND SR1.service_request_status < 801 AND SRSI1.activity_cd IN ('I', 'C', 'N') ) B WHERE B.serv_item_id = A.serv_item_id;
For me, it looks like the failure of the optimizer to determine the amount of data, it will return for each subquery. I feel the need to fool the optimizer through workaround to get the result more quickly. But I'm not able to find a work around for this. If someone of you can give some light on it, it would be really useful.
Thank you very much
GAF
Published by: user780504 on August 7, 2012 02:16
Published by: BluShadow on August 7, 2012 10:17
addition of {noformat}{noformat} tags for readability and replace <> with != to circumvent forum issue. Please read {message:id=9360002}
Perhaps using / * + materialize * / advice? See above
Concerning
Etbin
-
Attributes in a child entity can be used as attributes in the rules to Excel
I have two attributes declared in the file properties in a child entity (dependent) - one is a base level attribute that is used as the premise of the other. When I put them in a table of Excel rules, I get an error message "entiity incompatibility" basically says that two attributes are now in the Global and the child entity. I have not declared attributes or entities on the statement page. When I try to declare the child entity, I can't enter a valid entity Type value. I use the Version OPM 10.0.1.14
Thanks for your help,Galesi,
Sorry, you will need to create an intermediary at the level of the procedure for this one (eg. "procedure is the dates of entry and exit") is not a bad idea anyway, that this test would otherwise be repeated for each row of the table. Another option is to test this condition outside the table entirely.
Allan,
Excel tables are entirely focused on the AND, and although you might it false by dividing the State into two independent lines, it won't work as expected if one of the conditions could be evaluated as unknown (ie. have no value, as opposed to false). This is because in the OPA, a row of a table should be proven false before you can use any line later.
According to the structure that you process, it might be interesting to use a table in Word (complete AND/OR is allowed) or the creation of an intermediary to represent the usable in Excel OR condition.
see you soon,
Steve.Published by: Stephen French on April 18, 2010 18:12
-
Original title: WinHlp32.exe
I have a few help Excel files regarding the functions of macro 4 I need to access.
When I click on the file I got a message saying that the help file could not be read on this version of Windows and that I go to Wicrosoft support
When I'm on the Microsoft technical support, I see a link to download the file WinHlp32.exe for Windows 7
When I click it it brings me to the Windows Genuine Advantage download page that I should run to access the WinHlp32.exe file
I download the Windows Genuine Advantage and tried to run but I got a message that this virsion of the validation tool is not taken in charge more and I need to download the latest version I can not find...
grrrrr!
I found the download file on the net and tried to run it... the result is that I got a message that this update does not apply to that computer...
Grrrr! Grrrr! Grrr!
Is my version of windows: Windows 7 family premium, version 6.1, service pack 1
The question is: how to open these old help files?
Hello
Faced with the issue only with the Excel Help files?
I suggest you try the procedure described in the link and check if it helps.
I can't open the help that was created in Windows Help format (WinHlp32.exe)
http://support.Microsoft.com/kb/917607I hope this information helps!
-
Oracle 11g - force rule-based optimizer for a SQL ID
We have a provider application and cost based works very well for tens of thousands of queries but nothing that does not work. He joined between two tables and use a select max. When the internal table contains thousands of lines, is no longer using the index and works for a very long time, impact on performance. It works fine using the rule-based optimizer.
While the seller will solve this problem, at the same time is possible to force a single specific ID of SQL to use a basic rule optimizer? This aspect must be on the sides of the database that we cannot change the query itself.
Download the map you want in a non-produits or prod environment.
Use a sql profile to apply this plan to your prod environment.
https://OraStory.WordPress.com/2015/08/11/SQL-plan-management-choices/
-
Tried most everything on the IPhone 6s battery drain because I've updated also OS 9.3.2 my battery went from Excellent too horrible will appreciate greatly any help too recti this question
Have what troubleshooting you tried? First, go to settings > farm and see what app is listed as using the highest percentage of your battery. You may have a blocked process that seeks to complete. How is - what report you? Weak signal will also cause a drain in the battery. Troubleshooting user steps include reboot, reset, restore from backup, restore to factory; tests after each stage. If you get all the way to the factory restore, make sure that you have a current backup of the phone and after the restoration, test before adding additional content to the device. This can help to rule out software problems.
Restart your iPhone, iPad or iPod touch - Apple Support
Restore your iPhone, iPad or iPod touch from a backup - Apple Support
Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod settings - Apple Support
-
How can I get the data from a range of AutoFilter in Excel?
I have a spreadsheet with a large number of lines (5000) where I want to extract data. I have opened the workbook successfully, configure an automatic filter and filtered the data to select the data corresponding to the criteria using the nodes property of the ActiveX Excel object and invoke. I now have to enter the selected data in a table for later processing, and this is where I am stuck. Help Excel online seems to suggest the creation of a Range object by using special cells with the xlCellTypeVisible type. If I Range.Count I get the right number of cells, but Range.Value2 produces a variant which contains only the first block of data (a beach filtered automatically seems to consist of several non continuous blocks). Anyone know how I can read the contents of the range in an array of strings?
Thanks in advance
Ken
IT SOLVED!
Found a calling areas of property which returns a collection of the areas of each of them continues a range object. Simply cycled through these areas using the earlier technique, build the table I want. See below
Thank you
Ken
PS I can KUDOS
-
Windows says that it should display optimization?
run the repair.lt of windows display says she needs optimization?
Hello
I suggest you to try the steps in the following Microsoft article and check if this may help.
Optimize your Visual display to make your computer easier to read:
http://Windows.Microsoft.com/en-us/Windows-XP/help/optimize-visual-display
Hope the information is useful.
-
My word and excel are all black and white like a negative
Can someone help me with my word07 and excel, all of a sudden the lack color configuration, it's like the entire screen is a negative of how it should look, its all black and white
Word:
http://answers.Microsoft.com/en-us/Office/default.aspx
Office at the above link forums
http://answers.Microsoft.com/en-us/Office/ee861096.aspx
Word Help Forums at the link above.
http://answers.Microsoft.com/en-us/Office/ee861099.aspx
Forums help Excel at the link above
They will help you with your question to Office when repost you in the Office Forums above.
See you soon.
Mick Murphy - Microsoft partner
-
problem opening excel and word
Whenever I try to open word or excel, ms office home and Student 2007 should reinstall itself first.
http://answers.Microsoft.com/en-us/Office/default.aspx
Office at the above link forums
http://answers.Microsoft.com/en-us/Office/ee861096.aspx
Word Help Forums at the link above.
http://answers.Microsoft.com/en-us/Office/ee861099.aspx
Forums help Excel at the link above
They will help you with your questions of Word/Excel when repost you in the Office Forums above.
See you soon.
Mick Murphy - Microsoft partner
-
How to reinstall the 2007 Microsoft Office Excel menu bar
I accidentally deleted the menu bar of Microsoft Office Excel 2007, how can I reinstall it
Excel:
http://answers.Microsoft.com/en-us/Office/default.aspx
Office at the above link forums
http://answers.Microsoft.com/en-us/Office/ee861099.aspx
Forums help Excel at the link above
They will help you with your questions Excel when repost you in the Office Forums above.
See you soon.
Mick Murphy - Microsoft partner
-
Hello group,
I have a macro that was written under Windows XP and run the file. When I run it on a Vista system though does not reach the web request. I don't get a choice to run Excel as an administrator. Simply, it stops running and the task manager says "does not work."
Any ideas appreciated.
Thank you
David
Excel:
http://answers.Microsoft.com/en-us/Office/default.aspx
Office at the above link forums
http://answers.Microsoft.com/en-us/Office/ee861099.aspx
Forums help Excel at the link above
They will help you with your questions Excel when repost you in the Office Forums above.
See you soon.
Mick Murphy - Microsoft partner
Maybe you are looking for
-
New lightening IPhone connection
My question is about the new apple IPhone 7 lightening connection it allows me to only connect the charger or headphones and it's very disappointing because I used to connect my old iphone 6 with charger car and at the same time listen to music from
-
Plug-ins have been disabled
-
Probably a question before, but
I don't have time to get him through the whole of the Council. I had about 15 mp4s that I put on the "rocket". They do not appear, but I thought that the "rocket" was not compatible with this format, but that confused me because I had a vision that r
-
my computer screen is coming on the side
my computer screen is always on the side tonileigh
-
ACS 5.3 Dot1x for wired / wireless
Hello community, I have a question regarding the installation of 5.3 ACS. I wired and wireless in my configuration, with Nexus 5 k and 45 k switches and customers WLC-5508. Also, we use MicroSoft AD to authenticate network access clients. My question