2nd request

Hey guys!

A week ago I put on the following question and no response from anyone. I left the something or was it something I said? I'm still up to a stream here and could use some of those who have done it before. I will repost here and if we need more information I'll him happily. I can't make this work, and he was ABLE to work.

Thanks in advance for any help you can provide:

March 30, 2005, 8:24 pm PST

I'm new to this thing of configration so forgive me if I ask seemingly stupid questions, but I'm in a bit of a stalemate, and I hope you people can lend a hand.

I'm trying to install and configure the router Cisco 831 Ethernet behind a Cayman existing 3546-002 Gateway broadband (provided by SBC DSL modem and gateway). The reason for the extra router is the security. It seems that someone has passed the Cayman and deposit of films on my web server that almost took down my system resources. I want the Cicso to provide the last line of defense, since Cayman can't. My problem is that I can't get my web page to view once I configured the routers. Here is my configuration:

Cayman

(1) xx.xx.xx.150 - public IP address of the side WAN provided by SBC as the IP address of the router.

(2) public IP address on the side xx.xx.xx.145 lan provided by SBC as one of the 5 IP addresses static, we are allowed to use.

(3) put firewall to clear sailing (wide open).

Cisco 831

(1) xx.xx.xx.145 address IP WAN (connection to the local network of Cayman)

Address IP LAN 2) 10.10.10.1 router Cisco

LAN IP address 3) Web Server NIC 10.10.10.2

(4) PAT settings:

10.10.10.2:3306... xx.xx.xx.145:3306<>

10.10.10.2:1433... xx.xx.xx.145:1433<--MS sql="">

10.10.10.2:21... xx.xx.xx.145:21<>

10.10.10.2:80... xx.xx.xx.145:80<>

10.10.10.2:443... xx.xx.xx.145:443<>

(5) stateful Firewall-> configured

The public IP address received a name of URL again and maybe never, because the only access to this server at this time came from another server across the country. This server uses the public IP (xx.xx.xx.145) to get access.

I am running Win2k Server with IIS. The configuration of the Web site listening on 10.10.10.2:80. Hit the local IP address, I can get the index.html page. Cannot be displayed using the public IP (xx.xx.xx.145) I get Page.

I thought it would be a simple process. I did it before with a ubr900 Cisco as the external router and a cheap Dlink as inside one without any problem. I just can't do this thing works.

Any ideas out there just what I am doing wrong?

Mike

point default gateway from the Cisco router for le.145 and you should be good to go.

expected to etre.146 instead of la.145

Tags: Cisco Security

