Table's max number of rows

Hi,
I am a newbie to Oracle and I would like to get you comment of the following questions:
1. What it the maximun number of rows that a table should have in order to be adequately handled in the sense of Create, Read, Update and Delete?
2. To be more specific , let say I have the following table:
file_id (INT)
senetence_id (INT)
sentence (CLOB)
Primary key (file_id, senetence_id)
The queries I would like to do are:
select - select all sentences for a certain file_id
insert - insert a new sentence (for a specific file_id)
delete - delete a sentence for a specific file_id.
search - get all sentences that contain a specifc string
The table's size is going to growth and could get to millions and even more.
Could i get into a point where I couldn't "work" with the table.
Thank you in advance for your assitance
Edited by: user9341163 on Mar 15, 2010 12:46 AM

Hi,
Welcome to forums.oracle.com
I am not sure of what you are looking for, DB itself used for storing information irrespective of Size of data (as its going to increased day by day).
The queries I would like to do are:
select - select all sentences for a certain file_id
select *
from <table_name>
where file_id = <specific_fileid>
insert - insert a new sentence (for a specific file_id)
insert into <table_name>
select <specific file_id>, <sentence>,EMPTY_CLOB()
from dual
or
insert into <table_name> values (<specific file_id>, <sentence>,EMPTY_CLOB())
delete - delete a sentence for a specific file_id.
delete from <table_name> where file_id = <specific file_id>
search - get all sentences that contain a specifc string
select from <table_name> where file_id = <specific file_id>
I could not able to understand further, are you looking specific to CLOB in your table. ??
- Pavan Kumar N
- ORACLE 9i/10g - OCP
- oracleinternals.blogspot.com

