Question: two tables in a pool, load balancing, etc.

Hello

So I'm sort of confused about how it works.  I know I can put two tables that are part of the same group in the same pool, and I know I can create a volume that spans the two tables and the EQL will spread the volume also between two boxes, etc etc.

My question, I guess that is the reliability...  Have I missed something or that seems like a "RAID 0" type thing between two EQLs?  I mean, if the volume is divided between the two boxes, how can I ever do a reset on a box?   What happens if one of the EQL breaks down?  What I lose this entire volume?

What Miss me?   Or is it how it really works?

I'm kind of fear put anything in production where a failure on a device would kill everything like that.

Any explanation would be appreciated.

The button is named "restart" and launch of a failover of the MC Eve always. Yes, there is no complete reboot option or task.

Well... is the same "risk" to have a storage with multiple heads and a few shelves of extension. If storage with Betclic or groups on disc on shelves and you lose a comprehensive shelf, you're in trouble.

In theory the risk increases if you put more members to a pool, because a volume divided on 3 volume by default. But it is a softlimit and you can adjust the distribution of volume more or less members. If you have a volume that is large and 3 members cannot provide this ability, he can go 4 or more members. The largest volume spreads i never saw in all 8 members.  Spread of the volumes between the members, that's how EQL scales on.

If you do not as you turn this option off or copy your data with SyncRep option.

Kind regards

Joerg

Tags: Dell Products

