At max how many columns is advisable to create in a table/view

Hi All,
I have two transaction table from which i want to create a simple view or materialized view. But the number of columns is about 200. So i want to know at max how many columns is advisable from the performance point of view.
Even though i will create 200 columns in a view , for a perticular client installation i may not use all the columns.
one more thing i will never use 200 columns in the select statement . At a time i will use only 4/5 columns.
It may happen from this four column one column will be the 1st and 2nd column will be the 200th one.
I want to know how it affects the performance and in which scenario . Please help if any body knows or already faced this kind of scenario.
I am using oracle 10g .

Annapurna Nayak wrote:
thanks for ur reply .
We are going to use this view in a report , so if i will create it as simple view it will affect report performance. because the view script is too long ...so every time quring to a view will decrease the performance.
Are you asking me if it will? I think it probably won't but of course you have the means to test it to be sure, right?
As u said MV should be done with minimum possible column . what can be the maximum column in MV ..??It would be defined by the limits on:
* The maximum number of columns that a table can contain
* The size of the query needed to define the select statement
* Limitations on queries needed to maintain the data
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/limits003.htm#i288032

Similar Messages

  • At max how many logical columns can be created in RPD

    Hi All,
    At max how many logical columns can be created in RPD. I have a requirement of creating 200 columns. Will there be any problem .
    Is there any predefind number of columns for RPD creation??
    Please help ..

    Hi Annapurna,
    There's no limit that I'm aware of or which is mentioned anywhere. Just as an example: I have a logical fact table with around 750 logical columns (>500 original measures & 250 derived measures). No issue whatsoever. Opening the presentation table through answers takes about 2-3 seconds (the NQSQL command has a lot to retrieve), but that's about it.
    Cheers,
    C.

  • How many columns a sql selects

    I need to find out how many columns are in a sql statement like below:
    sql = "select id, decode(description,'','No decription', description), comment from my_table";
    The sql string is build dynamically so I don't know it when I write the code. I need to know before I do
    call rs.next(), because I need to set up the table header so I need to know how many columns the sql is selecting.
    Thanks inadvance.
    Botao

    You can use the interface ResultSetMetaData,below are some methods of it.
    int getColumnCount()
    Returns the number of columns in this ResultSet object.
    String getColumnName(int column)
    Get the designated column's name.
    int getColumnType(int column)
    Retrieves the designated column's SQL type.
    for more infomation ,you can refer to JDBC Online Document.

  • How many columns can be used in the SELECT Statment

    Hi all,
    How many columns can be used in the SELECT statement?
    Ex: SELECT x1,x2,....xn FROM <table_name>;
    Thanks,
    GowriShankar.N

    Let me join ;-)
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Linux: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL> DECLARE
      2  l_sql varchar2(32000);
      3  begin
      4  l_sql := 'CREATE TABLE T(';
      5  for i in 1..999 loop
      6  l_sql := l_sql ||'C'||i||' NUMBER,
      7  ';
      8  end loop;
      9  l_sql := l_sql||'C1000 NUMBER)';
    10  EXECUTE IMMEDIATE l_sql;
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SQL> select count(*) from cols where table_name = 'T';
      COUNT(*)
          1000
    SQL> insert into t(c1) values(1);
    1 row created.
    SQL> select *
      2  from t t1,t t2;
            C1         C2         C3         C4         C5         C6         C7         C8         C9       
    ...   snipped
    C991        C992       C993       C994       C995       C996       C997       C998       C999         C1         C2         C3       C4         C5         C6         C7         C8         C9        C10       
    ...   snipped
    C990       C991       C992       C993    C994        C995       C996       C997       C998       C999
    ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------          1
                                                                                                                                        1
    SQL>
    SQL> select count(*) from (
      2  select * from t t1,t t2)
      3  ;
    select * from t t1,t t2)
    ERROR at line 2:
    ORA-01792: maximum number of columns in a table or view is 1000Obviously, inline view is obliged the same restrictions as a view, but select list is not constrained.
    Best regards
    Maxim

  • How many column can I make in a table or view??

    What is the maximum column that I can create in a table or a view in Oracle9i??
    When I create a view of 500 columns, I encountered an error "too many sort key", can any one tell me what is the limit for Oracle9i on number of column

    I believe the limit was raised to 1000 columns in 8i; that's certainly what it is in 9i. At a guess I would suspect your problem is the number of columns in your GROUP BY or ORDER BY clause. It would be helpful if you posted the error number, the ORA-nnnnn bit.
    Cheers, APC

  • How many server nodes can you create per instance

    Hi,
    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

  • How many softwares are there to create a setup file for java programs

    Hi, i am new to java
    I want to know how many softwares are there to create a setup file for java programs.
    I know one software i.e java launcher to create a setup file.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.
    And don't think that i am wastiing ur time with this question .
    Help me regarding this topic.
    Thanks in Advance

    superstar wrote:
    I want to know how many softwares are there to create a setup file for java programs.13, no wait, 42.
    I know one software i.e java launcher to create a setup file.You should clearly identify what you think you already know.
    I want to know about any other softwares are available to create a setup file for java programs.
    I created a setup file for swings program in JCreator.Is this the one you talked before, or is this different?
    And don't think that i am wasting ur time with this question .Why should I not think that?

  • By default how many plan types one can create in Hyperion planning applicat

    By default how many plan types one can create in Hyperion planning application?

    Hi,
    By Default,We can create 3 plan types in Hyperion planning application.

  • How many java String objects are created in string literal pool by executin

    How many java String objects are created in string literal pool by executing following five lines of code.
    String str = "Java";
    str = str.concat(" Beans ");
    str = str.trim();
    String str1 = "abc";
    String str2 = new String("abc").intern();
    Kindly explain thanks in advance
    Senthil

    virtuoso. wrote:
    jverd wrote:
    In Java all instances are kept on the heap. The "String literal pool" is no exception. It doesn't hold instances. It holds references to String objects on the heap.Um, no.
    The literal pool is part of the heap, and it holds String instances.
    [http://java.sun.com/docs/books/jvms/second_edition/html/Overview.doc.html#22972]
    [http://java.sun.com/docs/books/jvms/second_edition/html/ConstantPool.doc.html#67960]
    You're referring to the JVM. That's not Java.It's part of Java.
    There is nowhere in Java where it is correct to say "The string literal pool holds references, not String objects."

  • How many softMotion references can you create on an Interface Object

    I'm wondering how many softmotion references I can create on an interface object.  For example can I create a straight line move on an axis, keep that reference open then at the same time create another line move referece on a coordinate space that using that same axis?
    Can I have multiple line move references open at the same time on the same axis?
    Thanks,
    SteveA
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

    Thanks Paul,
    I have noticed that the SoftMotion express vis open a reference on first call, but they never close the reference.  On my machine I will be doing regular coordinate moves and from time to time I will need to perform an Axis move.  Would it be better practice to close each reference after I perform the move?  How much overhead does it take to create a new reference?  The thought I had on keeping multiple reference open was to minimize the overhead in opening a reference.  Once my system gives a trigger to perform a move, I need it to be very responsive.
    Thanks,
    Steve
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

  • How many physical standbys can be created in one data guard environment?

    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.

    Victor Jin-Oracle wrote:
    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.
    Post the source of your information abouit the limit of 9 names.
    Even the Oracle doc shows 1..30 names in the same provided although that doesn't necessarily indicate a limit.
    https://docs.oracle.com/database/121/REFRN/refrn10237.htm

  • How many secondary index you can create on table

    hi,
    how many secondary index you can create on table?
    thanks,
    raj

    Hi,
    Maximun number of indexes for a table can be 9.
    check this FAQ
    http://www.sap-img.com/abap/important-abap-faq.htm
    Regards,
    Vinodh

  • How many icloud account can we create with one ios device???

    how many icloud account can we create with one ios device???

    i need more then 1 account as i owe itunes some money and i cant access my app store so if i change my icloud account .....all my previous history wont be tracked

  • How many enterprise projects we can create in a single project web app site in project server 2013 enterprise?

    I have MS SharePoint 2013 Enterprise and MS Project Server enterprise installed in the same server,
    I have created project web app site 
    can anyone tell me that how many enterprise projects I can create in a single Project web app site
    what is the recommended number of enterprise project per project web app

    As I remember each project site is a sub site in a project Web app site collection.  That means you can have a maximum of 250,000 project sites before you run out of space in the site collection.  That's the boundary for sub sites in a single
    site collection for SharePoint 2013.  Project server doesn't have a specific limit.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • 919: Column count replaces query count when opening table/view/etc tab

    I don't know whether this is intentional or not, but I have just noticed that opening a table or view tab from the connection pane replaces the existing query count message with the query count from the column query. For example, opening a table tab for a table with 14 columns sets the query count message to "All Rows Fetched: 14".
    This is not a big issue, but adds to the aggravation of only having the latest query count message, rather than one for each SQL Worksheet.
    Is it possible to find somewhere on the SQL Worksheet that we can put it's query count message (for example to the right of the execution time)?

    I am happy for querying the columns of a table/view/etc to display the fetch count of the columns, although I am rarely interested in how many columns there are in a table/view/etc.
    However, I already find it frustrating that the query count is only for the last fetch - it can be very useful having the query count for last fetch per SQL Worksheet. Having the last fetch overwritten by opening a table tab only makes it more frustrating.

Maybe you are looking for

  • Need help on macbook pro 15

    Sorry i realise i post my previous post in the wrong forum section, hence im bringing it here. Mod please delete my previous thread. Hi this is my first time using mbp or even the whole mac system, im running on bootcamp and recently i've been buying

  • Sql statment is VERY slow

    Hi all I am facing a very big problem in my database. when I execute the below select statement, it takes to much time to finish. The value of cust_no is equal to 10. SELECT fname, lname, pcode FROM cust WHERE id = :cust_no; And I execute the same st

  • How can I get Lion re installed after crash and no recovery disk?

    I bought Lion some time ago I did not do a recovery disk and now I had a huge crash. I started over with Snow Leopard cause that's all I had. How can I get Lion re installed?

  • Querying a field of Date type using JPQL

    How can i do a JPA Query passing a date whithout using the setParameter method of the Query interface? Something like this: SELECT entityX FROM EntityX entityX WHERE entityX.date = to_date('mm-DD-yyyy','01-01-2007') Thanks! Giuliano Lins

  • No response to my IQ506 problems

    It is interesting that no-one has been able to post solutions to my on-going problems with my new IQ506. These are serious design faults which HP has yet to address and should not exist in a new PC costing $1,500!