Design table for performance (order - ordervisibility)

I have tables like order, orderitem, etc. and requirements for order visibility:
- One order can be seen by many users
- One user can see many orders
create table order (orderid number, ...);
create table ordervisibility (orderid number, username varchar2(20));
Order size is estimated to be >=500Mio. Application is a data warehouse with reporting.
The relationship order - user will be skewed: some users will be allowed to see many orders while some will only see a small percentage.
How should we design the system for performance?
We think about creating table ordervisibility as index-organized table. Or are there better approaches like partitioning? Or is the approach with tables order na ordervisibility already suboptimal?

<<<What is your 4 digit Oracle version (result of SELECT * FROM V$VERSION)?
The system does not exist yet. Version will be derived from the requirements or most likely the latest version (e.g. 11.2.0.3 EE with partitioning option)
<<<Are you wanting to prevent users from seeing other orders? You said one user can see many orders but are they NOT supposed to see other orders?
Yes, you are right. We want to prevent other users to see orders that do not belong to them.
<<<What determines which orders a user is allowed to see? A state code, a region code?
The user in the OLTP system decides who can see orders (the user creating the order and maybe other users he selects)
<<<Does this database, data and system already exist or is this a new design? Are there any other security mechanisms already in place? Is any of your data currently encrypted?
The system does not exist yet. No other security mechanisms are planned (e.g. encryption).
VPD is considered to implement the visibility (or alternatively views.)