Similar Questions

  • Best way to HTTP in OSB load balancing

    Hello world

    We have a cluster of OSB and we must load balance HTTP requests on managed servers. Looking for info on OSB in load balancing, I found that there are essentially two options: use a hardware load balancer or a software solution like Weblogic HttpClusterServlet. For the moment, we have without balancer material available so we will have to take the option of software. I found a few articles on the configuration of HttpClusterServlet as http://redstack.wordpress.com/2010/12/20/using-weblogic-as-a-load-balancer.
    But I have a question for this configuration. If we use a managed server as a proxy HTTP requests between OSB as managed servers, what would happen if the server goes down? I think that one of the main objectives of a cluster deployment is to avoid a single point of failure, but with this configuration, all requests depend on the availability of the managed proxy server.

    Could you recommend a configuration of implementation of OSB load balancing?

    Thank you in advance,

    Daniel.

    Load Balancing in a cluster for http requests can be made using at least 4 different ways:

    (1) - use a hardware load balancer like F5 BigIP LTM
    (2) - use a web server with the plugin from weblogic to the cluster frontend
    (3) - use weblogic with HTTPClusterServlet
    (4) - use the DNS round robin - it works if you managed servers that run on 2 machines (say mach1, mach2) but on the same port. Client HTTP use hostname "mach" to access the URL and the dns has a resolution of names alternating Mach mach 1 and mach2 IP addresses...

    All options except (1) only achieve load balancing and not automatically failover all instances... Balancing load material has the additional feature to probe [sending periodic pings to targets], by which it can detect if the target resource is alive and do not send traffic to other nodes who are alive... That's why the hardware load balancers are worth their investment...
    other options may work if the client is encoded to a retry on failure... so on 2nd or subsequent attempt, the routing is done in the machine that is alive...

    For the options (1), (2)) and (3), you also need a redundancy of the system (material of load balancer, web server or weblogic) to avoid the single point of failure for load balancing... Balancers support material are usually deployed in redundant pairs to achieve...

    Published by: atheek1 on 11/22/2011 15:31

  • ASA Vpn load balancing and failover

    Hi all.

    We have two asa5520 configured as main unit and emergency in failover configuration, and everything works fine.

    Is it possible with this configuration (switch), configure the vpn load balancing/grouping?

    Thank you

    Daniele

    Hi Daniele,

    You cannot run two of them on two firewalls ASA, VPN feature load balancing or failover functionality.

    Where you need to use the two feature, you must use more than three ASA firewall, two first ASAs will work as the failover and the ASA third will work as cluster VPN for them, the following example uses four firewalls:

    ASA1 (active FO) - ASA2 (TF Standby)

    (VPN virtual master)

    |

    |

    |

    |

    (Backup VPN device)

    ASA3 (active FO) - ASA4 (TF Standby)

    Kind regards

    Wajih

  • Planning Via Weblogic cluster for load balancing

    We evolve our 11.1.2.2 Planning application on two physical servers as described in the documentation for EPM and the Weblogic console sees the valid cluster.

    Each server is used when it is not working, but how we can demonstrate that the two servers are certainly all load balancing when you use forms, business rules, and indeed any other thing.

    JConsole is a rudimentary indicator as to load the JAVA virtual machine and looking at newspaper planning could help if you know what to look for, but I would really like to know the details of a person who has perhaps done this before or who can guide me on the relevant documentation.

    The Oracle documentation, I found so far seems to take you far and then you drops.

    We are a site of Unix and are currently using a web server HTTP Oracle

    Thank you

    You can use Enterprise manager to monitor sessions between managed servers or the monitoring tool for apache (which is essentially what SST is running).

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Cisco RV016 failover & load balance Multi WAN question

    Hello

    I think the RV016 is the camera to buy for our small building, but I'm a bit confused in the manual if my scheduled configuration is possible, so if you could confirm if this is possible I would appreciate it.

    We have a leased line as our main connection (lets call him WAN1). If this connection is not available, I don't want to load balance to any other network WAN.

    We have 2 netgear 4G devices identical (we'll call WAN 2 and 3 WAN). If the leased line is not available, I would like to then load balance these two WAN connections.

    Then I have a final connection, WAN4 as a slow adsl line. I don't know right now if I want to load balance this WAN1 or just have it as a backup to WAN2 and WAN3 failure (WAN2 and WAN3 have a 20 GB data limit each on their monthly allowance of the contract, if the leased line is down for more than a couple of days, what is unfortunately already happened) (then we reached this limit and then there is charged with extremely expensive data or just use the only ADSL)

    In any case, it's normal, I want to balance the load. I want to only load balance WAN3 and WAN2 WAN1 fails.

    Anyone know if this is possible? If not, is there any other similar device which would be appropriate?

    Thank you

    Ben

    Hi Bencarroll01,

    With RV016 you can get what you need.

    RV016 supports up to 7 WAN connection, and there are two mode of operation

    • Swing smart (Auto Mode): This option allows you to balance traffic between all interfaces increase the available bandwidth. The router balance traffic between the weighted alternating interfaces.
    • Group of IP (by users): Select this option for trafficking group on each WAN interface by levels of priority or classes of service (CoS). With this feature, you can ensure the bandwidth and a more high priority for specified services and users. All traffic that is not added to the IP group uses Intelligent balancing mode. To specify the services and users, click modify for the WAN interface and then add the entries of binding protocol for each service, IP address or IP address range.

    For our case, we must have RV016 configured with IP Group(By User), so in this case, we can configure binding protocol that we can specify and force all traffic from any IP address of the local network outside through WAN1. and any other WAN connection they always towards the TOP but not the traffic passing through them

    Now if WAN1 is down, immediately the rule to redirect traffic WAN 1 will be disabled and all traffic will pass through the rest of the WAN connection

    After that if the WAN1 is once again the binding protocol rule will be active again and again all the traffic will be done by WAN 1

    Please let me know if you have any other questions

    Please rate this post or marked as replied to help other customers of Cisco

    Greetings

    Mehdi

  • RAC load balancing question

    We have added a third node of a cluster with two nodes on 11/7. Before the addition, expenses (via the OS uptime command or above) on the two first nodes were included between 20 and 40. The first node was the more active of the two, rarely fall below 30, but on both charges were very high. These first two nodes have two dual core CPU with 16 GB of RAM, who have six cases of db on each. The third node has two quad core CPU and 16 GB of RAM. We added only the busiest db on the third node, so there is only a single instance. We have added the third node to all remote to connect DB files tnsnames, with LOAD_BALANCE = yes. For the first week, Sunday 11/7 to Sunday 11/14, most incoming connections were still nodes 1 and 2. Connections have been made to node 3, but not as much as we would like. However, since this last Sunday 11/14, the majority of the connections are nodes 2 and 3. Rarely a connection will node 1. We can connect directly on node 1 with no problems. Nothing has changed over the weekend and nothing has been restarted. Is something that takes a while to 'calibrate' load balancing? Is there something that we can check or change to give a more balanced load? We are new on the PAP, so we are puzzled as to why it happened this way. Any guidance or advice is greatly appreciated.

    You must configure at the level load balancing server-side.

    (1) register all instances in any listener by setting local_listener and remote_listener of init parameters
    (2) CLB_GOAL set of each service, to set the expected duration of connections ("SHORT" for the pools of connections or "LONG" for forms)
    (3) set the GOAL of each services, updated the workload expected (FLOW for batch) or TIME of SERVICE for web sessions

  • Load balancing question

    Hi all

    I have a question on the load balancing between several hosts of session.

    We have 6 Guest session, I created a managed with a specifik balancing application rule "Session desktop host advanced remotely. last Friday, he started a few problems, but we have not made any changes.

    the fist session host server had 71 active users and other servers were only 30.

    How is that possible?

    Do I have to put the rule on each server load balancing?

    Hello Sander,

    You must apply the rule individually for each RDSH of load balancing. Not on the managed desktop application. In our configuration, this does not work then maybe of the same counts for you.

    concerning

    Sijtze

  • Can I have load balancing for two ISP (PPPoE and PPPoA) on Cisco 897va connections

    Hello

    I have two ISP connection and I have Cisco router 897va, I want to have the load balancing for two ISP connection second connection is PPPoE connection and second is PPPOA (ATM) connection.

    It is possible to do?

    Thank you in advance.

    You can balance by TCP (the default behavior with CEF enabled) stream.  Alias a user turns off a pipe and the next user goes off the next pipe.

    Make sure that you use the nat with route map that matchers the output interface, then you just need two routes of equal cost default (a leaver each circuit).

  • PIX OSPF question load balancing

    I have a pix 515e with two default routes, via OSPF from two routers on the "outside" interface

    Route #2 is currently being preferred spending much more than the #1 router. There are thousands of destinations for traffic. These two routers are still NAT nat rfc1918 IP Internet (the pix doesn't nat)

    Can you get it someone please let me know how the PIX is load balancing? is it by destination IP address? is it something else?

    Thank you

    Joe

    TAC:

    "the PIX will be per destination load balancing instead of by package

    load balancing. The algorithm will look at the source and destination

    addresses. It is not 1:1 load balancing. Given quite different

    the source address and destination, the packets will reach more or less one

    spindle of 50-50 between the two next-hops. However, in the real world test

    with the same source and destination addresses, it may not reach the same

    load balancing. »

  • sqlloader to load two tables of the single data file in a single operation

    Oracle 11.2.0.3 SE - One

    Oracle Linux 5.6

    I don't know if I need a second set of eyes or if I am missing something.

    Problem: Given a file of text csv with header and detail records (identified by the first field in the file) use sql loader to load the header and detail of the tables in a single operation.

    The header record is to take, but the detail records are rejected by omitting the WHEN clause.

    More comments after reading through the exhibits:

    In view of these two tables:

    SQL > desc EDSTEST_HEADER

    Name                                      Null?    Type

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

    EDSTEST_HEADER_ID NOT NULL NUMBER

    REC_TYPE VARCHAR2 (10)

    SOLD_TO_ACCOUNT VARCHAR2 (50)

    SCAC_RECEIVER_ID VARCHAR2 (50)

    FORMAT_TYPE VARCHAR2 (10)

    CLIENT_NAME VARCHAR2 (100)

    CUSTOMER_PICKUP_ADDRESS VARCHAR2 (100)

    CUSTOMER_PICKUP_CITY VARCHAR2 (50)

    CUSTOMER_PICKUP_STATE VARCHAR2 (10)

    CUSTOMER_PICKUP_ZIP VARCHAR2 (50)

    INSERT_USER VARCHAR2 (50)

    DATE OF INSERT_USER_DATE

    INSERT_STATUS_CODE VARCHAR2 (10)

    SQL > desc EDSTEST_DETAIL

    Name Null?    Type

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

    EDSTEST_DETAIL_ID NOT NULL NUMBER

    NUMBER OF EDSTEST_HEADER_ID

    REC_TYPE VARCHAR2 (10)

    SHIP_TO_NAME VARCHAR2 (100)

    SHIP_TO_ADDRESS VARCHAR2 (100)

    SHIP_TO_CITY VARCHAR2 (50)

    SHIP_TO_STATE VARCHAR2 (10)

    SHIP_TO_ZIP VARCHAR2 (50)

    STATUS_OR_APPT_REASON_CD VARCHAR2 (10)

    EVENT_DESCRIPTION VARCHAR2 (50)

    SHIPMENT_STATUS_CD VARCHAR2 (10)

    SHIPMENT_EVENT_DATE VARCHAR2 (10)

    SHIPMENT_EVENT_TIME VARCHAR2 (10)

    EVENT_TIME_ZONE VARCHAR2 (30)

    EVENT_CITY VARCHAR2 (100)

    EVENT_STATE VARCHAR2 (50)

    EVENT_ZIP VARCHAR2 (50)

    CUSTOMER_CONFIRM VARCHAR2 (100)

    DELIVERY_CONFIRM VARCHAR2 (100)

    TRACKING_NUMBER VARCHAR2 (50)

    MAIL_REC_WEIGHT VARCHAR2 (20)

    MAIL_REC_WEIGHT_CD VARCHAR2 (10)

    MAIL_RED_QTY VARCHAR2 (10)

    INSERT_USER VARCHAR2 (50)

    DATE OF INSERT_USER_DATE

    INSERT_STATUS_CODE VARCHAR2 (10)

    In light of this data file:

    Oracle: mydb$ cat eds_edstest.dat

    HDR, 0005114090, MYORG, CSV, MY NAME OF THE COMPANY, 123 ELM ST, STUCKYVILLE, OH, 12345

    DTL, TOADSUCK, NC, 27999, NS, ARRIVED at the UNIT, X 4, 20140726, 063100, AND, TOADSUCK, NC,.3861, 27999, 12345, 23456 lbs, 1

    DTL, TOADSUCK, NC, 27999, lbs, 1 NS, SORTING COMPLETE, X 6, 20140726, 080000, AND TOADSUCK, NC,.3861, 27999, 12345, 23456

    DTL, TOADSUCK, NC, 27999, NS, PRONOUNCED, D1, 20140726, 121800, TOADSUCK, NC, 27999, 12345, 23456,.3861, lbs and 1

    Given this control sqlloader file:

    Oracle: mydb$ cat eds_edstest_combined.ctl

    Load

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'

    BADFILE ' / xfers/oracle/myapp/data/eds_edstest.bad'

    DISCARDFILE ' / xfers/oracle/myapp/data/eds_edstest.dsc'

    ADD

    IN THE TABLE estevens.edstest_header

    WHERE (rec_type = 'HDR')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    sold_to_account TANK,

    scac_receiver_id TANK,

    format_type TANK,

    client_name TANK,

    customer_pickup_address TANK,

    customer_pickup_city TANK,

    customer_pickup_state TANK,

    customer_pickup_zip TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    IN THE TABLE estevens.edstest_detail

    WHERE (rec_type = 'PIF')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    ship_to_name TANK,

    ship_to_address TANK,

    ship_to_city TANK,

    ship_to_state TANK,

    ship_to_zip TANK,

    status_or_appt_reason_cd TANK,

    event_description TANK,

    shipment_status_cd TANK,

    shipment_event_date TANK,

    shipment_event_time TANK,

    event_time_zone TANK,

    event_city TANK,

    Event_State TANK,

    event_zip TANK,

    customer_confirm TANK,

    delivery_confirm TANK,

    tracking_number TANK,

    mail_rec_weight TANK,

    mail_rec_weight_cd TANK,

    mail_red_qty TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    -END CONTROL FILE

    And the time of execution of transactions:

    SQL * Loader: release 11.2.0.3.0 - Production the kill Jul 29 07:50:04 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Control file: /xfers/oracle/myapp/control/eds_edstest_combined.ctl

    Data file: /xfers/oracle/myapp/data/eds_edstest.dat

    Bad leadership: /xfers/oracle/myapp/data/eds_edstest.bad

    Delete the file: /xfers/oracle/myapp/data/eds_edstest.dsc

    (Allow all releases)

    Number of loading: ALL

    Number of jump: 0

    Authorized errors: 50

    Link table: 10000 lines, maximum of 256000 bytes

    Continuation of the debate: none is specified

    Path used: classics

    Silent options: your COMMENTS

    Table ESTEVENS. EDSTEST_HEADER, loaded when REC_TYPE = 0 X 484452 (character "HDR") add the option in effect for this table: APPEND TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

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

    FIRST REC_TYPE *, O ("") CHARACTER

    SOLD_TO_ACCOUNT NEXT *, O ("") CHARACTER

    SCAC_RECEIVER_ID NEXT *, O ("") CHARACTER

    FORMAT_TYPE NEXT *, O ("") CHARACTER

    CLIENT_NAME NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_ADDRESS NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_CITY NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_STATE NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_ZIP NEXT *, O ("") CHARACTER

    INSERT_USER NEXT *, O ("") CHARACTER

    The SQL string for the column: "1."

    INSERT_USER_DATE SYSDATE

    CONSTANT INSERT_STATUS_CODE

    The value is 'I '.

    Table ESTEVENS. EDSTEST_DETAIL, loaded when REC_TYPE = 0X44544c ('PIF' character) in effect for this table insert option: APPEND TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

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

    REC_TYPE NEXT *, O ("") CHARACTER

    SHIP_TO_NAME NEXT *, O ("") CHARACTER

    SHIP_TO_ADDRESS NEXT *, O ("") CHARACTER

    SHIP_TO_CITY NEXT *, O ("") CHARACTER

    SHIP_TO_STATE NEXT *, O ("") CHARACTER

    SHIP_TO_ZIP NEXT *, O ("") CHARACTER

    STATUS_OR_APPT_REASON_CD NEXT *, O ("") CHARACTER

    EVENT_DESCRIPTION NEXT *, O ("") CHARACTER

    SHIPMENT_STATUS_CD NEXT *, O ("") CHARACTER

    SHIPMENT_EVENT_DATE NEXT *, O ("") CHARACTER

    SHIPMENT_EVENT_TIME NEXT *, O ("") CHARACTER

    EVENT_TIME_ZONE NEXT *, O ("") CHARACTER

    EVENT_CITY NEXT *, O ("") CHARACTER

    EVENT_STATE NEXT *, O ("") CHARACTER

    EVENT_ZIP NEXT *, O ("") CHARACTER

    CUSTOMER_CONFIRM NEXT *, O ("") CHARACTER

    DELIVERY_CONFIRM NEXT *, O ("") CHARACTER

    TRACKING_NUMBER NEXT *, O ("") CHARACTER

    MAIL_REC_WEIGHT NEXT *, O ("") CHARACTER

    MAIL_REC_WEIGHT_CD NEXT *, O ("") CHARACTER

    MAIL_RED_QTY NEXT *, O ("") CHARACTER

    INSERT_USER NEXT *, O ("") CHARACTER

    The SQL string for the column: "1."

    INSERT_USER_DATE SYSDATE

    CONSTANT INSERT_STATUS_CODE

    The value is 'I '.

    value used for the parameter LINES increased from 10000 to 30 sheet 2: discarded - failed all WHEN clauses.

    Sheet 3: Discarded - failed all WHEN clauses.

    Folder 4: Discarded - failed all WHEN clauses.

    Table ESTEVENS. EDSTEST_HEADER:

    1 row loaded successfully.

    0 rows not loaded due to data errors.

    3 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    Table ESTEVENS. EDSTEST_DETAIL:

    0 rows successfully loaded.

    0 rows not loaded due to data errors.

    4 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    The space allocated to bind table: 247800 byte (30 lines)

    Bytes of read buffer: 1048576

    Total logical records ignored: 0

    Total logical records read: 4

    Total rejected logical records: 0

    Logical records discarded total: 3

    Run started the kill Jul 29 07:50:04 2014

    Run finished on Tue Jul 29 07:50:04 2014

    Time was: 00:00:00.07

    Time processor was: 00:00:00.01

    It works on linux, and the file data calculated from a Windows system to the time we get to it, but it's in the * nix format - with a simple x '0A' as the line terminator.

    If, in the control file, I comment on the block of INSERTION for the header table, retail inserts very well.

    If, in the control file, (return to the initial charge, two tables) I change the line

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'

    To read

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat' "str" | "» \n' »

    The saved result becomes

    Table ESTEVENS. EDSTEST_HEADER:

    1 row loaded successfully.

    0 rows not loaded due to data errors.

    0 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    Table ESTEVENS. EDSTEST_DETAIL:

    0 rows successfully loaded.

    0 rows not loaded due to data errors.

    1 row not loaded because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    I try to help the developer on this, and it resists change to use external tables. Even if I can overcome that, I now have a puzzle I want to solve, just to add to my knowledge.  Plus, I have some concerns at this stage that whatever it is that miss me here could also come into play if I convert external tables.

    Ed,

    Are you sure that put you the post in the right place?  It should be located in the first definition of the following field each time after the first when clause clause.  Put after the first when the clause is optional.  When I use the following with what you have provided, it loads 1 record in the table header and 3 records in the Details table.  Did you actually do or tell your developer to do and wish that he understood and put it in the right place?

    Load

    INFILE 'eds_edstest.dat '.

    BADFILE "eds_edstest.bad."

    DISCARDFILE 'eds_edstest.dsc '.

    ADD

    IN THE TABLE edstest_header

    WHERE (rec_type = 'HDR')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    sold_to_account TANK,

    scac_receiver_id TANK,

    format_type TANK,

    client_name TANK,

    customer_pickup_address TANK,

    customer_pickup_city TANK,

    customer_pickup_state TANK,

    customer_pickup_zip TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    IN THE TABLE edstest_detail

    WHERE (rec_type = 'PIF')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type POSITION (1) TANK,

    ship_to_name TANK,

    ship_to_address TANK,

    ship_to_city TANK,

    ship_to_state TANK,

    ship_to_zip TANK,

    status_or_appt_reason_cd TANK,

    event_description TANK,

    shipment_status_cd TANK,

    shipment_event_date TANK,

    shipment_event_time TANK,

    event_time_zone TANK,

    event_city TANK,

    Event_State TANK,

    event_zip TANK,

    customer_confirm TANK,

    delivery_confirm TANK,

    tracking_number TANK,

    mail_rec_weight TANK,

    mail_rec_weight_cd TANK,

    mail_red_qty TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

  • JOIN the question... Join two tables without omitting lines

    I came across a problem that should be an easy fix (I hope), but I'm having a hard time to come up with a solution.

    Basically I have two tables, one with the actual amounts with the budget. I have to write a sql statement select that joins these tables together and includes all of their lines. I was able to join the tables by using JOIN, LEFT JOIN and RIGHT JOIN, but it always fails the lines I need.

    Below, I have examples of my tables (AMOUNT_TABLE and BUDGET_TABLE). For simplicity, I built the examples to show the same values in the first four columns, with the 5th and 6th columns (SUB_ACCOUNT, AMOUNT, BUDGET) as the only values that are different. My actual tables are not quite that simple, but I don't think it was relavent to this issue.

    AMOUNT_TABLE

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT

    2013

    111111555555000010020131111115555551000100201311111155555520001002013111111555555300010020131111115555554000100

    BUDGET_TABLE

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT BUDGET

    2013

    1111115555553000200201311111155555540002002013111111555555500020020131111115555556000200

    Here's what I hope. Note that SUB_ACCOUNTs 0000, 1000, and 2000 show without budget amounts since there is not a corresponding line in the BUDGET_TABLE. And same for SUB_ACCOUNTs 5000 and 6000, they show budgets with no amount because there is not a corresponding line in the AMOUNT_TABLE.

    (exit)

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT BUDGET
    201311111155555500001000
    201311111155555510001000
    201311111155555520001000
    20131111115555553000100200
    20131111115555554000100200
    201311111155555550000200
    201311111155555560000200

    If all goes well, my question is clear. Any help on this would be greatly appreciated. Thanks in advance.

    Use the join ANSI - FULL OUTER JOIN syntax:

    with amount_table like)

    Select fiscal_year 2013, 1 period, 11111 acct_unit, 555555, 0000 sub_account, amount 100 of all the double union

    Select 2013,1,11111,555555,1000,100 from all the double union

    Select 2013,1,11111,555555,2000,100 from all the double union

    Select 2013,1,11111,555555,3000,100 from all the double union

    Select double 2013,1,11111,555555,4000,100

    ),

    budget_table like)

    Select 1 time, 11111 acct_unit, account 555555, sub_account 3000, 2013 fiscal_year, budget of 200 Union double all the

    Select 2013,1,11111,555555,4000,200 from all the double union

    Select 2013,1,11111,555555,5000,200 from all the double union

    Select double 2013,1,11111,555555,6000,200

    )

    Select nvl (a.fiscal_year, b.fiscal_year) fiscal_year,

    period of NVL (a.period, b.period),

    NVL (a.acct_unit, b.acct_unit) acct_unit.

    account of NVL (a.Account, b.Account),

    NVL (a.sub_account, b.sub_account) sub_account.

    Amount NVL(a.amount,0),

    NVL(b.budget,0) budget

    of amount_table one

    full join

    budget_table b

    on)

    a.Fiscal_Year = b.fiscal_year

    and

    a.period = b.period

    and

    a.acct_unit = b.acct_unit

    and

    a.Account = b.account

    and

    a.sub_account = b.sub_account

    )

    /

    FISCAL_YEAR PERIOD ACCT_UNIT ACCOUNT SUB_ACCOUNT AMOUNT BUDGET
    ----------- ---------- ---------- ---------- ----------- ---------- ----------
    2013 1 11111 555555 0 100 0
    2013 1 11111 555555 1000 100 0
    2013 1 11111 555555 2000 100 0
    2013 1 11111 555555 3000 100 200
    2013 1 11111 555555 4000 100 200
    2013 1 11111 555555 6000 0 200
    2013 1 11111 555555 5000 0 200

    7 selected lines.

    SQL >

    SY.

  • Two shared the Application layer without load balancer

    Hi all

    I created the system of Application of layer two without the load balancer.

    EBS: 12.1.3 DB: 11.2

    I have two URLS:

    https://XYZ:8002/OA_HTML/APPSLocalLogin.jsp

    https://ABC:8002/OA_HTML/APPSLocalLogin.jsp

    I run the auctoconfig on the last node abc. When I try to access the https://xyz:8002/OA_HTML/APPSLocalLogin.jsp, it automatically redirects to https://abc:8002/OA_HTML/APPSLocalLogin.jsp

    If autoconfig on xyz last execution, https://abc:8002/OA_HTML/APPSLocalLogin.jsp URL automatically redirects to https://xyz:8002/OA_HTML/APPSLocalLogin.jsp.

    I know in 11i is the behavior, but according to my understanding in R12 this shouldn't ' e be the case because another application works very well.

    Concerning
    Sourabh Gupta

    Please see (multiple Application nodes configured without Load Balancer Cause Login Redirection [1362885.1 ID]).

    Thank you
    Hussein

  • Is mapping dimension AWM - possible to load the data in two tables of entry?

    Hi all

    I have two tables ProductFamily (parent level) and products (child level).

    I want to load a dimension of those tables where the parent-child relationships are maintained (I use AWM).

    I created a map with these two entry tables, but the loaded data has no relationship.
    So, how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
    Is any type of Carpenter available in AWM?

    Thank you

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

    A few Notes:

    -I don't want to use OWB here that my data are clean
    -In AWM, when I loaded the data in a single view that contains two tables of input data, it worked fine. But it's my worst case option.

    You must use Dimension option in snowflake in the mapping screen of size for the Product Dimension (as opposed to the default style mapping - star schema dimension).

    This will modify map entries to include a separate parent for each level of hierarchy level / that is to say, for each level of hierarchy / (unless a higher level of the hierarchy), you must specify the parent level key in addition to the key current level, code/name/description/other attributes etc.

    You can make the mapping or... use the icons at the top of the map screen.
    mode drag/drop by dragging the relational column on dimension - level/hierarchy/attribute model
    -or-
    the table expression mapping mode that gives the same effect... by dragging a column on an attribute defined in the .

    . the format of .

    HTH
    Shankar

    Note1: Complete the mapping of a sudden... B & w switching mapping modes cause the mappings to reset.
    NOTE2: assumes that your data are correct foreign key table parent level: ProductFamily exists in the child level table: products.

  • Compare two Tables question

    Hello

    I need to compare two tables (T1, T2) and update existing records only in T2, but not in T1. So basically, the lines updated in T2:

    Select * from T2 where T2.id not in (select id from T1).

    What would be a good way to achieve this in ODI?

    I created an ODI interface with a join T2.id not in T1.ID, but it did not work "coz:" ORA-01427: einreihig subquery returns several lines "."

    Appreciate any input/access map.

    Thank you.

    Hi Michele...

    At first glance, there are at least 2 ways to do it:

    (1) put the steps in "(select id from T1)" (you can use an ODI API to get the schema dynamically) as an object filter to T2 (interface), use the incremental update IKM SQL and put "Insert" option on 'No'. " This will do a few updates.

    OR

    (2) in an interface set the T1 and T2 and left join (based on T2) load a temp table where all fields accept the value zero. Next to the columns to update (of course the T2), create an ID column (I named him as T1_Temp_ID) and map the Id of the T1 to it.
    Now just create new interface where the temperature is source and put a filter like "T1_Temp_ID is not null.

    The first option is less complex and can bring better performance.
    The second option gives a better follow-up of the use of the table and the columns, but can be less performatique.

    This help you?

  • Load balancing ASA question - what IP I do direct clients too?

    I have 2 5520 with SSLVPN 50 user on each license. I want to use the VPN load-balancing feature. Must I send users to the address IP of Cluster? The documentation is not clear on this point.

    Thank you

    Justin

    That is right. You should have the VPN to connect on the LBS, not individual IP addresses cluster IP. Captain ASA will listen to connection requests to the IP cluster LB and based on the load either accepting the connection or automatically redirect to one of the ASAs Eve in the cluster. It must all be transparent to the user VPN connection.

