How to decide how many number of col in a table can be made keeping 8kb lenght to speed up.

hi,
I am making one big table which will have good no of cols,
There is one critaria that is, to seepd up keep the lengh of row less than 8 kb pages(now it has been raised).
Q1)please tel me ,in this critaria ,collenght is checked or datalenght is checked , because i know that my col length will exceed 8 kb but data will never exceed , it is rare, may be few rows may exceed.
yours sincerley.

It is unclear what you are trying to achieve? A disk space? In order to speed up the query you need proper;y created indexes...
Calculate numbers  of rows that ca fit on an 8K data page
8060/bytes per row= rows per page
Calculate  the number of data pages needed 
Number of estimated rows / rows per page =data page needed
8192* data pages needed = Total bytes
Total bytes\1024= Total KB
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • How many number of times a particular report was executed

    Hi..My requirement is to find how many number of times a report/tcode was executed in a particular period of time.I tried using STAD,STAT AND ST03 ..but i am not able to find how many number of times the particular report was executed ..is there any other tcode or table or FM ..that would solve this problem..its bti urgent..wud reward points for all useful answers could u let me know under what name or field int eh out put this particular info that i am looking for wud be displayed?

    Hi,
    The following code i found from this forum, may this will help you.
    * internal tables for use counter
    data: begin of list occurs 5.
            include structure sapwlserv.
    data: end of list.
    data: begin of applicat occurs 0.
            include structure sapwlustcx.
    data: end of applicat.
    data: begin of applica_ occurs 0.
            include structure sapwlustcx.
    data: end of applica_.
    data: begin of applicau occurs 0,
            entry_id like sapwlustcx-entry_id,
            account  like sapwlustcx-account,
            count    like sapwlustcx-count,
        : end of applicau.
    data: wa_applicau like applicau.
    *&      Form  MONI
    form moni.
      data: l_host like  sapwlserv-hostshort.
      m_start = p_usedt.
    *** get server
      call function 'SAPWL_SERVLIST_GET_LIST'
           tables
                list = list.
      do.
        loop at list.
    *** loop on server
          check not list-instshort is initial.
          l_host = list-instshort.
    *** get statistics per month and server
          perform workload using m_start l_host.
        endloop.
        add 31 to m_start.
        if m_start > sy-datum.
          exit.
        endif.
      enddo.
      sort applica_ by entry_id.
      sort applicau by entry_id count descending.
    endform.                               " MONI
    *&      Form  WORKLOAD
    form workload using    p_start like sy-datum
                             p_host  like  sapwlserv-hostshort.
      refresh: applica_.
    *** read application statistic from MONI
      call function 'SAPWL_WORKLOAD_GET_STATISTIC'
           exporting
                periodtype                 = 'M'
                hostid                     = p_host
                startdate                  = p_start
                only_application_statistic = 'X'
           tables
                application_statistic      = applica_
           exceptions
                unknown_periodtype         = 1
                no_data_found              = 2
                others                     = 3.
      sort applica_ by entry_id account.
      loop at applica_  where entry_id(1) ge 'Y'.             "#EC PORTABLE
        clear wa_applicau-entry_id.
        wa_applicau-entry_id(25) = applica_-entry_id.
        wa_applicau-account      = applica_-account.
        wa_applicau-count        = applica_-count.
        collect wa_applicau into applicau.
      endloop.
      sort applicau by entry_id count descending.
      applica_-ttype    = space.
      applica_-account  = space.
      modify applica_ transporting ttype account
             where ttype ne space.
    *** collect only enhancements statistic
      if p_temp = 'X'.
        loop at applica_.
          applica_-entry_id+25(48) = space.
          collect applica_ into applicat.
        endloop.
      else.
        loop at applica_ where entry_id(1) ge 'Y'.            "#EC PORTABLE
          applica_-entry_id+25(48) = space.
          collect applica_ into applicat.
        endloop.
      endif.
    endform.                               " WORKLOAD
    aRs
    Points are always welcome

  • How to Know the How many number of JCo connections established?

    Hi
    How to Know the How many number of JCo connections established for mapping?

    Hi
    mConnection =  JCO.createClient("001", // SAP client
                  "<userid>", // userid
                  "****", // password
                  null, // language
                  "<hostname>", // application server host name
                  "00"); // system number
    //Connections to a specific application server (as in the above example)
    mConnection.connect();
    //Creating the JCO.Client object does not connect to SAP, but a subsequent call to
    connect() will accomplishes this
    So you can easily find out the number of JCo connections by checking out these.
    Thanks

  • How many licenses my comapny has and how many number of users logged in.

    Hi All,
    Can any one tell,
    before login into the SAP B1,
    I want to know
    how many licenses my comapny has and how many number of users(Licenced) logged in using Query Analyzer or any other way.
    Thanks
    Chakrapani
    Edited by: chakrapani bandaru on Feb 17, 2010 12:58 PM

    Hi Sunderraj,
    Can u eloberate the answer,
    I want to take a report of that count.
    Thanks
    Edited by: chakrapani bandaru on Feb 17, 2010 2:14 PM

  • How Many  NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN

    How Many  NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN

    Hi
    One Database table contain 249 Fields.
    Rewards Points if useful..
    Regards
    Nikunj Shah
    Edited by: Nikunj Shah on May 13, 2008 1:08 PM

  • How many MDM certificates for different MDM servers can be generated under one  Apple Developers  Subscription

    Hello All
    Please say how many MDM certificates for different MDM servers can be generated under one Apple Developers Subscription?
    Thanks in advance

    So no Meraki MDM?
    Supports Multiple VPP accounts, completely free, fully encrypted, and quite secure.
    Otherwise, you might want to take a look at the mdm that Spiceworks has.

  • Maximum Number of Columns that adf table can support in JDeveloper 10.1.3.1

    Hi All,
    I'm using Toplink 10.1.3.1 . In JDeveloper 10.1.3.1 .
    I'm Trying to display the columns of a table which is having the more than 380 columns.
    When I'm trying to display the columns in adf table, it is getting hanged. The console of the displaying that "too long".
    If Execute the Application with nearly 50 columns, It is working fine.
    what is the Maximum number of columns that adf table can support. Is there any other solution for my problem.
    could anyone help me out.
    Thanks in advance,
    regards,
    Satish

    Hi,
    I am not sure there exist a limitation in columns and if the application hangs then this probably is a bug either in the business service or the view (which can also be due to that the server runs out of memory because of the created object instances).
    However, in my opinion a table with 380 columns is a loud cry for denormalization
    Frank

  • How many number of pages can be included in a single spool request

    Hi ,
    How many maximum number of pages can be included in a single spool request. can we increase or decrease these max no of pages per spool in SAP.Please advise.
    Thanks & Regards,
    Sam.

    Hi Sam,
    The spool is ultimately a file created in the database. So it can handle a large number of pages.
    By defaut it shows only first ten pages.. This can be changed from the settings in SP01.
    GOTO> DISPLAY REQUESTS> SETTINGS
    Regs,
    Sameer

  • Counting how many number of elements in a XML

    Hi all,<br />
            I am having a requirement in ABAP-IXML ie., i need to find how many times a same element name(ComponentUsage) gets repeat in an xml.<br />
    here is the xml,<br />
    <br />
    &lt;Component mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_three" package="sap.com" masterLanguage="en"&gt;<br />
    <br />
    &lt;Component.ComponentUsages&gt;<br />
    &lt;<u><b>ComponentUsage</b></u> lifecycleControl="createOnDemand" name="comp1"&gt;<br />
    &lt;ComponentUsage.ComponentControllerUsages&gt;<br />
    &lt;ComponentControllerUsage name="Configuration"&gt;<br />
    &lt;/ComponentControllerUsage&gt;<br />
    &lt;/ComponentUsage.ComponentControllerUsages&gt;<br />
    &lt;ComponentUsage.UsedComponent&gt;<br />
    &lt;Core.Reference package="sap.com" name="Comp_twoInterface" type="ComponentInterfaceImplementation"/&gt;<br />
    &lt;/ComponentUsage.UsedComponent&gt;<br />
    &lt;/ComponentUsage&gt;<br />
    &lt;/Component.ComponentUsages&gt;<br />
    <br />
    &lt;Component.ComponentUsages&gt;<br />
    &lt;<u><b>ComponentUsage</b></u> lifecycleControl="createOnDemand" name="comp2"&gt;<br />
    &lt;ComponentUsage.ComponentControllerUsages&gt;<br />
    &lt;ComponentControllerUsage name="Configuration"&gt;<br />
    &lt;/ComponentControllerUsage&gt;<br />
    &lt;/ComponentUsage.ComponentControllerUsages&gt;<br />
    &lt;ComponentUsage.UsedComponent&gt;<br />
    &lt;Core.Reference package="sap.com" name="Comp_twoInterface" type="ComponentInterfaceImplementation"/&gt;<br />
    &lt;/ComponentUsage.UsedComponent&gt;<br />
    &lt;/ComponentUsage&gt;<br />
    &lt;/Component.ComponentUsages&gt;<br />
    &lt;/Component&gt;<br />
    <br />
    Here as the xml is short so i manually knows tat the element "ComponentUsage" are used 2 times, but suppose if i use a big xml and the component usage element is used "N" number of times then how can i count mannually....... so is there any method or code to find how many times does "ComponentUsage" element present in an XML.<br />
    <br />
    Thanks in advance,<br />
    Vishnu<br />

    First check this Blog
    /people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach
    you can check this thread
    Upload XML to internal table and vice versa in SAP 4.6C

  • How many primary keys use in one table

    Hi,
    Please help me. Maximum How many primary keys use with in one table
    Regards,
    Sunil Kumar.T

    Hi,
    For my knowledge, It depends on the Database & version u r working.. Right..
    This is a sample description what I seen for a Database...
    Technical Specification of SAP DB Version 7.4
    Description                            Maximum Value
    Database size                    32 TB (with 8 KB page size)
    Number of files/volumes per database64...4096, specified by a configuration parameter
    File/volume size (data)      518 ...8 GB (dependent on operating system limitations)
    File/volume size (log)1      6 TB (dependent on operating system limitations)
    SQL statement length>=  16 KB (Default value 64 KB, specified by a system variable)
    SQL character string lengthSpecified by a system variable
    Identifier length                32 characters
    Numeric precision              38 places
    Number of tables unlimited
    Number of columns per table (with KEY)  1024
    Number of columns per table (without KEY)  1023
    Number of primary key columns per table  512
    Number of columns in an index  16
    Reward Points if useful

  • Is there a way to know how many rows were rejected using external tables?

    Hi,
    I'm developing a package that needs to load different kinds of text files into the DB.
    I was wondering whether there's a way of knowing in SQL or PL/SQL how many rows were rejected if my external table is defined with "reject limit unlimited".
    I'm using the external tables in "insert into ... (select ... from external_table where...)"
    sql%rowcount returns the number of inserted rows
    I was hoping for something similar/easy to get the number of rejected rows as well.
    I know I can try to analyze the bad file for the number of records if there's no other way...
    Thanks in advance.

    Pyrocks wrote:
    I was afraid of this answer...
    this is a certain "no there's no other way" or should i wait for other responses (no disrespect - just want to make sure :) )Well the difference would be that this external table will have no complex logic. You would simple read in all the lines from the bad file. The chances that this is broken are therefore very slim compared with your original external table.
    And tehre are many other ways possible. For example you can first copy the file into a real internal (temp) table without using any processing logic but with using an external table. Then do the processing / logic checking of the data and move the data from this temp table into your final data structure. Since you move the data two times the whole process will be slower then the original version.

  • How many event actions filters a cisco ips can support

    we are running cisco ips 7.0(2) E4, and we are planning to tune some of the traffic everyday.......any idea how many event action filters can be applied to a sensor or is there is any maximum limit on the number of filters?

    There is no limit to how many event action filters you can configure. I assume that you also know that event action filters is ordered list:
    http://www.cisco.com/en/US/docs/security/ips/7.0/configuration/guide/idm/idm_event_action_rules.html#wp2033432
    Also, found this bug FYI: bugID: CSCtf78755:
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtf78755
    (When over 495 event action filters are configured via CLI, it's corrupting "rules0.xml" file)
    Hope that answers your question.

  • HT5622 How many family members, computers, iPods,iPad,IDs can you have on one iTunes account?

    I'm just trying to sort out some iTunes I'd issues.  Does anyone know how many total iPad iPods can be used with one Apple ID?  Or how many apple  IDs your can have with one iTunes account? Or does each person need there own Apple ID or Apple account? Thanks

    You can't have multiple IDs on one account, but you can use multiple IDs for different purposes on the same device.
    Just use the one AppleID for iTunes and the AppStore so you can all share your music and app purchases. Then each person should have their own individual AppleID with associated iCloud account for mail, contacts, calendars, iMessage and FaceTime.
    You don't have to use the same AppleID for all services.

  • I had set my passcode by pressing 1 repeatedly till it filled the passcode box. I dont know how many times I have pressed 1. Can someone tell me the character length of the text box of the Passcode

    Hi,
    My son foolishly pressed a single digit till it just filled the text box of the passcode. Now i dont know how many times he has pressed it. If I can know the charcter length, or how many digits can just fill the text box of passcode, I can unlock my ipad2. If anyone reading this has ipad2, he can do the same thing and count how many digits will just fill the text box. I will really appreciate the help.
    Thanks

    You can put the iPad into Recovery mode and Restore it. See this link and note the sentence commencing, 'If you restore from a different computer.... ' down near the bottom of the page.
    http://support.apple.com/kb/HT1808

  • How many Nexus 7000, Nexus 5000 and 2000 can a DCNM deployment support?

    Hi Everyone,
    Good Day! I would like to inquire how many Nexus boxes can a single DCNM deployment support given that we have the recommended server specifications?
    Thanks and Regards,
    Albert

    Hi Lucien,
    I have 2 pair of Nexus switches in my setup as follows
    The first pair connection as below
    ==========================
    Nexus 1 (configured with vpc 1)----- 2 connections------ 6500 catalyst sw1(po 9)
    Nexus 2 (configured with vpc 1) ----- 2 connections------ 6500 catalyst sw2 (po9)
    po2 on nexus pair for vpc peer link
    Spanning tree on Nexus 1
    po1     root fwd1      p2p peer stp
    po2    desg fwd 1   vpc peer link
    Spanning tree on Nexus 2
    po1      altn blk1     p2p peer stp
    po2      root fwd1   vpc peer link
    The second pair connection
    =====================
    Nexus3 (configured with vpc 20 ) ------ 1 connection ------- 6500 catalyst sw1 (po20)
                  (configured with vpc 30) ------- 1 connection ------- 6500 catalyst sw2 (po30)
    Nexus4 (configured with vpc 20) ----- 1connection ---- 6500 catalyst sw1 (po20)(stp guard root)
                  (configured with vpc 30) ----- 1 connection ----6500 catalyst sw2 (po30)(stp guard root)
    po1 on nexus pair for vpc peer link
    Spanning tree on Nexus 3
    po1      desg fwd1        vpc peer link
    po20    root fwd1           p2p peer stp
    po30    altn blk1            p2p peer stp
    Spanning tree on Nexus 4
    po1      root fwd1           vpc peer link
    po20    root fwd 1          p2p peer stp
    po30    altn blk1               p2p peer stp
    Problem Observed :  High Ping response
    Source server on 1st pair of switches  ; Destination server on 2nd pair of switches
    Ping response from 1st pair of switches to destination server : normal (between 1 to 3 ms)
    Ping response fron 2nd pair of switches to source server  :   (jumping from 3ms to 100+ ms).
    There is no errors or packet drops on any of the above ports, I cannot understand why the ping response is high for connections from second pair.

Maybe you are looking for

  • Can't Print

    I recently upgraded to Tiger and when I try to print a calendar (using iCal 2.0.1) on my HP OfficeJet 6110, only two lines print then the paper ejects. I've even tried printing from Preview and saving as a PDF and get the same results. No other appli

  • How to setup the MDT Upstream server and down stream server

    Hi, i have configured the MDT upstream server at office1 & i need to setup the downstream server at office2. Image should be replicate from upstream server to downstream server and image should be build from downstream server at office2 not upstream

  • E7-00 contact edit: not possible to paste a phone ...

    Gentlemen, As said in the topic, it's not possible to paste a phone number together with the + sign in front of the country code. Instead you need to add + manually and paste the rest of the number. It means that when selecting the phone number text

  • Life in the slow lane

    I know I'm slowing down as I get older, but what about my G5 Quad? I thought by adding more ram (2gb) video renderings and such would progress at a faster pace. Haven't noticed any marked improvement. Maybe I'm not using it correctly or my settings a

  • Creating Change Request from project structure

    Hello. Have somebody maked somthink like creating Change Request from Implementation project configuration structure? I want to initiate new change request directly from busines process step in transaction SOLAR02 for example.