Joining a Path

I am having problems trying to join some objects. I have a smaller circle in a larger circle. and an arrow (just two lines) pointing right. I would like to join these objects, so that each end of the arrow will join to each the circles and make it one object.
The effect Im looking for is that the center circle is gone/transparent, and I can fill inbetween the two circles with a color (with the arrow head included). Ive included the file (or an image, whichever it takes incase my description is confusing.

Select and copy the arrowhead to the clipboard.
Select the two circles and make a compound path (Ctrl + 8)
With the Smart Guides on (Ctrl + U), showing you the center line of the circle, draw a straight line with the Pen tool starting below the circles, going inside, and connecting the arrowhead line as shown in the first image below.
With that line only selected, go to Object > Path > Divide Objects Below
Paste the arrowhead from the clipboard in front (Ctrl + F) and Shift click on the path of the left object to add it to the selection, and in the Pathfinder panel click the Unite button.
With the direct selection or lasso tool drag over the horizontal line at the bottom of the circle as shown in the image and press Delete on the keyboard.
Select All, and Object > Path > Join (Ctrl + J)

Similar Messages

  • Joining two paths... driving me crazy!

    Hi,
    I'm using Illustrator CS3 and have had to draw a map of the UK to show our companies different sales regions. I have done this by drawing the individual regions (5) and once they are all aligned, they make a perfect UK map.
    I now need to join the paths to create just the outline of the UK so I have cut the inner lines which divide up the regions so all I am left with are 5 paths that I need to join. I have selected two end points and pressed {cmd J} and it comes up with the following message:
    "To join, you must select two open end points. If they are not on the same path, they cannot be on text paths nor inside graphs, and if both of them are grouped, they must be in the same group."
    None of the paths are grouped. They were all drawn using the pen tool.
    I have made sure that all ends aren't directional.
    Can anyone help? I don't really want to have to re-draw the lines again!!!
    Thanks in advance!

    Rosie,
    You might want to read about the Join scripts described on
    this page. The .zip contains an AI Javascript that lets you join multiple open paths at once, without having to tediously select the end points. (It also works on directSelected subpaths of Compound Paths.)
    JET

  • Problem Joining Two Paths!

    Okay so I have Illustrator cs3 and so lets say I want to join 2 paths on a text thing so 2 letters could be joined together and then have the stroke applied to the combined letter, not the separate 2 letters.
    I have made some diagrams to explain my situation since it is hard to explain.
    (note that the images on top and bottom are the same but I duplicated the top so the bottom is selected just so you can see)
    #1: I make the text, I go to object> expand and click okay, then I add a double stroke. Now see how the g is overlapping the n which is overlapping the i which is overlapping the t etc. I want to join the top of the letter s to the letter top left bar of the letter t for design purposes.
    http://qualitylogos.net/diagram/diagram%201.jpg
    #2: I go into outline mode so it is easier to see and work in. Then I moved the points of the s and t together and deleted the 2 vertical bars that were previously there using the scissor tool, now the joints (on the top and bottom) are directly on top of each other.
    http://qualitylogos.net/diagram/diagram%202.jpg
    #3: So I use the direct selection tool and highlight both points so i can join them and make one combined letter and I go to object>path>join and I get this error, how do I work this out and fix this because its really frustrating coming from photoshop where it is really easy to do.
    http://qualitylogos.net/diagram/diagram%203.jpg
    Here is the .ai file for illustrator cs3 if you need it:
    http://qualitylogos.net/diagram/diagram.ai
    I hope these files helped you and thanks for checking my thread out, I hope I can get this solved soon :)

    > I want to join 2 paths on a text thing so 2 letters could be joined together and then have the stroke applied to the combined letter, not the separate 2 letters.
    You want to create a ligature: Two characters merged into one glyph.
    > I make the text, I go to object> expand and click okay, then I add a double stroke....I want to join the top of the letter s to the letter top left bar of the letter t for design purposes.
    > I moved the points of the s and t together and deleted the 2 vertical bars that were previously there using the scissor tool, now the joints (on the top and bottom) are directly on top of each other.
    > I use the direct selection tool and highlight both points so i can join them and make one combined letter and I go to object>path>join and I get this error...
    Illustrator's Join command is completely lame. It requires you to select endpoints; it can't join more than two paths at a time; and it can't join paths in different groups. (This latter is what is causing the alert you are seeing.)
    But you are going at this in too difficult a manner. For what you are trying to do, all that tedious cutting and joining is not necessary.
    Set the text. Convert it to paths (Text>Create Outlines). The result is a Group. Apply the Add Pathfinder (and expand if in CS3), or use the Merge Pathfinder. That will union the overlapping characters.
    There are also ways to do this with the text remaining live. Essentially, you apply the outlines at the TextFrame, Group or Layer level, instead of at the individual path level. Example:
    1. Set the text.
    2. Black pointer: select the text object (not a text range of characters).
    3. Appearance Palette flyout: Add New Stroke. Drag the stroke to below the Characters listing.
    4. Repeat step 3 for additional strokes.
    If you then want everything to flattened to paths, use Expand Appearance, followed by the Add and/or Merge Pathfinders.
    JET

  • Join text paths?

    Can someone tell me if it's possible and how to join text
    paths.
    I mean if i have two letters say E and T, i convert them to paths then
    delete a section from the right of the E
    and from the left of the T so that they can join up,
    then i take the two endpoints of path that i want to join then go to
    object>path>join, i get the message:
    "to join, you must select two open endpoints. If they are not on the same path,
    they can not be on text paths nor inside graphs, and if both of them are
    grouped, they must be in the same group"
    i did select 2 open endpoints and i tried ungrouping the text but i still get the same message.
    Any ideas?
    Daniel

    Daniel,
    Probably, the upper border of the parts of the two letters to be joined are aligned, and the lower border is not.
    Presuming sans serif letter, in many cases you will obtain the cleanest look if you:
    1) Type>Create Outlines,
    2) Ungroup and Object>Compound Path Release,
    3) With the Scissors Tool cut at the far corners of both upper and lower border,
    4) DirectSelect and Join both to rebuild the joining part.

  • Joining line paths in CS5

    Hi,
    I am working on a line art project and trying to figure out how to join an endpoint on one path to another path. Here is pic of what I am trying to do:
    http://imageshack.us/photo/my-images/862/screenshot20111215at150.png/
    Is there a way to join a line to the middle of another line and keep the line styles? Right now some of my paths end abruptly in a square end, but how do I joint them together? I tried using the "join" command, but that requires 2 endpoints.

    Spinky,
    It seems that in this case you may give the chin/cheek paths white fills and extend the troublesome paths, keeping them underneath the others; if that is not too cheeky.

  • Joining two paths: fill problems

    Hello,
    I am having the following problem: I have a path entailing a simple closed curve
    but when I try to fill the color won't extend to the whole area. To reproduce the
    problem:
    1. With the Ellipse Tool draw a circle.
    2. In the Paths panel click Add Points twice to add points to the circle.
    3. In the Paths panel click Knife On Points to yield individual segments.
    4. Here we create two paths by leaving out two nonadjacent segments.
      4a. Shift click four segments and then in the Path Panel click Join Paths to piece them together.
      4b. Shift click four other segments and then in the Path Panel tool click Join Paths to piece them together.
      4c. Delete the nonadjacent segments from the paths list under the given layer.
    5. Ctrl-Shift click two of the endpoints in one of the two segments and click Join Points in the Paths panel.
    6.Try to fill the area. The fill color won't extend.
    What am I doing wrong? Or is this a bug? How do I work around this problem?
    Thanks,
    John Goche
    Fireworks CS4 on Windows 7.

    Hi John,
    Thank you for your replies, I found them helpful, although I still think
    the options 1 and 2 come down to a bit of buggy code which hopefully
    will be fixed in the following releases unless someone can explain why
    it behaves that way, perhaps I am missing something about paths and fills.
    I wouldn't say there's anything buggy going on, but the way you are building a vector object is definitely not typical and reveals some awkward/confusing behavior. The important thing to understand is that:
    1. A fill is rendered from a contour, which is a series of connected points
    2. A standard "Path" has a single contour, for example an ellipse
    3. A "Compound Path" has multiple contours, and it renders each contour like a filled path, and adds/subtracts from the final result based on overlapping areas per a vector "fill rule" (which can be toggled in the Path panel) -- this is just like Illustrator and other vector environments
    4. Join Paths' behavior when points are not selected is to create a compound path from multiple existing paths -- ie if you have two paths, both with 1 contour, then you end up with a compound path with 2 contours -- NOT a path with a single merged/stitched together contour. (Conversely, Split Paths will separate each contour of a compound path into its own path.)
    5. Like Anita said, Union Paths will actually merge paths, though it's not so much looking at points and merging points as it's looking at fills and merging overlapping areas, creating/deleting points as needed
    So basically, you have to remember that if you want a continuous fill from multiple paths you are about to join, you have to make sure the points are actually connected in your final result. It's not enough to simply have 2 points that are close or even directly on each other then perform "Join Paths". Fortunately there are lots of ways to merge points to create a continous contour:
    1. Select 2 endpoints with the Subselect tool and this will tell Join Paths to merge them if they are on top of each other, or connect them -- in both cases you end up with a continous contour which will be filled
    2. Select an endpoint and drag it over another endpoint and release -- FW will snap them together and merge them
    3. Select 2 endpoints or multiple adjacent points and use Weld Points in the Path panel
    Applying all that to the situation of creating a symmetrical vector (which I do a fair amount myself), you could:
    1. Draw your first half
    2. Duplicate or clone and mirror
    3. Position the mirrored clone where you want it
    4. Select the endpoints you want connected and use Weld Points or Join Points
    You'll end up with a fully filled shape.
    That turned out pretty long-winded but hopefully it clears some things up!
    Cheers.
    Aaron Beall
    http://fireworks.abeall.com

  • How do i join multiple paths to make one object.....

    .... so as to be able to apply a fill over the whole object?? 
    This might sound more obvious than it actually is in this case so i'll explain.  My partners artwork contains a lot of linework and unfortunately, i can't get the degree of accuracy i need with a continous path.  Therefore, the problem i have is joining lots of paths (some of which have endpoints joining midway through other paths) to make a single object with the strokes preserved, so i can apply a fill to the overall object or to individual sections. 
    I've tried unite, join and all the other commands that i'm aware of but all give undesired effects.  I've tried using a compund path but all that does is make them act as one but still doesn't do what i need with regards to filling the object.
    A simplified example of what i need to achieve is this...... create a square using 4 seperate paths and then a cross through the middle using more seperate paths to create a 4 box square.  I need to be able to make this one object so i can fill each individual square a different colour if need be?? 
    This is something i've found i will need to be able to do on a regular basis so any help is gratefully received
    Thanks for any help in advance

    Thank you friend, this is exactly what i'm after.  Something so simple that has escaped my knowledge up until now...... absolute lifesaver
    Thanks to both of you that answered

  • CS3: Join long paths comprised of many segments?

    Hello!  I understand using the white arrow to select the shared endpoints of individual segments, then Joining them to create one segment. Now, however, I'm faced with an entire urban road network comprised of individual segments which need to be joined.  In FreeHand, you could select all segments in one road and click "Join."  How can I achieve this in CS3?  Thank you!

    Thanks; this looks like it should fit the bill.  However, I'm on a PC and it says "For Mac."  Do you happen to know if it has a chance of working with my machine?  Thank you!

  • Join paths pen

    I'm trying to join two paths with the pen tool. The shape is a coffe mug, took me half an hour to try to combine paths with the pen tool.
    I'm trying to join where the little white gap is. I had the same issue opposite but I managed to draw a little curve in there and join the paths. But I can't seem to do it the other side and I don't understand how it works.
    I attache a pic and a movie.

    PF,
    You may approach it in a quite different way, locking the present artwork and redrawing on top of it (Smart Guides are your friends):
    1) Create a circle corresponding to the width and place it so that the side Anchor Points coincide with the present ones;
    2) Drag the bottom Anchor Point vertically down with the Direct selection Tool so you have a match with the bottom part of the shape;
    3) Create a matching/corresponding ellipse on top of the inner oval;
    4) Create a copy of 3) and scale up uniformly and move down so you have a set of matching/corresponding ellipses;
    Note to 3) and 4): to depict a circle at an angle, you should have ellipses, not just ovals;
    5) Move/resize the set of ellipses and/or adjust the Anchor Points/Handles of the upper part of the circle until the outer ellipse fits the upper circle part smoothly;
    6) Zoom way in on the left side fit area (and maybe adjust as in 5), select both outer ellipse and circle to see the spines clearly, and see that they fit;
    7) With the Line Tool ClickDrag horizontally to the right from the spot where the two coincide (most) exactly, then zoom out and extend/move the line to extend past the circle in both sides;
    8) Select the circle and cut it with the Scissors Tool where the line intersects it in both sides (Smart Guides say intersect), and delete the top part.

  • Join Path not recording in action

    I'm trying to build an action in Illustrator CC (17.1) to post-process some vector files exported from a CAD package. The workflow is:
    Select All
    Object > Path > Join
    Effect > Path > Offset... (0.25mm)
    However, when recording the action only Select All is captured. The Join and Offset operations are performed on the artwork, but do not appear in the action. I've tried searching around for more details on Join used in actions, or limitations of actions, and haven't found any issues here.  I  would expect all of the basic object manipulations in the Object and Effects menus to be available for action recording, but it seems that may not be the case? Can anyone shed light on what's going on here?

    In the Actions panel menu, take a look at the Insert Menu Item command.

  • How do you combine paths?

    Hi all.
    I had to break a closed path apart, delete a section, and re-do it.  Unfortunately Illustrator has a penchant for deselecting the path you're working on with the pen tool and starting a new one from time to time, so now I have three paths instead of one.  But they all have common end points, ready to join.
    I've searched the doc, the forums, and the Web, but haven't found how to join these paths into one.  Not a compound path that remains separable (which is what "Pathfinder" creates), but rather one path as if I'd drawn it continuously.
    What to do?
    Thanks!

    I am begining to be curious to see what kind of artwork you are drawing just to get a better understanding why joining is not working for you.
    If the main source of the problem is that the pen does not continue to draw but wants to draw a new path there might be some settings that could be adjusted so it would better suit you. Are you using a Wacom maybe?
    Anyway, take a period where you closely watch the pen icon while you are drawing. If the pen discontinues there will appear an x just beside the icon. You can then move the pen to where it left off and a slash will appear at the icon to let you know you can continue.
    Under usual conditions the pen only stops drawing the path if you hold down the Cmd key and click on a white area. If that is not the case something else is wrong.
    A key can be assigned to a scripts via the Action Panel. Make a new Action. Stop recording and from the fly-out menu: Insert a Menu Item... etc.

  • 3-1674105521 Multiple Paths error while using Bridge Table

    https://support.us.oracle.com/oip/faces/secure/srm/srview/SRViewStandalone.jspx?sr=3-1674105521
    Customer Smiths Medical International Limited
    Description: Multiple Paths error while using Bridge Table
    1. I have a urgent customer encounterd a design issue and customer was trying to add 3 logical joins between SDI_GPOUP_MEMBERSHIP and these 3 tables (FACT_HOSPITAL_FINANCE_DTLS, FACT_HOSPITAL_BEDS_UTILZN and FACT_HOSPITAL_ATRIBUTES)
    2. They found found out by adding these 3 joins, they ended with circular error.
    [nQSError: 15001] Could not load navigation space for subject area GXODS.
    [nQSError: 15009] Multiple paths exist to table DIM_SDI_CUSTOMER_DEMOGRAPHICS. Circular logical schemas are not supported.
    In response to this circular error, the developer was able to bypass the error using aliases, but this is not desired by client.
    3. They want to know how to avoid this error totally without using alias table and suggest a way to resolve the circular join(Multiple Path) error.
    Appreciated if someone can give some pointer or suggestion as the customer is in stiff deadline.
    Thanks
    Teik

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Query Degradation--Hash Join Degraded

    Hi All,
    I found one query degradation issue.I am on 10.2.0.3.0 (Sun OS) with optimizer_mode=ALL_ROWS.
    This is a dataware house db.
    All 3 tables involved are parition tables (with daily partitions).Partitions are created in advance and ELT jobs loads bulk data into daily partitions.
    I have checked that CBO is not using local indexes-created on them which i believe,is appropriate because when i used INDEX HINT, elapsed time increses.
    I checked giving index hint for all tables one by one but dint get any performance improvement.
    Partitions are daily loaded and after loading,partition-level stats are gathered with dbms_stats.
    We are collecting stats at partition level(granularity=>'PARTITION').Even after collecting global stats,there is no change in access pattern.Stats gather command is given below.
    PROCEDURE gather_table_part_stats(i_owner_name,i_table_name,i_part_name,i_estimate:= DBMS_STATS.AUTO_SAMPLE_SIZE, i_invalidate IN VARCHAR2 := 'Y',i_debug:= 'N')
    Only SOT_KEYMAP.IPK_SOT_KEYMAP is GLOBAL.Rest all indexes are LOCAL.
    Earlier,we were having BIND PEEKING issue,which i fixed but introducing NO_INVALIDATE=>FALSE in stats gather job.
    Here,Partition_name (20090219) is being passed through bind variables.
    SELECT a.sotrelstg_sot_ud sotcrct_sot_ud,
    b.sotkey_ud sotcrct_orig_sot_ud, a.ROWID stage_rowid
    FROM (SELECT sotrelstg_sot_ud, sotrelstg_sys_ud,
    sotrelstg_orig_sys_ord_id, sotrelstg_orig_sys_ord_vseq
    FROM sot_rel_stage
    WHERE sotrelstg_trd_date_ymd_part = '20090219'
    AND sotrelstg_crct_proc_stat_cd = 'N'
    AND sotrelstg_sot_ud NOT IN(
    SELECT sotcrct_sot_ud
    FROM sot_correct
    WHERE sotcrct_trd_date_ymd_part ='20090219')) a,
    (SELECT MAX(sotkey_ud) sotkey_ud, sotkey_sys_ud,
    sotkey_sys_ord_id, sotkey_sys_ord_vseq,
    sotkey_trd_date_ymd_part
    FROM sot_keymap
    WHERE sotkey_trd_date_ymd_part = '20090219'
    AND sotkey_iud_cd = 'I'
    --not to select logical deleted rows
    GROUP BY sotkey_trd_date_ymd_part,
    sotkey_sys_ud,
    sotkey_sys_ord_id,
    sotkey_sys_ord_vseq) b
    WHERE a.sotrelstg_sys_ud = b.sotkey_sys_ud
    AND a.sotrelstg_orig_sys_ord_id = b.sotkey_sys_ord_id
    AND NVL(a.sotrelstg_orig_sys_ord_vseq, 1) = NVL(b.sotkey_sys_ord_vseq, 1);
    During normal business hr, i found that query takes 5-7 min(which is also not acceptable), but during high load business hr,it is taking 30-50 min.
    I found that most of the time it is spending on HASH JOIN (direct path write temp).We have sufficient RAM (64 GB total/41 GB available).
    Below is the execution plan i got during normal business hr.
    | Id  | Operation                 | Name                | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  | Writes |  OMem |  1Mem | Used-Mem | Used-Tmp|
    |   1 |  HASH GROUP BY            |                     |      1 |      1 |   7844K|00:05:28.78 |      16M|    217K|  35969 |       |       |          |         |
    |*  2 |   HASH JOIN               |                     |      1 |      1 |   9977K|00:04:34.02 |      16M|    202K|  20779 |   580M|    10M|  563M (1)|     650K|
    |   3 |    NESTED LOOPS ANTI      |                     |      1 |      6 |   7855K|00:01:26.41 |      16M|   1149 |      0 |       |       |          |         |
    |   4 |     PARTITION RANGE SINGLE|                     |      1 |    258K|   8183K|00:00:16.37 |   25576 |   1149 |      0 |       |       |          |         |
    |*  5 |      TABLE ACCESS FULL    | SOT_REL_STAGE       |      1 |    258K|   8183K|00:00:16.37 |   25576 |   1149 |      0 |       |       |          |         |
    |   6 |     PARTITION RANGE SINGLE|                     |   8183K|    326K|    327K|00:01:10.53 |      16M|      0 |      0 |       |       |          |         |
    |*  7 |      INDEX RANGE SCAN     | IDXL_SOTCRCT_SOT_UD |   8183K|    326K|    327K|00:00:53.37 |      16M|      0 |      0 |       |       |          |         |
    |   8 |    PARTITION RANGE SINGLE |                     |      1 |    846K|     14M|00:02:06.36 |     289K|    180K|      0 |       |       |          |         |
    |*  9 |     TABLE ACCESS FULL     | SOT_KEYMAP          |      1 |    846K|     14M|00:01:52.32 |     289K|    180K|      0 |       |       |          |         |
    I will attached the same for high load business hr once query gives results.It is still executing for last 50 mins.
    INDEX STATS (INDEXES ARE LOCAL INDEXES)
    TABLE_NAME                          INDEX_NAME                          COLUMN_NAME        COLUMN_POSITION   NUM_ROWS DISTINCT_KEYS CLUSTERING_FACTOR
    SOT_REL_STAGE                       IDXL_SOTRELSTG_SOT_UD               SOTRELSTG_SOT_UD                 1   25461560      25461560            184180
    SOT_REL_STAGE                                                           SOTRELSTG_TRD_DATE               2   25461560      25461560            184180
                                                                            _YMD_PART
    TABLE_NAME                          INDEX_NAME                          COLUMN_NAME        COLUMN_POSITION   NUM_ROWS DISTINCT_KEYS CLUSTERING_FACTOR
    SOT_KEYMAP                          IDXL_SOTKEY_ENTORDSYS_UD            SOTKEY_ENTRY_ORD_S               1 1012306940             3          38308680
                                                                            YS_UD
    SOT_KEYMAP                          IDXL_SOTKEY_HASH                    SOTKEY_HASH                      1 1049582320    1049582320        1049579520
    SOT_KEYMAP                                                              SOTKEY_TRD_DATE_YM               2 1049582320    1049582320        1049579520
                                                                            D_PART
    SOT_KEYMAP                          IDXL_SOTKEY_SOM_ORD                 SOTKEY_SOM_UD                    1 1023998560     268949136         559414840
    SOT_KEYMAP                                                              SOTKEY_SYS_ORD_ID                2 1023998560     268949136         559414840
    SOT_KEYMAP                          IPK_SOT_KEYMAP                      SOTKEY_UD                        1 1030369480    1015378900          24226580
    TABLE_NAME                          INDEX_NAME                          COLUMN_NAME        COLUMN_POSITION   NUM_ROWS DISTINCT_KEYS CLUSTERING_FACTOR
    SOT_CORRECT                         IDXL_SOTCRCT_SOT_UD                 SOTCRCT_SOT_UD                   1  412484756     412484756         411710982
    SOT_CORRECT                                                             SOTCRCT_TRD_DATE_Y               2  412484756     412484756         411710982
                                                                            MD_PART
    INDEX partiton stas (from dba_ind_partitions)
    INDEX_NAME                     PARTITION_NAME       STATUS       BLEVEL LEAF_BLOCKS DISTINCT_KEYS CLUSTERING_FACTOR   NUM_ROWS SAMPLE_SIZE LAST_ANALYZ GLO
    IDXL_SOTCRCT_SOT_UD            P20090219            USABLE            1         372        327879            216663     327879      327879 20-Feb-2009 YES
    IDXL_SOTKEY_ENTORDSYS_UD       P20090219            USABLE            2        2910             3             36618     856229      856229 19-Feb-2009 YES
    IDXL_SOTKEY_HASH               P20090219            USABLE            2        7783        853956            853914     853956      119705 19-Feb-2009 YES
    IDXL_SOTKEY_SOM_ORD            P20090219            USABLE            2        6411        531492            157147     799758      132610 19-Feb-2009 YES
    IDXL_SOTRELSTG_SOT_UD          P20090219            USABLE            2       13897       9682052             45867    9682052      794958 20-Feb-2009 YESThanks in advance.
    Bhavik Desai

    Hi Randolf,
    Thanks for the time you spent on this issue.I appreciate it.
    Please see my comments below:
    1. You've mentioned several times that you're passing the partition name as bind variable, but you're obviously testing the statement with literals rather than bind
    variables. So your tests obviously don't reflect what is going to happen in case of the actual execution. The cardinality estimates are potentially quite different when
    using bind variables for the partition key.
    Yes.I intentionaly used literals in my tests.I found couple of times that plan used by the application and plan generated by AUTOTRACE+EXPLAIN PLAN command...is same and
    caused hrly elapsed time.
    As i pointed out earlier,last month we solved couple of bind peeking issue by intproducing NO_VALIDATE=>FALSE in stats gather procedure,which we execute just after data
    load into such daily partitions and before start of jobs which executes this query.
    Execution plans From AWR (with parallelism on at table level DEGREE>1)-->This plan is one which CBO has used when degradation occured.This plan is used most of the times.
    ELAPSED_TIME_DELTA BUFFER_GETS_DELTA DISK_READS_DELTA CURSOR(SELECT*FROMTA
            1918506000          46154275              918 CURSOR STATEMENT : 4
    CURSOR STATEMENT : 4
    PLAN_TABLE_OUTPUT
    SQL_ID 39708a3azmks7
    SELECT A.SOTRELSTG_SOT_UD SOTCRCT_SOT_UD, B.SOTKEY_UD SOTCRCT_ORIG_SOT_UD, A.ROWID STAGE_ROWID FROM (SELECT SOTRELSTG_SOT_UD,
    SOTRELSTG_SYS_UD, SOTRELSTG_ORIG_SYS_ORD_ID, SOTRELSTG_ORIG_SYS_ORD_VSEQ FROM SOT_REL_STAGE WHERE SOTRELSTG_TRD_DATE_YMD_PART = :B1 AND
    SOTRELSTG_CRCT_PROC_STAT_CD = 'N' AND SOTRELSTG_SOT_UD NOT IN( SELECT SOTCRCT_SOT_UD FROM SOT_CORRECT WHERE SOTCRCT_TRD_DATE_YMD_PART =
    :B1 )) A, (SELECT MAX(SOTKEY_UD) SOTKEY_UD, SOTKEY_SYS_UD, SOTKEY_SYS_ORD_ID, SOTKEY_SYS_ORD_VSEQ, SOTKEY_TRD_DATE_YMD_PART FROM
    SOT_KEYMAP WHERE SOTKEY_TRD_DATE_YMD_PART = :B1 AND SOTKEY_IUD_CD = 'I' GROUP BY SOTKEY_TRD_DATE_YMD_PART, SOTKEY_SYS_UD,
    SOTKEY_SYS_ORD_ID, SOTKEY_SYS_ORD_VSEQ) B WHERE A.SOTRELSTG_SYS_UD = B.SOTKEY_SYS_UD AND A.SOTRELSTG_ORIG_SYS_ORD_ID =
    B.SOTKEY_SYS_ORD_ID AND NVL(A.SOTRELSTG_ORIG_SYS_ORD_VSEQ, 1) = NVL(B.SOTKEY_SYS_ORD_VSEQ, 1)
    Plan hash value: 1213870831
    | Id  | Operation                     | Name                | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT              |                     |       |       | 19655 (100)|          |       |       |        |      |            |
    |   1 |  PX COORDINATOR               |                     |       |       |            |          |       |       |        |      |            |
    |   2 |   PX SEND QC (RANDOM)         | :TQ10003            |     1 |   116 | 19655   (1)| 00:05:54 |       |       |  Q1,03 | P->S | QC (RAND)  |
    |   3 |    HASH GROUP BY              |                     |     1 |   116 | 19655   (1)| 00:05:54 |       |       |  Q1,03 | PCWP |            |
    |   4 |     PX RECEIVE                |                     |     1 |   116 | 19655   (1)| 00:05:54 |       |       |  Q1,03 | PCWP |            |
    |   5 |      PX SEND HASH             | :TQ10002            |     1 |   116 | 19655   (1)| 00:05:54 |       |       |  Q1,02 | P->P | HASH       |
    |   6 |       HASH GROUP BY           |                     |     1 |   116 | 19655   (1)| 00:05:54 |       |       |  Q1,02 | PCWP |            |
    |   7 |        NESTED LOOPS ANTI      |                     |     1 |   116 | 19654   (1)| 00:05:54 |       |       |  Q1,02 | PCWP |            |
    |   8 |         HASH JOIN             |                     |     1 |   102 | 19654   (1)| 00:05:54 |       |       |  Q1,02 | PCWP |            |
    |   9 |          PX JOIN FILTER CREATE| :BF0000             |    13M|   664M|  2427   (3)| 00:00:44 |       |       |  Q1,02 | PCWP |            |
    |  10 |           PX RECEIVE          |                     |    13M|   664M|  2427   (3)| 00:00:44 |       |       |  Q1,02 | PCWP |            |
    |  11 |            PX SEND HASH       | :TQ10000            |    13M|   664M|  2427   (3)| 00:00:44 |       |       |  Q1,00 | P->P | HASH       |
    |  12 |             PX BLOCK ITERATOR |                     |    13M|   664M|  2427   (3)| 00:00:44 |   KEY |   KEY |  Q1,00 | PCWC |            |
    |  13 |              TABLE ACCESS FULL| SOT_REL_STAGE       |    13M|   664M|  2427   (3)| 00:00:44 |   KEY |   KEY |  Q1,00 | PCWP |            |
    |  14 |          PX RECEIVE           |                     |    27M|  1270M| 17209   (1)| 00:05:10 |       |       |  Q1,02 | PCWP |            |
    |  15 |           PX SEND HASH        | :TQ10001            |    27M|  1270M| 17209   (1)| 00:05:10 |       |       |  Q1,01 | P->P | HASH       |
    |  16 |            PX JOIN FILTER USE | :BF0000             |    27M|  1270M| 17209   (1)| 00:05:10 |       |       |  Q1,01 | PCWP |            |
    |  17 |             PX BLOCK ITERATOR |                     |    27M|  1270M| 17209   (1)| 00:05:10 |   KEY |   KEY |  Q1,01 | PCWC |            |
    |  18 |              TABLE ACCESS FULL| SOT_KEYMAP          |    27M|  1270M| 17209   (1)| 00:05:10 |   KEY |   KEY |  Q1,01 | PCWP |            |
    |  19 |         PARTITION RANGE SINGLE|                     | 16185 |   221K|     0   (0)|          |   KEY |   KEY |  Q1,02 | PCWP |            |
    |  20 |          INDEX RANGE SCAN     | IDXL_SOTCRCT_SOT_UD | 16185 |   221K|     0   (0)|          |   KEY |   KEY |  Q1,02 | PCWP |            |
    Other Execution plan from AWR
    ELAPSED_TIME_DELTA BUFFER_GETS_DELTA DISK_READS_DELTA CURSOR(SELECT*FROMTA
            1053251381                 0             2925 CURSOR STATEMENT : 4
    CURSOR STATEMENT : 4
    PLAN_TABLE_OUTPUT
    SQL_ID 39708a3azmks7
    SELECT A.SOTRELSTG_SOT_UD SOTCRCT_SOT_UD, B.SOTKEY_UD SOTCRCT_ORIG_SOT_UD, A.ROWID STAGE_ROWID FROM (SELECT SOTRELSTG_SOT_UD,
    SOTRELSTG_SYS_UD, SOTRELSTG_ORIG_SYS_ORD_ID, SOTRELSTG_ORIG_SYS_ORD_VSEQ FROM SOT_REL_STAGE WHERE SOTRELSTG_TRD_DATE_YMD_PART = :B1 AND
    SOTRELSTG_CRCT_PROC_STAT_CD = 'N' AND SOTRELSTG_SOT_UD NOT IN( SELECT SOTCRCT_SOT_UD FROM SOT_CORRECT WHERE SOTCRCT_TRD_DATE_YMD_PART =
    :B1 )) A, (SELECT MAX(SOTKEY_UD) SOTKEY_UD, SOTKEY_SYS_UD, SOTKEY_SYS_ORD_ID, SOTKEY_SYS_ORD_VSEQ, SOTKEY_TRD_DATE_YMD_PART FROM
    SOT_KEYMAP WHERE SOTKEY_TRD_DATE_YMD_PART = :B1 AND SOTKEY_IUD_CD = 'I' GROUP BY SOTKEY_TRD_DATE_YMD_PART, SOTKEY_SYS_UD,
    SOTKEY_SYS_ORD_ID, SOTKEY_SYS_ORD_VSEQ) B WHERE A.SOTRELSTG_SYS_UD = B.SOTKEY_SYS_UD AND A.SOTRELSTG_ORIG_SYS_ORD_ID =
    B.SOTKEY_SYS_ORD_ID AND NVL(A.SOTRELSTG_ORIG_SYS_ORD_VSEQ, 1) = NVL(B.SOTKEY_SYS_ORD_VSEQ, 1)
    Plan hash value: 3434900850
    | Id  | Operation                     | Name                | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT              |                     |       |       |  1830 (100)|          |       |       |        |      |            |
    |   1 |  PX COORDINATOR               |                     |       |       |            |          |       |       |        |      |            |
    |   2 |   PX SEND QC (RANDOM)         | :TQ10003            |     1 |   131 |  1830   (2)| 00:00:33 |       |       |  Q1,03 | P->S | QC (RAND)  |
    |   3 |    HASH GROUP BY              |                     |     1 |   131 |  1830   (2)| 00:00:33 |       |       |  Q1,03 | PCWP |            |
    |   4 |     PX RECEIVE                |                     |     1 |   131 |  1830   (2)| 00:00:33 |       |       |  Q1,03 | PCWP |            |
    |   5 |      PX SEND HASH             | :TQ10002            |     1 |   131 |  1830   (2)| 00:00:33 |       |       |  Q1,02 | P->P | HASH       |
    |   6 |       HASH GROUP BY           |                     |     1 |   131 |  1830   (2)| 00:00:33 |       |       |  Q1,02 | PCWP |            |
    |   7 |        NESTED LOOPS ANTI      |                     |     1 |   131 |  1829   (2)| 00:00:33 |       |       |  Q1,02 | PCWP |            |
    |   8 |         HASH JOIN             |                     |     1 |   117 |  1829   (2)| 00:00:33 |       |       |  Q1,02 | PCWP |            |
    |   9 |          PX JOIN FILTER CREATE| :BF0000             |  1010K|    50M|   694   (1)| 00:00:13 |       |       |  Q1,02 | PCWP |            |
    |  10 |           PX RECEIVE          |                     |  1010K|    50M|   694   (1)| 00:00:13 |       |       |  Q1,02 | PCWP |            |
    |  11 |            PX SEND HASH       | :TQ10000            |  1010K|    50M|   694   (1)| 00:00:13 |       |       |  Q1,00 | P->P | HASH       |
    |  12 |             PX BLOCK ITERATOR |                     |  1010K|    50M|   694   (1)| 00:00:13 |   KEY |   KEY |  Q1,00 | PCWC |            |
    |  13 |              TABLE ACCESS FULL| SOT_KEYMAP          |  1010K|    50M|   694   (1)| 00:00:13 |   KEY |   KEY |  Q1,00 | PCWP |            |
    |  14 |          PX RECEIVE           |                     |    11M|   688M|  1129   (3)| 00:00:21 |       |       |  Q1,02 | PCWP |            |
    |  15 |           PX SEND HASH        | :TQ10001            |    11M|   688M|  1129   (3)| 00:00:21 |       |       |  Q1,01 | P->P | HASH       |
    |  16 |            PX JOIN FILTER USE | :BF0000             |    11M|   688M|  1129   (3)| 00:00:21 |       |       |  Q1,01 | PCWP |            |
    |  17 |             PX BLOCK ITERATOR |                     |    11M|   688M|  1129   (3)| 00:00:21 |   KEY |   KEY |  Q1,01 | PCWC |            |
    |  18 |              TABLE ACCESS FULL| SOT_REL_STAGE       |    11M|   688M|  1129   (3)| 00:00:21 |   KEY |   KEY |  Q1,01 | PCWP |            |
    |  19 |         PARTITION RANGE SINGLE|                     |  5209 | 72926 |     0   (0)|          |   KEY |   KEY |  Q1,02 | PCWP |            |
    |  20 |          INDEX RANGE SCAN     | IDXL_SOTCRCT_SOT_UD |  5209 | 72926 |     0   (0)|          |   KEY |   KEY |  Q1,02 | PCWP |            |
    EXECUTION PLAN AFTER SETTING DEGREE=1 (It was also degraded)
    | Id  | Operation                 | Name                | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT          |                     |     1 |   129 |       | 42336   (2)| 00:12:43 |       |       |
    |   1 |  HASH GROUP BY            |                     |     1 |   129 |       | 42336   (2)| 00:12:43 |       |       |
    |   2 |   NESTED LOOPS ANTI       |                     |     1 |   129 |       | 42335   (2)| 00:12:43 |       |       |
    |*  3 |    HASH JOIN              |                     |     1 |   115 |    51M| 42334   (2)| 00:12:43 |       |       |
    |   4 |     PARTITION RANGE SINGLE|                     |   846K|    41M|       |  8241   (1)| 00:02:29 |    81 |    81 |
    |*  5 |      TABLE ACCESS FULL    | SOT_KEYMAP          |   846K|    41M|       |  8241   (1)| 00:02:29 |    81 |    81 |
    |   6 |     PARTITION RANGE SINGLE|                     |  8161K|   490M|       | 12664   (3)| 00:03:48 |    81 |    81 |
    |*  7 |      TABLE ACCESS FULL    | SOT_REL_STAGE       |  8161K|   490M|       | 12664   (3)| 00:03:48 |    81 |    81 |
    |   8 |    PARTITION RANGE SINGLE |                     |  6525K|    87M|       |     1   (0)| 00:00:01 |    81 |    81 |
    |*  9 |     INDEX RANGE SCAN      | IDXL_SOTCRCT_SOT_UD |  6525K|    87M|       |     1   (0)| 00:00:01 |    81 |    81 |
    Predicate Information (identified by operation id):
       3 - access("SOTRELSTG_SYS_UD"="SOTKEY_SYS_UD" AND "SOTRELSTG_ORIG_SYS_ORD_ID"="SOTKEY_SYS_ORD_ID" AND
                  NVL("SOTRELSTG_ORIG_SYS_ORD_VSEQ",1)=NVL("SOTKEY_SYS_ORD_VSEQ",1))
       5 - filter("SOTKEY_TRD_DATE_YMD_PART"=20090219 AND "SOTKEY_IUD_CD"='I')
       7 - filter("SOTRELSTG_CRCT_PROC_STAT_CD"='N' AND "SOTRELSTG_TRD_DATE_YMD_PART"=20090219)
       9 - access("SOTRELSTG_SOT_UD"="SOTCRCT_SOT_UD" AND "SOTCRCT_TRD_DATE_YMD_PART"=20090219)2. Why are you passing the partition name as bind variable? A statement executing 5 mins. best, > 2 hours worst obviously doesn't suffer from hard parsing issues and
    doesn't need to (shouldn't) share execution plans therefore. So I strongly suggest to use literals instead of bind variables. This also solves any potential issues caused
    by bind variable peeking.
    This is a custom application which uses bind variables to extract data from daily partitions.So,daily automated data extract from daily paritions after load and ELT process.
    Here,Value of bind variable is being passed through a procedure parameter.It would be bit difficult to use literals in such application.
    3. All your posted plans suffer from bad cardinality estimates. The NO_MERGE hint suggested by Timur only caused a (significant) damage limitation by obviously reducing
    the row source size by the group by operation before joining, but still the optimizer is way off, apart from the obviously wrong join order (larger row set first) in
    particular the NESTED LOOP operation is causing the main troubles due to excessive logical I/O, as already pointed out by Timur.
    Can i ask for alternatives to NESTED LOOP?
    4. Your PLAN_TABLE seems to be old (you should see a corresponding note at the bottom of the DBMS_XPLAN.DISPLAY output), because none of the operations have a
    filter/access predicate information attached. Since your main issue are the bad cardinality estimates, I strongly suggest to drop any existing PLAN_TABLEs in any non-Oracle
    owned schemas because 10g already provides one in the SYS schema (GTT PLAN_TABLE$) exposed via a public synonym, so that the EXPLAIN PLAN information provides the
    "Predicate Information" section below the plan covering the "Filter/Access" predicates.
    Please post a revised explain plan output including this crucial information so that we get a clue why the cardinality estimates are way off.
    I have dropped the old plan.Got above execution plan(listed above in first point) with PREDICATE information.
    "As already mentioned the usage of bind variables for the partition name makes this issue potentially worse."
    Is there any workaround without replacing bind variable.I am on 10g so 11g's feature will not help !!!
    How are you gathering the statistics daily, can you post the exact command(s) used?
    gather_table_part_stats(i_owner_name,i_table_name,i_part_name,i_estimate:= DBMS_STATS.AUTO_SAMPLE_SIZE, i_invalidate IN VARCHAR2 := 'Y',i_debug:= 'N')
    Thanks & Regards,
    Bhavik Desai

  • Joining Line Segments in CS6

    I am drawing a simple diamond shape made with one rectanlge shape and multiple line segments.  As I drew the design, I made sure to connect all the segments at the anchors.  When I select all of the segments and try to join the paths, the end points or corners are not smooth.  In other words, some of the line segment ends hang over the edges...  What am I doing wrong?  Thanks!
    The image below shows the left side of the diamond, where the top portion meets the bottom...

    Thank you, DayForce.  Changing the corner type to "round join" did the trick!  May I ask another question?  When I select all the segments and join the paths, I get an additional line segment from one point to another.  How can I elminiate this?

  • Simplifying Straight Line Paths

    Hey all,
    new to the forum and really struggling with something at the moment, Using Illustrator CS4
    I've imported a map from a DWG prepared in Archicad (vector based architecture software)
    This map shows roads and buildings (they are paths in illustrator) and as you would imagine the roads are curved but rather than being drawn with curves they are composed of many many straight line paths and as I'm meaning to have a model laser cut from the Illustrator file I need to join these paths into longer paths so the laser cutting doesn't take forever.
    As far as I can see it's fairly simple to simplify the number of anchor points on a curved path using the Object>Path>Simplify tool but simplifying multiple straight line paths that only have the slightest deviation in angle seems harder, or at least I can't work it out.
    I have attached an image, The areas highlighted in green are examples of areas where there are too many paths and just one or two paths would be fine. It would be fine to either convert the paths to curved paths or just simply reduce the number of straight line paths that compose the curves.
    Hope someone can help, Thx for your time
    The

    Apart from the current problem, you should take a look at the free plugin "Kartografie-Funktionen" if you do this kind of stuff regularly. http://www.ika.ethz.ch/plugins/index.html
    It has a tool for simplifying paths, which works slightly different than Illustrator's

Maybe you are looking for

  • My safari keeps crashing after 5 seconds

    My safari started quitting unexpectedly after about 5 seconds of opening last night. It works when I hook up my phones internet, or use the university internet but not my BigAir connection at home. Have tried various troubleshooting ideas from other

  • Site2pstoretoken associated URL for Oracle SSO

    Hi, My login app works fine except for I need to determine the destination before the app does a submit to /sso/auth. My understanding is that the site2pstoretoken does this. The problem is that it looks like it is stored somewhere in a database or e

  • How to tell N6.5 DHCP to use a W2k8 for PXE?

    Hello, could anyone give me a hint, how to tell my netware DHCP to use a Windows Server 2008 R2 running Acronis with PXE Server? Actual Situation: Netware 6.5 Sp8 Server with ZENWORKS in Cluster mode Netware DHCP Server ZEN7 SP1 Imaging --> works fin

  • I have another problem with my restored sent e-mail messages

    I like to back up my mail on my MacBook Pro. Ever since I restored my sent e-mail messages on my iMac using its TM, I copy my mail folder on my MacBook Pro but the sent messages doesn't work on my MBP. I think that I know the cause is, on my external

  • Error during sales return Delivery

    Dear Friends, I am Getting error while doing sales return processing in VL01n - Goods Issue. Error Message - Status of Inspection Lot 0600000002 / Partial Lot does not allow Goods issue. I have already done the settings in config, Assign Inspection L