Maybe you are looking for

  • Unable to connect to the network

    I have a KDL-55EX710 with the SOny USB lan adapter. I can't connect. I tried using the wireless and now have tried with the wireless modem/router combo directly and does not always connect. I have both PS3 and the two have connected wireless to my ne

  • HP 6005 pro desktop pc: PSU compatibiity

    A standard POWER supply (any brand) will fit in this PC (small form factor or format microtour)?

  • How output waveform desired by USB 6251?

    Hi all 1 I have problem like this: now, I use Laview 7.1, NI USB-6251, I want to output with desired waveform (shown on the attached picture). I want to know: 6251 USB can perform this problem. If Yes, can you advice me to solve it, I'm most recent w

  • Error codes: 80070570 & 8000FFFF (cannot install updates)

    I have a delay of 21 updates waiting for download, but the automatic update function will fail (as well as when I activate manually) to download updates.  I have two error codes 80070570 and 8000FFFF.  I tried to select maually alone to download at o

  • Windows XP will not be closed. I have to press the power button to turn it off.

    original title: WINDOWS XP WONT SHUT DOWN - I HAVE power to the BOTTOM BY pressing POWER BUTTON COMPUTER WINDOWS XP DOES NOT - STOP I HAVE TO POWER COMPUTER DOWN BY PRESSING THE POWER BUTTON