difference in size of the Table in oracle and timesten

Hi all


I have a large table with 2 million records,

I see no big difference in the size of the table in oracle and Timesten
In oracle table size to 4 GB, but in Timesten is arround 15 GB (using ttSize for 2 M lines)

Could you please tell me what could be the cause of this difference?
Is the size of the table in Timesten is always more than oracle?
What are the factors and parameters affecting the size of Perm?

It is typical for the storage needs for a DataSet to be significantly larger in TimesTen in Oracle. This is due to the Organization of the very different internal storage in TT from Oracle; Oracle is optimized to save space while TT is optimized for performance.

Ways to minimize these costs are:

1. make sure you use TimesTen 11.2.1. This has some characteristics compare compact (minor) and earlier versions.

2 assess the use of numeric types; native types TimesTen (TT_TINYINT, TT_SMALLINT, TT_INTEGER and TT_BIGINT) use less space than MANY and longer by the effective calculation as well.

3. check use of data of variable length (VARCHAR2, VARBINARY, NVARCHAR) and the trade-offs between online and online storage (see documentation for the compromise between these options stirage TT).

Even when you use the foregoing, you will still see a storage important "inflation" for TT from Oracle.

Chris

Tags: Database

Similar Questions

  • Given CLOB not allowing the size of the table cut!

    Hi Experts,

    Environment: 11.2.0.3. on Solaris 10.

    We have a table that contains the CLOB data and this table takes about 111 GB!

    SQL > desc INFO_MESSAGES

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    CLNT_OID NOT NULL VARCHAR2 (16)

    USR_OID NOT NULL VARCHAR2 (16)

    LAST_client_msg_ID VARCHAR2 (36)

    LAST_client_msg_DATE DATE

    LAST_client_msg CLOB

    LAST_USR_MSG_BOD_ID VARCHAR2 (36)

    DATE OF LAST_USR_MSG_DATE

    CLOB LAST_USR_MSG

    Select * of dba_segments order by bytes DESC;

    MIGRTN SYS_LOB0000111131C00008$ $ LOBSEGMENT SAMS DATA1 20690 6 1963 14528000 119013376000 <-the top row

    This segment is to table INFO_MESSAGES. I confirmed by joining in ALL_LOBs.

    This segment: SYS_LOB0000111131C00008$ $ belong to this column: LAST_USR_MSG

    The column LAST_USR_MSG were originally from huge text data, each line having approximately 4 MB in size. To reclaim the space, we have put this column of small as "data truncated" data using an update statement for the half of the rows in the table.

    as:

    Update INFO_MESSAGES set LAST_USR_MSG = "data truncated" where rownum < 25001 (this where clause was based on other criteria on a real mission but he updated 25000 lines - half of the table).

    Now after having done that, the size of the table has not changed!

    The table is still 120 GB. So what should he do to recover the space here? Should we export, truncate, and import the table - or can it be reconstructed (without causing locks and allowing application to access it or there at - it other better options?)

    Thank you

    OrauserN

    You must use dbms_redefintion, at the same time, change BASICFILE (have you been to) to SECUREFILE

    The latter LOBs will reorganize automatically.

    Demo at http://www.morganslibrary.org

    -----------

    Sybrand Bakker

    Senior Oracle DBA

  • Size of the table is too big Performance problem.

    Hello

    Suppose that we table that has about 160 columns inside. About 120 of these columns are Varchar data type with about size 100-3000 each column.

    This table has also about 2 million lines in there. I don't know if they are considered large tables of sizes?

    Like these tables a good representation of the data. I'm in doubt because the size of the table is very large and may take a long time for queries. We have about 10 indexes on this table.

    What kind of precautions should be taken when this kind of tables are involved in the database and they needed for the application.

    Version of database is Oracle 10.2.0.4

    I know that the question is a little vague, but I wonder what needs to be done and where I start digging the question just in case I have performance issues while trying to select the data or update the data.

    I also want to know if there are any size idle for tables and anything that is more that what needs to be treated differently.

    Thanking you
    Rocky

    Any table with more than 50 columns should be regarded with suspicion. This does not mean that it is appropriate for uses no tables with columns 120 or 220, but that doesn't mean that they are quite rare.

    Which doesn't bother me on your first paragraph is the number of columns of text with sizes of up to 3 K. It is very revealing of poor design. One thing is for sure... no one is a report and printing on what anyone smaller than a plotter.

    2 rows at point M is small by almost any definition so I wouldn't worry on this subject. Partitioning is an option, but only if the size of partition can translate to work with your queries and we have not seen any of them nor would we have no idea what you can use as a partition key or the type of partitioning so any intelligent discussion of this option would require a lot more information from you.

    There is no precaution that relate to what you wrote. You have told us nothing on the safety, use, volumes of transactions or any other important thing in such a review.

    What needs to be done in the future, is for someone who understands the normalization to look at this table, review the rules management, reviewing the purpose to which it will be put, and especially reports and the results that will come against her and no longer justify and change the structure. Then with an evaluation of the completed table... you must run SQL and examine the plans generated using DBMS_XPLAN and timing compared to your Service Level Agreement (SLA) with clients from the system.

  • Size of the table only includes not Keynote - can not enter directly px

    I inserted a table on a slide, and he made two unexpected things:

    1. it will not allow me to directly enter a width of table in pixels - as soon as I enter a value, it returns to the original value. The only way I can change the size of the table is with the up/down arrows, essentially pushing a pixel at a time.

    2. when I add an additional column, rather than tighten it in the width of the table by adjusting the size of the existing columns, it blows the table out of the slide area, and I have to manually resize the table to accommodate.

    I have looked through all the parameters of the table and just cannot find why it behaves in this manner, which is different from the other tables I've created in the past.

    1. You are right. Selecting the Table tab and reduce line and column values will shrink your table, but the table resizing is not supposed to work this way.
    2. Control-click or two fingers press the alphabetical table header and select Add column after from this menu. The new column is added in place, and the other columns shrink and walk left to accommodate the new column, while the table itself does not move.
  • Mapping of 12 ODI is a failure loading the table to the table in oracle DB

    Hi Experts,

    I'm starting to ODI, attempts to load data from the Table to the Table in Oracle DB. Source table and target table are in the same PB in different schema

    I created my own work, also agent and master repository.

    Started with the agent, and I could see the status as Planner started for referential work * on Agent OracleDIAgent1.

    Created the agent in topology and successfully tested.

    Created data and connections physical schema of the source and target servers, Test connection is successful.

    Created the context and logical schema defined for the source and the target.

    Mapped to the corresponding physical schema context.

    Diagram logical and physical mapping is accomplished in the context.

    Created for source and target models, able to view the data in the source model.

    Created a simple map and put in source and target component context.

    LKM selected as LKM SQL for SQL

    Select IKM as IKM Oracle Insert.GLOBAL

    After execution, the mapping is a failure with the error below

    Drop table work - LKM SQL for SQL

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    Create the table work - LKM SQL for SQL

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    at oracle.odi.runtime.agent.execution.AbstractSessionTask.getSrcDataServer(AbstractSessionTask.java:1646)

    at oracle.odi.runtime.agent.execution.interpreter.SessionTaskCodeInterpreter.codeInterpretation(SessionTaskCodeInterpreter.java:132)

    at oracle.odi.runtime.agent.execution.interpreter.SessionTaskCodeInterpreter.codeInterpretation(SessionTaskCodeInterpreter.java:80)

    at oracle.odi.runtime.agent.execution.SessionTask.createTaskLog(SessionTask.java:324)

    at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:821)

    to oracle.odi.runtime.agent.execution.SessionExecutor$ SerialTrain.runTasks (SessionExecutor.java:2024)

    at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:562)

    to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:718)

    to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:611)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)

    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 1400 (StartSessRequestProcessor.java:74)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:702)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:180)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:108)

    at java.lang.Thread.run(Thread.java:722)

    Please help me with the problem above,

    Thanks in advance.

    Kind regards

    Srikanth

    Hi Srikanth,

    It is usually better to create a separate scheme for the scheme of work, but you can keep the data and schema of work even. Also in your error log, the error should now be to the right of the IKM? No LKM. Try changing the logical schema name and see if it works.

    Thank you

    Ajay

  • Confusion about the size of the array in Oracle 11 g

    There is confusion about the size of a table. When exporting schema 'CRESTELWOMPRD601', the log file shows:

    _____________________________________________________________________________________

    . . exported "CRESTELWOMPRD601." "' TBLRSUBSCRIBERFIELDWORK ' lines of 12.62 GB 35568

    ____________________________________________________________________________________

    which may involve the size of the TBLRSUBSCRIBERFIELDWORK table is 12.62 GB.

    But when I find the size of the table using the query:

    SELECT nom_segment, BYTES / 1024 / 1024 "SIZE (MB)" FROM dba_segments where owner = 'CRESTELWOMPRD601' and nom_segment = 'TBLRSUBSCRIBERFIELDWORK. '

    He said that the size is only 9 MB for the TBLRSUBSCRIBERFIELDWORK table.

    I hope that my request is clear that there is no clarity on the size of the TBLRSUBSCRIBERFIELDWORK table.

    Please get back with the answer to my query


    Concerning

    Dba_segments indicates the space allocated to the segment while expdp indicates the size of the exported data, so if you had a table with a measure of 1 MB, but no data, dba_segments would 1 MB and expdp would report 0 bytes.

    John

  • How to find the size of the table?

    Hi all

    Can anyone suggest how to find the size of the table? I had a few (15272 selected lines) on the name of "CMPT_" How can I check only 'CMPT_' size tables?





    Please someone help give the SQL query to run.


    Thanks in advance.


    Vincent

    madala03 wrote:

    Hi thanks for the reply

    I'm out like below

    SUM(BYTES/1024/1024)

    --------------------

    25383.25

    But how to check all the name of tables CMPT and their sizes?

    Select nom_segment, dba_Segments sum(bytes/1024/1024) where nom_segment like ' % CMPT GROUP BY nom_segment;

  • I am new to FDQM I need to connect from the table Source 'Oracle '...

    This is the first time for me to do this, you have any Document to the connection on the Source table in Oracle, to any table target using FDQM
    is it valid?
    If valid how can I make the integration with FDQM...?
    I called ODI,
    Can be defined from any source to any target,
    In FDQM I can set to take data from the Source of the table is Oracle to load in the EPM or any target system.

    Published by: Joe on December 10, 2011 19:52

    Please refer to paragraph "Example of Script integration" on page 200 of the FDQM 11.1.2 administration guide.
    This example connects to a SQL Server table (you may have to tweak it a little so you can connect to Oracle table), but the example can give you a good impression of what is necessary to establish a direct link.
    Kind regards
    Jeroen

  • size of the table

    How to check the size of the table?
    Select segment_name,Bytes/1024/1024 from DBA_SEGMENTS;
    
    or
    
    SELECT SUM(bytes)/1024/1024 MB
    FROM dba_segments
    WHERE segment_type ='TABLE'
    AND segment_name=
    
  • Difference in size between Dreamweaver, see in Safari and the friend's PC

    In Dreamweaver CS3, I have a table with two cells containing the type. In order to get the type to not appear too big, I need size to 6 pt type size on screen in Dreamweaver, it appears like all text size normal 10pt in my browser Safari on a Mac and then it seems too small, but readable, and greater than what I see in Dreamweaver on PC of a friend by AOL. This mystifies me as it happens only on this page. When I go out the existing text to normal size in the table cell, it becomes too large as seen in the Safari browser, so what I'm doing is sizing up 40% (tiny) in dreamweaver so it will come back in the browser as normal paragraph text size.

    Never had this happen before. Any ideas?

    TIA,

    Ken

    No idea without seeing the page.

    However, I would suggest that you avoid using the pt (a metric impression) for the sizing of fonts on web pages.

    Instead, use px or em.

  • DB file sequential reads on the table scan complete and LRU (new)

    I would like to add a question on the subject

    scan of full table and LRU

    According to MOS doc ument 1457693.1

    «.. signs diluvium readings of the caching blocks can be divided into a number of small multiblock and self-contained bed. »

    The question is if sequential readings of db file submitted by a FULL SCAN operation will be cached on LRU or MRU list?

    I'm afraid the flushes of heat/floods the buffer cache with a lot of FULL SCAN db file sequential reads.

    For which direct path series reason readings will be inapplicable, so using this new feature of 11g is out of scope for this question.

    Thank you for your interest,

    Rainer Stenzel

    There are a few different patterns of behavior depends on the size of the table (relative to the size of the buffer cache), but the key question is probably "readings will increment the counter of touch" - because if they are not the blocks will fall the LRU list fairly quickly, if they do then the blocks could (after a few tablescans) eventually be promoted in half hot from the cache.

    I did some quick tests (that requires a little care in the Installer) which suggest the number touch was not incremented has therefore not had any effect on the question of if the block would get preferential treatment when they have reached the end of the LRU.

    I'm a little puzzled by your expression: "cached on LRU or MRU list" - it's not two different lists; but people talk about "the end of the MRU of the LRU list.

    Concerning

    Jonathan Lewis

  • Who holds the keys for encryption AES mentioned in the table under "security and features iCloud?

    Who holds the keys for encryption AES mentioned in the table under "security and features iCloud?

    Article

    Security and privacy - Apple Support Overview iCloud

    has a useful table in the section entitled Security and features iCloud.

    The table shows the types of keys used to secure the different types of data.

    Apple holds these keys as it may be requested of Apple by third parties?

    Hmmm... You definitely raise a good and valid question to which I don't know the answer to, but if I had to guess, I would say that no one.  Would this be possible?  I know I've heard Cook mention that they "don't hold the keys" but does the same thing, it refers?  It would make a very interesting topic of discussion.

  • How to insert image from mysql into the table using php and create the checkbox in the table?

    How can I insert image from mysql into the table using php and create the checkbox for each data as a vote? Here is my code...

    WELCOME

    connect_error) {die ("connection failed:".)} $conn-> connect_error); } $sql = "SELECT no, Calon, ID, of course, the Image OF THE candidates." $result = $conn-> Query; If ($resultat-> num_rows > 0) {echo ' '; export data of each line while ($row = $result-> fetch_assoc()) {"echo"}}
    NO Candidate INFO Vote
    " . $row ["no"]. "-" . $row ["Calon"]. "
    -" . $row ['ID']. "
    -" . $row ['class']. "
    "; } ECHO ' ' ;} else {echo '0 results' ;} $conn-> close();?} >

    hope someone can help me because I am a newbie in this program... need to finish this project... Thank you.

    If you have saved the file name in the database, it's pretty simple.

    echo '' . $row['description'] . '';
    

    Is the same for the box:

    echo '';
    

    If you have saved the image file in the database, it is much more complicated. I recommend you store only the file name in the database.

  • problems with the table of contents and index

    I do the localization for the Japan, so I'm all nice and good in Japanese (themes, table of contents and index), however, after compilation, only the TOC and India are in a font that does not support Japanese characters.
    Does anyone have any ideas how to solve this problem?
    Thank you

    Thank you Pete, it's part of the solution.
    In fact, what I discovered on a German forum for RoboHelp, is to set the machine to the locale for the country, and the location is made. I installed the language support pack before my problem and so I was able I was translating into topics. The problem appeared when I tried my first compilation. The subjects were still in Japanese, that I translated, but the table of contents and the index and were the only ones who wrote in a totally unknown style (not Japanese English and not another language, I know).
    Now that I've changed the location of my system, it works.
    So, I think that this should be a first improvement for RoboHelp, right? They boast that they support 35 languages, however the support isn't quite... finish, huh?
    Furthermore, the error message continues to come even after all these changes, but I don't like too much about this, I get what I need.
    Thanks again Pete for the solution and the quick response.

  • size of the table on disk

    Hello

    Wanted to know the size of a table on the disk.  Assume I have a Table with 10 columns...  Only, Varchar2, number and Date fields.  For example, of same data in the CSV file with all fields in complete occupation like the VARCHAR2 data size field and have 100 000 files occupy 100 MB on the disk.  In this case just wanted to know, table also occupies space on the disk?  If not, what is the approximate percentage of diviation?

    If there is an index defined on 3 columns of the table and the types of fields for these 3 columns would be, field Date and a numeric field, third field as field Varchar2 (100) respectively.  In this case, about how much additional disk space will be ustilized in percentage?

    Please note that I am not interested on any other sizing as DB dimensions, other dimensions of the diagram, software size, etc., etc., I wanted to just know, if I have a 1 GB of data in the CSV file and I load in the Table, will take an equal amount of size on the disk or there is a major difference.  Of course, I know that because of the definition of the width to the table field, there is a major change in the use of disk space.  However, for highest estimate, just consider that Varchar2 column size and the actual data in CSV is even.

    Thank you

    -Anand

    The best way to find out – load a representative sample of data and check the size of the segments / the index of the table.

    The size will be different, for sure. DATEs are 7 bytes. VARCHAR2 takes at least one byte over the data size. NUMBER would take usually less space it is used by the CSV format.

    In addition, the Oracle tables are stored in a heap structure and generally have unused space allocated to the table.

    John

Maybe you are looking for