Similar Messages

  • Max number of rows in a BEX structure

    Hi gurus,
    we need to create a structure with 164 key figures, and before starting doing it, does anybody knows which is the max number of rows that can be created on a BEX structure?
    I'm not asking about max number of rows on a query, i'm asking about the number of entries that you can manually create on a structure. Is there a maximum?
    Thanks in advance,
    regards,
    Miguel

    Hi Migual,
    You can add as per your requirement. Please refer the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/e2bebb41da1d42917100471b364efa/content.htm
    Assign Points if helpful.
    Regards,
    Amit

  • "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    "Numbers" when creating a sheet the max number of rows is only 255, is this correct because i thorght is was something like 65,000

    max columns is 255
    max rows should be 65535

  • SQL: Find table with max no. of rows

    I have a table containing list of table names for each owner; as
    ## Table: db_tables
    OWNER TABLE_NAME
    a ta_1
    a ta_2
    a ta_3
    b tb_1
    b tb_2
    c tc_1
    Now, i want to know the table with max. no. of rows for each owner
    Plz....can anyone gimme a solution for the above ......

    Assuming 10g and above:
    SQL>  SELECT owner,
                 MAX(table_name) KEEP (DENSE_RANK FIRST ORDER BY XMLQUERY (t RETURNING CONTENT).getnumberval() DESC) table_name,
                 MAX(XMLQUERY (t RETURNING CONTENT).getnumberval()) cnt
        FROM (SELECT owner,table_name,    'count(ora:view("' || table_name || '"))' t
                FROM all_tables
               WHERE owner IN ('MICHAEL','SCOTT'))
               GROUP BY owner
    OWNER                          TABLE_NAME                            CNT
    MICHAEL                        SERVICE_ZIP                       1000000
    SCOTT                          EMP                                    14
    2 rows selected.

  • How to set max. number of rows in a table?

    Hi,
    I'm working on a SCADA interface. In this application there are different tables with vertical scroll bar.
    I prefer to make visible only the initialized rows (I've initialized 40 blank rows of a table with a string array). Since the window not contain all 40 rows but only 20 rows, I set the rows number of "table properties window" to 20; so I added a vertical scroll bar.
    Now, when a user scroll the scroll-bar, he can view not only the 40 rows initializated, but an undefined number of rows.
    There's a way to visualize only a limited number of rows?
    Thanks in advance!

    duplicate
    LabVIEW Champion . Do more with less code and in less time .

  • Max number of rows to display in a pivot table

    I have a pivot table with two row levels and I need to fix the max amount of rows to display at the second level to five. Can I do that on excel 2013?
    Example
    Row Levels
    Machine A
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
    Machine B
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
     and so go on. 

    Hello, 
    you can use a filter to display only the top 5 items of the second level, based on their value. To do that, right-click on a label in the second level, then select Filter > Top 10.  Change the 10 to a 5 in the next dialog.
    You can also create a label filter, but it only takes one filter condition.
    Another way is to select the rows you don't want to be shown, then use right-click > Filter > Hide Selected Items
    cheers, teylyn

  • List Table names and number of rows in it

    Following is a piece of code that would list all tables in a schema and the number of rows in each table.Hope it is helpful for you.
    Note: In this example iam selecting only those tables starting with 'T_'. you may replace it accordingly.
    create or replace procedure count_lines is
    cursor cur is select tname from tab where tname like 'T\_%' escape '\';
    lines number;
    begin
    dbms_output.put_line(rpad('TABLE_NAME',65,' ')||'NUMBER_OF_LINES');
    dbms_output.put_line(rpad('-',80,'-'));
    for i in cur loop
    execute immediate 'select count(*) from '||i.tname into lines;
    dbms_output.put_line(rpad(i.tname,70,' ')||lines);
    end loop;
    end count_lines;
    Following is the sample output:(ignore alignment here)
    TABLE_NAME NUMBER_OF_LINES
    T_FR_ACTION 3
    T_FR_ATTRIBUTE 52
    T_FR_ATTRIBUTE_TYPE 3
    T_FR_ATTRIBUTE_VALUE 5389

    This has been covered many times, so your solution is not the only way...
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    Re: count rows in shema tables
    And there's many more if you search

  • Max number of rows?

    Hi,
    We have a new implementation of Enterprise X1 3.1 and are trying to determine what determines the maximum number of rows that can successfully be generated using Webi.  Is there a hard limit that Webi has (assuming the Universe max rows is deactivated)?
    Also, is there a limit for Live Office extractions into Excel?  What are the main drivers for this limit?
    Finally, all other factors being equal, are there different limits for the number of rows a query can return successfully in Webi vs Deski vs BEx?  How does the performance of these three tools compare to each other in terms of speed?
    Thanks!
    Darryl

    Thanks for your reply!  I also got a response back from SAP / BObj that I'll share:
    Q) We have a new implementation of Enterprise X1 3.1 and are trying to determine what determines the maximum number of rows that can successfully be generated using Webi. Is there a hard limit that Webi has (assuming the Universe max rows are deactivated)?
    => There is a limit to the number of pages Web Intelligence reports can have. This is because there are a maximum number of pages (per report) the server can process. This number depends on the paper size chosen. Generally, it is approximately 590000 inches vertically by 590000 inches horizontally. Therefore, if you choose a smaller paper size, you get more pages but may not see all the pages of the report.
    Resolution:
    To work around this behavior, you can either make each line smaller to get more records, or split your report into more than one report to see all your data.
    Q) Is there a limit for Live Office extractions into Excel? What are the main drivers for this limit?
    => By default its set to 512 rows and columns....however you can change this by modifying the Liveoffice_config.properties file...you can locate this file in /dswsbobje/lib/dsws_liveoffice_provider.jar.
    Q) Are there different limits for the number of rows a query can return successfully in Webi vs. Deski?
    => Although there is no official limit on the number of rows that can be handled by DeskI, it is really not meant to be used like a database, i.e. for returning millions of rows. The purpose of BusinessObjects reporting tools is to get useful information, which is not possible with millions of rows.
    => It has been observed that when the number of rows increases beyond 1.5 million approximately, it starts affecting the Desktop Intelligence performance. This behavior may vary from machine to machine depending upon the available resources and programs (processes) running in the background.
    => The limit is related to the number of rows those can actually be displayed in the report and not how many can be loaded into the data cube. All the rows get loaded in the cube however when it comes to rendering them in the report the problem may arise.
    Example: Report A returns 2 million rows into the cube however due to the report design there are only 200 rows in the actual report page and can be run successfully. Report B tries to render all 2 million rows into the actual report page and can fail.
    Workaround:
    Use filters in the report so that it will retrieve less number of rows and will also help to display useful data.

  • How to Capture a Table with large number of Rows in Web UI Test?

    HI,
    Is there any possibility to capture a DOM Tabe with large number of Rows (say more than 100) in Web UI Test?
    Or is there any bug?

    Hi,
    You can try following code to capture the table values.
    To store the table values in CSV :
    *web.table( xpath_of_table ).exportToCSVFile("D:\exporttable.csv", true);*
    TO store the table values in a string:
    *String tblValues=web.table( xpath_of_table ).exportToCSVString();*
    info(tblValues);
    Thanks
    -POPS

  • To divide the table based on number of rows

    Hello,
    I am trying to divide a table based on the number of rows and then to process it.
    Say i have a table TEST_XXX which contains 50 rows, what i would like to do is,
    to access rows in multiple of 10. How can we do this ?
    What i was thinking is, once the table gets created and row are filled in,
    add a new column to the table and run a procedure which inserts 1 to first 10 rows
    and 2 to next 10 rows and 3 to next 10 row ...etc. Based on this we can process
    the first set of rows then next set or rows etc ....
    is there a better way to do this ?
    Code to create the table :
    CREATE TABLE TEST_XXX
      A_ID   VARCHAR2(10),
      B_ID   NUMBER,
      c_ID   VARCHAR2(10),
      D_ID   NUMBER
    )Code to add rows:
    DECLARE
    BEGIN
      FOR I IN 1..50
      LOOP
          INSERT INTO TEST_XXX VALUES('ABCDE',123,'ZYXWV',321);
      END LOOP;
      COMMIT;
    END;The original problem is, i do have a huge table, and i write a sql query to process it,
    when i process it selecting all values from table, it is very slow.
    But when i process it in small chuks(say 100 rows) it works fine.
    Thats how i was the above approach in mind.

    The original problem is, i do have a huge table, and i write a sql query to process it,
    when i process it selecting all values from table, it is very slow.Did you trace both the implementations and see why it is taking longer?

  • Table name and number of rows

    SELECT 'analyze table '||table_name||' compute statistics for table;'
    from user_tables;
    SELECT table_name,num_rows
    FROM user_tables; Hi I am getting null NUM_ROWS column what could be the reason and how can I fix it?

    It works ... for me however.....!!!!
    SQL> create table f(b varchar2(10) , g number(2));
    Table created
    SQL> insert into f values('5',4);
    1 row inserted
    SQL> insert into f values('e',4);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> select table_name,num_rows from user_tables where table_name='F';
    TABLE_NAME                       NUM_ROWS
    F                             
    SQL>
    SQL> begin
      2   for r in ( select table_name from user_tables )
      3   loop
      4   execute immediate 'analyze table '||r.table_name||' compute statistics for table';
      5   end loop;
      6   end;
      7  /
    PL/SQL procedure successfully completed
    SQL> select table_name,num_rows from user_tables where table_name='F';
    TABLE_NAME                       NUM_ROWS
    F                                       2
    If you repeat the above simple test don't you get the same results.....????
    Sim
    Message was edited by:
    sgalaxy

  • ADOBE Form Using Table with dynamic number of rows

    Hi All
    First some information about our infrastructure:
    - AdobeDesigner 7.1 in the Developerstudio
    - SAP-Portal 7.0 SP15
    I have a View with tabstrips and behind the tabs i have defined an event. On one Tab I included a ADOBE-Form with Table. The Data for the PDF sould only filled in the context for the Form when i jump to this Tab. I created the Form by using this documentation [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669].
    To fill the tablecontext I use the following Code:
    IPrivateAnlegenBANFView.IPositionenElement position = null;
    IPrivateAnlegenBANFView.IPositionenNode posNode = wdContext.nodePositionen();
    int NUM_5_TIMES = 5;
    for (int i = 0; i < NUM_5_TIMES; i) {
    IPrivateAnlegenBANFView.IPositionenElement posElement = wdContext.createPositionenElement();
    +posElement.setMaterial("" + i);+
    +posElement.setKurztext("Test" + i);+
    +posElement.setWarengruppe("Warengr" + i);+
    posNode.addElement(posElement);
    If i put this code in the wdDoInit method it  works fine and shows me 5 Rows. But if I put the code in the Action of the tabstrip it shows me only one row. I checked the entries of the context and there are 5 entries (showed them in a WD-Table).
    Can someone tell me what im doing wrong?
    Thanks for a answer and kind regards
    Pascal

    Hi All
    finally i found the solution for the problem.
    When you define the interactive Form in the view do not define the property "dataSource" of UI-Element Interactive Form it seems, that the binding is static and not dynamic.
    Add the following source to the viewCotroller
    Global Part of the Source:
    private static IWDInteractiveForm form = null;
    Method wdDoModify:
    if (firstTime) {
      form = (IWDInteractiveForm) view.getElement("InteractiveForm");
    When you have an Event where you fill your Contextnode which you want to display in the table of an Adobe Form Use this code:
    Action:
    public void onActionFillTab(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent ){
      //@@begin onActionFillTab(ServerEvent)
         * Code to fill the Node for AdobeForm Table
        form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
      //@@end
    If you want to clear your table and show it directly use in the action the following code:
    wdContext.nodeTabelle().invalidate();
    form.bindDataSource(wdContext.nodeTabelle().getNodeInfo());
    Kind regards
    pascal

  • Compare two tables having different number of rows based on 2 columns

    Hi,
    I am having two tables table a having field1, field2 and table b having fields field1 and field2.
    I want those records from table a in which field1 of table a is not matching to field1 of table b and field2 of table b not matching to field2 of table b, but i also want the bifurcation of records as whether field 1 is not matching, field 2 is not matching or both fields 1 & 2 are not matching.
    e.g.
    table a table b
    field1 field2 field1 field2
    1 6 12 5
    2 5 1 9
    13 51 13 51
    45 31 99 121
    33 45
    In this case my output should be
    table a
    field1 field2 Mtchng_Field
    1 6 Field 2 not mtchng
    2 5 Field 1 not mtchng
    45 31 Feild1 and Field2 both not matching
    How would i get my result in the required format.

    sql>select * from t1;
    N1 N2 
    1   6 
    2   5 
    13  51 
    45  31 
    33  45 
    sql>select * from t2;
    N1 N2 
    12  5 
    1   9 
    13  51 
    99  121
    sql>
    select n1,n2,decode(nvl(p1,0)+nvl(p2,0),0,'No match',1,'F2 not match',2,'F1 not match','Match') status
    from(
      select n1,n2,(select 1
                   from t2 where n1=t1.n1) p1,(select 2
                                           from t2 where n2=t1.n2) p2
    from t1);
    N1 N2 STATUS 
    1   6   F2 not match 
    2   5   F1 not match 
    13  51  Match 
    45  31  No match 
    33  45  No match
    Message was edited by:
            jeneesh
    Message was edited by:
            jeneesh
    Some problems...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • BEx 7.X + MS Excel 2007 - Max number of Rows

    Hi,
    I've been looking for some way to show more than 65k rows in Excel 2007 using BEx Analyzer 7.X.
    I have a customer that has this issue. I know that use more than 65k rows is not a property of a BI report and reports with more than 65k rows would have problems with performance, but my customer has this issue.
    Do you know some way to solve this problem? Can Excel 2007 + BEx Analyzer 7.X show more than 65k rows?
    Thanks,
    Best Regards,
    Marco Muniz

    Hi Marco,
    as far as I know in Excel 2007 it is possible to show
    1,048,576 rows by 16,384 columns
    Please check this thread:
    WAD 7.0 MENU_ITEM with html Frame

  • Setup for discoverer table for showing number of Rows and columns of Report

    As oracle discoverer report show "Rows 1-25 of"(Total rows) and "Column 1-6 Of"(Total Column).
    This total rows and columns information's is not appearing on our reports.
    Kindly let us know its setting/setups .
    This is very urgent to us, Any help will be highly appreciated.
    Thanks, Avaneesh

    Hmm, what version of Discoverer are you on? Do I understand you correctly that you are able to run a Discoverer report and see this rows and columns information? What software are you running when you do this - Viewer, Plus, or Desktop? Where is this showing up - the top of the report maybe? Or maybe the bottom of the report? The only thing I can think of to handle this is the Page Setup for a workbook, and looking at the Header and Footer sections of that setup. But I am on Discoverer 10.1.2.2 and I don't see anything I can insert on the header/footer that would show this kind of information. Desktop will let you do Page x of y pages (Plus does not), but that is not what you are seeing. You can maybe look at the page setup and see if there is something there not documented in the Discoverer guides.
    John Dickey

Maybe you are looking for

  • PL/SQL: ORA-01744: inappropriate INTO

    Hi, Iam pasted this code this error coming ... any one can help me plz.... select PI.PEN_NUMBER||''(''||(PEN_CAPACITY-(SELECT nvl(SUM(NO_OF_HEAD_IN_PEN),0) from LOT_PEN WHERE PEN_ID=PI.PEN_ID))||'',''||PEN_CAPACITY||'')'' D, PEN_ID R FROM PEN_ID PI'

  • Putting a class of objects in a Linked List?

    Hi, I copied a program from a book and I want to edit it and put studentRecord class in the Linked List. I've tried to play about with datum, but everything I try doesn't work. Can someone help me out? How could I put studentRecord in the LinkedList?

  • "Save as" function of meld not working with gksu

    Hi there, I used to run $ gksu meld to merge changes of my config files in /etc. After editing I was able to select Save as from the context menu and overwrite the old config file with the modified .pacnew file. This is no longer working. I can save

  • Need to find manually implemented SNOTE

    I need to find the manually implemented sap note using transaction SNOTE.I want to filter out which are all the snote that the user has implemented manually .is there any table entry that can fulfill my requirement. Thanks in advance..

  • Which ipad is the best?

    Which Ipad is the best?