Explain my Explain Plans please?

Hi,
I have two schema's situated on the same database. One called SCHEMA_A_LIVE and another SCHEMA_B_LIVE. Both schemas have been analyses for stats, however SCHEMA_B_LIVE doesn't hold any data where as SCHEMA_A_LIVE does. They both essentially have the same tables, indexes, tablespaces, structure, etc but when I run an Explain plan in TOAD for a SQL statement take from the same procedure in both schemas, I receive different plans? SCHEMA_A_LIVE returns a NESTED LOOPS and SORT UNIQUE and SCHEMA_B_LIVE returns a HASH SEMI JOIN (not sure what this is either???). Can someone please explain why I getting different results and as well as the pros/cons of each plan?
SQL:
DELETE FROM "SCHEMA_A_LIVE".CHANGE_HISTORY
WHERE TOID IN(SELECT TOID FROM "SCHEMA_A_LIVE".LOADER_CHANGEHISTORY);
EXPLAIN PLAN:
Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
DELETE STATEMENT Optimizer Mode=ALL_ROWS          1           4.00140839118856                     
DELETE     SCHEMA_A_LIVE.CHANGE_HISTORY                                   
NESTED LOOPS          1      47      4.00140839118856                     
SORT UNIQUE          1      10      2.00065584594569                     
TABLE ACCESS FULL     SCHEMA_A_LIVE.LOADER_CHANGEHISTORY     1      10      2.00065584594569                     
INDEX RANGE SCAN     SCHEMA_A_LIVE.PK_CHANGEHISTORY     1      37      1.00075254524288                     
SQL:
DELETE FROM "SCHEMA_B_LIVE".CHANGE_HISTORY
WHERE TOID IN(SELECT TOID FROM "SCHEMA_B_LIVE".LOADER_CHANGEHISTORY);
EXPLAIN PLAN:
Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
DELETE STATEMENT Optimizer Mode=ALL_ROWS          1           2.50067886958788                     
DELETE     SCHEMA_B_LIVE.CHANGE_HISTORY                                   
HASH JOIN SEMI          1      50      2.50067886958788                     
INDEX FULL SCAN     SCHEMA_B_LIVE.PK_CHANGEHISTORY     1      40                          
TABLE ACCESS FULL     SCHEMA_B_LIVE.LOADER_CHANGEHISTORY     1      10      2.00065584594569                     
Both have the following index:
Enter value for 1: change_history
INDEX_NAME UNIQUENES COLUMN_POSITION COLUMN_NAME
PK_CHANGEHISTORY UNIQUE 1 TOID
PK_CHANGEHISTORY 2 VERSION
PK_CHANGEHISTORY 3 CHANGEDATE
PK_CHANGEHISTORY 4 REASONFORCHANGE
Thanks,
Tony

The resulting explain plan is as follows:
Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
DELETE STATEMENT Optimizer Mode=ALL_ROWS          1           0                     
DELETE     SCHEMA_B_LIVE.CHANGE_HISTORY                                   
NESTED LOOPS SEMI          1      50                          
INDEX FULL SCAN     SCHEMA_B_LIVE.PK_CHANGEHISTORY     1      40                          
INDEX RANGE SCAN     SCHEMA_B_LIVE.IDX_LDR_CGHIST_TOID     1      10                          
as appose to the previous plan:
Operation Object Name Rows Bytes Cost Object Node In/Out PStart PStop
DELETE STATEMENT Optimizer Mode=ALL_ROWS 1 2.50067886958788
DELETE SCHEMA_B_LIVE.CHANGE_HISTORY
HASH JOIN SEMI 1 50 2.50067886958788
INDEX FULL SCAN SCHEMA_B_LIVE.PK_CHANGEHISTORY 1 40
TABLE ACCESS FULL SCHEMA_B_LIVE.LOADER_CHANGEHISTORY 1 10 2.00065584594569
Tony

