The size of the target table grows abnormaly
hi all,
I am curently using OWB (version 9 2.0 4 to feed some tables.
we have created a new database 9.2.0.5 for a new datawarehouse.
I have an issue that I really can not explain about the increase size of the target tables.
I take the exemple of a parameter table that contains 4 fields and only 12 rows.
CREATE TABLE SSD_DIM_ACT_INS
ID_ACT_INS INTEGER,
COD_ACT_INS VARCHAR2(10 BYTE),
LIB_ACT_INS VARCHAR2(80 BYTE),
CT_ACT_INS VARCHAR2(10 BYTE)
TABLESPACE IOW_OIN_DAT
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 1M
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
LOGGING
NOCACHE
NOPARALLEL;
this table is feed by a mapping and I use the update/insert option, which generates a Merge.
first the table is empty, I run the maping and I add 14 lines.
the size of the table is now 5 Mo !!
then I delete 2 lines by sql with TOAD
I run a again the mapping. It updates 12 lines and add 2 lines.
at this point,the size of the table has increased of 2 Mo (1 Mo by line !!)
the size of the table is now 7 Mo !!
I do the same again and I get a 9 Mo table
when I delete 2 lines with a SQL statement and create them manually, the size of the table does not change.
when I create a copy of the table with an insert select sql statement the size becomes equal to 1 Mo which is normal.
Could someone explain me how this can be possible.
is it a problem with the database ? with the configuration of OWB ?
what should I check ?
Thank you for your help.
Hi all
We have found the reason of the increasing.
Each mapping has a HINT which is defaulted to PARALLEL APPEND. as I understand it, it is use by OWB to determine if an insert allocates of not new space for a table when it runs and insert.
We have changed each one to PARALLEL NOAPPEND and now, it's correct.
Similar Messages
-
How to get the size of the table
Hi All,
How to get the size of the table in Oracle 10g?
Is there any script which needs to be run?
Regards,
ApoorvHi All,
Sorry but somehow the table user_segments is not populated in my case. But we have another table SYS.ALL_TABLES whose structure is given below. Would I be able to calculate the table size based on the columns given below:
ColumnName Data Type
OWNER VARCHAR2 (30 Byte)
TABLE_NAME VARCHAR2 (30 Byte)
TABLESPACE_NAME VARCHAR2 (30 Byte)
CLUSTER_NAME VARCHAR2 (30 Byte)
IOT_NAME VARCHAR2 (30 Byte)
STATUS VARCHAR2 (8 Byte)
PCT_FREE NUMBER
PCT_USED NUMBER
INI_TRANS NUMBER
MAX_TRANS NUMBER
INITIAL_EXTENT NUMBER
NEXT_EXTENT NUMBER
MIN_EXTENTS NUMBER
MAX_EXTENTS NUMBER
PCT_INCREASE NUMBER
FREELISTS NUMBER
FREELIST_GROUPS NUMBER
LOGGING VARCHAR2 (3 Byte)
BACKED_UP VARCHAR2 (1 Byte)
NUM_ROWS NUMBER
BLOCKS NUMBER
EMPTY_BLOCKS NUMBER
AVG_SPACE NUMBER
CHAIN_CNT NUMBER
AVG_ROW_LEN NUMBER
AVG_SPACE_FREELIST_BLOCKS NUMBER
NUM_FREELIST_BLOCKS NUMBER
DEGREE VARCHAR2 (10 Byte)
INSTANCES VARCHAR2 (10 Byte)
CACHE VARCHAR2 (5 Byte)
TABLE_LOCK VARCHAR2 (8 Byte)
SAMPLE_SIZE NUMBER
LAST_ANALYZED DATE
PARTITIONED VARCHAR2 (3 Byte)
IOT_TYPE VARCHAR2 (12 Byte)
TEMPORARY VARCHAR2 (1 Byte)
SECONDARY VARCHAR2 (1 Byte)
NESTED VARCHAR2 (3 Byte)
BUFFER_POOL VARCHAR2 (7 Byte)
ROW_MOVEMENT VARCHAR2 (8 Byte)
GLOBAL_STATS VARCHAR2 (3 Byte)
USER_STATS VARCHAR2 (3 Byte)
DURATION VARCHAR2 (15 Byte)
SKIP_CORRUPT VARCHAR2 (8 Byte)
MONITORING VARCHAR2 (3 Byte)
CLUSTER_OWNER VARCHAR2 (30 Byte)
DEPENDENCIES VARCHAR2 (8 Byte)
COMPRESSION VARCHAR2 (8 Byte)
DROPPED VARCHAR2 (3 Byte) -
SAP Table index size is greater than the size of the actual table
Hello Experts,
We are resolving an issue related to database performance. The present database size is 9 Terabytes. The analysis of response times through ST03N shows that the db time is 50% of the total response time. We are planning to reorganize the most updated tables (found from DB02old tx).
Here we see that the size of the index for a table is greater than the actual size of the table. Is this possible, if yes then how can we reorganize the index as it does not allow us to reorganize the index using brspace command.
Hope to hear from you soon, and if any additional activities you can suggest to improve the performance of the database will be appreciated.
Thank youHi Zaheer,
online redef may help you (for a little while) , but also check WHY the index became fragmented.
Improper settings can bring the index fragmented again and you have reoccuring reorg needs.
i.e.
check if PCT_INCREASE >0 if you are using Dictionary Managed Tablespaces or locally managed tablespaces that uses a "User" allocation policy. Set it to 0 to generate uniform next extents in the online reorg.
select
SEGMENT_NAME,
SEGMENT_TYPE,
round((NEXT_EXTENT*BLOCKS)/(EXTENTS*BYTES))*(BYTES/BLOCKS),
PCT_INCREASE
from
DBA_SEGMENTS
where
OWNER='SAPR3'
and
SEGMENT_TYPE in ('INDEX',
'TABLE')
and
PCT_INCREASE > 0
and segment_name in ('Yourtable','Yourindex')
In the following cases, it may be worthwhile to rebuild the index:
--> the percentage of the space used is bad - lower than 66%: PCT_USED
--> deleted leaf blocks represent more than 20% of total leaf blocks: DEL_LF_ROWS
--> the height of the tree is bigger than 3: HEIGHT or BLEVEL
select
name,
'----------------------------------------------------------' headsep,
'height '||to_char(height, '999,999,990') height,
'blocks '||to_char(blocks, '999,999,990') blocks,
'del_lf_rows '||to_char(del_lf_rows,'999,999,990') del_lf_rows,
'del_lf_rows_len '||to_char(del_lf_rows_len,'999,999,990') del_lf_rows_len,
'distinct_keys '||to_char(distinct_keys,'999,999,990') distinct_keys,
'most_repeated_key '||to_char(most_repeated_key,'999,999,990') most_repeated_key,
'btree_space '||to_char(btree_space,'999,999,990') btree_space,
'used_space '||to_char(used_space,'999,999,990') used_space,
'pct_used '||to_char(pct_used,'990') pct_used,
'rows_per_key '||to_char(rows_per_key,'999,999,990') rows_per_key,
'blks_gets_per_access '||to_char(blks_gets_per_access,'999,999,990') blks_gets_per_access,
'lf_rows '||to_char(lf_rows, '999,999,990')||' '||+
'br_rows '||to_char(br_rows, '999,999,990') br_rows,
'lf_blks '||to_char(lf_blks, '999,999,990')||' '||+
'br_blks '||to_char(br_blks, '999,999,990') br_blks,
'lf_rows_len '||to_char(lf_rows_len,'999,999,990')||' '||+
'br_rows_len '||to_char(br_rows_len,'999,999,990') br_rows_len,
'lf_blk_len '||to_char(lf_blk_len, '999,999,990')||' '||+
'br_blk_len '||to_char(br_blk_len, '999,999,990') br_blk_len
from
index_stats where index_name = 'yourindex'
bye
yk -
What is the largest database table you have programmed to? Did the size of the table dictate any design decisions?
plz reply ......
....thnks very much
Edited by: user2701622 on Sep 28, 2008 10:11 PMDefinitely while designing any application table lot of thing need to take into consideration specially in case of OLTP database. The throughput that is response time should be very quick. DSS and Datawere housing queries take time there is no need to be quick response.
Amount of data growth in any transaction table in future will be major factor which can affect the performance of the application. So while application design this need to be considered.
Proper indexing should be maintained. Proper purging system ( i.e moving old data into history tables) should be maintained. -
Controlling the size of the popup window when using target
Using the anchor tag and the target attribute (<a
target="_blank"...>), how does one control the size of the new
window? Or is this not possible? Thanks!use javascript. if you want to put it in <a> tag, then
you can do it this way:
assuming your page is index.cfm, then:
<a href="index.cfm" target="_blank"
onclick="window.open('complete
URL','name_of_window_to_open','width=100,height=50')">test
link</a>
OR use other tags such as
<span style="cursor:pointer"
onclick="window.open('complete
URL','name_of_window_to_open','width=100,height=50')">test
link</span >
If not familiar yet with window.open, go to this link for
reference:
http://msdn2.microsoft.com/en-us/library/ms536651.aspx -
Get the size of the table as per row wise.( Rows in group by clause)
Hello,
I am using ORACLE 11g Standard edition and RHEL 4.
I have a situation in which i want to know the size of the limited rows of the table.
I am moving table's rows from one table(one tablespace) to another table(another tablespace) While moving the rows I want to be sure that the size of the rows is good enough to fit in the another table's tablespace free size. So before inserting rows in another table i will check the size of rows and the free space in tablespace and perform the action as per.
Here is the senario with example :-
I have a table called MAIN_TAB which has a column as DATE_TIME which stores the systimestamp when the data was inserted. See the code below ...
select * from main_tab;
ID VALUE DATE_TIME
1 DATA 18-MAY-11 12.00.00.000000000 AM
2 DATA 18-MAY-11 12.00.00.000000000 AM
3 DATA 17-MAY-11 12.00.00.000000000 AM
4 DATA 17-MAY-11 12.00.00.000000000 AM Now i will fire a group by date_time query to know how many rows for each systimestamp.
select trunc(date_time),count(id)
from MAIN_TAB
group by trunc(date_time)
DATE_TIME COUNT(ID)
17-MAY-11 2
18-MAY-11 2So now you can see i have 2 rows for 17th and 18th May. I want to know what is the size of the data for 17th and 18th May in MB. I know how to get the size of the whole table but i want only the limited rows size as per date.
So the question is how can i get the size of a table's 2 rows data ???
Provide me some guidance.
If the question is not clear to you , let me know ....
Thanks in advance ...Thanks Pravan for your reply. But Its still not so usefull for me. Can you please give some clear idea about what you wanna say ??
I fired the DBA_TABLES view for my table i.e. 'MAIN_TAB' The AGV_ROW_LEN column showed 0 but that does not mean that my table has no data it, for sure it has 4 rows in it and consists of some data . . . . .
Please clarify what i can do to get the size of rows related to that particular date ......
thanks. -
How to Increase the size of the table?
Hi All:
I'm a newbie and i'm trying to understand how can I increase or set the size of the table. I want to display all the columns and rows of the table but for doing that I understand that the size of the tbale has to be increased . The following is the warning I would get when looking at the database. How can I get over it. Any suggestions?
The table GOESDBA.SAT_PARAM_VALUES contains more than 2000 rows. Displaying all the columns and rows of the table could be time-consuming.
best,
SriI'm migrating the database from Oracle to MySQL through a migration kit.I don't know anything about MySQL or your migration kit (this is an Oracle forum after all).
Is there some way that the size of the table can be increased on the oracle sideBut this doesn't make sense anyway. What you're saying is that the table is too large. So why would you want to make it larger? -
How to fix the size of the column in a table of ALV table type?
Hi all,
I want o fix the size of the ALV column.
Can any one help me out regarding this.
Regards,
Yugesh* Data declarations for instantiation
DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table ,
l_ref_cmp_usage TYPE REF TO if_wd_component_usage,
l_value TYPE REF TO cl_salv_wd_config_table ,
* Instantiate the ALV
l_ref_cmp_usage = wd_this->wd_cpuse_usg_alv_feclm( ) ."usg_alv_feclm is the name of your usage
IF l_ref_cmp_usage->has_active_component( ) IS INITIAL .
l_ref_cmp_usage->create_component( ) .
ENDIF .
* Get model
l_ref_interfacecontroller = wd_this->wd_cpifc_usg_alv_feclm( ).
l_value = l_ref_interfacecontroller->get_model( ) . -
How can I resize the size of the Excel web part?
I have a spreadsheet that i want to use to populate a page in my SharePoint site. i copied the workbook to the site, created the page and added the excel web part. then i linked the workbook to the web part and submitted. it displays but only
about 25% of the sheet shows. i dont want to use the thumbs to scroll inside the web part. i want the web part sized to show the entire spreadsheet. cant seem to find how to size the web part. Can some kind soul help me out here.
thanksHi,
According to your post, my understanding is that you wanted to resize the size of the Excel web part.
Per my knowleadge, most of the time excel web parts turn out ugly, due to the fact that they’re rendered in an iframe and therefore the browser doesn’t resize the container to fit the content.
As a workaround, we can edit the page where you want the resizing to happen, add in a content editor web part, and paste the following code into the source editor.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () { // resizes excel webparts
$("td[id^='MSOZoneCell_WebPart']").each (function (i, e) {
var findIframe = $(e).find ("iframe:first");
if (findIframe && findIframe.attr ("scriptforiframecontent"))
bindEwaLoaded ("#"+e.id);
function bindEwaLoaded(obj) { // bind event to the web part
$(obj).bind ("ewaLoaded", function (e) {
var b = $(e.target).find ("iframe:first").attr ("postedbackalready");
if (b == undefined) // loop until iframe is ready
setTimeout (function() { $(e.target).trigger ("ewaLoaded"); }, 1000);
else // try to resize now
ewaSetSize (e.target);
}).trigger ("ewaLoaded"); // first trigger now
function ewaSetSize(obj) { // resize elements
// configure paddings
var excelObjectWidthPadding = 50;
var excelObjectHeightPadding = 50.
var w, h, div1, div2;
var e = $(obj).find ("iframe:first").contents().find ("table.ewrnav-invisibletable-nopadding:last");
if (e.length != 0) { // excel table
w = e.width ();
h = e.height ();
div1 = $(obj).find ("table:first> tbody:first> tr:eq(1)> td> div> div");
div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
} else {
e = $(obj).find ("iframe:first").contents().find ("div.ewrchart-img-div");
if (e.length != 0) { // excel chart
w = e.width ();
h = e.height ();
div1 = $(obj).find ("table:first> tbody:first> tr:eq(0)> td> div> div");
div2 = $(div1).find ("table:first> tbody:first> tr:eq(1)> td> div");
if (w == 0 || w == undefined) { // loop until content is ready
setTimeout (function() { ewaSetSize (obj); }, 1000);
} else { // do resize
w += excelObjectWidthPadding;
h += excelObjectHeightPadding;
div1.width (w);
div2.height (h);
</script>
For more information:
Automatically resizing Sharepoint Excel Web Parts
JQuery for Everyone: Dynamically Sizing Excel Web Parts
Dynamically re-sizing excel services webparts
Thanks,
Jason
Jason Guo
TechNet Community Support -
How to find the size of the master data objects in the BW system?
Hi,
We would like to understand the size of the master data tables overall for a specific source system (Logical name is Ex.ABCD, which supplies all master data to BW). Can you please advise the procedure to find out this?
Is there any table that will allows to see all the master data objects related to specific sources system so that we can find out that table size? Thanks.
For example, we have many Texts, Hier & Attributes.
0COUNTRY_TEXT
0REGION_TEXT
0PERSON_ATTR
0MATERIAL_LPRH_HIER
Advance Thanks.
Edited by: BW USA on Feb 2, 2010 10:52 AMHi,
You can find out all the master data tales used in the BW system by
Tcode : SE11
Enter as /BIC/P* for master data tables and press F4 which gives list of master data tables currently used in BW system.
Similarly for Texts /BIC/T* and press F4
Similarly for Hierarchies /BIC/H-* press F4
and can know the size of the all tables.
Thanks,
Gopal -
How to change the size of the scrollbar in JScrollPane?
I set a jtable in the jscrollpane,but the table is very small,so I want to change the size of the scrollbar in the jscrollpane.How can i do?Please help me,Thanks.
Dropping and re-creating the table is by far the best way (of course you need to unload the table's data to a flat file with ttBulkCp first and then reload it again afterwards).
a second option is to drop the column and re-add it with the new size but you still need to preserve the data first and put it back afterwards and this is harder for a single column than for a whole table. Also, if you are using replication you should exercise care when using ALTER TABLE to ensure iall replicated copies of the table maintain the same physical structure.
Chris -
How to get the size of the doc in XMLType
Hi,
I am using BFile to get an XML document into a table with an XMLType field. To get the content back out through COM I need to specify the size of the content to be returned. Is there a query I can run or function to call that will provide me with the size of the data? Its a 9.2 DB on NT.
Thanks in advance for your help.
Mike
[email protected]Custom painting should be done in the paintComponent(...) method of the component. The is known at that time.
Read the Swing tutorial on "Custom Painting":
http://java.sun.com/docs/books/tutorial/uiswing/painting/index.html -
Checking the size of the image..
Hi All,
i have attached am image from using attachments functionality from Purchasing module.
the image get stored in table fnd_lobs..
Now i want to know the size of the image..
whether it is 30kb or 1MB..
Is there any function in Oracle to calculate the image size..
We are on 11.5.10.2
and 11g DB.
Regards,
JanaPl see MOS Doc 401094.1 (How To Determine The Size of a File In Table FND_LOBS?)
HTH
Srini -
Inform about the Size of the files stored in DMS as warning message
hi DMS Gurus,
We have a critical requirement of informing the users about the size of the file getting stored in SAP DMS, we need to inform the users the size of the file getting stored as this has a implication on flowing the documents in to remote Mobile device, and the concern is, any document above 2 MB would take much longer time or may not flow at all,
so we need this information available in DIR, so the user can have a choice to choose the file before sending it to Mobile device,
can i know if this file size is logged in SAP System anywhere?
Any suggestion is welcome
Thanks and regards,
KumarHi Kumar,
normally the file size could be found in table DMS_PHF_CD1. You should be able to get the correct entry by using the LOIO- or PHIO-ID which can be obtained by report DMS_KPRO_READ. Other useful tables are DMS_PH_CD1, DMS_PHIO2FILES and DMS_DOC2LOIO.
Best regards,
Christoph -
How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph)?
Hello all,
How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph) by default?
Thanks very much for any help.
Dmitriy ZhabrovetsHi,
I had a look and don't ask me why but it seems that you can't add extra rectangles in a sub table. But weirdly, it seems possible to add tables.
I mean you can't add a rectangle using
app.activeDocument.textframes.tables.tables.cell.insertionpoint.rectangles.add
//remove any reference, that's conceptual at this time.
The idea I had at the first place but put aside cause to its heaviness is to cheat.
Instead of adding the rectangle, we are going to copy & paste it.
So let's keep all the things you need (rectheight & rectwidth).
But this time, let's use
var oRect = app.activeDocument.rectangles.add({geometricBounds:[0,0,rectheight,rectwidth]});
//You may need to use app.activeDocument.pages[x]... if you have a multi pages doc.
app.select(oRect);
app.cut()
app.select(oInsertionPoints.item(-1));
app.paste();
heavy but it works.
Loic
Maybe you are looking for
-
USB-6009 Temperature Acquisition
Hi All I seem to have some brain fade today. I need to use the USB-6009 to with a J type thermocouple. When I hook it up the temperature is not correct and widely varies. I am getting reading from 0 to 60 C at room temperature. I need to incorporate
-
I have recently changed from Excel to numbers and i can't work out how to change cells. I have a sheet for each month, on that sheet i have all my outgoings on a daily basis. Those cells are the same in every table. In Excel i could hold shift and c
-
Error in moveDimension within a forEach for Swapping charts
Hi All, I tried to implement what was done in the following blog (which is a great idea) but it works perfect if I don't change the layout of any of the chart, mainly the bigger chart. Blog: SAP Design Studio Tips and Tricks #1: Swapping charts into
-
I am trying to update my device on a new computer. My iphone is synced to another broken computer. I have created a backup, but it says that the items I have purchased will be lost if I go ahead with the systems update. How do i transfer purchased it
-
Can not create a new portal using Oracle and the Administration tools.
Using the Personalization Server admin tool. My database is Oracle 8.0.5 (NT). I used the db/oracle/create* scripts to the create the necessary database tables. I was able to successfully create users, groups, and portlets, but when I try to create a