Similar Messages

  • Table for purchase order status

    Hello friends,
    There's a tab STATUS in purchase order (tcoe ME21N).
    I can't find a table which contains theses statuses.
    Anybody knows what's the table for purchase orders status ??
    Regards,
    Bahia

    Hi
    PO status is stored in Structure not in the table.
    Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
    You can also get the information from the table EKKO, EKPO, EKET,EKBE
    Hope it helps
    thanks/karthik

  • Tables for production orders

    Hi,
    Any database tables for production orders? please help me.
    Thanks & Regards
    Santhosh

    Plz SEARCH in SCN before posting.
    You will get lot of posts with tables AFKO,AFPO.

  • Tables for purchase order history

    what r  the tables for purchase order history.
    thanks in advance

    Hi Srinivas,
    Check out the link for detail PP module and tables.
    http://www.sap-img.com/sap-pp.htm
    Hope this helps.
    Manish

  • Table for Work Order

    Can you please tell me what is the TABLE for 'Work Order'?
    Regards,
    Subhasish

    hi Subhasish Ganguly,
      these are the tables of worked order which used in work order make and udates
        AFIH, AUFM, PMCOQT, PMFLAGS, AFFL, AFKO, AFPO, AFVC .............
    Hope i will help u.
      with regard
    chetan vishnoi

  • Table for Sales order Cost Est?

    Cost estimate data for sales orders used to be kept in KEKO and KEPH -
    Now that we've upgrade to 5.0 - there are only product cost estimates.
    Anybody know the tables for sales orders?
    thanks

    Dear Althea,
    please check with this tables.
    VBAG                           Sales Document: Release Data by Schedule Line in Sch.Agrmt.
    VBAK                           Sales Document: Header Data                               
    VBAP                           Sales Document: Item Data                                 
    VBBE                           Sales Requirements: Individual Records                    
    VBBS                           Sales Requirement Totals Record                           
    VBDATA                         Update data      
    Regards
    Mangal.

  • Object table for production order

    Hi all,
    I want to create a print program to create a barcode label (sapscript) triggered out of a shop (production) order.
    I know for example for deliveries, all delivery data are stored into the NAST table.
    Is there a similar table for production order that holds the necessary data?
    Thanks
    Anne

    Hi,
    Tables for production order
                         AUFK                    Production order headers
         AFIH                    Maintenance order header
         AUFM                    Goods movement for prod. order
         AFKO                    Order header data PP orders
         AFPO                    Order item
         RESB                    Order component     
           AFVC                    Order operations
                         JEST                    Object status
         AFRU                    Order completion confirmations
    Regards,
    Vishal

  • Table for Production Order

    Hi Experts,
      Can anyone tell me which is the table for Production Order Planned Values.
      The one which we get to see in CO02.
    Thanks,
    Ravi

    Hi Ravi,
    <b>AFKO</b> Production Order Header
    <b>AFPO</b> Production Order Position (details)
    Regards
    Sudheer

  • Migration of huge data from norm tables to denorm tables for performance

    We are planning to move the NORM tables to DENORM tables in Oracle DB for a client for performance issue. Any Idea on the design/approach we can use to migrate this HUGE data (2 billion records/ 5TB of data) in a window of 5 to 10 hrs (Or minimum than that also).
    We have developed SQL that is one single query which contains multiple instance of same table and lots of join. Will that be helpful.

    Jonathan Lewis wrote:
    Lother wrote:
    We are planning to move the NORM tables to DENORM tables in Oracle DB for a client for performance issue. Any Idea on the design/approach we can use to migrate this HUGE data (2 billion records/ 5TB of data) in a window of 5 to 10 hrs (Or minimum than that also).
    We have developed SQL that is one single query which contains multiple instance of same table and lots of join. Will that be helpful.Unfortunately, the fact that you have to ask these questions of the forum tells us that you don't have the skill to determine whether or not the exercise is needed at all. How have you proved that denormalisation is necessary (or even sufficient) to solve the client's performance problems if you have no idea about how to develop a mechanism to restructure the data efficiently ?
    Regards
    Jonathan LewisYour brutal honesty is certainly correct. Another thing that is concerning to me is that it's possible that he's planning on denormalizing tables that are normalized for a reason. What good is a system that responds like a data warehouse but has questionable data integrity? I didn't even know where to begin with asking that question though.

  • Table for production orders

    Dear Gurus
    In which table can we get the open production order quantities and the gr dates.
    Regards
    Sandip Sarkar

    Hi,
    Please find below tables
         Production orders
         AUFK                    Production order headers
         AFIH                    Maintenance order header
         AUFM                    Goods movement for prod. order
         AFKO                    Order header data PP orders
         AFPO                    Order item
         RESB                    Order componenten     
           AFVC                    Order operations
         AFVV                    Quantities/dates/values in the operation
         AFVU                    User fields of the operation
         AFFL                    Work order sequence
         AFFH                    PRT assignment data for the work order(routing)
         JSTO                    Status profile
                        JEST                    Object status
         AFRU                    Order completion confirmations
    Regards
    SANIL

  • Tables For Linking Order Confirmation & Goods Receipt against Order

    Hi,
    We are using transaction CO11N (multiple times) with Auto GR feature. So, for every confirmation, a
    material document for corresponding goods movement also is created.
    Similarly for multiple confirmations, Mat Docs are created.
    I am looking for tables where I can get a link between Order Confirmation counters & respective Mat Document.
    I tried Tables AFRU and AUFM but it gives Mat. Document Number When only one GRis carried.
    Anyone Plz guide.
    regards

    To Dear ,
    This is the tables that used in production orders
                         AUFK                    Production order headers
         AFIH                    Maintenance order header
         AUFM                    Goods movement for prod. order
         AFKO                    Order header data PP orders
         AFPO                    Order item
         RESB                    Order componenten     
           AFVC                    Order operations
         AFVV                    Quantities/dates/values in the operation
         AFVU                    User fields of the operation
         AFFL                    Work order sequence
         AFFH                    PRT assignment data for the work order(routing)
         JSTO                    Status profile
    You can check here & I think AUFM ,AFVC ,AFFL may you will get trquire data .
    Pleasse check & revrt me back .
    Regards
    SANIL

  • WBS Element and Service No Link Table for Purchase Order document

    Hi Experts,
    We are Facing 1 Problem for finding link between
    WBS Element and Service No for corresponding Purchase Order document . Please Suggest me to find Related tables for Project system Module .
    Thanks and Regards
    BalaNarasimman.M

    Hi,
    The link will be in MM table, not PS table. Try EKKN.
    Regards

  • Table for maitnenace order status

    Dear Experts,
    Can any one please tell me in which table the maitenance order status is stored?
    And also process order status table.
    Please help me out.
    Thanks and Regards,
    Praveen.

    Hi,
    For Status you can check the following tables:
    Status  JCDS  Change Documents for System/User Statuses 
    Status  JEST  Object status 
    Status  JSTO  Status object information 
    Status  TJ02T  Texts for system status 
    Status  TJ30T  Texts for user status 
    Apart from this there is a Wiki for PM Tables, please check  [PM Tables|https://wiki.sdn.sap.com/wiki/x/voCCAw ]_.
    Thanks,
    Amit.
    Edited by: Amit Saxena on Dec 25, 2008 12:18 PM

  • Table for purachse order tax( Invoice tab)

    Hi,
    Can anybody tell me table name for purchase order taxes which are matainined in invoice tab.
      Thanks and Regards
        Anil

    hi
    check KONP table in SE16
    following are condition related tables
    check following tables
    TSTL Taxes: Valid Tax Categories for Each Country
    KNVI Customer Master Tax Indicator
    KNAT Customer Master Record (Tax Groupings)
    KONH Conditions (Header)
    KONP Conditions (Item)
    KONV Conditions (Transaction Data)
    Vishal...

  • Table for Outstanding orders and deliveries

    Hi,
    I have a requirement where I need to findout what is the outstanding quantity for an article (material). I need what is the wuantity in the sales order, and for how many quantities, the PGI is done for that sales order. So accordingly I can find out the outstanding quantity.
    Can anybdy please let me know which table should I look for Sales order quantity and PGI quantity so that I can findout the outstanding quantity for a material.
    Thanks & Regards
    Satya

    Hi Satya,
    There is no one table where you can get this information. I would use the logic below for this requirement.
    For the sales order item check the delivery status field in table VBUP. There are 3 possibilities here.
    1) If the value is 'A' = Not yet processed, then the delivery quantity is zero and hence the entire line item quantity is pending
    2) If the value is 'C' = Completely processed, then all quantities have been delivered and hence outstanding quantity is zero
    3) If the value is 'B' = Partially processed, then using VBFA table identify all the deliveries for this line and then using LIPS table find out the total delivered quantities.
    Regards,
    Pratheb

Maybe you are looking for

  • Authorisation for delivery block

    HI Guys, Is there any way where in we can do automatic delivery block for some order types for some users. Ex. Order type "RE- returns" Users "ABC, XYZ and 123". Thanks in advance. Regards, Govind. Message was edited by:         Govind A Message was

  • Two payment document one cheque

    hai, i made two payment documents. shall we take one cheque for this two document. is it possible or not. govind.

  • Where does Speed Dial store the urls of the sites added in Speed Dial?

    Hi, i am using Ubuntu 10.04 . I need to know the urls of the websites i stored in the Speed Dial of firefox. Is it possible ?

  • Ship confirm

    I have a sales order for which the line status is 'Picked and staged'. I am trying to invoice the Order but not able to find any option under 'Actions' in Sales order screen or in Transactions menu in Shipping. Any help? Thanks,

  • Configurator in order management

    Hi guys, I need to write a report which shows the configuration exactly as it shows in configurator in order management. I figure out although its using BOM explosion to explode the model it uses some rules so whats in BOM is different than what show