Speeding up Heirarchical tree fetch

Hello,
I am currently running Forms 6i (Patchset 18) on Oracle 10g R2. I have a form which uses a heirarchical tree generated by a SQL. The form takes around 10 seconds to show the tree. And while the tree is being generated the whole window is inaccessible.
I have created appropriate Indices on the database to ensure the SQL is optimised.
Can anything be done to increase the speed of the tree fetch?
Regards,
Sudhamshu

@Manu: I have optimised the query by providing appropriate indices. However, the speed of the fetch increased only marginally.
@Andreas:
Thanks for the link (to your blogpost) on Partial Loading. I shall try that and see how it affects the speed. I was trying to get something similar done. This is Helpful. Thank you.

Similar Messages

  • How can we use "tooltip " option in heirarchical tree item in oracle 11g?

    how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?

    hi user11973188
    how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?isn't it exist in the tree item's property itself... ?!
    Regards,
    Abdetu...

  • How to use Heirarchical Tree to call others forms

    Dear All:
    I need to use a Heirarchical Tree in the MAIN Page to call ALL FORMs that I made. I mean when I click the node I can get the specified form.
    Would you please provide me with an example how to make it.
    Cheers

    Hi, Was you able to discover how to create a hierarchical tree to call other forms?
    Thanks,
    Warren

  • Heirarchical Tree Issue

    Hi,
    I am trying to build a tree in a table.
    I have built that and now am enhancing the application as per my needs.
    What i want to achieve is the following:
    The child rows each have a field namely Quantity which the user can change.
    For that i first of all need the LeadSlection to fire the change for that particular row.
    When i am getting lead selection, its basically showing me the row number within that tree...
    For instance,
    + Row1
    - Child1
    +Row 2
    - Chilld2
    - Child3
    If i choose Child 1 or Child2, value is 0 and if i choose Child3 value is 1...
    So its basically taking the LeadSelection within the Parent row...
    The idea i am trying here is to amend an attribute of one of the children (Child1, Child2, Child3)
    So, how can i achieve this?
    Lastly, wheneveri expand a node, say the number of elements is 2, i collapse the node and reexpand it.. and the number of children become 4 and so on...
    i have set the ChildrenExpanded property to true onLoadChildren...
    Lokking for guidance here..
    Regards,
    Dev

    Hi DB,
       you are asking alot of thing and it´s like a job, you have to code a bit.
    look here:
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/90dae990-0201-0010-d886-ef4afe418d1e
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/38650ecd-0401-0010-10a0-f9d8fd37edee
    and search into SDN forum, there are also some topic where i posted some of mine example on tree usage.

  • Heirarchical Tree ?

    Hi
    My oracle version is Oracle XE And developer 6I
    I Create a Tree which code is
    SELECT 1, LEVEL, initcap(name)||' ('||to_char(id)||' )','',to_char(id)
    FROM py_emp
    CONNECT BY PRIOR id = catagory_id  start with
    id BETWEEN 01 AND 100
    ORDER SIBLINGS BY IDIts show record Like
    Management
    Yousuf
    Shahzaib
    Imran
    Cutting
    Master Sajjad
    Yakoob
    Finishing
    Toufiq
    Yasin
    Yasir
    Umair
    I need to bold my Department name
    Like Management,Cutting,Finishing Department
    which look like this
    Management
    Yousuf
    Shahzaib
    Imran
    Cutting
    Master Sajjad
    Yakoob
    Finishing
    Toufiq
    Yasin
    Yasir
    Umair
    Regards
    Shahzaib ismail

    hi
    store all u r gif-icons in database something like this.
    SQL> desc icon
    Name                                      Null?    Type
    CODE                                      NOT NULL NUMBER(10)
    NAME                                               VARCHAR2(20)
    ICON                                               VARCHAR2(20)
    PARENT                                             NUMBER(10)
    insert into icon values(101,'Seema','save','.................);sarah

  • Heirarchical Trees

    Developer 6.0.5.0.2 Forms
    Windows NT4 Service Pack4
    ORACLE 8.0.5 on sun solaris server
    I am attempting to build a tree via a record group.
    The property sheet for the tree asks for a record group.
    What structure does the record group (or query that creates the
    record group) need to be in to populate the tree?
    Thankyou
    null

    Hello-
    I've been using Hierarchy Trees for a few weeks now and thought
    I would be able to help you out a bit if you need it.
    I've used queries, record groups, tables, views and cursors to
    generate hierarchy trees of depths up to 5 levels.
    To date, I've found that the table/view is the fastest way to
    go. Of course, you need to create your hierarchy organization
    in a flat file format in order to use a table or view as the
    Htree's source (I used a big Union query with multiple reference
    keys to keep things straight).
    I've found that the more elements you auto-expand (initial state
    value) the longer it takes to render the object. One Tree that
    took over a minute to generate with all nodes expanded (5
    levels) took only 3 seconds when only the top level (root node)
    was expanded.
    What I don't understand is why Oracle didn't create the tree in
    a way that allows you to use a non-flat file arrangement for
    your hierarchy data feed. Allaire created a nice hierarchy tree
    control (using Java) in their Cold Fusion application (database
    applications for the web) that allows you to write a single
    query to feed the entire tree using the format
    value="value1,value2,value3" Display="display1, display2,
    display3" instead of doing each level on its own the way Oracle
    forces it. Look into Cold Fusion if you're looking for a
    comparable internet-based hierarchy tree control.
    S-
    Lakhbir Kang (guest) wrote:
    : Developer 6.0.5.0.2 Forms
    : Windows NT4 Service Pack4
    : ORACLE 8.0.5 on sun solaris server
    : I am attempting to build a tree via a record group.
    : The property sheet for the tree asks for a record group.
    : What structure does the record group (or query that creates
    the
    : record group) need to be in to populate the tree?
    : Thankyou
    null

  • Error Message for Heirarchical Tree

    Error : FRM-47321
    Can I know more about this error message please. I get the error message when do the ftree.populate_tree.
    Thanks in advance
    Magesh

    FRM-47321 error indicates that the data used to populate the tree is of improper format. Please look at the on-line documentation in Forms builder or Forms deployment guide for more details on using free built-ins.

  • Using tree - how to get upper levels

    I create a heirarchical tree based on a couple of tables via a record group i create on the fly.
    I then let the user attach documents to the tree nodes. The problem comes that the node may not exist in the database yet as they can build them as they go. So i need to insert all record on tree into table when they attach a document. I dont want to do this before as i am only interested when they are attaching documents - rather than storing all data that may never be used.
    My problem is when they attach the document i want to find all levels in that particular tree to insert them.
    i.e. if my tree is as follows
    1
    -1b
    2
    -2b
    3
    -3b
    -3c
    and the user attaches against 3c I want to insert 3 into the table, then 3b, then the document against 3b, so i need to find out what its uplevel is in this case 3.
    How is best way to do this? i have NODE_DEPTH property - to know its not top level and NODE VALUE to know the value, and NODE_LABEL to know the description but how can i find my uplevel when its not stored in a table anywhere.

    Cant believe i never found that when searching forms help.
    Thanks

  • Problems with Tree View

    I am using Forms 6 to display a hierarchical tree strucure in a departmental application. I am able to use it for displaying the hierarchy but unable to do anything programatically with the tree. Could somebody help me please, with some insight - which would be much appreciated. Thanks in advance.

    Hi Sumer!
    U can do any thing with the tree programatically.
    Tell me which tree u r using if it is activex provided by forms.
    U can find all the methods and functions in the forms help search for Heirarchical trees topic.
    Even u r facing any problem write me I will get u the solution.
    Mayank Sharma
    [email protected]

  • View Objects Fetch depth with View Links while creating Service Data Object

    Hi ,
    I am trying to create SDO's for my Business components.
    Here are my Entities & relations :
    Entity Objects : 1) EmployeeEo 2) DepartmentEO 3) PropertyEO
    And corresponding View Objects 1) EmployeeVO 2) DepartmentVO 3) PropertyVO.
    Associations : Employee -> Dept (m:1) , Employee -> Property (1:M) , And corresponding View Links as well.
    When i expose the VO's in AM like :
    DepartmentVO, with EmployeeVO from dept_emp_view link => This fetches all the data from Dept-> Employees -> Property
    However i don't want the tree fetch to be like that , i want to have my fetch restricted to only one level ie Dept-> Employees
    and a different fetch for Employees -> Property .
    Please suggest.
    Thanks !!

    Was able to do it by extending VO

  • How to create this Hieararchical Tree?

    Hi All,
    Please help me on this issue.
    I need DRILL DOWN functionality in forms. Im trying to Study / Create Hierarchi Tree Concept in Forms 6i, but couldn't able to manage /Understand how to create this. Please any one could help me. and im giving my scenario also here, whether it can support or not.
    Our routes having lot of terminals, like Our Bus travels from KENYA to SOUTH AFRICA passing TANZANIA,ZAMBIA,MALAWI,BOTSWANA countries. so i need the No of records to be dynamic i cant fix 10 records and scroll etc, Rather im trying to use Heirarchi Trees to achive this.
    My Table is like this.
    Table #1 Route_quotas
    Route_no,terminal_name,quota_station_from,quota_station_to,no_of_seats,seat_no_start_from,seat_no_ending
    Data is Like this:
    1,GNT,GNT,HYD,10,1,10
    1,GNT,GNT,VJA,40,11,50
    1,VJA,VJA,KDD,10,11,20
    1,VJA,VJA,HYD,30,21,50
    I need data to be displayed / functoned like this. If One select Route_no 1 in a List_item. Down to that i should show which terminals having quotas in this route. those are.
    GNT
    VJA
    Next ... If One selects this node like if one Expands GNT node the sub nodes should be like this having three coulmns (i.e quota_station_from,quota_station_to,no_of_seats columns)
    GNT HYD 10
    GNT VJA 40
    Next again.. if One select the first subnode it should give ...the seat Nos
    1,2,3,4,5,6,7,8,9,10 (please Omit the commas) and from there i should be able to select one seat_no and do some actions based on that. like RESERVE or ISSUE what ever i like. i need that Seat_no value.
    GNT
    ........GNT HYD 10
    ................ 1 2 3 4 5 6 7 8 9 10
    ........GNT VJA 40
    ................11 12 13 14 15....50
    VJA
    ........VJA KDD 10
    ................11 12 13 14 15 16 17 18 19 20
    ........VJA HYD 30
    ................21 22 23 24 ...... 50
    Thanks in advance.

    Rama,
    I would use nested PLSQL cursors to populate a record group and create the tree from there. This way you can also concatinate multiple values to show as a single name in a tree.
    Frank

  • How to Use Tree Structure in Forms (Expand & Collpse)

    Hi ,
    I need a logic to develop a Custom form which using tree structure fuctionality.It's like same in Indented Bills form (Module Bills of Material).
    I have to use the symbol '+' and '-' in column called item_number ( if it has sub componentes, using that symbol i may explode or collopse).
    I gone through the base form for that(indented Bill form(Form Name:BOMFQBIN, using BOMFMSTR library function to create Tree Structure)
    but i colud not understand the logic.
    If any one clarify me then it's fine
    Thanks,
    Sri

    see this thread
    Re: Forms 60 Heirarchical Tree..Need Help

  • Hierarchical tree Report

    Hello Experts,
    I am creating a Heirarchical tree Report using class CL_GUI_ALV_TREE.
    For getting the Heirarchical data of my requirement , I am using BAPI CL_GUI_ALV_TREE in which table E_WBS_HIERARCHIE_TABLE contain all of data.
    I am stcuk , how to write the logic to use this data to build a tree, ( Data format in the table is : WBS_Elemant , Project Defination, Up , Down , Left , right).
    Please suggest me the logic or any function module ( Or method) which uses this data to buld a tree. I am using ADD_NODE methos to add a node in the tree.
    Thanks & Regards
    Mohit

    Hi,
    What needs to be done is import the data into a local table and then use that one to display your alv tree.
    Try searching on sdn or google for similar code.
    Manish

  • Logic for displaying nested nodes.

    helo all
    i have to display a report in a heirarchical tree structure . I am able to display the report in heirarchical format .
    The following is my requirement . I'm able to do it for 2 nodes . but how to build the nodes for the below requirement .
    Step 1 : Once User enters DB, Go to CHVW  with No Receipt Indicator as Space and CHARG as DB # Entered on screen(Parent Node)
    Step2: Check the Movement indicator if it is u2018Bu2019 then itu2019s a Raw material No further Drill Down (Last Node), If It is u2018Fu2019 then Go to Step 3.
    Step 3: Get all the Unique DB # and Corresponding Orders, Display only DB# on Output (Child Nodes)
    OUTPUT - ALV TREE STRUCTURE
    If User Clicks on any DB# (Child Node):
          Then DB# Selected Will Become a Parent Node, Repeat the Same Process from 1 to 3.
    Table: CHVW                                                                                DB#  Order   DB#  Order
    Tree  
    DB1
    -      DB1.1
       -     DB1.1.1
       -     DB1.1.2
       -     DB1.1.3
                -   DB1.1.3.1                               -
     DB # of Raw material No further drill Down
                      -  Material Document          -
     Display Material Doc #
        -      DB1.2
                      -      DB1.3
                             -  DB1.3.1
                            -   DB1.3.2
    can anone give me some clue..

    Yea Sandra , You are right .
    let me explain my requirement clearly .
    first of all i need to use only table CHVW for my requirement .
    the user enters the batch number in the selection screen. For that batch number, i have fetch the production order number and batch number .this forms the first node .
    For the second node , i have to again select from Chvw table using the production order numbers obtained from the first select statement . the batch numbers obtained from this select query will form the second nodes. IF the movement type indicator is B ,then these is the last node
    otherwise we have to repeat above procedure untill we movement type indicator for a particular batch number is 'B'.
    i'e for each of the batch numbers in the second nodes, i have to again get the production orders and for that production orders i have to fetch the batch numbers again .these will form the 3rd node .
    if at this step the movemtn type indicator is 'B' ths is the last node. other wise the same step should be repeated.
    could u plz give me some clue ....

  • Routing Issue with 3550 Switch

    I am having an issue with routing with one of my Cisco 3550 switches.  I know the 3550s are EoL but some of us have to work with what we have.
    I am using a 3550 on either side of a Layer 2 link.  The Layer 2 link is 2 Extreme Summit X-440 switches with Microwave between the switches.  I have a VLAN configured on both switches and tagged on the ports connected to the Microwave.  The 3550 switch on each end is configured for IP routing but I cannot pass traffic between the switches.  If I unplug the switch on the local end and plug in a laptop, I can ping the switch on the remote end and access devices at the remote end. 
    I know this should work because I am doing the same thing over another Microwave link and Layer 2 link using another 3550 and a HP ProCurve at the remote end.
    Here are the configs for each 3550:
    Local end;  Port Fa0/23 goes to the Remote Side.  Port Fa0/24 goes to the rest of the network
    Current configuration : 5417 bytes
    ! No configuration change since last restart
    version 12.2
    no service pad
    service timestamps debug datetime localtime show-timezone
    service timestamps log datetime localtime show-timezone
    no service password-encryption
    service sequence-numbers
    hostname Brindley3550
    enable secret 5 $1$3A.n$lzBUQg.fn4hJ7f0jEOqe71
    no aaa new-model
    clock timezone UTC -6
    clock summer-time UTC recurring 1 Sun Apr 2:00 1 Sun Nov 2:00
    mls qos map cos-dscp 0 8 16 26 32 46 48 56
    mls qos min-reserve 5 170
    mls qos min-reserve 6 10
    mls qos min-reserve 7 65
    mls qos min-reserve 8 26
    mls qos
    ip subnet-zero
    ip routing
    ip domain-name morgan911.net
    ip name-server 1.2.150.11
    ip name-server 1.2.150.5
    spanning-tree mode pvst
    no spanning-tree optimize bpdu transmission
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    interface FastEthernet0/1
     switchport access vlan 18
     switchport mode dynamic desirable
     spanning-tree portfast
    {Removed for Brevity}
    |
    interface FastEthernet0/7
     switchport access vlan 13
     switchport mode dynamic desirable
     spanning-tree portfast
    interface FastEthernet0/8
     switchport access vlan 13
     switchport mode dynamic desirable
     spanning-tree portfast
    {Removed for Brevity}
    interface FastEthernet0/23
     description To Gum Springs via Extreme P10
     no switchport
     ip address 1.2.147.1 255.255.255.252
     speed 100
     duplex full
    interface FastEthernet0/24
     description To Flint via Ceragon Eth 2
     switchport trunk encapsulation dot1q
     switchport mode trunk
     speed 100
     duplex full
     mls qos trust cos
     auto qos voip trust
     wrr-queue bandwidth 20 1 80 1
     wrr-queue min-reserve 1 5
     wrr-queue min-reserve 2 6
     wrr-queue min-reserve 3 7
     wrr-queue min-reserve 4 8
     wrr-queue cos-map 1 0 1 2 4
     wrr-queue cos-map 3 3 6 7
     wrr-queue cos-map 4 5
     priority-queue out
     spanning-tree link-type point-to-point
    interface GigabitEthernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
    interface GigabitEthernet0/2
     switchport access vlan 10
     switchport trunk native vlan 50
     switchport mode dynamic desirable
     spanning-tree portfast trunk
    interface Vlan1
     ip address 1.2.145.2 255.255.255.0
    ip default-gateway 1.2.145.1
    ip classless
    ip route 0.0.0.0 0.0.0.0 1.2.145.1
    ip route 1.2.165.0 255.255.255.240 1.2.147.2
    ip route 1.2.166.0 255.255.255.240 1.2.147.2
    ip http server
    snmp-server community public RO
    snmp-server community public/RO RO
    snmp-server location Brindlee Mountain Tower Site
    snmp-server contact Jamey Wright
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps cluster
    snmp-server enable traps entity
    snmp-server enable traps envmon fan shutdown supply temperature
    snmp-server enable traps vtp
    snmp-server enable traps vlancreate
    snmp-server enable traps vlandelete
    snmp-server enable traps flash insertion removal
    snmp-server enable traps port-security
    snmp-server enable traps config
    snmp-server enable traps syslog
    snmp-server enable traps mac-notification
    snmp-server enable traps vlan-membership
    snmp-server host 1.2.150.100 public  tty envmon syslog snmp
    control-plane
    ntp clock-period 17180143
    ntp server 1.2.150.21
    end
    And this is the config for the remote end.  Port Fa0/24 is the port for the link back to the local end.
    Current configuration : 5058 bytes
    version 12.2
    no service pad
    service timestamps debug datetime localtime show-timezone
    service timestamps log datetime localtime show-timezone
    no service password-encryption
    service sequence-numbers
    hostname GS3550
    enable secret 5 $1$3A.n$lzBUQg.fn4hJ7f0jEOqe71
    no aaa new-model
    clock timezone UTC -6
    clock summer-time UTC recurring
    mls qos map cos-dscp 0 8 16 24 32 46 46 56
    udld aggressive
    ip subnet-zero
    ip routing
    ip domain-name morgan911.net
    ip name-server 1.2.150.11
    spanning-tree mode pvst
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    interface FastEthernet0/1
     switchport access vlan 21
     switchport mode dynamic desirable
     spanning-tree portfast
    interface FastEthernet0/2
     switchport access vlan 21
     switchport mode dynamic desirable
     power inline delay shutdown 20 initial 300
     spanning-tree portfast
    {Removed for Brevity}
    interface FastEthernet0/23
     switchport access vlan 22
     switchport trunk encapsulation dot1q
     switchport mode trunk
     speed 100
     duplex full
     spanning-tree portfast
    interface FastEthernet0/24
     description To Brindlee via Extreme P10
     switchport mode dynamic desirable
    (Is a member of VLAN 1)
     speed 100
     spanning-tree portfast
    interface GigabitEthernet0/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
    interface GigabitEthernet0/2
     switchport mode dynamic desirable
     spanning-tree portfast
    interface Vlan1
     ip address 1.2.147.2 255.255.255.252
    interface Vlan21
     ip address 1.2.165.1 255.255.255.240
     ip helper-address 1.2.150.11
     ip helper-address 1.2.150.5
    interface Vlan22
     ip address 1.2.166.1 255.255.255.240
     ip helper-address 1.2.150.5
     ip helper-address 1.2.150.11
    ip default-gateway 1.2.147.1
    ip classless
    ip route 0.0.0.0 0.0.0.0 1.2.147.1 10
    ip http server
    snmp-server community public RO
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps cluster
    snmp-server enable traps entity
    snmp-server enable traps envmon fan shutdown supply temperature
    snmp-server enable traps vtp
    snmp-server enable traps vlancreate
    snmp-server enable traps vlandelete
    snmp-server enable traps flash insertion removal
    snmp-server enable traps port-security
    snmp-server enable traps config
    snmp-server enable traps hsrp
    snmp-server enable traps bridge newroot topologychange
    snmp-server enable traps syslog
    snmp-server enable traps mac-notification
    snmp-server enable traps vlan-membership
    snmp-server host 1.2.150.100 public  envmon syslog snmp
    control-plane
    ntp clock-period 17180192
    ntp server 1.2.150.21 key 0 prefer
    Ideas?  Anything stand out as grossly wrong?  I have worked on this for 2 days and am at a loss.
    Thanks
    Jamey

    Sorry for the delay in replying.  Other items at the office took priority over this project.  I tried that and no change.  I pulled the switch from the remote site and took it back to the local end and connected the switches with a crossover cable and everything works fine.  I have pretty much determined that it is an issue with the config in one of the Extreme switches.  The config in those look pretty normal but there are a few things I am unsure of.  Guess I'll see if there is a similar site for Extreme gear.
    Thanks
    Jamey

Maybe you are looking for

  • HT201412 iphone 4s recover mode

    My iphone 4s is in recovery mode, but I don't know why it did this.  Is there a way to get it out of recovery mode without restoring using itunes and loosing all information?

  • Installed update and now i have problems...help!!!

    Ok so I accepted the last update sent by apple..updating itunes and quicktime and lord knows what else. Ever since my macbook shuts down to the screen that says "hold down power button for a few seconds to shutdown" with a bunch of other languages sa

  • In iPhoto '11 where are movies located?

    In iPhoto '11 where are movies located?  When we download photos & movies, they aren't apparent in the "Lst 12 months" & "Library" areas.  They show up as spearate groupings in the "Last Import" but not in the History.  Thanks.

  • Hooking up a NEW Nano (3rd Gen)

    Hello All, I recently got an Ipod Nano. Hooked it up to my Vista machine and it worked great for about 1 week. Then had issues, anyway ended up returning the Nano and getting a new one...same 8 gig model. Anyway, how do I go about hooking up that new

  • Business Partner Error in Replication Due to Organizational Structure

    Hi, I tried to replicate one customer from R/3 to CRM, however it resulted to an error saying Sales office O 50000620 sales group O 50000728 not maintained for sales area O 50000613 RM. So i changed the Org Structure in PPOMA_CRM to maintain the org