Similar Questions

  • My password is not now working for my WN1000RP and each tip failed (2nd request)

    I tried to reset the modem, I tried the genius of NETGear on my IPAD, I tried to turn off the Extender, I tried to connect through the INternet... nothing worked. Do my usual password or admin/password by default.

    What I did was to go to a WIFI Hotspot. When I came back, instead of going to the _EXT # automatically, he now asks me my password it will not now. He has never done this before.

    I use an IPAD 2 with IOS 9. I have upgraded to IOS 9 when it first came out, so I don't think that's the problem.

    Thanks for any help.

    Lee

    Thank you

    The one who FINALLY worked (thank God) is that I have reset back my settings by default, and then started over. (I don't even have to try deleting the network profile)

    Everything worked fine now.

    Must have been that d * n IOS 9 update.

  • 2nd request - controller memory PCI for ThinkPad T500 2081-CTO OS Vista 64-bit

    Obviously the PCI memory controller driver Is not installed on my ThinkPad T500 2081-CTO OS Vista 64 bit and appears as an error when the box running Lenovo system Toolbox.

    Searching this forum I found a psot as follows BUT Jose for a laptop T-200.

    I suggest forget you turbo memory. Intel stop talking about and they have not released a driver since 2009. It is 2 years before service pack 1 has been released. I made some tests and I could never measure an improvement with an installed card. As far as I am concerned, it of just something to break and interfere with other components.,.

  • BlackBerry Smartphones 2nd REQUEST! -9530 storm - sync issue w/emails

    Hi all

    When I use on my Blackberry Destop Manager synchronization.  I noticed that the 'sync email' button is grayed.  It does allow me to choose this option.  There are other options like addressbook, Contacts, etc.  Is there something I'm missing?  I would like to be able to sync my bb with my emails - so that everything what I'm typing on my bb is in my e-mail accounts, and each time I type something on my email accounts, it appears on my bb as well.  Had a situation where I needed to access a mail I sent my email accounts on my computer and that he was not able to access it through my bb - had to wait until I got home to make it... What a waste.  The reconcile 'now' doesn't seem to work on my bb.  Can someone please?  Thnx a lot for your help.

    Iwrite05

    A quick search of the site would be turned to the top of your answer, replied here several times.

    You use a personal account from BIS. BIS do not reconcile mail and messages, accounts, contacts, calendar, notes and tasks. The button is grayed out because balance messages isn't an option on your account. Basically, the command to reconcile now does nothing, so, on your account.

    For reconciliation to complete e-mail, you will need a BES (BlackBerry Enterprise Service) account.

    On google, the choice #2 for the question "what is the difference between BIS and BES.

    http://www.BlackBerryForums.com/General-BlackBerry-discussion/38345-difference-between-BES-bis.html

  • 2nd request / is not able to register

    Wow, I am surprised that I did not get help from the Muse team on this issue. I sent this message last week. Can someone give me some ideas?

    Hello, I was a problem when I try to register a particular site muse. I get this on all my sites, one in particular.

    I opened this site, it asks if I want to recover the changes (it crashed before) I say no.

    It opens the file, I make a modification, click on save and he invites me to save it under a new name, probably because I started this site using an older version of Muse, I rename and click on save and then I get the following message is displayed:

    Adobe Muse CC has encountered an error and will now close. Please report the last actions bit that you have taken to this error to the Adobe Muse CC team. Pendants Ref or property: NestedListStyle refers to unknown UID

    Then the program hangs and I have to force quit. I guess it has something to do with a list nested Style?  But I have no idea how locate that.

    I use Muse 2014.3.2.11

    Thanks for any help anyone can give me, I'm puzzled.

    Annette

    Please send us the .muse file at [email protected] as well as a link to this topic. It contains internal damage that required investigations and repair by the dev team. If the file is larger than 20 MB, you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (if you use a service, please include your email address in the body of the message back, given that not all services to include it in the invite sharing they send.) Thank you.

  • AR aging by the account request

    Hello

    I am building a vision that should have the information of aging for all customers who have a remaining amount.


    Here I have 1 query that gives all the rights for all clients.

    Select trx_number
    ps.trx_date
    ps.due_date
    ps.invoice_currency_code
    sob.currency_code
    ps.class
    ps.amount_due_original
    , ps.amount_due_original * nvl (exchange_rate, 1) acctd_amount_due_original
    ps.amount_due_remaining
    ps.acctd_amount_due_remaining
    ps.status
    ps.cust_trx_type_id
    ps.customer_id
    ps.customer_site_use_id
    ps.customer_trx_id
    ps.cash_receipt_id
    ps.gl_date
    ps.org_id
    of gl_sets_of_books ob
    , hr_operating_units or
    ar_payment_schedules_all ps
    where sob.set_of_books_id = ou.set_of_books_id
    and ou.organization_id = ps.org_id
    and ps.status = 'OP '.
    and ps.org_id is not null
    order of ps.org_id asc, desc ps.due_date

    I added buckets and other details of the query in the form

    Select rc.customer_number
    rc2. CUSTOMER_NUMBER Brand_Cust_Number
    rc. CLIENT_NAME
    rc2. Client_name Brand_Customer_Name
    ps.trx_number
    ps.trx_date
    ps.due_date
    ps.class
    ps.status
    ps.cust_trx_type_id
    ps.customer_id
    nvl (rcta.attribute5, ps. CUSTOMER_ID) Brand_Customer_id
    ps.customer_site_use_id
    ps.customer_trx_id
    ps.cash_receipt_id
    ps.gl_date
    sob.set_of_books_id
    sob.chart_of_accounts_id
    gcc. Company of SEGMENT1
    gcc. SEGMENT2 location
    gcc. Department of SEGMENT3
    gcc. SEGMENT4 account
    gcc. Future_1 SEGMENT5
    gcc. SEGMENT6 Future_2
    gcc. SEGMENT7 Future_3
    gcc. CONCATENATED_SEGMENTS gl_cc_concat_kff
    gcc. CODE_COMBINATION_ID
    ps.invoice_currency_code invoice_currency_code
    sob.currency_code SOB_Currency_Code
    ps.amount_due_original inv_curr_amount_original
    , round (ps.amount_due_original * nvl (ps.exchange_rate, 1), sob_acctd_amount_due_original 2).
    ps. AMOUNT_DUE_REMAINING
    ps. ACCTD_AMOUNT_DUE_REMAINING sob_acctd_amount_due_REMAINING
    ps.org_id
    round(sysdate-ps.due_date) No_Of_Days
    sysdate Run_date
    as_of_date sysdate
    , (CASE WHEN round(sysdate-ps.due_date) < 0 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Current_amt
    , (CASE WHEN round(sysdate-ps.due_date) between 0 and 30 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_0_to_30
    , (CASE WHEN round(sysdate-ps.due_date) between 31 and 60 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_31_to_60
    , (CASE WHEN round(sysdate-ps.due_date) between 61 and 90 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_61_to_90
    , (CASE WHEN round(sysdate-ps.due_date) between 91 and 120 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_91_to_120
    , (CASE WHEN round(sysdate-ps.due_date) 121 to 180 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_121_to_180
    , (CASE WHEN round(sysdate-ps.due_date) > 180 THEN AMOUNT_DUE_REMAINING END) Inv_Cur_Days_180_plus
    (CASE WHEN round(sysdate-ps.due_date) < 0 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Current_amt
    (CASE WHEN round(sysdate-ps.due_date) between 0 and 30 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_0_to_30
    (CASE WHEN round(sysdate-ps.due_date) between 31 and 60 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_31_to_60
    (CASE WHEN round(sysdate-ps.due_date) between 61 and 90 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_61_to_90
    (CASE WHEN round(sysdate-ps.due_date) between 91 and 120 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_91_to_120
    (CASE WHEN round(sysdate-ps.due_date) 121 to 180 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_121_to_180
    (CASE WHEN round(sysdate-ps.due_date) > 180 THEN ACCTD_AMOUNT_DUE_REMAINING END) sob_Cur_Days_180_plus
    of gl_sets_of_books ob
    , hr_operating_units or
    ar_payment_schedules_all ps
    ra_customers rc
    ra_cust_trx_line_gl_dist_all rctlda
    gl_code_combinations_kfv gcc
    ra_customer_trx_all ATCM
    ra_customers rc2
    where sob.set_of_books_id = ou.set_of_books_id
    and ou.organization_id = ps.org_id
    and ps.status = 'OP '.
    and ps.org_id is not null
    and ps. CUSTOMER_ID = rc. CUSTOMER_ID
    and ps. CUSTOMER_TRX_ID = rctlda. CUSTOMER_TRX_ID
    and rctlda. ACCOUNT_CLASS = "REC".
    and rctlda.latest_rec_flag = 'Y '.
    and rctlda. CODE_COMBINATION_ID = gcc. CODE_COMBINATION_ID
    and ps. CUSTOMER_TRX_ID = ATCM. CUSTOMER_TRX_ID
    and gcc.segment4 in ('111100 ',' 111102 ', ' 4110000')
    and nvl (ATCM. ATTRIBUTE5, ps. CUSTOMER_ID) = rc2. CUSTOMER_ID
    and ps. CUSTOMER_ID = 14273
    order of rc.customer_name

    This query, Miss me record payments, because of this I am unable to get the appropriate customer balance.

    actually I could go out straight from request 1 but I need to restrict to certain accounts, as I wrote in the second query where clause.

    to get to what I wrote a query more identical to the second, but instead of ra_cust_gl_dist_lines_all I used ar_receivables_applications_all to get code_combintaion with money received id.

    2nd request is the perfect job and giving all the details and the amounts, but it lacks the details of payments that I said in the above.

    Coud you please tell me how get/payments/receipts, applied a request by customer, or if you have the complete query of aging.

    Thank you
    THERE

    Hello
    I have the aging AR query but with the following SYNONYM.

    AR_RECEIVABLES_TRX

    Kind regards
    Taj

  • error 0 x 81000005 on the Windows Vista backup - home

    Please help me. It is the 2nd request for the same problem. I can not get a backup on Windows Vista. Keep 0 x 81000005 error - get the message on the desk and say: low disk space. Checked the recovery drive D and available space is 0. Help me before I got a real big problem.

    Thanks in advance for your prompt response.

    David Baumgardner

    Please help me. It is the 2nd request for the same problem. I can not get a backup on Windows Vista. Keep 0 x 81000005 error - get the message on the desk and say: low disk space. Checked the recovery drive D and available space is 0. Help me before I got a real big problem.

    Thanks in advance for your prompt response.

    David Baumgardner

    You are unable to make the back because you've done your backup file in drive D: that is your recovery Partition. You are NOT supposed to do.
    Recovery partiton has a very small disk space, no time to fill up the partition.
    Read this...

    Your recovery partition D is implemented by the manufacturer of your computer in the event of serious problems in your system.
    You use it to restore your system.

    You're NOT supposed to touch it... not to add or remove anything from or to it.

    Have you been using the D drive for scheduled backups of file?
    If this is the case, you call the manufacturer of the computer, tell them the situation...

    1. ask for a set of recovery DVD to reinstall Vista, if you do not have a game made yourself.
    2. ask how to remove backup files or elements that are NOT supposed to be there.
    They created the recovery partition, they know how to take care of it.
    Let them teach how you to.
    ..................................................................................................................

    RE: d ' training is complete

    D: is the recovery Partition to your computer at the factory standards,
    and to make you recovery disks from!

    Contact * Dell * purchase DVD recovery and fixation of your recovery Partition.
    They know exactly which files have to be there and those who you
    delete!

    In the future, buy an external hard drive and back up to that.

    * Editing: Michael Murphy responded to a user with a Dell computer. **
    --
    Mick Murphy - Queensland - Australia
    Reference link:
    http://www.Vistax64.com/Vista-performance-maintenance/158580-d-drive-full.html

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Question about field API browser

    I want to use the function of net.rim.device.api.browser.field.HistoryEvent against individual members of a group of fi statements (that are called by action on a ButtonField) so that no browser history accumulates in the standard BlackBerry browser.

    The if - else statements look like this:

    If (field == IMAButton) {}
    Private site = Browser.getDefaultSession ();
    site.displayPage ('http://www.whatever.com');
    }

    The JAVADOC for HistoryEvent reads as follows:

    HistoryEvent

    public HistoryEvent(Object src,                    String url,                    int type)
    

    Constructs a new instance of HistoryEvent for the Remove of URL.

    This constructor assumes that the event is created as a result of programmatic action.

    Parameters: src - Source for this event. URL - URL to add or remove, this story.

    type: Type of event history; must be TYPE_ADD_URL or TYPE_REMOVE_URL. 

    Since: JDE 4.0.0

    _____________________________________________________________________________________

    I am just placing the code at the bottom of each of the code if/else blocks so that the URL is removed from the browser history as soon as it is created but not having luck. (Usually, I get an error complaining that the TYPE_REMOVE_URL cannot be resolved.)

    I searched the forum by using search terms of 'Historic event', "HistoryEvent" and "Clearing browser history", but it doesn't seem to be anything else.

    I tried to use the ButtonField, private, Member Browser.getDefaultSession () &
    site.displayPage as a source for the event - I'm being literal object CBC requirement?

    This is my 2nd request for help. Can anyone give me a suggestion on how to proceed?

    In response to the earlier thread that I posted, I said that it is not possible to use this feature against the standard Blackberry browser, that's why I couldn't get it to work.

  • Access through RSA SecurID w / RADIUS ASA

    Hello

    I'm trying to configure AAA to access our ASA box. I have an RSA SecurID appliance with the operation of Steel Belted Radius. I have implemented access SSH and telnet without any problem.

    However, when I try to access it via HTTP or with the ASDM, it will not authenticate. I enabled http server and added the appropriate commands, but what actually happens is when I try to log on by HTTP, it sends 2 RADIUS, 1 queries immediately after the other. So one gets accepted, 2nd gets rejected. I think it's because you cannot authenticate twice with the same token on the RSA code, so why the 2nd request is rejected. But he should not be sent 2 requests in the first place.

    This does not happen through SSH.

    I have attached a log from the flow of connection through the FW...

    Any help is greatly appreciated!

    Hello

    ASDM will not work with Server Token RSA generated passwords. Generated by the Token RSA server past are one time only use. They expire after the first use. ASDM uses Java that caches of authentication once connected at the start. For all transactions http subsequent of the ASDM, uses Java caching of authentication information when communicating with the device. Each action of ASDM to the device is a transaction independent http involving any SSL handshake, but that Java uses cached authentication information users do not have to re-enter it.

    ASDM works only if the configured authentication mechanism uses persistent passwords. Unique PASSWORD mechanisms do not work with the ASSISTANT Deputy Ministers.

    Try to test http authentication with a user account local on the Radius Server and verify the results.

    I hope this helps.

    Soumya

  • output from two different queries as a result

    Hello

    I want to run a query or a field provided that I want to see the result in 2 areas

    1st request

    SELECT ALL CANWORKORDER. WORKORDERNO, SUM (CANPTN. PTNQTY PTNQTY), MIN (CANPTN. NSO NSO) OF CANWORKORDER, CANPTN

    WHERE CANWORKORDER. PENDINGQTY > 0

    AND (CANWORKORDER. WORKORDERNO = CANPTN. WORKORDERNO) and canworkorder.pendingqty > 0

    and canptn.fgstat IS NULL

    GROUP OF CANWORKORDER. WORKORDERNO

    2nd request

    SELECT ALL CANWORKORDER. WORKORDERNO, SUM (CANPTN. PTNQTY PTNQTY), MIN (CANPTN. NSO NSO) OF CANWORKORDER, CANPTN

    WHERE CANWORKORDER. PENDINGQTY > 0

    AND (CANWORKORDER. WORKORDERNO = CANPTN. WORKORDERNO) and canworkorder.pendingqty > 0

    and canptn.fgstat IS NULL

    GROUP OF CANWORKORDER. WORKORDERNO

    How can I join both the query and get a single query output.

    1 PTNQTY, WHERE FGSTAT IS NULL

    2 PTNQTY, WHERE FGSTATUS IS NOT NULL

    Structure

    create the workorder table

    number of workorderno

    fgstatus varchar2 (1))

    create table (MNR)

    number of workorderno

    number of mrnqty)

    create table (ptn)

    number of workorderno

    number of mrnqty)

    create table status)

    number of workorderno

    number of mrnqty

    number of ptnqty

    number of processqty)

    Sandy

    Hello

    2 queries that you posted look identical to me. Probably one of them should have the condition

    and canptn.fgstat is NOT null

    It is not useful to also post the CREATE TABLE without insert statement.

    Last but not least please post results in a clearer way.

    I guess you want to have 2 different values (with fgstat NULL and FGSTAT not null in 2 different columns in the same row):

    select canworkorder.workorderno
         , sum (case when canptn.fgstat is null then canptn.ptnqty end) ptnqty_fgstat_null
         , sum (case when canptn.fgstat is not null then canptn.ptnqty end) ptnqty_fgstat_not_null
         , min (canptn.ons) ons
      from canworkorder, canptn
    where canworkorder.pendingqty > 0
       and (canworkorder.workorderno = canptn.workorderno)
       and canworkorder.pendingqty > 0
    group by canworkorder.workorderno;
    

    In case you need a different output please post some samples.

    Kind regards.

    Alberto

  • 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
    UNION

    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,
    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
    UNION

    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 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

  • Is what logic this correct?


    Hi gurus

    I need your advice to the monitoring scenario.

    Creating the table

    CREATE TABLE GROUP_TEST
    (
    GROUP_ID NUMBER (5));

    CREATE TABLE GROUP_TEST_DTL
    (
    GROUP_ID NUMBER (5),
    GROUP_TEST_DTL_ID NUMBER (5),
    DATE OF EFFECTIVE_DATE
    );

    Insertion

    INSERT INTO GROUP_TEST
    (
    100 SELECT FROM DUAL
    );

    INSERT INTO GROUP_TEST_DTL
    (
    SELECT GROUP_ID, 100, 1, 1 JANUARY 2014 "OF THE DOUBLE
    UNION ALL
    SELECT GROUP_ID 100, 2, 2 JANUARY 2014 ' FROM DUAL
    UNION ALL
    SELECT GROUP_ID, 100, 3, 3 JANUARY 2014 ' FROM DUAL
    );
    COMMIT;

    ------------------

    Query on table

    SELECT * FROM GROUP_TEST_DTL;

    The query result

    group_id group_test_dtl_id effective_date

    100                     1                             01-JAN-14

    100                     2                             02-JAN-14

    100                     3                             03-JAN-14

    Now I need the following output

    Output

    Group_id Min_effective_dt

    100 1 JANUARY 14

    I use the below 2 queries for this result.

    1st request

    SELECT GROUP_ID, MIN (EFFECTIVE_DATE)

    OF GROUP_TEST_DTL

    GROUP BY GROUP_ID;

    2nd request

    SEPARATE GROUP_ID, SELECT (SELECT MIN (EFFECTIVE_DATE) OF GROUP_TEST_DTL A

    WHERE A.GROUP_ID = B.GROUP_ID) MIN_DT

    OF GROUP_TEST_DTL B;

    --------------------------------

    My question is one that is more efficient query (I think 1st)?

    My other question is that I have my package consist of approximately 5 000 lines of code and I'm using plain effective_date in all my sliders as (select effective_date from group_test_dtl) and now my requirement has changed and the need to get/make min (effective_date) instead of plain effective_date, but in order to get the Effective_date Min, I have to use text-to-speech function Min as my 1st query and then we must consolidate all columns that exist in the select statement, but I have to change all my queries sliders, so I came to the idea of the 2nd query logic.

    Now I wonder, I did wrong and use query of query not 2nd logic 1.

    Please guide me what I need to keep my 1st query logic or the 2nd. Really appreciate your answers. Thank you

    I can tell only you should test it yourself or to consider their use quite heavy within this forum (check the difference tabibitosan/fixed, the function names...?.)

    Analytical functions Analytic Functions - the next best thing after selection according to Tom Kyte - are usually extremely efficient, despite the selection somehow inevitable within the selection because they run last (just before the order by clause).

    Concerning

    Etbin

  • To validate a snapshot which option I choose.

    Dear team,

    I have two snapshot, but only want to engage 2nd snapshot, which option I need to select 'Remove' 'Goto', please find the snap.

    snapshot.png

    2nd request: my concern is to engage second validation then only second snapshot snapshot snapshot 1 or directly on the flat disc.

    concerning

    Mr. VMware

    "Delete" running for a single shot will merge its content to its direct parent, who may be the basic disk or another cliché. "Remove all" will merge the data of all existing snapshots in the basic disk. ESXi 4.0 Update 2 before it could consume a considerable amount of disk space depending on the number of snapshots and their sizes.

    André

  • How to set up a query.

    Hi all

    I'm using Oracle 11 g R2 and I on one of my query performance problems.

    I have the following query that takes about 3 seconds (which is fine for me) where I spend as a parameter for example TOTO and AUNTIE but it takes several minutes when I go to settings, other things (see the execution below plan).

    I thought then it was question of data (data bank) so I created a histogram on the colunm DVC_EVT_TYPE_CD but it did not help: exec dbms_stats.gather_table_stats ('CISADM', 'D1_DVC_EVT', method_opt = > 'for all columns size skewonly').

    All tips to improve the second query (which takes more than a minute) would be appreciated.

    Thank you.

    1st REQUEST :

    SELECT / * + TEST_GSM * / ERO. DVC_EVT_ID, D1_DVC_EVT E.DVC_EVT_DTTM

    E, D1_DVC_EVT_REL_OBJ RTO WHERE RTO. MAINT_OBJ_CD = "D1-DEVICE" AND

    ERO. PK_VALUE1 = '227517483687' AND ERO. DVC_EVT_ID = E.DVC_EVT_ID AND

    E.DVC_EVT_TYPE_CD IN (' END-GSMLOWLEVEL-EXCP-SEV-1', ')

    "STR-GSMLOWLEVEL-EXCP-SEV-1") AND ROWNUM < = ORDER BY E.DVC_EVT_DTTM 51.

    DESC;

    Hash value of plan: 3392374516

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    | ID | Operation | Name | Begins | E - lines. E - bytes | Cost (% CPU). Pstart. Pstop | A - lines.   A - time | Pads | Bed |  OMem |  1Mem | Used Mem.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |            |      1.        |       |    58 (100) |    |          |     51. 00:00:03.27 |     764.    501.       |       |          |

    |   1.  SORT ORDER BY |            |      1.     51.  4590 |    58 (2) |    |          |     51. 00:00:03.27 |     764.    501.  4096 |  4096 | 4096 (0) |

    |*  2 |   COUNT STOPKEY |            |      1.        |       |            |    |          |     51. 00:00:03.27 |     764.    501.       |       |          |

    |   3.    NESTED LOOPS |            |      1.        |       |            |    |          |     51. 00:00:03.27 |     764.    501.       |       |          |

    |   4.     NESTED LOOPS |            |      1.     52.  4680 |    57 (0) |    |          |    248. 00:00:01.55 |     504.    273.       |       |          |

    |*  5 |      INDEX RANGE SCAN | TEST1 |      1.   7107 |   284K |     4 (0) |    |          |    248. 00:00:00.03 |       6.      6.       |       |          |

    |   6.      RANGE OF PARTITION ITERATOR.            |    248.      1.       |     1 (0) |   KEY |   KEY |    248. 00:00:01.52 |     498.    267.       |       |          |

    |*  7 |       INDEX UNIQUE SCAN | D1T400P0 |    248.      1.       |     1 (0) |   KEY |   KEY |    248. 00:00:01.51 |     498.    267.       |       |          |

    |*  8 |     TABLE ACCESS BY INDEX ROWID | D1_DVC_EVT |    248.      1.    49.     2 (0) | ROWID | ROWID |     51. 00:00:01.71 |     260.    228.       |       |          |

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - filter(ROWNUM<=51)

    5 - access("ERO".") MAINT_OBJ_CD '= 'D1-DEVICE' AND 'ERO'." PK_VALUE1 "=" 127785269680")

    7 - access("ERO".") DVC_EVT_ID '=' E '. ("' DVC_EVT_ID")

    8 filter (("E". "DVC_EVT_TYPE_CD"= "END-GSMLOWLEVEL-EXCP-SEV-1" OR "E" " DVC_EVT_TYPE_CD "=" STR-GSMLOWLEVEL-EXCP-SEV-1'))

    2ND REQUEST:

    SELECT / * + TEST_MAINS * / ERO. DVC_EVT_ID, E.DVC_EVT_DTTM OF

    D1_DVC_EVT E, D1_DVC_EVT_REL_OBJ RTO WHERE RTO. MAINT_OBJ_CD =

    "D1-DEVICE" AND ERO. PK_VALUE1 = '227517483687' AND ERO. DVC_EVT_ID =

    E.DVC_EVT_ID AND E.DVC_EVT_TYPE_CD IN (' END-POWER-EXCP-SEV-1', ')

    "STR-POWER-EXCP-SEV-1") AND ROWNUM < = 51 ORDER BY E.DVC_EVT_DTTM DESC;

    Hash value of plan: 3392374516

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    | ID | Operation | Name | Begins | E - lines. E - bytes | Cost (% CPU). Pstart. Pstop | A - lines.   A - time | Pads | Bed |  OMem |  1Mem | Used Mem.

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    |   0 | SELECT STATEMENT |            |      1.        |       |    58 (100) |    |          |     51. 00:01:04.70 |   26738 |  13604.       |       |          |

    |   1.  SORT ORDER BY |            |      1.     51.  4590 |    58 (2) |    |          |     51. 00:01:04.70 |   26738 |  13604.  4096 |  4096 | 4096 (0) |

    |*  2 |   COUNT STOPKEY |            |      1.        |       |            |    |          |     51. 00:01:04.70 |   26738 |  13604.       |       |          |

    |   3.    NESTED LOOPS |            |      1.        |       |            |    |          |     51. 00:01:04.69 |   26738 |  13604.       |       |          |

    |   4.     NESTED LOOPS |            |      1.     52.  4680 |    57 (0) |    |          |   8820 | 00:00:13.50 |   17714.   7245 |       |       |          |

    |*  5 |      INDEX RANGE SCAN | TEST1 |      1.   7107 |   284K |     4 (0) |    |          |   8820 | 00:00:00.21 |      68.     66.       |       |          |

    |   6.      RANGE OF PARTITION ITERATOR.            |   8820 |      1.       |     1 (0) |   KEY |   KEY |   8820 | 00:00:13.18 |   17646 |   7179.       |       |          |

    |*  7 |       INDEX UNIQUE SCAN | D1T400P0 |   8820 |      1.       |     1 (0) |   KEY |   KEY |   8820 | 00:00:12.97 |   17646 |   7179.       |       |          |

    |*  8 |     TABLE ACCESS BY INDEX ROWID | D1_DVC_EVT |   8820 |      1.    49.     2 (0) | ROWID | ROWID |     51. 00:00:51.11 |    9024 |   6359.       |       |          |

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):

    ---------------------------------------------------

    2 - filter(ROWNUM<=51)

    5 - access("ERO".") MAINT_OBJ_CD '= 'D1-DEVICE' AND 'ERO'." PK_VALUE1 "=" 227517483687")

    7 - access("ERO".") DVC_EVT_ID '=' E '. ("' DVC_EVT_ID")

    8 filter (("E". "DVC_EVT_TYPE_CD"= "END-POWER-EXCP-SEV-1" OR "E" " DVC_EVT_TYPE_CD "=" STR-POWER-EXCP-SEV-1'))

    Hello

    of course, the order is important. If you have created an index on (DVC_EVT_TYPE_CD, DVC_EVT_ID) in that order, then it would have been impossible for Oracle choose this index (because of the GOLD on the main column).

    Best regards

    Nikolai

  • Lightbox Slideshow set spacing between thumbnails

    Hello

    It's actually a matter of two parts-

    1. I want to give a look of collage to my slide show, without any spacing between photos. How can I remove all space between photos.

    2. for all the thumbnails-"Mount the frame proportionally" and for all the images in the album big I want 'Fit content proportionally' so that the vertical and horizontal images are not cropped out in the Lightbox view. How can I do this for all the images together rather than go one by one.

    Thanks in advance.

    -MP

    Hi MP,.

    For your 1st request, tiles (containers that contain the images of thumb) cannot be resized individually and keep the same size for all thumbnails. For this reason, even if you can remove the spacing between thumbnails by selecting the Tile container and specifying H and V gutter in the spacing Panel 0 - if your images in the slide show are of dimensions do not match and the proportions and you have adjust the content proportionally selected as mount option, so there will be an inevitable space around the thumb images vertically or horizontally. You can work around this by using the option fill the picture proportionally.

    For your 2nd request. You can choose the appropriate option in the drop down menu for options 'New heroes' and 'new vignette"before adding new images in the slide show. The selection you make here is required for images that you add after you set this option. So the appropriate workflow would be to set up your slide show the way you want, then choose the option appropriate for the new heroes and new tile and then add your pictures to the slide show.

    If you want to control grain fine thumbnails and images, you can watch Composition Widgets that allow you to set manually and individually the size of all the content and still allow you to use the composition in the form of slideshow when publishing.

    Thank you

    Vikas

Maybe you are looking for