Performance issue with 2.5 "HDD + NAND MQ01ABD100H
Hello everyone.
I use this car for several days.
The problem is that player has lower estimate in the Windows system assessment tool then my old drive (WD500BEVT).
I run the benchmark in HDTune Pro and I get very bad result in n of the speed to the beginning of the trial. Overall performance is also much lower then I read in the comments.
Can you help me with this problem?
I am running Windows 7 64-bit teacher, all the drivers are installed, my laptop is A.c.e.r 5820TG (i5 - 450 M, 4 GB of DDR3 memory, ATi HD5650). Only a few days ago, is original and SP1.
Thans for all help.
I am attaching a link to a screenshot
http://imagizer.imageshack.us/v2/640x480q90/585/j5nl.PNG
Hello
According to the [page specifications MQ01ABDxxxH | http://storage.toshiba.eu/cms/en/hdd/solid_state_hybrid_drives/product_detail.jsp?productid=525], the HYBRID 2.5 INCH SATA DRIVE supports SATA III
For best performance, your laptop should also supports the SATA III HARD disk controller.
In the event that your laptop does not support SATA III, performance may be lower due to the limitation of HARD disk controller.
Tags: Toshiba
Similar Questions
-
Performance issue with an external HARD drive
Hi all
I wish you all a happy new year and good luck for 2008
I have a performance problem with a HARD drive: 3.5 inch USB 2.0 HDD with Alu - case. (320 GB of capacity)
The average copy files is about 470 KB/Sec.When I connect the external HARD drive to my laptop (for any USB port), I have a ToolTip message: "this device can perform faster - this USB device can be faster if you connect it to a USB 2.0 port. I can assure you, my computer laptop USB USB 2.0 port.
I conneted my drive external HARD to both PC and I have the same ToolTip message: "this device can perform faster - this USB device can be faster if you connect it to a USB 2.0 port.
Is this problem known to you?
I think the problem is in the firmware of the external HARD drive.+ Other ++ information: +.
+ OS: Windows XP Pro SP2 +.
+ USB port all tested are USB 2.0 +.
+ HARD drive divided on 4 logical drives.
+ Antivirus: Symantec. I had test with and without my antivirus. +
+ I have had this problem for 3 weeks and before that I had no problem. +Thanks in advance & best regards,
MarouaneHello
I got the same info after the connection of a digital camera.
The same message appears in the taskbar. I simply disbled this message;
In Device Manager, click the USB host controller, click the Advanced tab, and then check the box at the bottom of the window that says don't tell me about USB errors.You must do this for each USB controller listed under USB in Device Manager, so that the error message no no matter which controller is used.
I goggled for this + this device can perform faster + and got many successes. It seems that this is not a hardware problem, but simply a problem of operating system software
That s all I can suggest
-
Performance issues with large number of nodes
I am creating an application to display graphics (large), for example:
But I ran into some performance issues, even for a relatively small number of nodes in the scene graph (+-2000 in the picture above). The graph is built, step by step, adding circles and paths to a StackPane. Circles and paths can be semi-transparant. For a small number of nodes, I get a solid 60 FPS, but this decreases over time to about 5 frames per second. As soon as I stop adding new nodes, the framerate shoot again up to 60 images per second. The framerate drop even when all the nodes are outside the viewport.
My questions are:
* Is Platform.runLater () call to 2000 times a minute too?
* This might just be a problem with my graphics card? (I have an Intel HD Graphics 3000)
* JavaFX pulse recorder says such things, are there meaningful information in that I'm missing?PULSE: 1287 [163MS:321MS]
T14 (0 + 0ms): col of CSS
T14 (0 + 5ms): layout pass
T14 (6 + 152ms): waiting for the minutes of the previous
T14 (158 + 0ms): copy the State for graphic rendering
T12 (159 + 0ms): dirty opts calculated
T12: Path of the slow form for null
T12 (159 + 160ms): painted
T12 (319 + 2ms): Presentable.present
T12 (321 + 0ms): completed the presentation of painter
Counters:
Background image of the region used cached: 14
NGRegion renderBackgroundShape slow path: 1
Nodes displayed: 1839
Nodes visited during rendering: 1840
Kind regards
Yuri
Basically, try some optimization of performance ranging from the simple to the complex. Each of the changes below may provide you with an increase in performance. Some will probably increase performance much more that others (depending on where is the real bottleneck). I would probably start by replace the paths to the lines and reduce the number of Platform.runLater calls (as adding nodes that fall within the viewport can be difficult only).
> The framerate drop even when all the nodes are outside the viewport.
Place the nodes in the graph, which fall inside the viewport.
> Is Platform.runLater () call to 2000 times a minute too?
Yes, there is no reason to call it more than 60 times a minute when the framerate of JavaFX is capped at 60 frames per second by default.
> This might just be a problem with my graphics card? (I have an Intel HD Graphics 3000)
Yes, it's a graphics system relatively low-end. But, look at the comment of developer below - your CPU and choice of graphic primitives can also affect rendering speed.
> Adding circles and the paths to a StackPane
You don't need a StackPane to this, a group is a container easier and probably better.
> may be semi-transparant
Remove transparency * may * cause acceleration.
----
You run may be:
https://JavaFX-JIRA.Kenai.com/browse/RT-20405 : improve the rendering of path performance
Maybe if you use lines rather than the paths, performance might improve.
A comment by a developer on this performance tweak application is:
«It is quite normal for applications that use arbitrary paths (if the node path objects, SVGPath, polyline, or polygon) because these paths are rendered in software.» As card circle, Ellipse, line and Rectangle very primitive forms easily to the operations that can be performed entirely on the GPU, which makes them essentially cheap. There is no need to compare the rendering of a complicated shape for rendering of simple primitives for this reason. »
----
Setting the cache indicators can help, but probably only if you animate nodes.
----
Present level of detail of your graph functionality so a chart with zoom out is not make as many nodes as a part of zoomed in.
----
You run any code important calculation on the JavaFX application thread that could stall it?
Can make you available a ftom so that others can reproduce your problems?
-
Performance issues with Photoshop CS6 64-Bit
Hello-
Issue at hand: in recent weeks, I noticed significant problems with performance since the last update PS CS6 using the Adobe Application Manager, from the unexpected shut downs to bring my computer to a crawl (literally, my cursor seems to crawl on my screens). I'm curious to know if anyone knows these issues, or if there is a solution I have not yet tried. Here is a list of actions that give rise to these performance issues - there are probably more that I have not experienced due to my frustration, or were not documented as occurring several times:
- Opening files - results by hanging processes, takes 3-10 seconds to solve
- Paste from the Clipboard - results by hanging processes, takes 3-10 seconds to solve
- Saving files - takes 3-10 seconds to open the dialog box, another 3 to 10 seconds to return to the normal window (saving an image PNG compressed)
- The eyedropper tool - will crash Photoshop on the desktop, or take 5 to 15 seconds to load
- Try to navigate any menu - Photoshop crash on the office or take 5 to 15 seconds to load
Attempts I took to solve this issue, which failed:
- Uninstalled all fonts I have added since the last update (it's a pain in the *, thanks to be glitch Windows Explorer)
- Uninstall and reinstall the application
- Edition 32-bit use
- Change process priority to above normal
- Confirm the process for all available cores of the processor affinity
- Change the configuration of the performance of Photoshop options
- 61% of memory is available to Photoshop to use (8969 MB)
- History States: 20; Cache levels: 6; Tile cache size: 1024K
- Records of work: active on the production of SSD, ~ 10GB of available space
- Dedicated graphics processor is selected (2 x nVidia cards in SLI)
System information:
- Intel i7 2600 K @ 3.40 GHz
- 16 GB of RAM Dual Channel DDR3 memory
- 2 x nVidia GeForce GTS 450 cards, 1 GB each
- Windows 7 Professional 64 bit
- Adobe Creative Cloud
This problem is cost me time that I work every day, and I'm about to start looking for alternatives and cancel my subscription if I can't get this resolved.
Have you tried to restore your preferences to set the parameters of performance return to their default values and restart Photoshop? http://blogs.Adobe.com/Crawlspace/2012/07/Photoshop-basic-troubleshooting-steps-to-fix-MOS t - issues.html #Preferences
-
Performance issue with the submodels
Hello
I'm working on submodels and my requirement needs only one main calling location several specific submodels (a location may have several own submodels, e.g.: US_subtemp1, US_subtemp2, US_subtemp3... in the same way to other locations).
I would like to know is there any performance issue associated with calls in the submodels and on how this decrease in performance can be minimized.
Kind regards
ArvindUse of the submodels with components imported alongside repeated sections in the main template layout is not recommended when the number of repetitions is high and the size of the document is large. BI Publisher optimize the xsl transformation internally, but it is not applied to xsl inside models of void.
One of the extreme scenario is a main model set only a repeating section that matter a submodel of the header and the footer.
A body of the repeating section is defined in the subtemplate. In this scenario, there is no xsl optimization made and you can easily see some differences in performance.As long as you don't need to repeat the layouts of submodels, you don't need to worry about this performance issue.
Thank you
Shinji -
Performance issue with select only one option
Hello
We have performance problems with the selected component to a choice that we use on our page. As soon as I have one in the drop-down list select downwards, it displays a "BUSY" icon Here is the code of the component I have on my jsff.
Please let me know if you have any suggestions.<af:selectOneChoice id="socInterval" label="Interval" value="#{pageFlowScope.usageMB.selectUsageTrend}" autoSubmit="true"> <f:selectItem id="si023" itemLabel="Hourly" itemValue="Hourly"/> <f:selectItem id="si123" itemLabel="Daily" itemValue="Daily"/> <f:selectItem id="si112" itemLabel="Weekly" itemValue="Weekly"/> <f:selectItem id="si113" itemLabel="Monthly" itemValue="Monthly"/> <f:selectItem id="si1123" itemLabel="Yearly" itemValue="Yearly"/> </af:selectOneChoice>
Thank you and best regards,
KiranWhy meet autoSubmit = "true" for the component?
Are you doing any treatment/PPR on the same? This can cause the problem.Thank you
Nini -
Performance issues with dynamic action (PL/SQL)
Hello!
I have problems of perfomance with dynamic action that is triggered on click of a button.I have 5 drop-down lists to select the columns that users want filter, 5 drop-down lists to select an operation and 5 boxes of input values.
After that, it has a filter button that submits just the page based on the selected filters.
This part works fine, the data are filtered almost instantly.
After that, I have 3 selectors 3 boxes where users put the values they wish to update the filtered rows and column
There is a update button that calls the dynamic action (a procedure which is written below).
It should be in a straight line, the issue of performance might be the decoding section, because I need to cover the case when the user wants to set a null (@), and when it won't update the 3 columns, but less (he leaves ").
That's why P99_X_UC1 | ' = decode(' ||) P99_X_UV1 |', "«,» | P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 |')
However, when I click finally on the button update, my browser freezes and nothing happens on the table.
Can anyone help me solve this problem and improve the speed of the update?
Kind regards
Ivan
PS The procedure code is below:
create or replace
DWP PROCEDURE. PROC_UPD
(P99_X_UC1 in VARCHAR2,
P99_X_UV1 in VARCHAR2,
P99_X_UC2 in VARCHAR2,
P99_X_UV2 in VARCHAR2,
P99_X_UC3 in VARCHAR2,
P99_X_UV3 in VARCHAR2,
P99_X_COL in VARCHAR2,
P99_X_O in VARCHAR2,
P99_X_V in VARCHAR2,
P99_X_COL2 in VARCHAR2,
P99_X_O2 in VARCHAR2,
P99_X_V2 in VARCHAR2,
P99_X_COL3 in VARCHAR2,
P99_X_O3 in VARCHAR2,
P99_X_V3 in VARCHAR2,
P99_X_COL4 in VARCHAR2,
P99_X_O4 in VARCHAR2,
P99_X_V4 in VARCHAR2,
P99_X_COL5 in VARCHAR2,
P99_X_O5 in VARCHAR2,
P99_X_V5 in VARCHAR2,
P99_X_CD in VARCHAR2,
P99_X_VD in VARCHAR2
) IS
l_sql_stmt varchar2 (32600);
nom_table_p varchar2 (30): = ' DWP. IZV_SLOG_DET';
BEGIN
l_sql_stmt: = "update". nom_table_p | 'set '.
|| P99_X_UC1 | ' = decode(' ||) P99_X_UV1 |', "«,» | P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 |'),'
|| P99_X_UC2 | ' = decode(' ||) P99_X_UV2 |', "«,» | P99_X_UC2 ||',''@'',null,'|| P99_X_UV2 |'),'
|| P99_X_UC3 | ' = decode(' ||) P99_X_UV3 |', "«,» | P99_X_UC3 ||',''@'',null,'|| P99_X_UV3 |') where ' |
P99_X_COL | » '|| P99_X_O | » ' || P99_X_V | «and» |
P99_X_COL2 | » '|| P99_X_O2 | » ' || P99_X_V2 | «and» |
P99_X_COL3 | » '|| P99_X_O3 | » ' || P99_X_V3 | «and» |
P99_X_COL4 | » '|| P99_X_O4 | » ' || P99_X_V4 | «and» |
P99_X_COL5 | » '|| P99_X_O5 | » ' || P99_X_V5 | «and» |
P99_X_CD | ' = ' || P99_X_VD;
-dbms_output.put_line (l_sql_stmt);
EXECUTE IMMEDIATE l_sql_stmt;
END;
Hello Ivan,.
I don't think that the decoding is relevant performance. Perhaps the update is suspended because another transaction has changes that are uncommitted to any of the affected rows or where clause is not quite selective and has a huge amount of documents to update.
In addition - and I may be wrong, because I only have a portion of your app - the code here looks like you've got a guy here huge sql injection vulnerability. Perhaps you should consider re - write your logic in the static sql. If this is not possible, you must make sure that the entered user contains only allowed values, for example by P99_X_On white list (i.e. to ensure that they contain only values known as 'is', ')<', ...),="" and="" by="" using="" dbms_assert.enquote_name/enquote_literal="" on="" the="" other="" p99_x_nnn="">',>
Kind regards
Christian
-
Performance issues with Vista on Satellite L40 - 14N
I just signed up to your forum, it's really nice, how it works.
I bought 3 months ago, a satellite L40-14N, with Vista Home Premium pre-installed, but I'm starting to get tired of the delays.
I also have a problem, always Walker I want to open some windows, such as control panel or my computer and all my icons on the desktop disappear after some time will be displayed again, but not the application open before (Panel configuration or my computer).I wanted to ask all of you, what may be the problem, in fact I think to get rid of Vista and install XP, do you think it would be a good idea?
If so, what kind of xp (sp2, sp3, etc.)? And, what I would have in return when I install xp, as what drivers need me for my laptop works properly again?Thank you very much... good day
Hello
He knows that the Vista operating system is in need of more resources as a Microsoft OS at the beginning of s.
I have a Vista on the L30 and I get a really slow performance.
In addition many services and processes running in the background of the operating system. It also decreases performance.
But all background processes are needed if you want to use all the features of notebooks such as the FN keys or buttons to Toshiba for example.However, I've installed XP on the L30 without any additional driver for the FN keys, control buttons etc and it was amazing to see how fast the laptop can be.
So generally it s not a bad idea to install XP on the L40.
But note; If you want to install XP on the L40 you must install the Intel Matrix Storage Manager first. Without this driver SATA XP does not recognize the HARD drive.Greetings
-
Windows Vista and especially performance issue with M/B AsRock P4i45GV R5.0
4 years ago, I bought AsRock P4i45GV-M/B 5.0 R, with Intel Pentium 4 processor with 2.40 GHz, 1 MB of L2 Cache.
I have installed Windows Vista, since Intel 82845 G onbaord graphics does not support Windows Vista, I havd to installed an add - in AGP card. I installed NVIDIA GeForce FX 5500 and I also tried NVIDIA GeForce FX 5200, but my system does not at all. It's really slow.
Is this due to add - on card AGP?
I installed 2 GB of RAM, which is the maximum amount of RAM my M/B can support.
I also tried with Windows 7, but it works worse than Windows Vista on my PC.
Please, help me to boost the performance of my system. I don't want to go back to Windows XP.
The problem may be because my M/B does not support Windows Vista and higher?
Rannvijay Kapoor
The processor and the graphcis card are old and not the fastest.
Buy a new basic system of AMD (Athlon II X 2/X 3, at least 2 GB of DDR3 RAM, a mainbaord with AMD 880 G chipset (integrated graphics card), you can use the old HARD disc), it is not too expensive, but gives you a boost huge performance.
"A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/ -
Performance issue with multiple jumps of FCoE
At at - it implemented FCoE multihop on the new firmware 2.1? I moved my UCS lab he and storage performance stagnated. Here's what I have in my lab.
2 nexus 5500 s - used for LAN and FC switch
EMC CX4-120 - connected to the 5500 s Nexus 2
UCS 6120/FEX 2104 - Pre-FCoE to installation has been a port-channel 2 SAN ports in every tissue of the Nexus 5ks.
6 servers B200 M1
ESXi 5
I wired to the top a twinax addition on a fabric of interconnection to 5548 Nexus in FC fabric
I wired to the top a twinax addition on interconnection fabric Nexus 5548 FC fabric b B
Configured interfaces such as FCoE uplink in UCS
Placed the FCoE interfaces in the proper VSAN
A tissue at the same time, I have disabled port-channel SAN FC to force the vHBAs to connect to the uplink of FCoE. Didn't have any problems with this and vHBAs appeared in the table flogi to the couple of 5ks on the interface correct vfc.
Reloaded my ESXi (SAN boot) hosts and guests restarted very well using uplink of FCoE to Nexus 5ks.
When I turned on a virtual machine, it took more than 20 minutes for it to start and he was to the point where it was usable.
No drops or errors on the FCoE interfaces or the fabric of interconnections vfc and Nexus 5ks.
As soon as I have reactivated the CF port-channel SAN using 4 GB SFP modules and disable the performance of uplink FCoE was fine again.
I hope that it is something to do with the older hardware of the generation 1 6100 s and the IOM s 2100 and not a bug.
I have 2 other servers HP rack mount with CNAs Qlogic FCoE on the VMFS LUNS even without any problem.
Case ID: 624922297
The Nexus switches as well as technical support UCSM are attached.
-
Performance issue with the query when join OKS and tables of the IB
Hello
I'm developing an integration for the automation of RMA through repair. The type of repair order is based on the details of the guarantee. This check must be made for each record.
Request for detailed below, I wrote, but it of a long way and slows down my program. Without this validation, it works perfectly.
The problem is the join of tables with OKS IB, he kills performance. I also try to my side,
any suggestion or help is appreciated. Here's the query in the program:
SELECT DISTINCT (TYPE |) '-' || service | '-' || status)
IN v_war_details
FROM (SELECT TO_NUMBER (linesb.line_number) line,
DECODE
(fnd_profile. VALUE
('OKS_LINE_MIRR_NAME_OR_DESC'),
'DISPLAY_NAME', sysitems.concatenated_segments,
"DISPLAY_DESC", sysitems.description
) service.
linestyletl.NAME TYPE,
status of ststl.meaning,
start_date linesb.start_date,
linesb.end_date end_date,
oks_misc_util_web.duration_period
(linesb.start_date,
linesb.end_date
) DURATION OF,.
TimeUnit.unit_of_measure_tl period
Of okc_k_lines_b linesb,.
okc_k_lines_tl linestl,
okc_line_styles_b linestyleb,
okc_line_styles_tl linestyletl,
okc_k_headers_all_b hdr,
oks_k_lines_b slines,
okc_k_items kitems,
mtl_system_items_b1_kfv sysitems,
okc_statuses_b stsb,
okc_statuses_tl ststl,
mtl_units_of_measure_tl timeunit,
okc_lookups_v rentype,
Glu mtl_units_of_measure_tl
WHERE linesb.cle_id IS NULL
AND linesb.ID = linestl.ID
AND linestl. LANGUAGE = USERENV ("LANG")
AND linesb.lse_id = linestyleb.ID
AND linesb.lse_id (1, 12, 14, 19, 46)
AND linestyleb.ID = linestyletl.ID
AND linestyletl. LANGUAGE = USERENV ("LANG")
AND linesb.chr_id = hdr.ID
AND linesb.ID = slines.cle_id
AND linesb.ID = kitems.cle_id
AND kitems.object1_id1 =
SysItems.inventory_item_id
AND kitems.object1_id2 =
SysItems.organization_id
AND kitems.uom_code = uom.uom_code (+)
AND unit of measure. LANGUAGE (+) = USERENV ("LANG")
AND linesb.sts_code = stsb.code
AND stsb.code = ststl.code
AND ststl. LANGUAGE = USERENV ("LANG")
AND timeunit.uom_code =
oks_misc_util_web.duration_unit
(linesb.start_date,
linesb.end_date
)
AND timeunit. LANGUAGE = USERENV ("LANG")
AND linesb.line_renewal_type_code = rentype.lookup_code (+)
AND rentype.lookup_type (+) =
'OKC_LINE_RENEWAL_TYPE '.
AND (IN) hdr.ID
SELECT kh.ID
Of okc_k_headers_all_b kh.
okc_k_lines_b kl,
Ki okc_k_items,
okc_line_styles_v ks,
csi_item_instances c,
mtl_system_items_b I have
WHERE kh.org_id = p_org_id
AND c.instance_id = p_instance_id
AND c.serial_number = p_serial_num
AND i.inventory_item_id =
p_inventory_item_id
AND kh.contract_number_modifier IS NULL
-can be filled
AND kh.ID = kl.dnz_chr_id
AND kh.ID = ki.dnz_chr_id
AND kl.ID = ki.cle_id
AND kl.lse_id = ks.ID
AND IN ki.jtot_object1_code
("OKX_CUSTPROD")
AND c.last_vld_organization_id =
i.organization_id
AND TO_NUMBER (ki.object1_id1) =
c.INSTANCE_ID
AND c.inventory_item_id =
i.inventory_item_id))
Service = 'GUARANTEE '.
AND TRUNC (SYSDATE) BETWEEN start_date AND end_date;
Not sure where it would be so I put it in the section SQL/PLSQL.
Kind regards
Prashant
Found the solution
AND TO_NUMBER (ki.object1_id1) = c.instance_id
replaced by to_char (c.instance_id) = ki.object1_id1 AND
-
performance issue with the Oracle SQL query
Dears
Good evening
I am new to begin to use Oracle SQL, I have a sql query which takes longer to run in production.
Each table in the query contains 1.2 million records and DBA suggested using the "Oracle - tips. I don't have good knowledge on this subject and the difficulties to implement this advice for imrpovise performance. In the product the jobs Informatica are failed and stuck with this problem of query performance.
I ask this forum for an emergency for me to solve this problem by using "advice". kindly help me.
SELECT
CASE.ID,
CASE. DTYPE,
CASE. Version
CASE. EXTERNAL_REF,
CASE. CREATION_TS,
RQ. TYPE
Of
PAS_CASE CASE,
AS_REQUEST RQ,
CN PAS_CONTEXT
where rq.case_id = case.id
AND rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.)
and CN. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
AND CAST (CN. CREATION_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
AND
CAST (CN. CREATION_TS AS DATE) < TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)-2nd request
SELECT
RA.ID,
RHEUMATOID ARTHRITIS. Version
RHEUMATOID ARTHRITIS. REQUEST_ID,
RA.NAME,
RHEUMATOID ARTHRITIS. VALUE,
RHEUMATOID ARTHRITIS. LOB_ID,
RHEUMATOID ARTHRITIS. DTYPE,
RHEUMATOID ARTHRITIS. CREATION_TS,
TASK. MAIN_REQ_TYPE
PAS_REQUESTATTRIBUTE RA
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
) task
on the RA REQUEST_ID = task.ID
and RA.ID between $$ LOW_ID1 AND $$ HIGH_ID1
UNIONSELECT
RA.ID,
RHEUMATOID ARTHRITIS. Version
RHEUMATOID ARTHRITIS. REQUEST_ID,
RA.NAME,
RHEUMATOID ARTHRITIS. VALUE,
RHEUMATOID ARTHRITIS. LOB_ID,
RHEUMATOID ARTHRITIS. DTYPE,
RHEUMATOID ARTHRITIS. CREATION_TS,
MAIN_REQ. TYPE
PAS_REQUESTATTRIBUTE RA
Join
(
Select rq.id, rq.type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
on the RA REQUEST_ID = main_req.ID-3rd request
SELECT
RB.ID,
RB. DTYPE,
RB. Version
RB. TYPE,
RB. CREATION_TS,
RB. TASK_ID,
RB. Color
RB. GLOBAL_RESULT,
TASK. MAIN_REQ_TYPE
Of
PAS_RESULTBLOCK RB
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
) task
We rb.task_id = task.ID
and rb.ID between $$ LOW_ID1 AND $$ HIGH_ID1
and RB. TYPE is not null
and RB. TYPE IN
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
UNION
SELECT
RB.ID,
RB. DTYPE,
RB. Version
RB. TYPE,
RB. CREATION_TS,
RB. TASK_ID,
RB. Color
RB. GLOBAL_RESULT,
TASK. MAIN_REQ_TYPE
Of
PAS_RESULTBLOCK RB
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
) task
We rb.task_id = task.ID
and rb.ID between $$ LOW_ID1 AND $$ HIGH_ID1
and RB. TYPE is nullSELECT
RB.ID,
RB. DTYPE,
RB. Version
RB. TYPE,
RB. CREATION_TS,
RB. TASK_ID,
RB. Color
RB. GLOBAL_RESULT,
TASK. MAIN_REQ_TYPE
Of
PAS_RESULTBLOCK RB
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
) task
We rb.task_id = task.ID
and rb.ID between $$ LOW_ID1 AND $$ HIGH_ID1
and RB. TYPE is not null
and RB. TYPE IN
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
UNION
SELECT
RB.ID,
RB. DTYPE,
RB. Version
RB. TYPE,
RB. CREATION_TS,
RB. TASK_ID,
RB. Color
RB. GLOBAL_RESULT,
TASK. MAIN_REQ_TYPE
Of
PAS_RESULTBLOCK RB
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
) task
We rb.task_id = task.ID
and rb.ID between $$ LOW_ID1 AND $$ HIGH_ID1
and RB. TYPE is null
-4th query
SELECT
RI.ID,
UII DTYPE,
UII Version
UII RESULTBLOCK_ID,
RI.NAME,
UII VALUE,
UII UNIT,
UII Color
UII LOB_ID,
UII CREATION_TS,
UII SEQUENCE,
UII DETAILLEVEL,
RES_BLK. MAIN_REQ_TYPE
Of
RI PAS_RESULTITEM
Join
(
Select
rb.ID, rb. TYPE rb_type, task. TYPE as the task_type, task. pas_resultblock rb main_req_type
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between the 20141999999999999 AND 20141800000000000
) task
We rb.task_id = task.ID
and rb.ID between the 20141999999999999 AND 20141800000000000
and RB. TYPE IN
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
) res_blk
On ri.resultblock_id = res_blk.ID
where IN RI.NAME
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and RI.ID between the 20141999999999999 AND 20141800000000000
and RI.NAME is not null
UNIONSelect
RI.ID,
UII DTYPE,
UII Version
UII RESULTBLOCK_ID,
RI.NAME,
UII VALUE,
UII UNIT,
UII Color
UII LOB_ID,
UII CREATION_TS,
UII SEQUENCE,
UII DETAILLEVEL,
RES_BLK. MAIN_REQ_TYPE
of pas_resultitem ri
Join
(
Select
rb.ID, rb. TYPE rb_type, task. TYPE as the task_type, task. pas_resultblock rb main_req_type
Join
(
Select tsk.ID, tsk. TYPE, main_req_type main_req.
of tsk PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between the 20141999999999999 AND 20141800000000000
) task
We rb.task_id = task.ID
and rb.ID between the 20141999999999999 AND 20141800000000000
) res_blk
On ri.resultblock_id = res_blk.ID
where RI.ID between 20141800000000000 20141999999999999 AND
and RI.NAME is null-REQUEST OF 5HT
SELECT
TSK.ID,
TSK. Version
TSK. DTYPE,
TSK. CASE_ID,
TSK. TYPE,
TSK. CORRELATION_ID,
TSK. INITIATOR,
TSK. EXECUTOR,
TSK. CATEGORY,
TSK. PARENT_CONTEXT_ID,
TSK. CREATION_TS,
MAIN_REQ. MAIN_REQ_TYPE
Of
TSK PAS_REQUEST
Join
(
Select cn.id as context_id, rq. TYPE main_req_type
of PAS_REQUEST rq
Cn PAS_CONTEXT
where rq.id = cn.request_id
and rq. DTYPE = "MAINREQUEST."
and rq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and rq.ID between the 20141999999999999 AND 20141800000000000
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk. DTYPE in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.ID between $$ LOW_ID1 AND $$ HIGH_ID1
UNION
Select
MREQ.ID,
MREQ. Version
MREQ. DTYPE,
MREQ. CASE_ID,
MREQ. TYPE,
MREQ. CORRELATION_ID,
MREQ. INITIATOR,
MREQ. EXECUTOR,
MREQ. CATEGORY,
MREQ. PARENT_CONTEXT_ID,
MREQ. CREATION_TS,
MREQ. TYPE
of PAS_REQUEST mreq
Cn PAS_CONTEXT
where mreq.id = cn.request_id
and mreq. DTYPE = "MAINREQUEST."
and mreq. TYPE in
(
'bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ',' bgc.tbf.repair.vap', ' bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ',' bgc.cbm ',' bgc.dar.e2etest.preparation', ' bgc.chc.polling '.
)
and cn. STATUS ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and CAST (cn. END_TS AS DATE) > = TO_DATE ('2014-05-06 00:00:00 ',' ' YYYY-MM-DD HH24:MI:SS)
and CAST (cn. END_TS AS DATE) < = TO_DATE ('2014-05-06 23:59:59 ',' ' YYYY-MM-DD HH24:MI:SS)
and cn.ID between the 20141999999999999 AND 20141800000000000
and mreq.ID between the 20141999999999999 AND 20141800000000000
Tips will be may not be necessary (proportional to the cardinalities need)
Select pc.id, pc.dtype, pc.version, pc.external_ref, pc.creation_ts, rq.type
from pas_case
as_request rq,
CN pas_context
where rq.case_id = pc.id
and rq.id = cn.request_id
and rq.dtype = 'MAINREQUEST. '
and rq.type in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution', ' bgc.tbf.repair.vap',
'bgc.dar.e2etest ',' bgc.dar.e2etest.intermediate.execution', ' bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
and cn.status in ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and cn.creation_ts > = to_timestamp ('2014-05-06 00:00:00 ',' yyyy-mm-dd hh24:mi:ss')
and cn.creation_ts<= to_timestamp('2014-05-06="" 23:59:59.999999','yyyy-mm-dd="">=>
-2nd request
with
main_request as
(select / * + materialize * /)
CN.ID as context_id, rq.type as main_req_type
of pas_request rq
Join
CN pas_context
On rq.id = cn.request_id
and rq.dtype = 'MAINREQUEST. '
and rq.type in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution', ' bgc.chc.polling',
'bgc.tbf.repair.vap ',' bgc.dar.e2etest', ' bgc.dar.e2etest.intermediate.execution ',.
'bgc.cbm ','bgc.dar.e2etest.preparation '.
)
and cn.status in ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and cn.end_ts > = to_timestamp ('2014-05-06 00:00:00 ',' yyyy-mm-dd hh24:mi:ss')
and cn.end_ts<= to_timestamp('2014-05-06="" 23:59:59.999999','yyyy-mm-dd="">=>
and cn.id between 20141800000000000 and 20141999999999999
and rq.id between 20141800000000000 and 20141999999999999
)
Select ra.id, ra.version, ra.request_id, ra.name, ra.value, ra.lob_id, ra.dtype, ra.creation_ts, task.main_req_type
of pas_requestattribute ra
Join
(select tsk.id, tsk.type, main_req.main_req_type
from pas_request tsk
Join
main_request main_req
On tsk.parent_context_id = main_req.context_id
and tsk.dtype in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.id between $$ low_id1 and $$ high_id1
) task
We ra.request_id = task.id
and ra.id between $$ low_id1 and $$ high_id1
Union
Select ra.id, ra.version, ra.request_id, ra.name, ra.value, ra.lob_id, ra.dtype, ra.creation_ts, main_req.type
of pas_requestattribute ra
Join
main_request main_req
On ra.request_id = main_req.context_id
-3rd request
Select rb.id, rb.dtype, rb.version, rb.type, rb.creation_ts, rb.task_id, rb.color, rb.global_result, task.main_req_type
of pas_resultblock rb
Join
(select tsk.id, tsk.type, main_req.main_req_type
from pas_request tsk
Join
(select cn.id as context_id, rq.type as main_req_type
of pas_request rq
Join
CN pas_context
On rq.id = cn.request_id
and rq.dtype = 'MAINREQUEST. '
and rq.type in ('bgc.dar.vap.resolution.advice ','bgc.dar.e2etest.execution ',
'bgc.tbf.repair.vap ','bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ','bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
and cn.status in ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and cn.end_ts > = to_timestamp ('2014-05-06 00:00:00 ',' yyyy-mm-dd hh24:mi:ss')
and cn.end_ts<= to_timestamp('2014-05-06="" 23:59:59.999999','yyyy-mm-dd="">=>
and cn.id between 20141800000000000 and 20141999999999999
and rq.id between 20141800000000000 and 20141999999999999
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk.dtype in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.id between $$ low_id1 and $$ high_id1
) task
We rb.task_id = task.id
and rb.id between $$ low_id1 and $$ high_id1
where the type is null
or (type is not null
type in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution ', ' bgc.tbf.repair.vap',
'bgc.dar.e2etest ',' bgc.dar.e2etest.intermediate.execution', ' bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
)
-4th query
Select ri.id, ri.dtype, ri.version, ri.resultblock_id, ri.name, ri.value, ri.unit, ri.color, ri.lob_id.
RI.creation_ts, RI. Sequence, RI. DetailLevel, res_blk.main_req_type
of pas_resultitem ri
Join
(select rb.id, rb.type as rb_type, task.type as task_type, task.main_req_type)
of pas_resultblock rb
Join
(select main_req_type, tsk.id, tsk.type, main_req.)
from pas_request tsk
Join
(select cn.id as context_id, rq.type as main_req_type
of pas_request rq
Join
CN pas_context
On rq.id = cn.request_id
and rq.dtype = 'MAINREQUEST. '
and rq.type in ('bgc.dar.vap.resolution.advice ','bgc.dar.e2etest.execution ',
'bgc.tbf.repair.vap ','bgc.dar.e2etest ',.
'bgc.dar.e2etest.intermediate.execution ','bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
and cn.status in ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and cn.end_ts > = to_timestamp ('2014-05-06 00:00:00 ',' yyyy-mm-dd hh24:mi:ss')
and cn.end_ts<= to_timestamp('2014-05-06="" 23:59:59.999999','yyyy-mm-dd="">=>
and cn.id between 20141800000000000 and 20141999999999999
and rq.id between 20141800000000000 and 20141999999999999
) main_req
On tsk.parent_context_id = main_req.context_id
and tsk.dtype in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.id between 20141800000000000 and 20141999999999999
) task
We rb.task_id = task.id
and rb.id between 20141800000000000 and 20141999999999999
and rb.type in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution', ' bgc.tbf.repair.vap',
'bgc.dar.e2etest ',' bgc.dar.e2etest.intermediate.execution', ' bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
) res_blk
On ri.resultblock_id = res_blk.id
and ri.id between 20141800000000000 and 20141999999999999
where ri.name is null
or (ri.name is not null
and ri.name in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution', ' bgc.tbf.repair.vap',
'bgc.dar.e2etest ',' bgc.dar.e2etest.intermediate.execution', ' bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
)
-5th application
with
main_request as
(select / * + materialize * / )
mreq.ID, mreq.version, mreq.dtype, mreq.case_id, mreq.type, mreq.correlation_id, mreq. Initiator, mreq. Executor,
mreq. Category, mreq.parent_context_id, mreq.creation_ts, mreq.type
of pas_request mreq
Join
CN pas_context
On mreq.id = cn.request_id
and mreq.dtype = 'MAINREQUEST. '
and mreq.type in ('bgc.dar.vap.resolution.advice ',' bgc.dar.e2etest.execution', ' bgc.tbf.repair.vap',
'bgc.dar.e2etest ',' bgc.dar.e2etest.intermediate.execution', ' bgc.cbm ',.
'bgc.dar.e2etest.preparation ','bgc.chc.polling '.
)
and cn.status in ('FINISHED', 'CANCEL', 'TIMEOUT', 'ERROR')
and cn.end_ts > = to_timestamp ('2014-05-06 00:00:00 ',' yyyy-mm-dd hh24:mi:ss')
and cn.end_ts<= to_timestamp('2014-05-06="" 23:59:59.999999','yyyy-mm-dd="">=>
and cn.id between 20141800000000000 and 20141999999999999
and mreq.id between 20141800000000000 and 20141999999999999
)
Select tsk.id, tsk.version, tsk.dtype, tsk.case_id, tsk.type, tsk.correlation_id, tsk.initiator, tsk.executor,
TSK. Category, tsk.parent_context_id, tsk.creation_ts, main_req.main_req_type
from pas_request tsk
Join
main_request main_req
On tsk.parent_context_id = main_req.id
and tsk.dtype in ('ANALYSIS_TASK', 'DECISION_TASK')
and tsk.id between $$ low_id1 and $$ high_id1
Union
SELECT id, version, dtype, case_id, type, correlation_id, initiator, executor,
category, type parent_context_id, creation_ts
of main_request
Concerning
Etbin
-
Performance issues with Photoshop CC and iMac 5 k
I have recently bought an iMac with 5 k Retina display and photoshop CC is trolling - especially when doing any options of selective color, curves, levels, etc. I am a photographer and desperately need to Photoshop CC to run effectively. Are there options for me who don't understand resume my new iMac to the store and stick with the PC?
Many people, I think I solved the problem in 3 ways. Not sure that one was the winner then try them one at a time.
1. I upgraded to El Capitan
2. I checked (open in low resolution) within the cc Photoshop app.
3. go to preferences in Photoshop, select performance, then change the basic design mode.
-
31%
Hi there are experts,
I have a problem with the performance with a simple SQL I thought cannot be tuned but I just wanted to check with the experts here. We conduct a query to get a connected people ID based on his email from a parts table that is enormous (from Millions of records). The query takes 30 seconds to return a value. Was wondering is there any way to optimize this
The query is
{code}
Select par.party_id
on the other parties, users
where
Lower (Party.email_address) = lower(:USER_EMAIL)
and party.system_reference = to_char (users.person_id)
and users.active_flag = 'yes ';
{code}
The emails are stored upstream and downstream, so the lower functions
Creates an index of function according to the only way?
Thank you
Ryan
ryansun wrote:
Select par.party_id
on the other parties, users
where
Lower (Party.email_address) = lower(:USER_EMAIL)
and party.system_reference = to_char (users.person_id)
and users.active_flag = 'yes ';
Three problems:
- par.party_id - 'au' does not exist, must say "party". This can be the actual code because it wouldn't immediately. It would be better to copy and paste the statement SELECT real.
- Lower (Party.email_address) - you want to use an index on that column, but you can't because you apply the LOWER function to it. You need an index based on a function, namely the LOWEST or case-insensitive sorting assistance. See linguistic sorting and string search
- Party.system_reference = to_char (users.person_id) - a time what you get the party line, you will then seek the line users according to person_id. here you have another function! There is a problem with your data model: you should have a column specific person_id_reference in PARTS with a foreign key constraint, using the same data type to avoid conversions. To work around the problem, try to_number (party.system_reference) = users.person_id. It will use the index on person_id (which I assume you have).
-
Performance issues with adapter Jena
Hello
I run the following query using Jena Adapater 11.2.0.3:
I expect that this results in a single sdo_rdf_match+ query, but the log messages show that there is 1 sdo_rdf_match+ request for results of the *: g: hasNode? node * part and for each result of recoveries, another sdo_rdf_match+ query is issued.SELECT * WHERE { :g :hasNode ?node . OPTIONAL { ?node :location ?loc . } }
The master query:
Internal queries issued to look like an option:Final clause = SELECT ... FROM table(sdo_rdf_match('(<..#g> <..#hasNode> ?node)', sdo_rdf_models('model'), ...,' ALLOW_DUP=T '))
It takes like 10 seconds to run, however, with a single SEM_MATCH+ call of the SPARQL query above, it takes less than a second.Final clause = SELECT ... FROM table(sdo_rdf_match('(<..#MyNode1> <..#location> ?loc)', sdo_rdf_models('model'), ...,' ALLOW_DUP=T ')) Final clause = SELECT ... FROM table(sdo_rdf_match('(<..#MyNode2> <..#location> ?loc)', sdo_rdf_models('model'), ...,' ALLOW_DUP=T ')) (hundreds more...)
Am I missing any special installation to make it work as expected?Hello
You must use the API of attachment and set a flag 'true' to indicate the use of the virtual model.
String [] modelNames = {'model_B'};
String [] rulebaseNames = {};Piece attached attachment = Attachment.createInstance (modelNames, rulebaseNames,
InferenceMaintenanceMode.NO_UPDATE, QueryOptions.ALLOW_QUERY_VALID_AND_DUP);
Chart GraphOracleSem = new GraphOracleSem (oracle, "model_A", room attached, true);Thank you
Zhe Wu
Maybe you are looking for
-
Hello- I have an Airport Extreme that broadcasts a private and a guest to the House network. On the network, I have a Mac Mini with personal web sharing together upwards to the local network, so I can go to macmini.local to see the web site. Howeve
-
videos here r 2 I made showing what is wrong with your phones $hit... https://www.YouTube.com/watch?v=Rb8nbuu2d0I https://www.YouTube.com/watch?v=eA4-ffjnKvU&feature=youtu.be
-
Erase any of my files if I switch from XP to Vista Home Premium?
I have Windows XP and Im wondering if I install Windows Vista to Windows XP will be my files deleted because I don't want my files to be clear they are very important especially my Norton. So, I just want to know it will clear or not
-
E280 plugged into a USB port may be bad and it fried my sansa?
Hello everyone, this is perhaps my last posting! I am so sad and upset: I just plugged my V1 e280 on a friends computer using a sandisk connector cable I got free on a freebox (variable n ° 1) and plugged into the front USB port (variable n ° 2); He
-
IPS Tuning - example Windows SMTP overflow 5561
I sent recently a few IPS sensors. The sensor alarmed on GIS 5561/0 (Windows SMTP overflow). http://Tools.Cisco.com/Security/Center/viewIpsSignature.x?signatureId=5561&signatureSubId=0&softwareVersion=6.0&releaseVersion=S339 From the link, the signat