Improvements in the existing process

Hi All,
We are planning to improve our existing process in terms of DATABASE.
For that my BOSS asked me to start execution. But I am really very strange to this work.
If anyone can give me suggestions atleast, would be really grateful to them.
Like table structure to be changed (unnecessary lengths can be cutoff) etc..
Thanks in Advance..

The next thing that i always try to make sure is that data validation and its relationship are defined in database using constraints. I dont prefer it to be at the application layer.
Oracle is a very inelegant software. More the information you offer to it more robust it becomes.
Here is an example. Consider this table structure.
SQL> create table t (no integer, constraint no_chk check(no <=1000));
Table created.
SQL> insert into t select level from dual connect by level <= 1000;
1000 rows created.
SQL> commit;
Commit complete.
SQL> exec dbms_stats.gather_table_stats(user, 'T')
PL/SQL procedure successfully completed.
If you see the table T, Oracle has the information that the column NO cannot have value that is greater than 1000.
So now i run a query with filtering condition which says no > 1000, see what happens.
SQL> select * from t where no > 1000;
no rows selected
Execution Plan
Plan hash value: 1401356643
| Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT   |      |     1 |     3 |     0   (0)|          |
|*  1 |  FILTER            |      |       |       |            |          |
|*  2 |   TABLE ACCESS FULL| T    |     1 |     3 |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   1 - filter(NULL IS NOT NULL)
   2 - filter("NO">1000)
Statistics
          8  recursive calls
          0  db block gets
          2  consistent gets
          0  physical reads
          0  redo size
        164  bytes sent via SQL*Net to client
        232  bytes received via SQL*Net from client
          1  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          0  rows processed
You could see that a Filter condition NULL IS NOT NULL is added by oracle. This actually makes oracle not to scan the table, you can check the consistent gets in the statistics.
Now lets drop the constraint and see what happens.
SQL> alter table t drop constraint no_chk;
Table altered.
SQL> select * from t where no > 1000;
no rows selected
Execution Plan
Plan hash value: 2153619298
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
|   0 | SELECT STATEMENT  |      |     1 |     3 |     2   (0)| 00:00:01 |
|*  1 |  TABLE ACCESS FULL| T    |     1 |     3 |     2   (0)| 00:00:01 |
Predicate Information (identified by operation id):
   1 - filter("NO">1000)
Statistics
        163  recursive calls
          0  db block gets
         24  consistent gets
          0  physical reads
          0  redo size
        164  bytes sent via SQL*Net to client
        232  bytes received via SQL*Net from client
          1  SQL*Net roundtrips to/from client
          4  sorts (memory)
          0  sorts (disk)
          0  rows processed
Now you see the consistent gets goes up.
So make it a point to define your data and its relationship by using constraints.

