Cloning of general query

Are there any good guides on cloning a VM (explaining the whole process)?

There is a similar thread with the same discussion, see if it can help

How the cloning process works in the background?

Or refer following link,.

Understanding of the Clones

Tags: VMware

Similar Questions

  • L2l Tunnel between 2POIGNEES: general query on ACL sheep/crypto

    Hi all

    For the L2L tunnel between 2POIGNEES work very well, we configure normally same network to network - sheep & cryptos ACL on both ends of the SAA. My question is...

    It will work without any problem, if on one end of the ASA, the ACL sheep & crypto are combined to form the group object (to limit the ASA configs) and on the other end address net net address ACL sheep & crypto still exists (not consolidated in the Group of objects)... ? If it works, it works even if the tunnel is between ASA--> router.

    Thanks in advance

    MS

    MS, it will work if the other side does not use the same scenario of acl consolidated using groups of objects. ACLs and groups of objects are significant locally on the device.

    You can consolidate the ACLs on the ASA/PIX using TCP or UDP-groups of objects or groups of objects network and that your acl to the respective object-group, they always have the same effect as when they have been configured individually line by line.

    This works even if the tunnel is between ASA--> router

    Yes

    HTH

    Jorge

  • Query takes too long to run after clone

    Hi all

    We have a query that works well in our development environment and take about 15 seconds to run the query. When we run the same query with the same parameters in a recently cloned instance, the query takes 1200 dry run.
    Please help us on this issue.

    Thank you
    Rambaud

    Thanks for any response.
    We have solved the problem by using indicators of index.

    Thanks for the update!

  • Firewall for PC

    I have a general query related to the firewall for small LAN. We have two PC that connects to the internet via ADSL line. They want to access certain resources of the local network of the company by establishing another NIC on the PC and plug it into our local area network. Because it is a security problem what is the way more economic/make sure to do this with the use of firewall?

    Thank you

    Firewall for small business solutions are available as software or hardware (with software components). Software firewalls protect each individual PC, they are installed on. But to protect the computers in your organization, each must have a software firewall installed. It can be difficult to maintain.

    On the other hand, the hardware firewall for small business solutions protect all computers on your network. A hardware-based firewall is easier to administer, too.

    The ideal firewall for small business solutions integrate a hardware firewall with software controls in a comprehensive security solution that includes support for virtual private network (VPN), antivirus, antispam, antispyware and content filtering capabilities.

  • IP igmp snooping questioning?

    I have read these forums and noticed that many people have problems with multicast configuration. Basically, problems are bandwidth floods, no interrogator, confusing the router pim configuration...

    In addition, ive seen some promisses of technical stuff that next gen linksys switches will have #ip igmp snooping inquiringly, as cat. so I am interested if anyone can give me the answer.

    It's an interesting question for a lot of people who wouldn't be expensive switches chat for this kind of simple use.

    Kind regards

    David

    Hi David,

    You have much more options as seen in the GUI, so I though I'd put as simple network together and run you through a validation.

    But I guess you have the updated version of the switch SRW224G4P called SRW224G4P-K9-NA.

    If you have the old switch what follows is irrelevant for you.

    I implemented a simple network diagram showing my simple network topology used during my wee test;

    I chose the RV042 as my router from Layer 3 in this network.

    It was really to provide DHCP services, but shortly after that all devices have IP addresses, I removed the RV042, becauise, I noticed he was sending IP IGMP General queries.     Something that I didn't have in the next test.

    I was using a software based multicast Tester, produced by the wonderful people at Twisted Pair Solutions.  This software can send or receive multicasts to a defined group, and that correctly meets General IGMP queries. I'll call this software MCT (multicast test).

    I got the software MCT on PC C.  PC C is connected to the switch 10 port, it sends the multicasts in the switch at a rate of about 10 packages of multicast a second.

    I got the software MCT on PC PC a. is plugged into the switch port 1.  She is set to receive and count of multicasts from switch

    I got B PC connected to the switch port 2. PC B check switch statistics, but do not try to receive multicasts of 3 PC.

    I had Setup multicast snooping on VLAN 1 and mark according to the screenshot of GUI.

    Note: I had only one vlan on the switch.

    In a composite of two screenshots below, you can see that the status between the IGMP queries is enabled.

    I removed the RV042 out of the network, because I noticed in an on PC A wireshark capture, the RV042 sent General group queries.  I wanted to switch to reprise this role

    I waited a few minutes and only displays the igmp activity.

    It can be clearly seen in the screenshot below;

    • Switch series SG300 sent General queries (2 minutes) of the IP source 172.16.1.100.
    • He waited for the general query router mcast, but when none came, 60 seconds later sent it's own general request.  Fair enough, he had to assume that a router mcast can send general queries every minute.

    Statistics of the switch can be seen below, it showed.

    • B PC on the switch port that G2 was not invaded by the multicasts, in other words snooping works;
    • Port 10, PC C sends to 2962 of multicast to switch packets.
    • Port 1, PC A 2900 receives multicast switch packets
    • port 2B, PC is not part of the multicast group 234.55.66.77 and as such is not invaded by the multicasts.

    All three PCs are windows based products, and some of the multicasts emanate from these devices.

    See the interafce County property

    Port InUcastPkts InMcastPkts InBcastPkts InOctets

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

    gi1             12           9            6           3493

    247 237 6 43733 IG2

    gi3             0            0            0            0

    gi4             0            0            0            0

    gi5             0            0            0            0

    gi6             0            0            0            0

    gi7             0            0            0            0

    gi8             0            0            0            0

    gi9             0            0            0            0

    GI10 26 2962 3 850881

    gi11            0            0            0            0

    gi12            0            0            0            0

    gi13            0            0            0            0

    gi14            0            0            0            0

    gi15            0            0            0            0

    gi16            0            0            0            0

    gi17            0            0            0            0

    gi18            0            0            0            0

    gi19            0            0            0            0

    gi20            0            0            0            0

    gi21            0            0            0            0

    gi22            0            0            0            0

    gi23            0            0            0            0

    gi24            0            0            0            0

    gi25            0            0            0            0

    gi26            0            0            0            0

    gi27            0            0            0            0

    gi28            0            0            0            0

    Port OutUcastPkts OutMcastPkts OutBcastPkts OutOctets

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

    Article IG1 13 2900 9 839691

    IG2 233 9 90453 343

    gi3             0            0            0            0

    gi4             0            0            0            0

    gi5             0            0            0            0

    gi6             0            0            0            0

    gi7             0            0            0            0

    gi8             0            0            0            0

    gi9             0            0            0            0

    GI10 24 343 12 47165

    gi11            0            0            0            0

    gi12            0            0            0            0

    gi13            0            0            0            0

    gi14            0            0            0            0

    gi15            0            0            0            0

    gi16            0            0            0            0

    gi17            0            0            0            0

    gi18            0            0            0            0

    gi19            0            0            0            0

    gi20            0            0            0            0

    gi21            0            0            0            0

    gi22            0            0            0            0

    gi23            0            0            0            0

    gi24            0            0            0            0

    gi25            0            0            0            0

    gi26            0            0            0            0

    gi27            0            0            0            0

    gi28            0            0            0            0

    If I look at the groups of multicast on switch, it shows that only two ports were involved in the 234.55.66.77 multicast group.  This is the correct behavior.

    switch4cf17c #sh ip igmp snooping group

    Group VLAN Source include Ports Ports Exclude Comp.

    Address mode address

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

    1 234.55.66.77 * article IG1, gi10 v2

    1 239.255.255. *            gi1-2,gi10                                v2

    250

    Just to complete the display, here's the CLI command (highlighted) to enable the feature in the interrogator on the switch.

    [Kswitch4cf17c #sh run

    Bridge multicast filtering

    IP igmp snooping

    IP igmp snooping vlan 1

    applicant ip igmp snooping vlan 1

    interface vlan 1

    172.16.1.100 IP address 255.255.255.0

    output

    interface vlan 1

    no ip address dhcp

    output

    hostname switch4cf17c

    No complexity of passwords allow

    No server snmp Server

    The telnet server IP

    Hope this helps you and others

    Best regards, Dave

  • CEP Plugin: it notifies the C++ code html events?

    Hi all

    I'm new on CEP Plugin development architecture. I have a general query where I want to go forward according to the answer to my questions.

    (1) can I load a web page from server on CEP Plugin? (I would like to connect to my web site and need to know if I am connected or not http response).

    (2) events support CEP as a URL change on the Web page and send notifications?

    (3) provide the way to call the HTML page C++ functions? (where I'll do most of the operations and want to manage events such as when the click on html element)

    Thanks in advance,

    Hey,.

    in my opinion you need to divide CEP tampon() and extensions. The Plugin is the part of C++ using the SDK (somehow backend) and the Extension's user interface - of course you can do the same things here and there.

    (So the HTML extension can do everything you can do with HTML and JS - so, 1) and (2) actually.

    It is the CSInterface for the communication between the Extension and the Plugin, so you can send a notification HTML<->C++, pass it and make 3)

    concerning

    Patrick

  • I can't find the SQL statement in Nqqurey.log

    Hi all

    I installed OBIEE 11 g and BI APPS 7.9.6.   I've already put the loglevel = 2. When I tried overdraft at the request of physcial in Nqquery.log. I got this newspaper:

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

    Name of the book is equal to O_JA_LEDGER (PRC GAAP)

    and Fiscal Quarter is equal to 2012 Q 3

    and exercise is equal to 2012

    SQL logical query hash query:

    29 c 96099

    Set the variable LOGLEVEL = 5; SELECT "accounting". "" Name of book "saw_0 OF" Financials - GL balance sheet ' ORDER BY saw_0

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-23] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-General Query Info: []

    Repository: Stars, business line: Core, presentation: Financials - GL-balance

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER 2] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-logic ask (before shipping): []

    Separate RqList

    Sun - Ledger.Ledger name as c1 GB

    OrderBy: c1 CSA

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-50] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-the logical query hits the plan cache []

    plan

    RqList < < 680766 > > [database 0:0, 0]

    D1. C1 C1 [database 0:0, 0]

    Of the child nodes (RqJoinSpec): < < 680770 > > [database 0:0, 0]

    [RqJoinNode < < 680771 > >]

    (

    RqList < < 680774 > > [database 0:0, 9]

    1 C1 [database 0:0, 9]

    Of the child nodes (RqJoinSpec): < < 680778 > > [database 0:0, 9]

    [RqJoinNode < < 680779 > >]

    CacheTable T1377750624:515:22648:0CDDF8A8

    ) as D1

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-16] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-execution plan: []

    RqList < < 680766 > > [database 0:0, 0]

    D1. C1 C1 [database 0:0, 0]

    Of the child nodes (RqJoinSpec): < < 680770 > > [database 0:0, 0]

    [RqJoinNode < < 680771 > >]

    (

    RqList < < 680774 > > [database 0:0, 9]

    1 C1 [database 0:0, 9]

    Of the child nodes (RqJoinSpec): < < 680778 > > [database 0:0, 9]

    [RqJoinNode < < 680779 > >]

    CacheTable T1377750624:515:22648:0CDDF8A8

    ) as D1

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-20]] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-node performance: < < 680774 > >, narrow Row Count = 11, spacing of rows = 68 bytes []

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-20]] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-node performance: < < 680766 > > Projection, narrow Row Count = 11, spacing of rows = 68 bytes []

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-34]] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-query status: success []

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-29] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-physics statistical summary request: number of physical queries 1, total time 0, DB-connect time 0 (seconds) []

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-24] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-rows returned to the Client 11 []

    ]]

    [2013 08-29 T 12: 32:54.000 + 08:00] [OracleBIServerComponent] [TRACK: 5] [USER-33] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000-0000000000001458] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic]-logic summary query Stats: time 0, response time 0, 0 (seconds) compile time []

    ]]

    [2013 08-29 T 12: 35:31.000 + 08:00] [OracleBIServerComponent] [TRACK: 2] [USER-0] [] [ecid: edb4054bccf19c8a:5cea7a08:140c8514f9f: - 8000 - 000000000000149 b] [tid: 1 has 54] [requestid: 320f0001] [sessionid: 320f0000] [username: weblogic] # []

    There is no no instruction of Physics in the newspaper. Could someone help me?

    Thank you

    Tao

    Query is hitting CacheTable.

    Try to shoot any other column or clear the cache and run the query.

    If brand aid

    ~http://cool-bi.com

  • LogLevel questions

    Hi Experts,

    I put loglevel 2 but I could not able to see the physical motion, I can only see the logical request, below the output of said: -.

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-0] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic] # []

    -Query SQL, logical query hash:

    82330713

    SET VARIABLE QUERY_SRC_CD = "report"; SELECT

    s_0 0,.

    'SampleSales '. "Time '." "' PER_NAME_QTR ' s_1,.

    'SampleSales '. "" "" Revenue"." " Recipes' s_2

    OF 'SampleSales '.

    ORDER BY 1, 2 ASC NULLS LAST

    EXTRACT FIRST 65001 LINES ONLY

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-23] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-General Query Info: []

    Repository: Stars, sector of activity: SampleSales, presentation: SampleSales

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER 2] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-logic ask (before shipping): []

    RqList

    0 GB c1,

    Time.PER_NAME_QTR c2 GB,

    Recipes: [DAggr (Revenue.Revenue [Time.PER_NAME_QTR])] as c3 GB

    OrderBy: CSA c1, c2 asc NULLS LAST

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-50] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-the logical query hits the plan cache []

    plan

    RqList < < 2254 > > [database 0:0, 9]

    1 C1 [database 0:0, 9].

    2 C2 [database 0:0, 9].

    3 as c3 [database 0:0, 9]

    Of the child nodes (RqJoinSpec): < < 2262 > > [database 0:0, 1]

    [RqJoinNode < < 2263 > >]

    CacheTable T1373069226:256:153:000000000BAAEB98

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-34]] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-query status: success []

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-29] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-physics statistical summary request: number of physical queries 1, total time 0, DB-connect time 0 (seconds) []

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-24] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-rows returned to the Client 12 []

    ]]

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-33] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-logic summary query Stats: 0, time response time 0, 0 (seconds) compile time []

    ]]

    [2013-07 - 05T 17: 10:59.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-0] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic] # []

    -Query SQL, logical query hash:

    82330713

    SET VARIABLE QUERY_SRC_CD = "report"; SELECT

    s_0 0,.

    'SampleSales '. "Time '." "' PER_NAME_QTR ' s_1,.

    'SampleSales '. "" "" Revenue"." " Recipes' s_2

    OF 'SampleSales '.

    ORDER BY 1, 2 ASC NULLS LAST

    EXTRACT FIRST 65001 LINES ONLY

    ]]

    [2013-07 - 05T 17: 11:00.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-23] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-General Query Info: []

    Repository: Stars, sector of activity: SampleSales, presentation: SampleSales

    ]]

    [2013-07 - 05T 17: 11:00.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-34]] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-query status: success []

    ]]

    [2013-07 - 05T 17: 11:00.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-29] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-physics statistical summary request: number of physical queries 1, total time 0, DB-connect time 0 (seconds) []

    ]]

    [2013-07 - 05T 17: 11:00.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-24] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-rows returned to the Client 12 []

    ]]

    [2013-07 - 05T 17: 11:00.000 + 00:00] [OracleBIServerComponent] [TRACK: 2] [USER-33] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000 - 000000000000046 has] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-logic summary query Stats: time 1, response time 0, 0 (seconds) compile time []

    ]]

    Please help me out here.

    Thank you

    OHO... Ok... Then I can think about caching. Is caching enabled? Can you purge the cache of all the components and try.

    Seems your query hit Cache...

    [2013-07 - 05T 17: 09:32.000 + 00:00] [OracleBIServerComponent] [TRACK: 3] [USER-50] [] [ecid: 3f3d2d8955322f32:-46609173:13fb0d45d82:-8000-000000000000042f] [tid: ff4] [requestid: a0d000b] [sessionid: a0d0000] [username: weblogic]-the logical query hits the plan cache []

    plan

    RqList <2254>> [database 0:0, 9]

    1 C1 [database 0:0, 9].

    2 C2 [database 0:0, 9].

    3 as c3 [database 0:0, 9]

    Of the child nodes (RqJoinSpec): <2262>> [database 0:0, 1]

    [RqJoinNode <2263>>]

    CacheTable T1373069226:256:153:000000000BAAEB98

  • Same SQL different execution Plans in two different database instances.

    Hi all

    I run a different query on two instances of database. On one instance, the query takes 30 minutes and the other it takes 10 hours to complete. Data on the two instances are the same. When I generated the execution plan, on the two cases, it was different.

    OS: Redhat Linux 5
    Database version: 11.2.02 (on two instances)

    Plan on 1 Instance that takes 30 minutes.
    SELECT 
         X_REPLEN_RQST_INV_STG.BUSINESS_UNIT, 
         NVL(SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 
         INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)),'N/A') AS DOC_ID, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_ITEM, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_SCHEDULE_NUM, 
         X_REPLEN_RQST_INV_STG.INV_ITEM_ID, 
         X_REPLEN_RQST_INV_STG.PROCESS_DATE AS REPLEN_PROCESS_DT, 
         X_REPLEN_RQST_INV_STG.EXPECTED_DATE AS REPLEN_EXPECTED_DT, 
         X_REPLEN_RQST_INV_STG.REORDER_QTY AS REPLEN_REORDER_QTY, 
         X_ITEM_ATTRIB_D.REPLENISH_CLASS AS REPLEN_CLASS, 
         X_REPLEN_RQST_INV_STG.REPLEN_STATUS, 
         X_REPLEN_RQST_INV_STG.REPLENISH_TYPE AS REPLEN_TYPE, 
         X_REPLEN_RQST_INV_STG.REQ_ID, 
         X_REPLEN_RQST_INV_STG.REQ_LINE_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_SCHED_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_DISTRIB_NBR, 
         P.FIRST_PO_DISP_DT, 
         W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID
    FROM 
         X_REPLEN_RQST_INV_STG LEFT OUTER JOIN W_RQSTN_LINE_COST_F 
                   ON X_REPLEN_RQST_INV_STG.RQSTN_LN_COST_INTG_ID = W_RQSTN_LINE_COST_F.INTEGRATION_ID 
                        AND X_REPLEN_RQST_INV_STG.DATASOURCE_NUM_ID = W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_PURCH_COST_F 
                   ON W_RQSTN_LINE_COST_F.INTEGRATION_ID = W_PURCH_COST_F.REQ_DISTR_INTG_ID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = W_PURCH_COST_F.DATASOURCE_NUM_ID 
         INNER join W_PURCH_SCHEDULE_LINE_F 
                   ON W_PURCH_COST_F.PURCH_SCHEDULE_INTG_ID = W_PURCH_SCHEDULE_LINE_F.INTEGRATION_ID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_STATUS_D S1 
                   ON W_RQSTN_LINE_COST_F.APPROVAL_STATUS_WID = S1.ROW_WID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = S1.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S1.W_STATUS_CLASS 
         LEFT OUTER JOIN W_STATUS_D S2 
                   ON W_PURCH_COST_F.APPROVAL_STATUS_WID = S2.ROW_WID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = S2.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S2.W_STATUS_CLASS 
         LEFT OUTER JOIN (SELECT p1.BUSINESS_UNIT, p1.PO_ID, MIN(p1.DATETIME_DISP) AS FIRST_PO_DISP_DT
    FROM 
              X_PS_PO_DISPATCHED p1 GROUP BY p1.BUSINESS_UNIT, p1.PO_ID) P 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = P.BUSINESS_UNIT 
                        AND SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)) = 
    
    P.PO_ID      
         LEFT OUTER JOIN W_PRODUCT_D 
                   ON W_PURCH_SCHEDULE_LINE_F.PRODUCT_WID = W_PRODUCT_D.ROW_WID 
         LEFT OUTER JOIN X_ITEM_ATTRIB_D 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = X_ITEM_ATTRIB_D.BUSINESS_UNIT 
                        AND W_PRODUCT_D.PART_NUM = X_ITEM_ATTRIB_D.INV_ITEM_ID
    WHERE 
         TRIM(X_REPLEN_RQST_INV_STG.req_id) IS NOT NULL 
         AND X_REPLEN_RQST_INV_STG.replenish_type = '1' 
         AND X_REPLEN_RQST_INV_STG.replen_status = '4' 
         AND X_ITEM_ATTRIB_D.REPLENISH_CLASS = 'A' 
         AND S1.STATUS_CODE != 'X' 
         AND S2.STATUS_CODE != 'X' 
         AND P.FIRST_PO_DISP_DT IS NOT NULL
    
    Execution Plan
    ----------------------------------------------------------
    Plan hash value: 1674299164
    
    ----------------------------------------------------------------------------------------------------------------
    | Id  | Operation                            | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                     |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |*  1 |  HASH JOIN                           |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |   2 |   NESTED LOOPS                       |                         |       |       |            |          |
    |   3 |    NESTED LOOPS                      |                         |     1 |   441 | 10409   (1)| 00:03:08 |
    |   4 |     NESTED LOOPS                     |                         |     1 |   421 | 10407   (1)| 00:03:08 |
    |   5 |      NESTED LOOPS                    |                         |     1 |   388 | 10406   (1)| 00:03:08 |
    |   6 |       NESTED LOOPS                   |                         |     1 |   319 | 10405   (1)| 00:03:08 |
    |   7 |        NESTED LOOPS                  |                         |     1 |   280 | 10404   (1)| 00:03:08 |
    |*  8 |         HASH JOIN                    |                         |     1 |   220 | 10401   (1)| 00:03:08 |
    |   9 |          NESTED LOOPS                |                         |       |       |            |          |
    |  10 |           NESTED LOOPS               |                         |    16 |  2896 | 10392   (1)| 00:03:08 |
    |* 11 |            TABLE ACCESS FULL         | X_REPLEN_RQST_INV_STG   |    16 |  2432 | 10375   (1)| 00:03:07 |
    |* 12 |            INDEX UNIQUE SCAN         | W_RQST_LN_CS_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |  13 |           TABLE ACCESS BY INDEX ROWID| W_RQSTN_LINE_COST_F     |     1 |    29 |     2   (0)| 00:00:01 |
    |* 14 |          TABLE ACCESS FULL           | W_STATUS_D              |     1 |    39 |     8   (0)| 00:00:01 |
    |  15 |         TABLE ACCESS BY INDEX ROWID  | W_PURCH_COST_F          |     1 |    60 |     3   (0)| 00:00:01 |
    |* 16 |          INDEX RANGE SCAN            | W_PURCH_COST_F_M1       |     1 |       |     2   (0)| 00:00:01 |
    |* 17 |        TABLE ACCESS BY INDEX ROWID   | W_STATUS_D              |     1 |    39 |     1   (0)| 00:00:01 |
    |* 18 |         INDEX UNIQUE SCAN            | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |  19 |       TABLE ACCESS BY INDEX ROWID    | W_PURCH_SCHEDULE_LINE_F |     1 |    69 |     1   (0)| 00:00:01 |
    |* 20 |        INDEX UNIQUE SCAN             | W_PRCH_SC_LN_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |  21 |      TABLE ACCESS BY INDEX ROWID     | W_PRODUCT_D             |     1 |    33 |     1   (0)| 00:00:01 |
    |* 22 |       INDEX UNIQUE SCAN              | W_PRODUCT_D_P1          |     1 |       |     0   (0)| 00:00:01 |
    |* 23 |     INDEX RANGE SCAN                 | X_ITEM_ATTRIB_U01       |     1 |       |     1   (0)| 00:00:01 |
    |* 24 |    TABLE ACCESS BY INDEX ROWID       | X_ITEM_ATTRIB_D         |     1 |    20 |     2   (0)| 00:00:01 |
    |  25 |   VIEW                               |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |* 26 |    FILTER                            |                         |       |       |            |          |
    |  27 |     HASH GROUP BY                    |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |  28 |      TABLE ACCESS FULL               | X_PS_PO_DISPATCHED      |  1428K|    27M|  3493   (1)| 00:01:03 |
    ----------------------------------------------------------------------------------------------------------------
    On the Instance 2
    SELECT 
         X_REPLEN_RQST_INV_STG.BUSINESS_UNIT, 
         NVL(SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 
         INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)),'N/A') AS DOC_ID, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_ITEM, 
         W_PURCH_SCHEDULE_LINE_F.PURCH_SCHEDULE_NUM, 
         X_REPLEN_RQST_INV_STG.INV_ITEM_ID, 
         X_REPLEN_RQST_INV_STG.PROCESS_DATE AS REPLEN_PROCESS_DT, 
         X_REPLEN_RQST_INV_STG.EXPECTED_DATE AS REPLEN_EXPECTED_DT, 
         X_REPLEN_RQST_INV_STG.REORDER_QTY AS REPLEN_REORDER_QTY, 
         X_ITEM_ATTRIB_D.REPLENISH_CLASS AS REPLEN_CLASS, 
         X_REPLEN_RQST_INV_STG.REPLEN_STATUS, 
         X_REPLEN_RQST_INV_STG.REPLENISH_TYPE AS REPLEN_TYPE, 
         X_REPLEN_RQST_INV_STG.REQ_ID, 
         X_REPLEN_RQST_INV_STG.REQ_LINE_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_SCHED_NBR, 
         X_REPLEN_RQST_INV_STG.REQ_DISTRIB_NBR, 
         P.FIRST_PO_DISP_DT, 
         W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID
    FROM 
         X_REPLEN_RQST_INV_STG LEFT OUTER JOIN W_RQSTN_LINE_COST_F 
                   ON X_REPLEN_RQST_INV_STG.RQSTN_LN_COST_INTG_ID = W_RQSTN_LINE_COST_F.INTEGRATION_ID 
                        AND X_REPLEN_RQST_INV_STG.DATASOURCE_NUM_ID = W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_PURCH_COST_F 
                   ON W_RQSTN_LINE_COST_F.INTEGRATION_ID = W_PURCH_COST_F.REQ_DISTR_INTG_ID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = W_PURCH_COST_F.DATASOURCE_NUM_ID 
         INNER join W_PURCH_SCHEDULE_LINE_F 
                   ON W_PURCH_COST_F.PURCH_SCHEDULE_INTG_ID = W_PURCH_SCHEDULE_LINE_F.INTEGRATION_ID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = W_PURCH_SCHEDULE_LINE_F.DATASOURCE_NUM_ID 
         LEFT OUTER JOIN W_STATUS_D S1 
                   ON W_RQSTN_LINE_COST_F.APPROVAL_STATUS_WID = S1.ROW_WID 
                        AND W_RQSTN_LINE_COST_F.DATASOURCE_NUM_ID = S1.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S1.W_STATUS_CLASS 
         LEFT OUTER JOIN W_STATUS_D S2 
                   ON W_PURCH_COST_F.APPROVAL_STATUS_WID = S2.ROW_WID 
                        AND W_PURCH_COST_F.DATASOURCE_NUM_ID = S2.DATASOURCE_NUM_ID 
                        AND 'PURCH_APPROVE' = S2.W_STATUS_CLASS 
         LEFT OUTER JOIN (SELECT p1.BUSINESS_UNIT, p1.PO_ID, MIN(p1.DATETIME_DISP) AS FIRST_PO_DISP_DT
    FROM 
              X_PS_PO_DISPATCHED p1 GROUP BY p1.BUSINESS_UNIT, p1.PO_ID) P 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = P.BUSINESS_UNIT 
                        AND SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', -1, 1) - LENGTH(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM)) = 
    
    P.PO_ID      
         LEFT OUTER JOIN W_PRODUCT_D 
                   ON W_PURCH_SCHEDULE_LINE_F.PRODUCT_WID = W_PRODUCT_D.ROW_WID 
         LEFT OUTER JOIN X_ITEM_ATTRIB_D 
                   ON SUBSTR (W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, 1, INSTR(W_PURCH_SCHEDULE_LINE_F.PURCH_ORDER_NUM, '~', 1, 1)-1) = X_ITEM_ATTRIB_D.BUSINESS_UNIT 
                        AND W_PRODUCT_D.PART_NUM = X_ITEM_ATTRIB_D.INV_ITEM_ID
    WHERE 
         TRIM(X_REPLEN_RQST_INV_STG.req_id) IS NOT NULL 
         AND X_REPLEN_RQST_INV_STG.replenish_type = '1' 
         AND X_REPLEN_RQST_INV_STG.replen_status = '4' 
         AND X_ITEM_ATTRIB_D.REPLENISH_CLASS = 'A' 
         AND S1.STATUS_CODE != 'X' 
         AND S2.STATUS_CODE != 'X' 
         AND P.FIRST_PO_DISP_DT IS NOT NULL
    
    
    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                    |                         |     1 |   420 | 19630   (1)| 00:04:35 |
    |   1 |  NESTED LOOPS                       |                         |       |       |            |       |
    |   2 |   NESTED LOOPS                      |                         |     1 |   420 | 19630   (1)| 00:04:35 |
    |   3 |    NESTED LOOPS                     |                         |     1 |   400 | 19627   (1)| 00:04:35 |
    |   4 |     NESTED LOOPS                    |                         |     1 |   386 | 19626   (1)| 00:04:35 |
    |   5 |      NESTED LOOPS                   |                         |     1 |   317 | 19625   (1)| 00:04:35 |
    |   6 |       NESTED LOOPS                  |                         |     1 |   289 | 19624   (1)| 00:04:35 |
    |   7 |        NESTED LOOPS                 |                         |     1 |   229 | 19621   (1)| 00:04:35 |
    |   8 |         NESTED LOOPS                |                         |     1 |   201 | 19620   (1)| 00:04:35 |
    |   9 |          MERGE JOIN CARTESIAN       |                         |     1 |   172 | 19619   (1)| 00:04:35 |
    |  10 |           VIEW                      |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |* 11 |            FILTER                   |                         |       |       |            |       |
    |  12 |             HASH GROUP BY           |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |  13 |              TABLE ACCESS FULL      | X_PS_PO_DISPATCHED      |  1428K|    27M|  4902   (1)| 00:01:09 |
    |  14 |           BUFFER SORT               |                         |     1 |   152 | 19619   (1)| 00:04:35 |
    |* 15 |            TABLE ACCESS FULL        | X_REPLEN_RQST_INV_STG   |     1 |   152 | 14676   (1)| 00:03:26 |
    |  16 |          TABLE ACCESS BY INDEX ROWID| W_RQSTN_LINE_COST_F     |     1 |    29 |     1   (0)| 00:00:01 |
    |* 17 |           INDEX UNIQUE SCAN         | W_RQST_LN_CS_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |* 18 |         TABLE ACCESS BY INDEX ROWID | W_STATUS_D              |     1 |    28 |     1   (0)| 00:00:01 |
    |* 19 |          INDEX UNIQUE SCAN          | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |  20 |        TABLE ACCESS BY INDEX ROWID  | W_PURCH_COST_F          |     3 |   180 |     3   (0)| 00:00:01 |
    |* 21 |         INDEX RANGE SCAN            | W_PURCH_COST_F_M1       |     1 |       |     2   (0)| 00:00:01 |
    |* 22 |       TABLE ACCESS BY INDEX ROWID   | W_STATUS_D              |     1 |    28 |     1   (0)| 00:00:01 |
    |* 23 |        INDEX UNIQUE SCAN            | W_STATUS_D_P1           |     1 |       |     0   (0)| 00:00:01 |
    |* 24 |      TABLE ACCESS BY INDEX ROWID    | W_PURCH_SCHEDULE_LINE_F |     1 |    69 |     1   (0)| 00:00:01 |
    |* 25 |       INDEX UNIQUE SCAN             | W_PRCH_SC_LN_F_U1       |     1 |       |     1   (0)| 00:00:01 |
    |* 26 |     TABLE ACCESS BY INDEX ROWID     | W_PRODUCT_D             |     1 |    14 |     1   (0)| 00:00:01 |
    |* 27 |      INDEX UNIQUE SCAN              | W_PRODUCT_D_P1          |     1 |       |     0   (0)| 00:00:01 |
    |* 28 |    INDEX RANGE SCAN                 | X_ITEM_ATTRIB_U01       |     1 |       |     2   (0)| 00:00:01 |
    |* 29 |   TABLE ACCESS BY INDEX ROWID       | X_ITEM_ATTRIB_D         |     1 |    20 |     3   (0)| 00:00:01 |
    ---------------------------------------------------------------------------------------------------------------
    In the second execution plan, we can see that it uses a Cartesian product.

    Thank you.

    Oceaner wrote:
    Hi all

    I run a different query on two instances of database. On one instance, the query takes 30 minutes and the other it takes 10 hours to complete. Data on the two instances are the same. When I generated the execution plan, on the two cases, it was different.

    The most obvious difference is the subquery total inline:

    Quick plan:

    ----------------------------------------------------------------------------------------------------------------
    | Id  | Operation                            | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------------------
    |*  1 |  HASH JOIN                           |                         |     1 |   461 | 13942   (1)| 00:04:11 |
    |   2 |   NESTED LOOPS                       |                         |       |       |            |          |
    ...
    |  25 |   VIEW                               |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |* 26 |    FILTER                            |                         |       |       |            |          |
    |  27 |     HASH GROUP BY                    |                         |  1428K|    27M|  3529   (2)| 00:01:04 |
    |  28 |      TABLE ACCESS FULL               | X_PS_PO_DISPATCHED      |  1428K|    27M|  3493   (1)| 00:01:03 |
    ----------------------------------------------------------------------------------------------------------------
    

    Plan of slow

    ---------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |
    ---------------------------------------------------------------------------------------------------------------
    ...
    |   9 |          MERGE JOIN CARTESIAN       |                         |     1 |   172 | 19619   (1)| 00:04:35 |
    |  10 |           VIEW                      |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |* 11 |            FILTER                   |                         |       |       |            |          |
    |  12 |             HASH GROUP BY           |                         |     1 |    20 |  4942   (2)| 00:01:10 |
    |  13 |              TABLE ACCESS FULL      | X_PS_PO_DISPATCHED      |  1428K|    27M|  4902   (1)| 00:01:09 |
    |  14 |           BUFFER SORT               |                         |     1 |   152 | 19619   (1)| 00:04:35 |
    |* 15 |            TABLE ACCESS FULL        | X_REPLEN_RQST_INV_STG   |     1 |   152 | 14676   (1)| 00:03:26 |
    ...
    ---------------------------------------------------------------------------------------------------------------
    

    Note the value of lines given to the operation - VIEW


    One for the slow plan - that of why Oracle chose display online as a starting point for the query and used a Cartesian merge join to join to the table nearby.

    1.4Million for the fast plan - this is why Oracle has decided to visit the table set and use it as the table of the probe in a hash join.

    I think we can assume that the estimation of the single line is a big mistake. We can also assume that the two series of statistics (or possibly index definitions) on the tables two versions do not match.

    It would be useful, of course, see the comprehensive implementation plan, and preferably one from memory: (http://jonathanlewis.wordpress.com/2006/12/22/dbms_xplan-again/).

    You might notice that you outer joins are not relevant - maybe this SQL is a framework for a more general query - given that the plan shows that they have all been turned away.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • Question about path of the tilt features

    Hello

    I am a user of long date Illustrator and have a general query on the paths of the tilt...

    It's basically to do with the creation of logotypes, see below - the question is when I have a path suddenly the end points 'round tilt"of bias or stay as they were - to work around this, I have to describe the forst of path, which is fine, but did edit the post hard tilt...

    I appreciate this may be somewhat esoteric - but any advice would be greatly appreciated

    Thanks in advance

    K

    Screen shot 2012-04-11 at 5.47.43 AM.png

    Alternatively, you can make a symbol and then tilt the the symbol instance. You won't need a mesh

  • Can we use two columns AS a command

    Dear all,

    Please suggest

    I have two columns of different table and I want to make a general query selection of values in a table based on one exact string of others. Please find the following query:

    Select a.col1, b.col2
    FROM table1, table2 b
    where a.clo3 like b.col4;

    Now a.col3 values can be like "asbd %" or "qw %" or "% zx.
    where, as in b.col4 it will be asbd or qw or zx.

    Please suggest what I would do.

    Thanks in advance.
    Ankit Rana

    Hi, stone.

    Yes, you can use LIKE this way.

    Do not forget that AS is asymmetric:

    x LIKE y
    

    is usually not the same as

    y LIKE x
    

    because wildcard characters ('%' and '_') have a special meaning in the right operand, which is the expression that comes after LIKE.

    Anky rana says:
    Dear all,

    Please suggest

    I have two columns of different table and I want to make a general query selection of values in a table based on one exact string of others. Please find the following query:

    Select a.col1, b.col2
    FROM table1, table2 b
    where a.clo3 like b.col4;

    Now a.col3 values can be like "asbd %" or "qw %" or "% zx.
    where, as in b.col4 it will be asbd or qw or zx.

    So, it seems that you have to reverse the operands of TYPE:

    where   b.col4  like a.clo3;
    

    By the way, it's a matter of SQL, so a better forum for that would be the [SQL and PL/SQL forum | http://forums.oracle.com/forums/forum.jspa?forumID=75].

  • How to find the best log of SQL in the responses of the OBI?

    While I have an error by a request of the OBI in answers page, the error message in the result tab is usually not very useful, as:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005] Unresolved column: "Sales Facts Current Month"."Amount Sold (000) Current Month". (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Sales Facts Current Month"."Amount Sold (000) Current Month", "Sales Facts"."Amount Sold", Calendar."Calendar Month Desc", Calendar."Calendar Month Name", Products."Prod Category" FROM SH')}
    
    SQL Issued: SELECT "Sales Facts Current Month"."Amount Sold (000) Current Month", "Sales Facts"."Amount Sold", Calendar."Calendar Month Desc", Calendar."Calendar Month Name", Products."Prod Category" FROM SH
    I then go to the Session Monitor and click the view log. By doing so, sometimes, I got the complete sql statement. It is good and I can understand the problems. Sometimes, I have things like:
    -------------------- SQL Request:
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/sh/Learn';SELECT Times."Calendar Month Name" saw_0, Times."Calendar Month Desc" saw_1, Products."Prod Category" saw_2, Salesfacts."Amount Sold" saw_3, REPORT_SUM(saw_3 BY saw_0, saw_1), REPORT_SUM(saw_3 BY ) FROM SH WHERE (TOPN(Times."Calendar Month Id",40) <= 40) AND (Channels."Channel Desc" = 'Direct Sales') ORDER BY saw_1, saw_0, saw_2
    
    +++Administrator:13290000:1329000f:----2009/09/29 09:18:33
    -------------------- General Query Info:
    Repository: Star, Subject Area: SH, Presentation: SH
    +++Administrator:13290000:1329000f:----2009/09/29 09:18:33
    -------------------- Cache Hit on query:
    Matching Query:     SET VARIABLE QUERY_SRC_CD='Report';SELECT Times."Calendar Month Name" saw_0, Times."Calendar Month Desc" saw_1, Products."Prod Category" saw_2, Salesfacts."Amount Sold" saw_3 FROM SH WHERE (TOPN(Times."Calendar Month Id",40) <= 40) AND (Channels."Channel Desc" = 'Direct Sales') ORDER BY saw_0, saw_1, saw_2
    Created by:     Administrator
    It is not enough that the selected tables are not entirely clear on. It appears like it find OBI the sql in the cache and process the request entirely.

    Is there a way I can force return OBI demand? Is there a way to get OBI newspaper the complete sql statement? This way I can copy the SQL to SQL * more and find exactly the problem

    Thank you.

    Physical SQL is not visible because it hits the cache.
    You can:
    (1) clear RPD physical cache and run the query again.
    or
    (2) copy the SQL logic, go to web Admin - number SQL - paste the SQL logic, then just change a setting or two, so it does not hit the cache. For example, to change a filter to Jan Feb... or just add a dummy column initially as select 1 or select 'a'... .rest of sql even.

    in this way, you can avoid hitting the cache and see the sql code (at the bottom of the results - view the journal)

    Make sure that you have enabled the option to cache presentation server and define the level of logging to 4 or more to see the details.

    HTH

  • How to query and make general dashboards with BSO cubes

    Hello community,

    Does anyone have the General information on how to make dashboards and repository with bso cubes. We did some dashboards with a few cubes of aso, but we know not even how do data appear in an analysis with bso cubes. We really don't know a lot about the difference between these types of cubes. Help demo or resources would be appreciated.

    Thank you!

    Hello

    If you have managed to do with a cube ASO just do the same.

    The ASO or OSB cubes in the end are cubes...

    The different main, that's how you build your cubes as they probably contains different things with different structures.

    Remember that ASO cubic automagically total when you query it, a BSO cube does almost nothing in itself, so if you don't calculate it you have generally not all aggregates, etc.

    If you failed to get the data of your OSB the question is probably more your cube itself: there data? is it calculated? (if you are using SmartView you something?) you model right? etc.

  • Performacne Query - general

    It performs better in the below 2 SQLs
    SQL 1
    Insert into Table1
    Select col1, col2, col3 from table2
    union all
    Select col1, col2, col3 from table3
    union all
    Select col1, col2, col3 from table4
    SQL 2
    if condition 1 
    then
    
    Insert into Table1
    Select col1, col2, col3 from table2;
    
    elsif condition 2 then
    Select col1, col2, col3 from table3;
    
    elsif condition 3 then
    Select col1, col2, col3 from table4;
    
    end if;
    The two inserts data in Table1. Check the status and the insertion in the Table separately is better or insertion with UNION regardless of the State's better?

    Hello

    CP says:
    It performs better in the below 2 SQLs
    SQL 1

    Insert into Table1
    Select col1, col2, col3 from table2
    union all
    Select col1, col2, col3 from table3
    union all
    Select col1, col2, col3 from table4
    

    SQL 2

    if condition 1
    then
    
    Insert into Table1
    Select col1, col2, col3 from table2;
    
    elsif condition 2 then
    Select col1, col2, col3 from table3;
    
    elsif condition 3 then
    Select col1, col2, col3 from table4;
    
    end if;
    

    Those who aren't equivalnt.
    SQL 1 inserts data in all tables of 3 and do the same thing, no matter the conditions 1, 2 and 3.
    SQL 2 inserts data from (at least) one of these tables, depending on the conditions.

    The two inserts data in Table1.

    Both can insert data in Table1. In general, it won't have the same data.

    Check the status and the insertion in the Table separately is better or insertion with UNION regardless of the State's better?

    Usually, we say that if the method product has good results and B approach does not work, then A is better than B. If both A and B produce the same results, then we could study the performance as a tiebreaker. Once again, in the example you posted, if both approaches produce the same results, it is purely a coincidence.

    When you ask
    "that is running better?", I guess that what you are really interested is
    "one who performs better on my system with my data and my index finger? You are in a better position to answer this question that foreigners who do not have access to your system, your data, or your index. If you want to know, post your exact SQL code and execution plans. See the FAQ forum {message identifier: = 9360003}

    The UNION tends to be slow. I've seen several cases where there are possible cases of N, depnding conditions is handled by a big SQL statement (using the UNION and/or CASES and or joints), and performace has been improved by testing the conditions first, in PL/SQL and then performing 1 n much more simple SQL statements. I've also seen cases where the opposite was true, but not nearly as much.

  • Query related to cloning in shared APPL_TOP

    Hello
    I installed the e-business suite R12 (12.0.6) with shared configuration appl_top. I would like to know what I need to run preclone in the context of cloning, on which nodes. If APPL_TOP is shared between the AP & CM node.
    My configuration is: AP1, AP2 - Application layer
    CM1, CM2 - level CM
    DB, DB2 DB nodes.

    So the cloning which INST_TOP should I use? Knots of AP? or nodes of the CM?

    Thank you
    Prasad

    Prasad,

    You must run preclone on the source DB and nodes CM only, copy the database files and the application of these nodes from two sources to the lymph nodes of the target (the application, you need to copy twice because it is not shared), and then configure the nodes of the target (run postclone on all nodes).

    Kind regards
    Hussein

Maybe you are looking for