Tuning a bad designed application

Hi all,
i have to speed up a procedure that runs on a single serverver process (single connection).
The hardware has 8 cores, but the app runs only on une core. (as i supposed)
Is possible to split the process on multiples cores?
any idea, any trick?
cheers
Marco

> I am looking a way to increase the parallelism, without changing the code.
That is like trying to build a bird that flies and not being able to design wings.
There is no magic wand to turn code into parallel enabled and capable code. In fact, when using massive parallel processing (MPP), one has to design and code specifically for MPP. And this is very different from the normal design and coding.
So how does Oracle do it? Oracle does not turn client code into parallel code. Oracle can service certain client requests in parallel. If the client request to read the full table (e.g. select * from emp), Oracle can decide that given the volume of data to read, to perform the read in parallel.
And that is it. Oracle's parallel feature is simply doing I/O in parallel when the client request a large volume of data and the existing conditions allow that to be done in parallel. (conditions include sufficient idle PQ processes, etc)
What type of client requests can result in parallel I/O? Typically full table scans and full index scans.(and these are usually exceptions in the common application)
Many developers seems to have a very incorrect view of how parallel processing works in Oracle - seeing it as some dark magic or special performance juice that can simply be turned on.
Nothing can be further from the truth.
I suggest you refer to the [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/bus_intl.htm#sthref2488]Oracle® Database Concepts's Overview of Parallel Execution.

Similar Messages

  • I think I found a bug/bad design - what am i missing?

    Hi Edwin and the team,
    This is my first post as I'm sinking my teeth into the PM Server and Designer. We're considering to use the BPEL technology in the BIG way. And I think it's very cool as the Web Services-based EAI delivers a cost-effective and not proprietary solution!
    Let me describe to you what I believe is a bug or a dubious design. In the Designer, File>New>Oracle BPEL Project creates a new project with a file bpel.xml. For example, look at your CreditFlow sample. In that file there is <partnerLinkBinding name="..." <property name=wsdlLocation"> http://<host name of the WSDL host server>/....
    when the partner WSDL is hosted on the localhost that <host name> in the line above is the name of my machine instead of 'localhost'. Then, <project name>.bpel validation crashes when you're in the off-line (disconnected) mode or connected via VPN gateway (since obviously you think you don't need a proxy because everything is local). But, even if it works inside the LAN I think it's a bad design; since it's generated automatically by Designer the developer doesn't have a clue what's wrog when he/she needs to debug your code. The Designer should stick there 'localhost' instead of the the name of my computer on the network.
    Here how I spotted it. I generated you CreditFlow sample in the Quick Start Tutorial. I went by the book, Compiled the CreditFlow.bpel and it crashed! The book did not say it was supposed to crash. The book said everything should be honky dory. The Validator printed a message: "connection timeout...." Since I'm new to the BPEL it took me awhile to figure out and once I stick 'localhost' in the right place in bpel.xml everything worked. Again, I was running everything on localhost.
    If I helped you guys - great or what am I missing here?
    The problem is that if my company decides to convert the Biz Analysts into BPEL modelers how could a BA figure out the solution to the problem like this? He/She would just give up and tell the Technologists (us) that this is a bad product.
    Thanks,
    Greg
    P.S. What happened to Doron Sherman (CTO) and the old Collaxa folks? He is not listed in the ORCL directory. For those who don't know BPEL Server and Designer were developed by Collaxa and ORCL bought that company last year.

    Hi Gregory,
    I think that the problem you are reporting is a proxy configuration error. There are 2 places where you need to configure the proxy: in the obsetenv.bat and in the eclipse>windows>preferences>BPEL Designer.
    If the server is up and the proxy configuration is correct, you should not receive a timeout error.
    Let me try to explain why it is not possible/desirable to have localhost: the url is generated by the server when it generates a WSIL list of the processes deployed on the server. The server does not know if the client requesting this list is local or remote, this is why he uses the real host name (otherwise remote client would not be able to connect to the service).
    One additional note: the tool is not currently targeted at business analyst (unless they have some development background). BPEL entails some inherent complexity: parallel processing, async interactions, exception management, WSDL, XML Schema, transformation. So although we are working hard on continuously simplifying the implementation and increasing the productivity, we are still targeting application developers.
    I hope this helps.
    Edwin

  • Hi please help.virus iPad? I have a iPad 2 , not jail broken, just 2 months old fresh from the apple store. Recently I have been directed to **** sites or a fake bad oink **** application, t

    Re: Mail virus and Trojan issues
    21-Jan-2013 14:58 (in response to Memoire)
    Hi please help.
    I have a iPad 2 , not jail broken, just 2 months old fresh from the apple store. Recently I have been directed to **** sites or a fake bad oink **** application, through various applications. From google chrome app, the photon app and safari.
    I always delete cookies and cache on exit. I use photon and puffin to watch flash player videos on tv series site with links such as put locker. I heard that there is no virus for the iPad but Trojans do exist.
    Pleae help, at first this was just happening with photon app now in 3 different apps, and it is directing me always to the same **** site. I don't watch **** so it's. it from cookies or whatever and my iPad has been randomly turning off and also the videos are working really badly now. Also there is a message red alert staying untrusted site and hacker may be intercepting your device. What is going on? Please help
    Is their a new redirecting Trojan or virus for iPad 2. ? If yes how can I remove it and will it cause permanent damage to my device? How could I have got this virus and in 3 apps. I'm also,worried as I use my iPad to buy things online etc with my credit card. What shall I do?.. Do I restore my device? How do I do that as I cannot connect to iTunes as I do not have a computer, just my iPad. Any help appreciated thanks.

    AlaskanElizabeth wrote:
    Happily- perhaps the most legit tech site on the Internet- cnet:
    http://news.cnet.com/8301-1009_3-57506159-83/apples-ios-and-android-are-new-favo rite-malware-victims/
    They broke a story on sept 4, 2012 titled "apple's iOS, the new favorite malware victims"
    Despite the dramatic title of the article, the only mention of iOS in the body was this:
    Even though malware is increasing in iOS, it still remains relatively low compared with other operating systems.
    And, it provides no examples or other documentation. And, unlike you, I don't consider CNET "the most legit tech site on the internet". I find them to be generally biased in their reiviews and heavily influenced by advertisers.
    http://www.forbes.com/sites/timworstall/2012/06/26/yes-apples-machines-really-ca n-get-viruses
    The Forbes article descibes issues with the Mac OS, of which there always have been some, though certainly far fewer than there have been on the Windows platform. It goes on to speculate :
    All those iPads, iPods and iPhones? Is this going to be a juicy enough target for the virus and trojan writers to at least attempt to attack, even given the difficulty of doing so?
    Again, the Forbes article doesn't mention any current viruses, trojans or malware that exist which will affect an unjailbroken iOS device.
    http://www.huffingtonpost.com/2012/05/15/iphone-malware-kaspersky_n_1515074.html
    And, the HuffPo article quotes Grebennikov thusly:
    "Our experience tells us that in the near future, perhaps in a year or so, we will see the first malware targeting iOS," Nikolai Grebennikov, Kaspersky's chief technology officer, told Computing.
    Again, even Kaspersky doesn't say such things exist now, merely that they might.
    Speculation about what might happen in the future or articles focusing on the Mac OS or Android are not terribly relevant. So, if you do have any other citiations, preferably from a source that doesn't derive most of is revenue from the companies it reviews, that document a virus or trojan that affects an unjailbroken iOS device, I would be interested. I have not been able to find any. I thought, perhaps, as a professional, you might know of some.
    Thank you.

  • Display for graphic design application

    Hi every body,
    Today i'm going searching my new iMac 20" Dual Core and i want to know if you think the 20" display is a good stuff to make graphic design application.
    We work now on 19" ViewSonic CRT flat screen.
    Thanks all.
    Excuse my english, i'm a french canadian...

    Bonjour Wayne99,
    I use my iMac for Photoshop and Illustrator all the time, and the 20" monitor is PERFECT!
    My only beef with it is the color setting, I changed mine to Adobe RGB 1998, because the default 'iMac color' setting is way too...bright/faded looking.

  • Oracle OLAP Desktop-like cube designer application

    I am looking for any kind of Desktop-like cube designer application offered from Oracle. Using drap and drop, the end user can design cube without any programming knowledge (for example, no XML programming knowledge). I have tried an open source OLAP application called Pentaho Mondrian which has a GUI based Java application called Cube Designer. I have tried that application to design a basic cube for our business, but the problem is that it requires a lot of XML programming knowledge. Is there such a Desktop-like cube designer available from Oracle?
    Thanks,
    --xinhuan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Thanks for your information. By looking at Oracle OTN, I found several interesting products - Discoverer, Oracle Warehouse Builder (OWB) and Analytic Workspace Manager (AWM). There is a tutorial for how to create multi-dimentional cube using AWM on OTN. What are differences among those products? You mentioned OWB is a general-purpose ETL tool with creating cubes capability. Is OWB required for AWM to work? Should the data be stored as Star or Snowflake schema in the database using OWB tool so that the AWM can create cube based on the Star or Snowflake schema data? I am confused about the relationship among those tools.
    Thanks,
    --xinhuan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Tuning 11i E-Business Application on RAC

    Hi all,
    I’m converting our 11i E-business database to RAC and after setup a test environment (cloned from Production and converted to RAC) and done some load testing (Mercury Load Runner) I noticed poor performance (user response time) of the Application if compared to Production which consists only a db and a apps tier with lower spec then these test servers (4 T2 Blades – 2 for DB and 2 for Apps).
    I’ve followed Oracle recommendations on Metalink Note 216205.1 but didn’t make much difference. At this stage I’m thinking it might be something on the Apps configuration but I’m trying to ensure database is well configured.
    So I’m asking if you have any doc or tip specific to tuning 11i E-Business Application on RAC.
    Btw, I’m using ASM for the database and Sun Cluster for Apps shared file system and it’s a 2 nodes RAC and 2 nodes for Apps – 1 node for Forms, Apache and Mwa and another node with Concurrent Manager and Reports
    I have a TAR open with Oracle but looking for answers from real gurus 
    Thanks
    Eduardo.

    The strange thing about the Niagara processor is it gets fantastic TPCC benchmark results, but can barely handle any real E-Business Suite load. We were getting frequent kernel exhaustion issues on this processor and Sun had us set filesystemio_options=setall, which seemed to help a little. It appears from the following note that it could be set with ASM.
    Asynchronous I/O Support on OCFS/OCFS2 and Related Settings: filesystemio_options, disk_asynch_io
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=432854.1
    Apart from that, there are no RAC specific APPS tuning tips beyond the normal tuning methodologies (AWR, statspack, sqlarea etc).
    The T2000 and T2 chips are really optimized for lightweight applications server (Apache) type workloads. Attempting to get heavy throughput E-Business Suite type processing load out of that processor is like trying to dig a fence post with a plastic spoon. It may work, but it depends on how soft the dirt (load) is...

  • What is a good design application for drawing logos on my MacBook Air?

    What is a good design application for drawing logos on my MacBook Air?  I'm looking for something that isn't too expensive and is fairly easy to use.  I would prefer vector technology.

    You can try Logoist.
    Here is the link to the demo.
    http://www.macupdate.com/app/mac/43694/logoist

  • CISCO 2125 bad design by Cisco, product development should revise

    I noticed Cisco product sales support staff is pushing 2125 WLAN controller as great WLAN solution. They got me into considering one as something what will work just fine.
    I strongly disagree, this product is extremely poor design and it is missing gigabit port for LAN connection.
    This product will support 25 APs with its eight 10/100 Mbps ports. Only 6 APs can be linked per port. So for 25 APs you are already using 5 ports. Per manual POE ports 7 & 8 should not be used for anything other than single AP so that leaves you with only 1 port #6 to connect to your LAN.
    Yes, that is true, 100Mbps for all the WLAN users on the 25 access points and product is advertised to support high speed N wi-fi capable of doing 300Mbps per user node. What a nonsense? makes no sense even for lightweight use.
    Makes you wonder who approved such product for production and what a bad design on the $6K piece of equipment
    CISCO please put a Gigabit port on the 2100 series or stop marketing and pushing such poorly designed product.

    “Thank you for your question.  This community is for Cisco Small Business products and your question is in reference to a Cisco Elite/Classic product.  Please post your question in the Cisco NetPro forums located here: http://forums.cisco.com/eforum/servlet/NetProf?page=main  This forum has subject matter experts on Cisco Elite/Classic products that may be able to answer your question.”

  • Performance tuning for siebel CRM application on oracle database

    Hi,
    Please send me the link for Performance tuning for siebel CRM application on oracle database. If there are any white papers please send me the link.
    Thanks,
    Rajesh

    Hi,
    This metalink document is very useful, if you have any other documents or links please inform me.
    Thanks once again
    Rajesh

  • I buy an iphone 5 bumper for my black iphone to protect it and now ive checked it after a few weeks it has infact scrated the black metal ??? bad design or cheeply made?????

    bad design what is up with all this ?
    it has inpact caused more damage than if i was to leave loose in my pocket

    The bumper does not protect the back casing.  If you wanted to protect that portion of the iPhone, you should have purchased a different type of protective case.

  • Components inside components - Bad design?

    Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
    <com:MyComp1>
        <com:MyComp2>        <com:MyComp3>
                <s:Label text="This is a test."/>        </com:MyComp3>
        </com:MyComp2></com:MyComp1>

    It all depends. Knowing nothing about the components, all I can say is that it depends on the complexity of the components individually and collectively as well as what level of reuse you may desire.

  • It's working, but is it a good or bad design?

    hiya
    I hope I�m not breaking any forum rules, but any help would be greatly appreciated.
    I haven�t really done any programming so far, so finally writing an app with more than few lines of code was something different. Anyways, I managed to write it, but truth be told, I have no idea whether my design choices ( I�m not sure if that�s the right term ) were somewhat good or completely off. Thus, if I don�t know what parts of program are designed badly ( and why they are considered bad), then I won�t know where to improve. So I�m hoping someone could point out ( at least the most obvious )design mistakes I made.
    It�s a simple �chat� server where several clients ( up to twenty ) can connect to the server and talk to each other. In essence:
    1.server creates new client thread for each newly accepted connection
    2.if one of these client threads receives some data from the client, then:
    3. this client thread creates new ControlThread object (and passes received data to it )
    4. ControlThread object in turn spawns a new thread
    5. Finally, this spawned thread will send data to all client apps.
    I must point out that I could handle some things better using collection classes. But ignoring that, I�m most interested in other design flaws I made. For example:
    a) how scalable is this server app?
    b) what would you�ve done differently ( in terms of basic program structure )? Perhaps creating ControlThread object each time data needs to be sent to other client apps is a bad idea
    c) etc
    package serverchat;
    import java.net.*;
    import java.io.*;
    public class Main {
        public static void main(String[] args) {
            Server.runAll();
    class Server{
        static int servPort = 1600;
        static ServerSocket servSock;
        static Thread controlThread;
        static ClientHandling[] clientClass=new ClientHandling[20];
        static int numClients = 0;
        static Socket clientSockets[] = new Socket[20];
        static void runAll(){
            initServer();
            handleClient();
        static void initServer(){
            try{
             servSock = new ServerSocket( servPort );  
             catch(Exception e){}
        static void handleClient(){
            try{
                while(true){
                  clientSockets[numClients]  = servSock.accept();
                  clientClass[numClients] = new ClientHandling(clientSockets[numClients]);
                  numClients ++;               
            catch(Exception e){
    /*Each time some clientHandling thread receives data from client,
    it creates new ControlThread thread. This thread then sends this data
    to all clients connected to this server*/
    class ControlThread implements Runnable{
        ClientHandling[] clientClass=new ClientHandling[20];
        int numClients;
        String message;
        Thread t;
        ControlThread(String message){
            this.message = message;
            this.numClients = Server.numClients;
            this.clientClass = Server.clientClass;
            t = new Thread(this);
            t.start();
        public void run(){
            System.out.println("ControlThread has started");
                   for(int i= 0; i < numClients; i++){
                       if( clientClass[i] !=null ){
                           tellClients(i);
        /* sends data to all the clients. It does this by calling contrToClient()
         on an object that received this data from the client*/
        void tellClients(int i){
               clientClass.contrToClient(message);
    class ClientHandling implements Runnable{
    Socket clientSocket;
    Thread t;
    String message;
    OutputStreamWriter clientWrite;
    InputStreamReader clientRead ;
    BufferedReader readBuf;
    BufferedWriter writeBuf;
    ClientHandling(Socket s){
    clientSocket = s;
    startThread();
    void startThread(){
    t = new Thread(this);
    t.start();
    public void run(){ 
    try{        
    clientRead = new InputStreamReader (
    clientSocket.getInputStream(), "utf-8");
    readBuf = new BufferedReader (clientRead);
    catch(Exception e){ 
    do{   
    try{
    clientSocket.setSoTimeout(1000);
    message = "";
    message = readBuf.readLine();
    if ( !message.equals("") ){
    informContrThread();
    System.out.println(message);
    catch(Exception e){
    }while ( !message.equals("Stop") );
    try{
    clientSocket.close();
    catch(Exception e){
    /*this is the actual method that gets called by ControlThread object and
    sends received data to all the client apps*/
    void contrToClient( String message){
    try{
    OutputStreamWriter clientWrite = new OutputStreamWriter (
    clientSocket.getOutputStream(), "utf-8");
    writeBuf = new BufferedWriter (clientWrite);
    catch(Exception e){
    try{
    writeBuf.write(message + System.getProperty("line.separator"));
    writeBuf.flush();
    catch(Exception e){   
    try{
    clientSocket.close(); /* I assume I should close the connection
    with client if write() throws an exception? */
    catch(Exception e1){}
    /*creates new ControlThread object, which in turn will
    make sure all client apps receive this data*/
    void informContrThread(){
    System.out.println("informing contrThread");
    new ControlThread(message);
    thank you                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    1.server creates new client thread for each newly accepted connection Good. Make sure the server doesn't do any I/O in the accepting thread, including even construction of input and output streams.
    2.if one of these client threads receives some data from the client, then:
    3. this client thread creates new ControlThread object (and passes received data to it )Why? What does the Control thread do that the client thread can't do? Does the client thread really create a new Control thread per piece of received data? What's the purpose of the Control thread here?
    4. ControlThread object in turn spawns a new thread Again why?
    From your description you appear to be creating:
    (a) a thread per connection
    (b) a thread per piece of received data
    (c) another thread per (b)
    What you probably need for a chat server is an input thread and an output thread per connection. The output thread should read a queue and the input thread should write to the appropriate queue(s), making sure you don't create a loop by sending the client's own data back to him.
    5. Finally, this spawned thread will send data to all client apps.No. Use one output thread per connection, as described above. As writing to a socket can block, you shouldn't use a single thread for writes to more than one client, otherwise the whole system can stall due to one non-co-operating client.
    a) how scalable is this server app?It's about as non-scalable as it could possibly be. You will have an explosion of threads per item of data received if you've described it correctly, and you already have too many threads per connection.
    b) what would you�ve done differently ( in terms of basic program structure )?Almost everything: see above.
    Perhaps creating ControlThread object each time data needs to be sent to other client apps is a bad ideaMost definitely.

  • How to design applications with security in mind?

    Hi there,
    I�m looking for a book/website anything that can enhance my ability to design security applications in terms of authentication and authorization. I mean, how to set �Groups� of users and to allow/disallow them to use certain functionalities, how to set LEVEL of users, how to log all events, etc�
    Thanks

    I think you need more than an article you need a book. There is alot that makes a secure system secure.
    As just an example a system I am battling with currently has well defined sets of permissions and resources. Resources are accessed through the permissions set to users and/or groups. The owner of the resource is who sets these permissions. This is all good except that the ownership of resources can be pushed and not just pulled.
    This means the rest of the security is rather a waste of time because that's a rather large flaw.
    At any rate. There is a lot to consider and just one article won't cover it. You should be looking for a book and/or resources that deal with this topic ad nauseum.

  • BEX Query Designer - Application Error

    Dear experts,
    I have a problem with my BEX Query Designer. Whenever I tried to save a query, I caught the following exception:
    BEX Query Designer has encountered a problem and cannot proceed with the current action. We are sorry for the inconvenience.
    Additional Information:
    QD revision 300
    Internal Error ID: E-ONGUIUNHANDLEDEXCEPTION
    Error Message: Method not found: 'Void com.sap.bi.et.Communication.RZX0.RSZ_X_ELTPROP.set_PROPVERS(System.String)'
    Can someone help me to solve the problem?
    I am using the following version:
    BI AddOn 7.X (based on 7.10), Support Package 3, Revision 520

    From the log:
    5:01:38 PM.31 ########## --> com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException ##########
    -EXCEPTION-START- 5:01:38 PM.31:  ---
    Exception Message: Method not found: 'Void com.sap.bi.et.Communication.RZX0.RSZ_X_ELTPROP.set_PROPVERS(System.String)'.
    Exception    at com.sap.bi.et.QueryDesigner.QDbElement.ToTable(RSZ_X_ELTPROP isEltProp, QDbCopyInfo iToTableInfo)
       at com.sap.bi.et.QueryDesigner.QDbQuery.ToTable(RSZ_X_ELTPROP isEltProp, QDbCopyInfo iToTableInfo)
       at com.sap.bi.et.QueryDesigner.QDbElement.ToTables(Hashtable iTables, QDcElement iElementsToSave, QDbCopyInfo iCopyInfo)
       at com.sap.bi.et.QueryDesigner.QDbElement.Save(String iRole, String iNode)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveElement.Save(QDbElement iElement, Boolean iOutputSuccess)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveAsElement.Save(QDbElement iOriginalElement, QDbElement iSaveElement)
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveAsElement.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveElement.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandSaveQuery.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.ItemClickedHandler(Object sender, BarItemClickedEventArgs args)
       at com.sap.bi.et.QueryDesigner.QDdEventDispatcher.MenuItemClickedHandler(Object iSender, BarItemClickedEventArgs iE)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.OnItemClicked(BarItemClickedEventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
       at com.sap.bi.et.QueryDesigner.QDiBarItem.OnItemClicked(EventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs e)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Full Stack:   at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    -EXCEPTION-END----

  • Database Design/Application architecture question

    I'm working on a Java web app that includes creating a database from scratch. The UI needs to model a mostly static set of choices that led to other choices that lead to other choices..... I'm trying to figure out how to model this in a table or set of tables and how to design the UI and servlet interaction. Here's an example, in Petstore lingo:
    Do you need a dog house?
    For a small dog?
    Red?
    Blue?
    How many?
    For a big dog?
    Brown?
    Yellow?
    How many?
    Side windows?
    Do you need a bird cage?
    How many water dispensers?
    For big bird?
    This sort of multiple dependent options seems hard to model in a database. I'm trying to do this at the database level so that I can have a dynamic front end, in which I get the collection of options and then use JSTL to populate the UI with the chocies for whatever level or step I'm at. Any suggestions? I haven't had to solve a design problem precisely like this where some choices may have dependent choices, but others do not, and some have dependent choices which have very specific dependent choices that have very specific dependent choices. Thanks.
    Ken

    I'm working on a Java web app that includes creating
    a database from scratch. You mean the UI drives creating the database?
    Why?
    That is often driven by developer rather than business requirements and is often a bad idea. It is often done solely so the developer doesn't have to type as much. And not typing very much is solved by code generation while using meta data solutions for it is usually a bad maintainance idea.
    But if you need to then you create meta data.
    Table TheValues
    - Field: Value Id.
    - Field: Value Name
    - Field: Value Value
    Table: Collection
    - Field: Collection Id
    - Field: Collection Name
    Table: Link table
    - Field: Collection Id
    - Field: Id type
    - Field: Id (Collection or Value)
    Display values can be kept in another table or used directly.
    Notice that a collection can contain another connection.
    You can combine the first two tables as well.

Maybe you are looking for

  • ITunes sync after iCloud restore

    So after retoring from an iCloud backup, I found that I can't sync apps with my computer without deleting all of them from my iPhone? Anyone find a worksround to this?

  • Access "Host"  and port information

    Hi, Is there a way to access host name and port number (http://<servername>:<port>) programmatically. Regards, Naveen

  • Why won't Firefox let me bring up the uploaded pages of the San Quentin News.

    I'm totally confused by new Firefox behavior concerning my Wordpress blog for the San Quentin News, the prison newspaper I advise that is the only prison newspaper in California and one of the few in the world. www.sanquentinnews.com. The problems do

  • How do i check in Business Content

    Hi,     In implementation we usally use the BC datasr'c but how do we check the particular datasrc or query or for tht matter any content delivered by BC matches our requrement,do we get into them and check the objects init or do we have a particular

  • Equality with generics?

    Here's my code: public boolean equals(Object anObject)           if (!(anObject instanceof SearchNode)) return false;           SearchNode<T> node = (SearchNode<T>)anObject;           return getInnerNode().equals(node.getInnerNode());      }Questions