Similar Messages

  • I need to review the existing process chain

    Hi Folks,
    I need to review the existing hte process Chain which is running in the live system since 1 year.
    My intention is what i need to considear while reviewing the process chain and i need to provide the some suggestion after review of the all chains.
    Can any one have SAP Notes or SAP help info on this,
    Thanks,
    Ven.

    Hi,
    Check in the following tables for Process Chaibn logs
    RSEVENTCHAIN ----Event Chain Processing Event Table
    RSEVENTHEAD -----Header for the event chain
    RSEVENTHEADT -----Header for the event chain
    RSPCCHAIN---------- Process chain details
    RSPCCHAINATTR------- Attributes for a Process Chain
    RSPCCHAINEVENTS------- Multiple Events with Process Chains
    RSPCCHAINT--------------- Texts for Chain
    RSPCCOMMANDLOG--------- System Command Execution Logs (Process Chains)
    RSPCLOGCHAIN---------- Cross-Table Log ID / Chain ID
    RSPCLOGS------------- Application Logs for the Process Chains
    RSPCPROCESSLOG------------- Logs for the Chain Runs
    RSPCRUNVARIABLES---------- Variables for Process Chains for Runtime
    RSPC_MONITOR----------- Monitor individual process chains
    Thanks
    Reddy

  • When closing FF and then try to go back on, a msg. says FF is already running, but not responding, to open new window you must first close the existing window or restart system. How do i close without restarting?

    'This happens after a FF session is ended and am back on my desktop screen. If I then try to go back online a message says that FF is already running but is not responding. To open a new session you must first close the existing process or restart your system. I have to restart the computer to before it allows me to go back on. How can I close the session and then open a new one without rebooting???

    Hey GreenViking,
    You can kill the process manually by right clicking in the task bar (next to the time and date) and opening the task manager.
    [https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_firefox-hangs-when-you-quit-it This article] has some information about Firefox hanging when you try to close it.
    Hope that helps!

  • Can BPm pick up existing process from ECC without human intervention

    Hi
    Is there any way BPM can read/pick the existing process from ECC system (may be solution manager workflow) and model the same.
    Just trying to make sure from experts that it is not possible before replying client.
    Lavanya
    Edited by: Lavanya Sambaraju on Nov 19, 2010 8:23 AM

    Hi Anil
    Yes, we wanted to know if the process/workflow mainateined in ECC or solution manager can be dyna,mically picked up by BPM.
    And your solution -  "Currently BPM can talk to any other system through web services.If you can expose any functionality as web service in solution manager, you can call that from BPM"
    how to implement this from solution manger?
    All we know was to expose the BAPI/RFC's functionalities  as web services from ECC and consume in BPM tasks or directly call these BApis in to BPM tasks.
    Could you please share with us.
    Thank you.

  • How to copy a existing process chain

    hi
    i am a SAP BW learner.
    i created a process chain for inital load and i want to create a process chain by copying first created process chain and tell me in what situation we delete the indexes of InfoCube.
    Can any one provide me the solution to how can i copy the existing process chain and tell me in what situation we delete the indexes of InfoCube.
    Thanks in Advance.

    Hi Kiran:
    Thats correct, you can copy an existing process chain and you will get all the variants in it.
    well, the best practice to manually do the INIT loads and let the delta loads be in process chain.
    we delete indexes and re create them when we are loading an infocube and the reason  is performance
    Assign points if helpful
    kalyan

  • Mapping is not run after adding to existing Process Flow

    I am about to scream.
    I have a process flow that has been running fine.
    I added a mapping to the existing process flow, deployed the process flow, and now when I run the process flow it will not run the new added mapping.
    What gives? I am going to recreate the process flow, but I will not recreate a new process flow everytime I add a mapping to it.
    What am I doing wrong.
    thanks for any help.
    greG

    Oleg,
    Thanks so much for all the help. I read the other posts and checked my mapping but nothing helped.
    I had to put a transition line directly from the fork to my new process and it worked.
    I think it was kind of a logic error on my part.
    I forgot had all my maps that were called from the Fork just going straight to either Error Warning or Success endpoints.
    I tried to add another process after one of the mappings.
    I forgot that to do that I would have to "OR" up all the transitions coming from the forked maps.
    Then proceed from there.

  • Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    Update firefox, it asked me to update flash, I tried to update flash but it said I had to close firefox. A box came up and said the Flash install would continue when I closed firefox. I closed all firefox windows and no update of flash occurred. I tried relaunching firefox but got the "Doesn't start when starting as administrator. Error Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." message. I rebooted the system, no improvement. I tried to run firefox as administrator and got the same message. Either I find a fix or I won't be able to use firefox and will have to go back to ie.

    -> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Troubleshooting plugins
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
    Check and tell if its working.

  • Existing Categories are not listed in the Start Process

    Hello,
    I am currently using LC ES3 with SP3 and start having an issue with no Catgory listed in the Workspace ES3.
    I checked the AdminUI > Application n Services > Categories and no Category is there either. If I create a new Category in the Admin UI then I can see it is listed in the Workspace ES3 but not sure why all of the existing Categories are not listed there.
    Does any one have idea about this issue or any advise on this? Can you please share.
    Thanks in advance,
    HD

    The -1 simply means it has no parent.  I'm not sure when they enabled trees in the categories(much needed improvement!) as we just upgraded finally from 8.2....  For example if you have Category 1 and Category 2.  If they are both -1 you will see them both on the "Start Process" screen.  Where as if Category 1 was OID(2001) and parent_oid(-1) and Category 2 was OID(2005) and parent_oid(2001) then Category 2 would be under Category 1 in a treeview.
    You just need to make sure that the parent_oid column is not nothing.  If you did an upgrade it most likely is like ours was and the column is empty since it was a new column that 8.2 did not have.
    Pic1 is (-1) for both.
    Pic2 is Category 2 having Category 1 as it's parent.
    Pic of the database for With Category 2 using Category 1 as a parent.

  • When I click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system" and I've tried to shut down and restart my computer but it keeps

    when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
    == This happened ==
    Just once or twice
    == I was on facebook trying to upload pictures yesterday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)

    Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file

  • Firefox is OPEN and working fine, but when I click a link in Thunderbird I get 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

    If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
    == This happened ==
    Every time Firefox opened
    == IDK

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

  • I deleted the profile and firefox4 and then downloaded firefox4 again. But when i click firefox it says Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process,or restart your system.HELP!

    somehow i couldn't get rid of one website called www.searchqu.com/405 set as my homepage... I tried all solutions given to change the homepage but whenever i restarted firefox that homepage used to come automatically.. So, I deleted the profile (even from recycle bin!!) and deleted the firefox and downloaded it again hoping to get my problems fixed (which didn't happen!) because i'm getting dialog box saying- Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    You don't say which operating system you have installed?
    Assuming it's Windows, right click a blank part of the Windows Taskbar and go to Task Manager. Then click the ''Processes ''tab, find '''firefox.exe''' and then right click it and choose '''End Process'''.

  • I try to launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox is not running and restart doesn't work

    when I launch firefox get the following message "firefox is already running, but is not resonding. to open a new window, you must first close the existing firefox process, or restart your system" firefox not running and a restart doesn't solve the problem

    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 12.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    See also:
    *https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding
    *http://kb.mozillazine.org/Profile_in_use
    *http://kb.mozillazine.org/Recovering_a_missing_profile

  • P.O Error in Process after copying the existing item in change mode

    Hi All,
    We are in SRM 5.0 Server 550 and SP15 and are using Extended Classic Scenario.
    We are facing a peculiar issue, when an already created P.O (Free text - goods) is changed and a new line item is added either manually or by copying the existing line item and then ordering it, the P.O is going into Error in Process status.
    This is happening only when i am adding a new item (material) to the existing line item (material) but when i am adding a service line item in the change mode to the existing material line item, the P.O is getting ordered without any issue.
    I believe this is SAP bug and raised with SAP for OSS.
    Meanwhile i would be grateful if you can provide any resolution to this issue and provide any OSS note number (If one already exists).
    Regards,
    Teja

    Hi Teja
    it works fine for me.
    old po template..
    taken describe procureemnt - goods
    copy the line item
    changed qty and price
    POs created for both items in one PO since vendors are same?
    what the error message says in the application monitor or rz20 / monitor sc.?
    for me i had a contract in my pld pos.(sc).
    muthu

  • When I try to access Firefox I get this message: "Firefox is already running, but is not responding. To open a new windwo, you must first close the existing Firefox process, or restart your computer."

    When I click on Firefox I get a window that says: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your computer." I can't see where anything is running on firefox. I restarted the comuter and I shut down the computer. I also ran a full scan of the computer.

    Sorry I am a PC user but have you seen
    * [[Firefox is already running but is not responding]]
    Firefox will be hanging for some reason. The quick solutions to kill the process and try again. The next step is to try to see if it will start and exit normally a couple of times, if so the problem is solved. If not the reason needs further investigation.
    See [[firefox hangs]]
    An immediate likely culprit after repeated problems are the duplicate session restore files, as discussed in the above KB article.

  • Iget this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.task mngr shows no open firefox processes.

    I get this when I try to open a session....Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.The task manager shows no open Firefox processes.I had two users on this laptop running Firefox and I tried deleting the program on both users. I then downloaded the newest version, installed it and I still get the error message as before. HELP!!!! I loved the browser program when it was working before and would rather use it than other browsers.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * https://support.mozilla.com/kb/Firefox+hangs

Maybe you are looking for

  • Still Photo Aspect Ratio Confusion

    Apologize for asking a question on this topic as I have been through the forum and realize the topic of aspect ratio comes up often. I have not however seen this question answered. Quick background: -Working with HD Video footage imported as SD as I

  • Change Transportation Zone in Sales Order creation

    Hi Gurus, I am looking for an user-exit to overwrite the transportation zone for the ship-to party while creating the Sales order. Actually the order is getting created thru IDOC. The segment E1EDKA1 with PARVW 'WE' contains all the data including na

  • Item is not relevant for Billing-VF 044

    Hello Experts, I have the scenario where i am doing Return Process.Here i have done it through scratch as in set the copy control for LR to RE ,with item category REN. The entire process was running fine till Post Goods Reciept. But when i am billing

  • Lion - Underline problem in Mail

    Hello, Since I have upgraded my iMac and MacBook Pro to Lion, I have noticed that - everytime I underline text in a new Mail message - the text turns white.  Did anyone have the same problem and - if yes - were you able to solve it? Or is it just a b

  • How can I fix this?"ImageCaptureService" application

    I'm trying to scan into Pages & this is what I'm getting- "The "Import Image" service could not be used because the "ImageCaptureService" application did not respond to a request for services." And now the page is frozen & I can't even put it away. A