Designing a table for high rate of concurrent inserts and selects...

I am looking for some recommendations on designing a table the will be inserted into from both nodes of a 2 node cluster quite heavily during peak hours when we are taking alot of orders. We are an online store and we are designing a table that will be used to hold product sku's for items that are placed in a shoppers cart at the same time and then we plan to use this table as a way of subtracting the inventory in this table as a minus in a view of our true nventory quantities?
Not sure if that was clear but basically this table will be getting hit heavily for inserts and at the same time we will be using the data in the table to select from it so we can subtract the shu's that exists in the table.
I am looking for techniques that maybe some of our guru's have implemented in this type of design in a rac environment that will help in the conncurrency that we are expectiing.
Should I be building my tables with the smallest block size available as to avoid hot block in the db buffer cache and also we are using a sequence to generate and ID on the table and I have set a large cache size on the sequence (5000).
We are planning on using ASSM table spaces with auto extent and segment space management as everthing we have read indicated that this is the best type of tablespace mgmt in RAC.
What other factors should I be considering.
any help or suggestions are greatly appreciated.
Thanks in advance.

user520056 wrote:
I am looking for some recommendations on designing a table the will be inserted into from both nodes of a 2 node cluster quite heavily during peak hours when we are taking alot of orders. We are an online store and we are designing a table that will be used to hold product sku's for items that are placed in a shoppers cart at the same time and then we plan to use this table as a way of subtracting the inventory in this table as a minus in a view of our true nventory quantities?
Not sure if that was clear but basically this table will be getting hit heavily for inserts and at the same time we will be using the data in the table to select from it so we can subtract the shu's that exists in the table.
I am looking for techniques that maybe some of our guru's have implemented in this type of design in a rac environment that will help in the conncurrency that we are expectiing.
Should I be building my tables with the smallest block size available as to avoid hot block in the db buffer cache and also we are using a sequence to generate and ID on the table and I have set a large cache size on the sequence (5000).
We are planning on using ASSM table spaces with auto extent and segment space management as everthing we have read indicated that this is the best type of tablespace mgmt in RAC.
What other factors should I be considering.
any help or suggestions are greatly appreciated.
Thanks in advance.See my .sig for other questions you should answer - OS, DB (version &c.),
CPU/RAM/Disk...
If you're running this on a 386 with 16 MB of RAM with on HDD, then you could
have problems - if you're running it on something different, well that changes
the possible answers.
Paul...
When asking database related questions, please give other posters
some clues, like OS (with version), version of Oracle being used and DDL.
Other trivia such as CPU + Disk configuration might also be useful.
The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks.
Furthermore, as a courtesy to those who spend time analysing and attempting to help,
please do not top post and do try to trim your replies!