Similar Messages

  • Hi I bought this Friday a 10 GB storage plan, but I received an email than I need to pay it every months how I can cancel this contract Becouse I don't able to pay it every years somebody can help and explains it to me please thanks you

    Hi I bought this Friday a 10 GB storage plan, but I received an email than I need to pay it every year how I can cancel this contract Becouse I don't able to pay it every years somebody can help and explains it to me please thanks you

    From this page http://support.apple.com/kb/TS4009 :
    iOS 5
    From your home screen, tap Settings > iCloud.
    Tap your iCloud account at the top of the screen.
    Select your iCloud Storage plan.
    Tap Downgrade Options and follow the prompts.
    There are also instructions for Windows and Mac OS X on that page

  • Can any one please explain me opex planning and copex planning

    hi to every one
    can any one please explain me opex planning and copex planning
    thank you
    suresh m

    Hi Suresh,
    I would like to share more information on the question :
    -OPEX Planning - CPM ConsultingCPM Consulting
    -Annual Operating Planning ( AOP) - SAP BPC 10.0NW
    Peter

  • Can anyone explain this to me, please. It's a static section question.

    Can anyone explain this to me, please. It's a static section question.
    I came across the following style of programming recently and I would like to know what the Static section is actually doing in the class. Thx.
    Here is the code.
    public class ClassA {
         private static Hashtable ClassAList = new Hashtable();
         private ClassB cB;
         private Vector goodLink;
         private Hashtable classCList;
         static
              ClassA cA = new ClassA();
              ClassAList.put("whatever", cA);
         public static ClassA getClassA()
              return (ClassA) ClassAList.get("whatever");

    hi,
    The static section shall be loaded before it's constructor is called. (i.e at the time of loading the class). Therefore making it available for any other objects to call.
    hope this clarifies ur question
    prasanna

  • Anomaly regarding first entry in explain and explain join

    Hello there,
    I have TPC-H benchmark database and I ran the following query with and without index on the column p_retailprice
    select
         s_acctbal,s_name,n_name,p_partkey,p_mfgr,s_address,s_phone,s_comment
    from
         dbo.part,dbo.supplier,dbo.partsupp,dbo.nation,dbo.region
    where
         p_partkey = ps_partkey and p_retailprice <= 1.0
    with index
    first entry in Expalin is of  PART table , strategy is :range condition for index" and pagecount is 3627
    first entry in explain join has table name PART and accumalated cost is 2
    without index
    both the explains have the value 17239 for pagecount and accumalated cost for the same entry
    My question is what is the relation between first entry in both explains? The pagecount and accumalated costs(for the first entry)  for all queries when no index is applied comes to be the same but with index the value differs.

    Hi again.
    would you mind to show us the results of 'explain' and 'explain join'?
    Be aware that in the normal 'explain'-output the "costs" that are printed in each line are not the assumed costs of that specific execution step.
    Instead what you see there are the statistic information for the total object size (e.g. table or indexsize in pages).
    regards,
    Lars

  • Key figure Explaination in SNP planning books 9ASNP94

    Dear Experts ,
    I am curious to know regarding SNP planning books key figures
    when i am exploring sap standard  Planning book
    9ASNP94
    Data view : SNP94(1)
    I can able to see many KEY FIGURES  Please refer below
    I AM NOT SURE how they are used in planning , i mean  what is clear definition of those key figures and i see some key figures are grey out and some or open for entry
    how to find those detail information
    when i go  to T code SDP84 - define planning book
    i can able to see those descrption and infocubes but not sure how to understand clearly , would be more thankful if some give me a clear explaination of it
    Forecast     TXT                                                                                                                   
    Sales Order     TXT                                                                                                                   
    Distribution Demand (Planned)     TXT                                                                                                                   
    Distribution Demand (Confirmed)     TXT                                                                                                                   
    DistrDemand (TLB-Confirmed)     TXT                                                                                                                   
    Dependent Demand     TXT                                                                                                                   
    Total Demand     TXT                                                                                                                   
    Distribution Receipt (Planned)     TXT                                                                                                                   
    Distribution Receipt (Confirmed)     TXT                                                                                                                   
    Distribution Receipt (TLB-Confirmed)     TXT                                                                                                                   
    In Transit     TXT                                                                                                                   
    Production (Planned)     TXT                                                                                                                   
    Production (Confirmed)     TXT                                                                                                                   
    Manufacture of Co-Products     TXT                                                                                                                   
    Total Receipts     TXT                                                                                                                   
    Stock on Hand     TXT                                                                                                                   
    Supply Shortage     TXT                                                                                                                   
    Safety Stock     TXT                                                                                                                   
    Reorder Point     TXT                                                                                                                   
    Target Days´ Supply     D                                                                                                                   
    Target Stock Level     TXT                                                                                                                   
    Days´ Supply     D                                                                                                                   
    ATD Receipts     TXT                                                                                                                   
    ATD Issues     TXT                                                                                                    
    Many thanks & Regards
    Raj

    Hi
    Please find below the short summary of each key figures.
    Forecast TXT  :- FCST which has been released from APO DP to APO SNP
    Sales Order TXT :- Sales order transferred from ECC to APO via CIF.
    Distribution Demand (Planned) TXT :- Dependent demand coming from other location to this location for same product. Network planning
    Distribution Demand (Confirmed) TXT :- In case deployment , we confirm the Distribution Demand (Planned) will appear her.
    DistrDemand (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    Dependent Demand TXT :- Dependent demand coming from parent product in case of BOM
    Total Demand TXT :- The sum of all above demands is called as Total Demand.
    Distribution Receipt (Planned) TXT :- SNP created Purchase req will appear in this key figure.
    Distribution Receipt (Confirmed) TXT :- In case of deployment Distribution Receipt (Planned) will be get confirmed in the Distribution Receipt (Confirmed) key figure.
    Distribution Receipt (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    In Transit TXT :- In will contain the in transit stock which will transfer for ECC via CIF.
    Production (Planned) TXT :- Planned order will get created via SNP in case of domestic mfg.
    Production (Confirmed) TXT :- In case of SNP deployment Production (Planned) will be get confirmed in the Production (Confirmed)) key figure.
    Total Receipts TXT  :- Total of all the receipt elements as been used.
    Stock on Hand TXT :- Stock has transferred from ECC or R3 via CIF.
    Supply Shortage TXT :- This will be calculated with macro based on total demand and total receipt.
    Safety Stock TXT :- Based on SNP master data, safety stock will get calculated during planning run.
    Reorder Point TXT :- Based on SNP master data, Reorder Point will get calculated during planning run. . There are different methods of calculating safety stock.
    Target Days´ Supply D :- The safety stock defined in number of days appears based on SNP master data in APO.
    Target Stock Level TXT :- Get calculated by macro  based on Target Days´ Supply D and total demand in future.
    ATD Receipts TXT :- Mainly used for Deployment.
    ATD Issues TXT :- Mainly used for Deployment
    If you require any specific information for any key figure please do let me know.
    I hope this will be useful for you.
    Thanks
    Amol

  • Explain charging process change, please

    I've read thru threads about why the IPT G2 won't change with many adapters that charge the G1 and other iPods. The common explanation seems to be that earlier chargers / iPods used "Firewire 12v pins." I'm having trouble understanding this explanation. We have four iPods: 30GB and 60GB Video (5G I think), a 4GB Nano 3G, and a new Touch 2G. All but the Touch will charge on several docks / USB chargers we have. The Firewire 12v explanation does not make sense; the USB spec has always been for 5vdc on the outer two pins (1 and 4), it's never had a 12v output, yet our other iPods all will charge fine on a USB adapter.
    Can anyone offer a more complete and accurate explanation about what changed on the Touch 2G and other new iPods? If I'm totally missing something here, please set me straight.
    Thanks,
    Jack

    The explaination is simple:
    Over two years ago Apple switched to USB charging for iPods. They maintained compatibility with Firewire to give other manufacturers a chance to make the change. Unfortunately, the other manufacturers, for the most part, just 'sat on their hands' and didn't make the change in their accessories.
    Firewire charging and USB charging use different pins in the docking connection. Firewire voltage can vary from 8 to 30 volts while USB is just 5 volts.
    Apple has never explained the reason for the change. We aren't supposed to speculate on Apple's plans.
    Let me just say, as one who has been involved in the design and construction of electronics equipment for years, if I were trying to make a small device with lots of features, I wouldn't maintain two sets of charging circuitry and would drop the higher voltage charging for size and heat reasons. Apple may well have a completely different reason for making the change.
    BTW, according to http://pinouts.ru/Devices/ipod_pinout.shtml , pins 19,20 are the Firewire + charging pins and pin 23 is the USB + charging pin.

  • Explain for Explain plan

    Hi,
    can anybody point me to very details of this Plan, specifically how to understand syntax in "3-filter..." statement marked in red.
    This about cross join. I expect to see <> (not equal sign) between those columns but there is nothing:
    Also actual results is 14 rows, but I don't see this number anywhere in the plan, only "12", should be any correlation between plan and result numbers?
    T1 (col_1 number):
    1
    2
    3
    4
    T2 (col_1 number):
    3
    4
    5
    6
    SQL> explain plan for  select t1.col_1 from t1, t2 where t1.col_1 != t2.col_1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1967407726
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    12 |   312 |     6   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS      |      |    12 |   312 |     6   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| T1   |     4 |    52 |     2   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| T2   |     3 |    39 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter("T1"."COL_1""T2"."COL_1")          ---/*XXX
    Note
       - dynamic sampling used for this statement

    the cost based optimizer uses internal statistics to determine the number of rows an operation will return. For the simple query in your example these estimates would be quite exact if the statistics were adequate - but they are not since we see the dynamic sampling note that indicates missing statistics: http://blogs.oracle.com/optimizer/entry/dynamic_sampling_and_its_impact_on_the_optimizer
    -- without statistics
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    12 |   312 |    13   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS      |      |    12 |   312 |    13   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| T1   |     4 |    52 |     4   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| T2   |     3 |    39 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter("T1"."ID"<>"T2"."ID")
    Note
       - dynamic sampling used for this statement (level=2)
    -- gather statistics
    exec dbms_stats.gather_table_stats(user, 'T1')
    exec dbms_stats.gather_table_stats(user, 'T2')
    -- with statistics (we see the 4 * 4 = 16 rows we expect)
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |    16 |    96 |    13   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS      |      |    16 |    96 |    13   (0)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| T1   |     4 |    12 |     4   (0)| 00:00:01 |
    |*  3 |   TABLE ACCESS FULL| T2   |     4 |    12 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       3 - filter("T1"."ID"<>"T2"."ID")The filter says that the results of the full scan in Operation 3 are filtered according to the given condition. If we had indexes we would perhaps see an access predicate.
    Regards
    Martin Preiss

  • Explaining the explain plan

    Hi all,
    10.2.0.1
    I have this explain plan:
    PLAN_TABLE_OUTPUT
    Plan hash value: 1154125190
    | Id  | Operation                      | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |            |     7 |   959 |  1353   (1)| 00:00:17 |
    |*  1 |  HASH JOIN RIGHT SEMI          |            |     7 |   959 |  1353   (1)| 00:00:17 |
    |   2 |   VIEW                         | VW_NSO_1   |   275 |  3025 |    20   (0)| 00:00:01 |
    |*  3 |    FILTER                      |            |       |       | |           |
    |   4 |     HASH GROUP BY              |            |   275 | 13750 |    20   (0)| 00:00:01 |
    |   5 |      NESTED LOOPS              |            |  5499 |   268K|    20   (0)| 00:00:01 |
    |*  6 |       INDEX FULL SCAN          | INDX_GPFEM |   253K|  6673K|    19   (0)| 00:00:01 |
    |*  7 |       INDEX RANGE SCAN         | PK_MONACT  |     1 |    23 |     1   (0)| 00:00:01 |
    |   8 |   TABLE ACCESS BY INDEX ROWID  | EMP_MAST   |     1 |    76 |     1   (0)| 00:00:01 |
    |   9 |    NESTED LOOPS                |            |  6115 |   752K|  1333   (1)| 00:00:16 |
    |  10 |     TABLE ACCESS BY INDEX ROWID| MON_ACT    |   127K|  6222K|    57   (0)| 00:00:01 |
    |* 11 |      INDEX RANGE SCAN          | FUNC_MA    |   127K|       |     3   (0)| 00:00:01 |
    |* 12 |     INDEX RANGE SCAN           | EMPCODE_EM |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - access("$nso_col_1"=NVL("GPF_NO",'a'))
       3 - filter(COUNT(*)>1)
       6 - filter("GPF_NO" IS NOT NULL)
       7 - access("A"."TREA_CODE"="B"."TREA_CODE" AND "A"."EMP_CODE"="B"."EMP_CODE")       filter(TO_CHAR(INTERNAL_FUNCTION("UPTO_DATE"),'YYYYMM')='201003')
      11 - access(TO_CHAR(INTERNAL_FUNCTION("UPTO_DATE"),'YYYYMM')='201003')
      12 - access("A"."TREA_CODE"="B"."TREA_CODE" AND "A"."EMP_CODE"="B"."EMP_CODE")As per my understanding this is what is happening:
    1)Oracle accesses the index indx_gpfem at 6 and applies the predicate at 6 returning 253K rows to its parent 5.
    2)For each row in 253K,oracle does a nested loop join retuning 1 row at a time of which only 5499 rows are matching.That means the inner query got executed 253K times but only 5499 rows were matching.
    3)It then does a group by and returns 275 rows.
    4)It then applies the filter and returns 275 rows to the view.
    This is one part of explain plan.IN the second part of explain plan
    1)Oracle does a index full scan of index func_ma and applies the predicate 11 returing 127K rows.
    2)It then passes 127K rowids to access table mon_act returning 127K rows.
    3)For each 127K rows,oracle does a nested loop join of index empcode_em returning only 6115 matching rows.
    Now I don't understand how nested loop is a child of table access by index rowid operation.
    What is happening at 8,9?Also verify whta i have written.
    Thanks
    Edited by: Hashmi on Sep 15, 2010 11:18 PM

    Hashmi wrote:
    Now I don't understand how nested loop is a child of table access by index rowid operation.
    What is happening at 8,9?Also verify whta i have written.You need to issue
    set linesize 131and then generate plan output so that it becomes readable.
    What you see there is a change introduced in 9i to the way optimizer processes NESTED LOOP join.
    Basically, till 8i, oracle would have processed the NESTED LOOP as
    |   9 |    NESTED LOOPS                |            |  6115 |   752K|  1333   (1)| 00:00:16 |
    |  10 |     TABLE ACCESS BY INDEX ROWID| MON_ACT    |   127K|  6222K|    57   (0)| 00:00:01 |
    |* 11 |      INDEX RANGE SCAN          | FUNC_MA    |   127K|       |     3   (0)| 00:00:01 |
    |   8 |     TABLE ACCESS BY INDEX ROWID| EMP_MAST   |     1 |    76 |     1   (0)| 00:00:01 |
    |* 12 |      INDEX RANGE SCAN           | EMPCODE_EM |     1 |       |     1   (0)| 00:00:01 |But starting from 9i, it can optimize the processing by deferring the access of the outer table (EMP_MAST in this case).

  • Explain me a VI please !!! please... low notes.....

    Hello !
    fisrt of all , excuse my bad english (i'm french)
    i really need help to explain (interpret) this project:
    http://lionbob.free.fr/labview/
    u can see the 2 screen shots i took :
    http://lionbob.free.fr/labview/Labview1.jpg
    http://lionbob.free.fr/labview/Labview2.jpg
    please open the VI : http://lionbob.free.fr/labview/guylene%20&%20kendy​.vi
    start and use the song :
    http://lionbob.free.fr/labview/The%20Microsoft%20S​ound.wav
    Then the sound is restored WITHOUT the ACUTE (or shrill?!) ones, I want to
    keep low notes .(hard to explain me.....do you understand ?? i hope..)
    The job : explain this project, this VI
    but i'm a real new born with labview (-9hours of lessons)
    please can you explain me step-by-step ??
    a
    nd someaone can explain how the Complex Fast Fourier Transform works please
    i've never see that in Mathematics...
    i'll be very happy ! thank you !
    ps: i'm student, at university, and i begin with labview.
    and.....i'm late but.....HAPPY NEW YEARR !

    Hello Alberto
    thank you for your answer !
    can you just just explain me the normalization to 127 ?
    why 127 ? what's that ?
    i think i've understand the others steps.
    but i must explain this VI in 2 pages...hard...i'll try...
    thank u
    "alberto" a ecrit dans le message de news:
    5065000000050000003E560000-1007855737000@exchange.​ni.com...
    > Hi Guylene,
    >
    > your vi does one main thing: from an original wave extract a
    > selectable portion of its spectrum and plays the extracted wave
    > showing the spectral analysis of both the original and the exctracted
    > wave.
    >
    > I'll try to explain the main steps:
    >
    > - It opens a .wav file and extract its 8-bit sound array and
    > normalizes it to 127 (from -127 to 127)
    > - Calculates the FFT and display the r
    eal part on a graph
    > - Creates a pulse pattern with selectable start point and length
    > - Uses thi pulse pattern to multiply the FFT array, thus extracting
    > only the part corresponding to the pulse window (duration) created
    > - Displays the extracted FFT and plays it
    >
    > If you want to play low freq. sounds simply set the retard (delay)
    > control value to zero.
    >
    >
    > You can have full details of the Complex FFT by opening the LV Show
    > Context Help window and click on the function icon.
    >
    >
    > Let me know if you need more help.
    >
    > Happy new year too,
    >
    > Alberto

  • Junit explained in plain english please.

    I been reading up on JUnit, and i still do not understand it.
    What is the difference? Why not just make an application?
    Please explain it as if you are explaining it to someone who is not very technical.
    Thank you

    What is the difference? Why not just make an application?You could. But it wouldn't be as nice.
    If you have 100 tests, how are you going to organise them in your application? Will you write 100 different applications?
    JUnit allows you to group tests nicely.
    It allows you to share setup/teardown logic to prepare for running your tests.
    It gives you a nice graphical display of how tests went if you're using an IDE (or the command line).
    If you're using a tool like ant, it allows you to stop the script when you encounter a failed test. That's really useful if you're building something based on libraries - you don't want to build the rest of the webapp if one of the libraries it will be made from has a bug in it.
    No, you don't have to use JUnit, but it's much easier to use JUnit than it is not to.
    The simple example you asked for. Here's a real test case that I'm using to check to see if a component for breaking down web URIs is working correctly. Note how I use the nice simple "assertion" methods.
    public class PathHolderTest extends TestCase {
       public void testRootPathAbsolute() {
          final PathHolder ph = new PathHolder("/");
          assertTrue(ph.isFolderPath());
          assertTrue(ph.isAbsolutePath());
          assertEquals(1,ph.getPathElements().length);
          assertEquals("/",ph.getPathElements()[0]);
       public void testSimplePathAbsolute() {
          final PathHolder ph = new PathHolder("/foo");
          assertFalse(ph.isFolderPath());
          assertTrue(ph.isAbsolutePath());
          assertEquals(2,ph.getPathElements().length);
          assertEquals("/",ph.getPathElements()[0]);
          assertEquals("foo",ph.getPathElements()[1]);
       public void testFolderPathAbsolute() {
          final PathHolder ph = new PathHolder("/foo/");
          assertTrue(ph.isFolderPath());
          assertTrue(ph.isAbsolutePath());
          assertEquals(2,ph.getPathElements().length);
          assertEquals("/",ph.getPathElements()[0]);
          assertEquals("foo",ph.getPathElements()[1]);
       public void testSubFilePathAbsolute() {
          final PathHolder ph = new PathHolder("/foo/bar");
          assertFalse(ph.isFolderPath());
          assertTrue(ph.isAbsolutePath());
          assertEquals(3,ph.getPathElements().length);
          assertEquals("/",ph.getPathElements()[0]);
          assertEquals("foo",ph.getPathElements()[1]);
          assertEquals("bar",ph.getPathElements()[2]);
       public void testSubFilePathWithExtensionAbsolute() {
          final PathHolder ph = new PathHolder("/foo/bar/index.html");
          assertFalse(ph.isFolderPath());
          assertTrue(ph.isAbsolutePath());
          assertEquals(4,ph.getPathElements().length);
          assertEquals("/",ph.getPathElements()[0]);
          assertEquals("foo",ph.getPathElements()[1]);
          assertEquals("bar",ph.getPathElements()[2]);
          assertEquals("index.html",ph.getPathElements()[3]);
    }

  • Could someone explain this to me, please?

    I fixed a problem without really understanding how and why the problem occured or even why my fix worked.  I'm hoping somebody can explain it to me.  Here's the problem:
    My form had this structure:
    MainSubform
         Page1Subform
              Subform1
              Subform2
              Subform3
         Page2Subform
              other subforms
         Page3Subform
              other subforms.
    There were other objects under the
    My application viewer, which is FormStream filler, was finding a fourth node under Page1Suform.  I couldn't access this phantom node in any way to find out any information about it, so any Javascript which navigated the hierarchy would error when it tried to reach it.
    Through a long consultation with other developers, I found that there was something called a 'bind match" node.  They couldn't explain it to me.  Not knowing what a 'bind match" node was, and figuring it had something to do with linking a data source to an object, I started checking the Default Binding tab in the Object Panel.  The Default Binding for Page1Subform was set to None, while the Default Binding for every other subform was set to Normal.  I set the Default Binding for Page1Subform to Normal and my problem disappeared.  I tried setting other Default Binding properties of other subforms to None to see what would happen, and the phantom node seemed to reappear and follow those subforms around.
    Can anybody give me an explanation of what was happening?

    Hi again,
    right so I have done what you all said and gone and read a book on LabView fundamentals, "introduction to data aquisition with LABVIEW by RH king"
    it has answered my questions about the for loop and most of the rest, the thing I am now having trouble with is the pink lines coming from the DAQ assistant, I have tried all the options, generate signal, aquire, sine wave, digital, continuous samples, N samples but I can't get a pink line, all I can get in that location is a gray "error out", is this all it is, just connect error out to error in.
    Also another thing that is confusing me is, just before the graph, that component between the last division and the graph indicator, I am having trouble identifying.
    Sorry to keep badgering on about this one but I need to get this example completed for work.

  • Explain This to Me Please....

    Been having problems trying to diagnosis a problem I've been having with the computer booting up and then dying out on me. Basically, the right fan spins wildly and the display goes black.
    I began to think this morning that it was a Thermal Sensor issue, but now I'm not sure since the incredible thing is that it doesn't happen when I run Windows XP under Bootcamp.
    So can someone explain to me why it would work fine under Windows and not Mac OSX?!!?
    MTIA

    Probably something corrupted in your system installation. It would help if you explained what you mean by "dying out on me."
    I suggest you download AppleJack - VersionTracker or MacUpdate - and use it to perform all troubleshooting steps. Or you can download a tool such as TinkerTool System, Onyx, Tiger Cache Cleaner, etc. and use it to clear all caches. If there's a corrupted cache file causing the problem this should fix it.
    If the problem is a runaway program you can discover that by opening Activity Monitor in your Utilities folder, select All Processes from the Processes drop down menu, then click twice on the CPU column header to display in descending order. If you see a program consuming a high amount of CPU time then note down what that program is. Then select the program and click on the Quit icon in the toolbar, then click on the Force Quit button. If that cures the problem, then you may need to reinstall the program if it's a third-party program. If it's a system utility or application, then you may need to replace it or reinstall OS X.

  • Could Someone Explain Interfaces in English Please?

    Hi Everyone-
    I'm new to Java. I've been reading "Learning Java" from O'Reilly. From what I understand, Interfaces are sort of a structural framework that lists certain methods. Any class that implements an interface must contain this "structure" and any objects intantiated using this class will be of the interface type? Is this correct? If not can someone explain interfaces in laymen's terms and the what is the usefulness of implementing Interfaces?
    Thanks.
    SA

    I'm new to Java. I've been reading "Learning Java"
    from O'Reilly. From what I understand, Interfaces are
    sort of a structural framework that lists certain
    methods. Any class that implements an interface must
    contain this "structure" ...OK so far...
    and any objects intantiated
    using this class will be of the interface type? Is
    this correct? It depends what you mean by "interface type". An interface can be said to define a type. So a class that implements that interface implements that type, and an object instantiated from that class is an instance of that type.
    If not can someone explain interfaces in
    laymen's terms and the what is the usefulness of
    implementing Interfaces?The utility of interfaces is that, without being tied down to particular implementations, allows types of objects to be defined.
    For example....is there a doctor in the house? Say:
    1) a Doctor is:
    - human
    - has gone to medical school
    - heals the sick
    2) a Norwegian is:
    - a person from Norway (assume we've defined "person" at this point)
    3) a Canadian is:
    - a person from Canada
    So:
    4) a Norwegian Doctor is a person from Norway who fulfills the qualifications to be a doctor
    5) a Canadian Doctor is a person from Canada who fulfills the qualifications to be a doctor
    6) a Canadian who is not a Canadian Doctor, is a person from Canada who does not fulfill the qualifications to be a doctor.
    If your appendix is about to burst, you need a doctor. You don't care if the doctor is Canadian or Norwegian (assume everybody including yourself speaks Esperonto so there aren't any language issues). You do care deeply if the person trying to remove your appendix is a Canadian but not a Canadian doctor.
    If you were establishing a hospital, you'd want doctors. If you were to write this in code, you'd have something like:
    Hospital.hireDoctor(Doctor doc);meaning, that method in the Hospital class will hire a doctor, which is the important part. So this would work:
    Doctor doc = NorwegianMedicalSchool.createDoctor();
    Doctor doc_eh = CanadianMedicalSchool.createDoctor();
    yourHospital.hireDoctor(doc);
    yourHospital.hireDoctor(doc_eh);The point is, you can write your Hospital code without knowing precisely how "Doctor" is implemented -- whether the doctors come from Canada or Norway. You just write it as appropriate given that you have a Doctor. And then when a Doctor is created by a Japanese medical school, it doesn't break your code. This is why interfaces are said to define "contracts" -- an interface defines what something is (i.e., what it does), and you can make your code insist on getting something that does that (fulfills the contract).
    Does this make any sense? Have I offended the Canadians? Probably.

  • I keep getting a message everytime I turn my phone on, can someone explain it to me please?

    Everytime I turn my phone on, I get this message.
    122 Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code. Activate (insert big smilely face here)t=6
    If anyone knows what this is your help is greatly appreciated.

    Hey skittzlives,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    This issue can be resolved by contacting your network service provider.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

Maybe you are looking for

  • Executing Java script while dragging a component

    Hi, Is there a way to execute Java script while dragging a component, I have noticed only following events mouseMove, mouseOut, mouseDown mouseUp for clientListener tag. could not find anything related to dragging event. My scenario is, I have compon

  • Fonts convert to greyscale from Publisher to Adobe 9.4.4

    Recent problem, started in just past few days.  Converting Publisher 2007 docs to Adobe Standard 9.4.4 - color fonts convert to greyscale.  Clip art, other images and borders stay in correct colors but fonts change to blacks and grays.  This occurs w

  • ALSB 3.0, response not transforming

    I'm trying to perform a simple XQuery transformation on the request and response for a service. I have created the single route, and for the request and response pipelines I have configured a Replace action that uses an XQuery to transform the $body

  • Unable to work, CC does not respond

    Unable to work, CC does not respond Message to launch photoshop or indesign: Error There Was an error with this action. Try again later. e76a857c-681f-4146-b539-161a9832373c I work on Mac 10.9 thank you

  • 10.1.3--Disable a field according to values of another field.

    Hi, I am trying to set a filed on the JSP to be disalbed according to values of another field. eg. When the value in "ID" field is NOT 10 or 20, the "Bill" field should be disabled. I have tried using only one condition which is when "ID" != 10 or "I