Similar Messages

  • Table for exhange rate changed on

    Hi
        Table for exchange rate is TCURR. and where can i find the changes done and changed by.
    what is the table to find the "changed on" and "change
    thanks

    Hi Sameer,
    Pls check in the following tables:
    SE16n_cd_key and se16n_cd_data
    You can find the required info. in the above mentioned tables.
    Regards,
    Mohan.

  • Designing metadataLogging table for data warehouse

    Hi:
    I am in the process of creating metadataLogging tables for dw.
    I have thought 5 tables to track errors and check etl execution.
    Master table for all major jobs. Enviournment - oracle 9i. Dw size not more than 30 mb. to start with.
    CREATE TABLE ADMIN_JOB_MASTER_TBL
    JOBNUMBER NUMBER,
    JOBNAME VARCHAR2(768 BYTE),
    MINTHRESHRECORDS NUMBER,
    MAXTHRESHRECORDS NUMBER,
    MINTHRESHTIME VARCHAR2(64 BYTE),
    MAXTHRESHTIME VARCHAR2(64 BYTE),
    CREATEDATE DATE
    Audit Table for auditing jobs.
    CREATE TABLE ADMIN_AUDIT_JOBS_TBL
    JOBNUMBER NUMBER,
    JOBNAME VARCHAR2(768 BYTE),
    STARTDATE DATE,
    ENDDATE DATE,
    NUMBERRECORDS NUMBER,
    FAIL_OR_SUCCESS VARCHAR2(64 BYTE)
    Step Master: for jobs involving various steps, logic such as branching, loop, flow etc. breaking the job_master to a lower level for a more insight.
    audit_step
    CREATE TABLE ADMIN_AUDIT_STEP_TBL
    RECORDID VARCHAR2(256 BYTE),
    JOBAUDITID VARCHAR2(256 BYTE),
    STEPNUMBER NUMBER,
    PARAMETERS VARCHAR2(512 BYTE),
    NUMBERRECORDS NUMBER,
    STARTDATE DATE,
    ENDDATE DATE,
    USERNAME VARCHAR2(256 BYTE)
    Error_table: to track error during execution.
    CREATE TABLE ERROR_TBL
    ERROR_NO NUMBER,
    TABLE_NAME VARCHAR2(124 BYTE),
    ERR_NUM NUMBER,
    ERR_MSG VARCHAR2(124 BYTE),
    ERROR_TIME DATE
    I am thinking to load the master tables manually with expected values.
    And during each run, loading the auditing tables.
    Error table would ofcourse be loaded during the run.
    So everytime a threshold has changed, I would have to update master table manually. I dont mind doing that initially.
    Would the following tables and the stated appraoch be good for etl.
    Please guys, let me know your thoughts. Suggest changes or tables or approach, if you feel, that its wrong.
    Thanks in advance. All inputs are highly appreciated !!!
    Regards
    Som

    Hi,
    What better than Oracle suggests...is there ????
    Have you read Oracle doc titled...
    "Data Warehousing Guide" and the "Handling Data Errors with an Error Logging Table " section for example...
    Regards,
    Simon

  • Tables for overhead rates

    Hi experts,
    i want to know all tables for maintain overhead rates. I know only TKZU1, TKZU2, TKZU3, TKZU4, T685, TKZU9 and TKZUTR, but i don´t know others tables primarily for percentage overhead rates. I need this for migration between SAP systems. Can You advise me?
    Thank You
    Gustavo

    Hi Christian,
    i don´t find in TKZUTR the same records as in customizing - define percentage overhead rates. In TKZUTR are less records. Therfore i think that are others tables. I don´t know way are diferent ? 
    best regards
    Gustavo

  • How do I position my layer/table for my header in the center and up top?

    I have designed a site before on my dreamweaver 4 site and
    decided to design a new one. I just tried to insert my header into
    the website and it worked fine. However, how to I align it directly
    in the center and all the way to the top so their is no space from
    the top of my site and header? My header is about 960 pixels wide
    and was hoping to have it centered when viewed with a few inches of
    background on each side. My last sight it just worked out when I
    did but not this time.
    Just so you know, I set a header layer down first, then put
    in a single row and column table, then inserted my Gif header.
    Header looks great but placement is wrong. Thanks

    Good grief - DW3? It's not there. You will have to do it in
    code view.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "dontsettle22" <[email protected]> wrote in
    message
    news:fm1p83$pql$[email protected]..
    > Darn it, this is what I was looking for, however, I am
    on dreamweaver 3.
    > I can't find an insert ....layout....div. Any other
    ideas where I find
    > div?

  • Mapping table for contact person download from ECC and Groupware

    There are 3 connected system in our landscape:
    - CRM
    - Groupware (connected to CRM)
    - ECC
    We have a requirement that the Contact Person can be created in any of the above 3 system and should flow to the other. So, the below scenarios are valid in our case:
    1.  Contact created in Groupware, flows to CRM ->ECC
    2.  Contact created in ECC flows to CRM-> Groupware
    3.  Contact created in CRM flows to Groupware and ECC
    Our flow system works fine and the contacts created in one system, flows to the other 3 and any changes also flow.
    The problem is that for the contacts created in ECC, the communication data (phone, email etc) flow in CRM and get updated in the "Work Address" section in the Contact display screen in Web UI and the updates from Groupware for communication data gets updated in "Main Address" section.
    Can anyone please advise what are the mapping tables for the address update when the contact is created in :
    - Groupware/CRM
    - ECC
    Regards

    Hi Christophe,
    Thanks for the response.
    I checked for the notes you suggested, but having read it it doesnt appear to address my problem. Did you get this from SAP as fix to solve' specify the name of contact person' error in SMW01 ? Unfortunately even SAP isnt replying to me on this.
    I am also not getting any dump, all my queues are getting cleared in ECC and CRM. My error remains 'specify the name of contact person'. Interestingly when i tried to push the contact person directly as bupa_main..it too failed with the same error..more interestingly whenver my contact person tried to get replicated as bupa_rel..ecc does eat up a number assignment..but no record is created for it in ecc...the smw01 says partiaslly send ..receivers has error..
    Edited by: Hamed Kazi on Apr 19, 2011 2:33 AM

  • Table for link between conttract account no and business partner

    Hi,
    can anyone let me know abt any table that defines relation between contract account and business partner.
    so dat for a contract account no i can get 1 business partner .
    Thnx,

    Hi
    Use the table
    <b>VVKKFOPT and VVKKFOP</b>
    both business partner and Contract account fields are there.
    Reward points if useful
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Commit for every 1000 records in  Insert into select statment

    Hi I've the following INSERT into SELECT statement .
    The SELECT statement (which has joins ) has around 6 crores fo data . I need to insert that data into another table.
    Please suggest me the best way to do that .
    I'm using the INSERT into SELECT statement , but i want to use commit statement for every 1000 records .
    How can i achieve this ..
    insert into emp_dept_master
    select e.ename ,d.dname ,e.empno ,e.empno ,e.sal
       from emp e , dept d
      where e.deptno = d.deptno       ------ how to use commit for every 1000 records .Thanks

    Smile wrote:
    Hi I've the following INSERT into SELECT statement .
    The SELECT statement (which has joins ) has around 6 crores fo data . I need to insert that data into another table.Does the another table already have records or its empty?
    If its empty then you can drop it and create it as
    create your_another_table
    as
    <your select statement that return 60000000 records>
    Please suggest me the best way to do that .
    I'm using the INSERT into SELECT statement , but i want to use commit statement for every 1000 records .That is not the best way. Frequent commit may lead to ORA-1555 error
    [url http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:275215756923]A nice artical from ASKTOM on this one
    How can i achieve this ..
    insert into emp_dept_master
    select e.ename ,d.dname ,e.empno ,e.empno ,e.sal
    from emp e , dept d
    where e.deptno = d.deptno       ------ how to use commit for every 1000 records .
    It depends on the reason behind you wanting to split your transaction into small chunks. Most of the time there is no good reason for that.
    If you are tying to imporve performance by doing so then you are wrong it will only degrade the performance.
    To improve the performance you can use APPEND hint in insert, you can try PARALLEL DML and If you are in 11g and above you can use [url http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_parallel_ex.htm#CHDIJACH]DBMS_PARALLEL_EXECUTE to break your insert into chunks and run it in parallel.
    So if you can tell the actual objective we could offer some help.

  • Table for finding rate based on part code and material

    Hi Experts
         I am an ABAP consultant with ltd knowledge on SD . Please tell me in which table  I can find the rate based on party code and material .

    Hi
    The standard table is A305. But usually these tables can be customized based on the requirement. So if you are aware about the Condition type for which this Price/Rate is maintained you can find the same in VK13.
    In transaction code VK13, maintain the condition type and click on "Condition information" icon. Now dont maintain any input date. Just click on Execute icon or F8. System will give the list of all the tables and data maintained based on the combination.
    Select the required table.In SE11, maintain this table with prefix as A. You can get all the required information.
    Regards
    Vamsi

  • How design transaction table for  accounting system

    Hi master;
    Sir,
    I making accounting system for garment factory chart of account table I design but
    I confused in transaction table how I design make only one table
    Such as
    Trans
    Ac_code
    Date
    V_no
    Description
    DR_amount
    CR_amoun
    Chequ_no
    Or make transaction master detail style
    Tran_master
    V_no
    Date
    Description
    Ac_code
    Chequ_no
    Tran_detail
    S_no
    V_no
    Ac_code
    Description
    DR_amount
    CR_amoun
    But how I get ledger from both style please give me idea how I set transaction table
    Or give I any sample application or sample code
    Thanking You
    Aamir

    Hi master;
    Sir,
    I making accounting system for garment factory chart
    of account table I design but
    I confused in transaction table how I design make
    only one table
    Such as
    Trans
    Ac_code
    Date
    V_no
    Description
    DR_amount
    CR_amoun
    Chequ_no
    Or make transaction master detail style
    Tran_master
    V_no
    Date
    Description
    Ac_code
    Chequ_no
    Tran_detail
    S_no
    V_no
    Ac_code
    Description
    DR_amount
    CR_amoun
    ut how I get ledger from both style please give me
    idea how I set transaction table
    Or give I any sample application or sample code
    Thanking You
    Aamir
    only one table voucher may have more then one invoice then i would go with master detail .
    If you maintain one table how will you maintain more then one invoice's voucher.
    Khurram

  • Table for Exchnage Rate Maintenance

    Dear Experts,
    I am posting a Foreign Currency Document. The Foreign currency for me is Eur.
    In the Header of the document, I do mentioned Currency Eur with rate 70.55
    the system then gives a message, rate 70.55 deviates @59% of the table rate 44.17
    In the document, when i simulate there are few line items of Witholding Tax (TDS) which are calculated & generating automatically, but these Line Items, when displayed in local currency computes taking exchange rate 44.17
    in OB08, i DO NOT find any Eur / INR Exchange Rate which has 44.17
    how do i solve this problem. please help.

    Dear Hussein,
    First check whether any exchange rate type is maintained at Document Type level.
    Secondly If you don't find Eur / INR but may be INR/Eur is maintained for the exchange rate type. Check in table TCURR.
    Answer to system then gives a message, rate 70.55 deviates @59% of the table rate 44.17 is, go to OBY6 select your company code you will find Max. exchange rate deviation is less than 59%.
    Be patient and analyze the problem.
    Regards,
    Chintan Joshi.

  • How to design a table for Billing purpose

    hi all
    I want to develop a software for Billing purpose
    A company wants to record all sales in computer and at the month end wants to print out billing for all clients I have design this in foxpro and in Foxpro we did that when new month will start then new table generate like Crd_0707 (Credit month year).
    now I want to develop in oracle how I should start this project I mean who can I design tables.
    thanks

    If you understand relational theory and design shik Date's books. What you need to understand before porting an application from another database to Oracle is how Oracle works.
    If you do not know relational design then you need to learn it long before you start any porting project.
    If you know relational design then read the Application Developers Guide - Fundamentals, plus the first few chapters of the SQL manual up until the syntax diagrams start. These chapters identify the single row and aggregate functions that Oracle provides and introduce optimizer hints for tuning while the later chapters provide the syntax for DDL: create table, create view, etc .... You will also want to read the PL/SQL Users Guide and Reference then look at the supplied PL/SQL Packages and Types manual.
    After reading all this you meet the minimum requirements to work with Oracle, and I really do mean minimum.
    HTH -- Mark D Powell --

  • Table for Department ID, Department ID desc, and DIV

    Hi,
    I'm looking for the following fields in standard SAP. Please let me know from which table these fields are coming from:
    1. Department ID
    2. Department ID Description
    3. Division
    Aman

    Hi Aman,
    Still i am not clear, The fields you are talking about is not in SAP HR  might it's in different name pormat
    any way  check table HRP1000 in SE11 with object type O,S,P
    O is organization Unit
    S is position
    P is person
    Vikrant
    Edited by: Vikrant Patil on Aug 3, 2010 8:06 PM

  • Table for equipement no,measurement position,date and counter reading diffe

    hi,
    i am looking for tables that could provide me following data :
    1) equipement no,
    2)measurement position(like working hours,idle hours etc.)
    3)date and
    4)counter reading difference
    I have equipment no.
    i have searched table imrg,imptt but not able to find the 2nd and 4th data
    plz help

    i gt the table IMRG and the field is CDIFF
    but its of type F.i want to read it as numeric value that cud be presented to user how cud I

  • Tables for g/l account, cost element and cost grouping

    Hi Experts,
    I am finding for a table which has g/l account against cost element.
    Finally, I need to find their relevant cost grouping so that I know which g/l account is relevant to the cost group.
    Which table can I find for these information?
    Please help!

    Hi
    The Link between GL & Cost element is not required because GL Account No  = Cost element No
    Cost Ele is stored in CSKA & CSKB Tables.. Cost ele groups are stored in Table SETLEAF
    br, Ajay M

Maybe you are looking for

  • How to change render resolution of After Effects project in Adobe Media Encoder for an H264 preview?

    I'd like to render a 1080i comp at half resolution or third resolution in AME to speed up render times for low-res previews. I just had a low-res H264 preview take 5 minutes to encode in AE, and 28 minutes in AME. This is easily accomplished in the A

  • MYsql with a Java table

    I'm trying to use a Jtable to display a Table from a MySQL database.... But i keep getting an error, and dunno where i'm going wrong. Here is my code: import java.sql.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.ut

  • Error #1009:  while loading datagrid in to appl

    Below exeption showing while trying to load datagrid in to my application.. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.controls::DataGrid/createItemEditor()[E:\dev\4.0.0\frameworks\projects\framework\

  • Retrieving data from Essbase through OBIEE

    Hi experts I developed some reports in answer to read data from an Essbase cube but does not display my data, but if I check the same crossing through Smart View, this works fine. someone has any idea what could be happening? Thank you very much in a

  • Mod import No audio / No thumbnail preview.

    When I connect my Panasonic HDD camcorder imovie does not preview all of my MOD files in my cam. It only displays thumbnails for some of the oldest clips that are in my cam. Also when I import one of the files that does not show a preview, that clip