Problem with table size (initial extent)
Hi,
I have imported a table from my client's database, which shows the following size parameters as displayed from the user_segments table :-
bytes : 33628160
blocks : 4105
extents : 1
initial_extent : 33611776
next_extent : 65536
The number of rows in the table is 0 (zero). I am wondering how the table size could become so large, while other tables in the schema in the same tablespace have normal initial extent size.
I then created a tablespace with an initial and next extent of 64k each, and imported the data into the tablespace, after which the table size and the initial extent for the table remained to be 33611776. This is the problem with 4-5 other tables out of a total of 500 tables.
Of course if i drop and recreate the table, there is no problem, and the initial extent size and the table size becomes 64k, same as per the tablespace.
Any suggestions? I do not want to drop the tables and recreate them.
Because of this problem, even an attempt to import a blank database is consuming 2 GB of hard disk space.
Thanks in advance
DSG
I don't think you can stop the extent from being allocated when you import the table.
Even if you try to let the table inherit storage parameters from the tablespace, it will still allocate as many 64K extents as it needs to get to the 33M size in the table's (imported) storage parameter. I have also seen that when trying to change storage during an import like that, you can look in dba_tables and see the table has an ititial setting of 33M even though when you look in dba_segments you'll see that every extent allocated was in fact 64K. The dba_tables table is getting populated directly from the import and will therefore report the wrong number.
Perhaps you can import then create table as... to put the tables in a better storage set up. (Letting tables inherit from the tablespace is the best way to go...no fragmentation that way). You might want to get the client to let you revamp the storage since theres no good reason to have one huge extent like that.
Similar Messages
-
Set_server_cookie: problem with table size above 124 lines
Hi SDN,
we are on WAS700, SRM 5.5 system. We use Internet Explorer 6.0
I have built a BSP which works fine so far. It consists of 2 pages. i am using:
CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
EXPORTING
name = 'cookie_kat'
application_name = runtime->application_name
application_namespace = runtime->application_namespace
username = usr
session_id = '666' "runtime->session_id
* expiry_date_abs = sy-datum
* expiry_time_abs = sy-uzeit
data_name = 'tab'
data_value = ig_all
expiry_time_rel = 7200.
to transfer an internal table called ig_all to the 2nd page. We noticed that, when the table contains up to 123 lines, everything works fine. When carrying 124 or more lines I get the "normal" Internet Explorer Error: Server not found. The requested page cannot be displayed...
Debugging I noticed that the method call cl_bsp_server_side_cookie=>set_server_cookie
works fine, but between the two BSP pages I get thrown out of the debugger at the following method call, which occurs in the debugger after leaving the first page coding:
4 class lcl_hr_timer implementation.
5
6 method if_abap_runtime~get_runtime by kernel module ab_kmGetRuntime
7 endmethod.
8 endclass.
Can somebody help?
Are there any special requirements or constraints for the transfer of tables using serverside cookies?
kind regards,
matthiasHi Raja and Cornelia,
thanx to u for the input.
Raja:
I unchecked the "show friendly messages" checkbox but still I just receive: Server Error - Page cannot be displayed. As I am using the German Internet Explorer, I think "kurze http-Fehlermeldungen anzeigen" (English: "show short http-error messages") is the right checkbox, which I unchecked - it is the 8th checkbox under Browsing.
I am using a tool called httpWatch - I can give you the contents of parameters like:
Headers, Cookies, POST Data, Sream...
Under POST Data, I can see all my 124 entries - in my case these are SAP Material Numbers. With these I fill an internal table which consists of 30 columns - this table is being transferred to the 2nd page.
here are the Headers from httpWatch for my Error Case - looks ok to me:
(Request-Line) POST /sap(bD1kZSZjPTMwMQ==)/bc/bsp/sap/Z_SCAN_PZN_SAP1/start.htm HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
Accept-Encoding gzip, deflate
Accept-Language de
Cache-Control no-cache
Connection Keep-Alive
Content-Length 2754
Content-Type multipart/form-data; boundary=----
7d8326747024c
Cookie sap-appcontext=c2FwLXNlc3Npb25pZD1TSUQlM2FBTk9OJTNhdWttc3J2MTYyX0VCVF8wMCUzYVZ6Y0VDSXZSd3NVMEM1WWZfVlU0cmhzNHVwNnhsVllWUGF4ZDBiT3UtQVRU; sap-usercontext=sap-language=DE&sap-client=301; MYSAPSSO2=AjExMDABAAxLQVNJR01BVCAgICACAAMzMDEDAAhFQlQgICAgIAQADDIwMDgwODEzMTQyMgUABAAAAAIGAAFYCQABRP8A9DCB8QYJKoZIhvcNAQcCoIHjMIHgAgEBMQswCQYFKw4DAhoFADALBgkqhkiG9w0BBwExgcAwgb0CAQEwEzAOMQwwCgYDVQQDEwNFQlQCAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA4MDgxMzE0MjIzMlowIwYJKoZIhvcNAQkEMRYEFEFPCUKwJ5uX4Vcc3NlTInsgcSX0MAkGByqGSM44BAMELjAsAhQOFblRy354tdwDMwmLp5servx6tAIUU141AjEb0kZeeMlj5jqs294JtkQ%3d
Host ukmevit1.ukmuenster.de:8028
Referer http://ukmevit1.ukmuenster.de:8028/sap(bD1kZSZjPTMwMQ==)/bc/bsp/sap/Z_SCAN_PZN_SAP1/start.htm
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
and here are the POST Data from httpWatch:
htmlbevt_cnt 0
htmlbevt_frm htmlb_form_1
htmlbevt_id clicked
htmlbevt_oid B01
htmlbevt_ty htmlb:button:click:null
htmlbScrollX 0
htmlbScrollY 261
I01 https://ukmevit1.ukmuenster.de:8471/sap(cz1TSUQlM2FBTk9OJTNhdWttc3J2MTYyX0VCVF8wMCUzYVZ6Y0VDSXNudjhoR2cwYVN1ZENxYndmNXVwbXhsVllUUGF4N0ZuS3UtQVRU)/bc/gui/sap/its/bbpsc01/?OkCode=ADDI&target=_top&CALLER=CTLG&client=301&language=DE&HTTP_CONTENT_CHARSET=iso-8859-1
onInputProcessing htmlb
PZN 1000000
1000001
1000002
1000007
1000008
1000009
1000011
1000012
1000013
1000014
1000015
1000016
1000017
1000018
1000019
1000020
1000023
1000024
1000025
1000031
1000032
1000033
1000034
1000035
1000036
1000040
1000041
1000042
1000043
1000044
1000045
1000046
1000047
1000048
1000100
1000121
1000122
1000123
1000125
1000126
1000127
1000128
1000129
1000130
1000131
1000133
1000134
1000135
1000136
1000137
1000138
1000139
1000140
1000141
1000142
1000143
1000144
1000145
1000146
1000148
1000149
1000150
1000151
1000152
1000153
1000154
1000155
1000156
1000157
1000158
1000159
1000160
1000161
1000162
1000163
1000164
1000165
1000166
1000167
1000168
1000169
1000170
1000171
1000172
1000173
1000174
1000175
1000176
1000177
1000178
1000179
1000180
1000181
1000182
1000183
1000185
1000186
1000187
1000188
1000189
1000190
1000191
1000193
1000194
1000195
1000196
1000197
1000198
1000199
1000200
1000320
1001630
1001631
1001637
1001811
1002243
1002497
1003920
1003950
2000004
2000005
2000006
2000007
2000008
2000009
2000010
2000011
2000013
2000014
2000015
2000016
2000017
2000018
2000019
2000020
2000021
2000022
2000023
2000024
2000025
2000026
2000027
2000028
sap-htmlb-design
Cornelia:
Before I had tried
navigation->set_parameter( name = 'ig_all' value = ig_all )
but for some reason that did not work - I think I was guided by this forum towards the cookie solution - which so far, worked fine...
But I might check again the
navigation->set_parameter( name = 'ig_all' value = ig_all )
case
kind regards, matthias -
I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
<table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
I am using a style sheet for text. Here's the code for "h6" if that matters:
h6 {
font-family: Verdana, Geneva, Arial;
font-size: 14px;
font-weight: bold;
color: #660099;
Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
KevinHeader tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot. -
Problem with Cell size in Excel output of XML report
Dear all,
I am facing a problem with cell size when i run my XML report in Excel output. I found that it imitates the cell size of whatever i gave in the RTF. I cannot increase the cell size in RTF as my report contains 60 columns and max width of MS Word table is 22 inches.
Can any one suggest a way of doing this which shows full data in Excel sheet depending on the column data size with out any word wrap.
Thanks
RAJHi ,
You can try with
<xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute>
may be helpful to you
Thanks,
Ananth
http://bintelligencegroup.wordpress.com/ -
What could be the problem with table REGUH
Hi exprts
i developed a report . its wrking ok in developemt system
but in Quality system ,
the below query is taking more time.
in quality even i have taken slection criteria which is very less than devlopment selection.
please tell me the below query is performance wise not good or
is there any problem with table REGUH in quality system?
IF NOT ( t_bsak_aux[] IS INITIAL ).
SELECT laufd laufi xvorl zbukr lifnr rwbtr kunnr empfg"
vblnr ausfd rzawe
FROM reguh
INTO TABLE t_reguh
FOR ALL ENTRIES IN t_bsak_aux
WHERE laufd <> space
AND laufi <> space
AND zbukr = t_bsak_aux-bukrs
AND lifnr = t_bsak_aux-lifnr
AND vblnr = t_bsak_aux-augbl.
thanks in advance
regards
neeruHi,
Using SPACE against the keys (LAUFI, LAUFD - specifically LAUFD) will most likely return no results. LAUFD, being one of the keys and the date which the program is supposed to run (considering that this is settlement data - it has already run) - implies that this field will be populated. Putting " = SPACE" in your where clause is saying that you want to find records from the table where those fields are not populated. That is fine for LAUFI, considering it is the indicator for a proposal only. In my requirement, my client did not want to see proposals but only real payment runs - therefore, LAUFI = SPACE is correct.
The reason you are having poor performance while selecting form this table is because it is a cluster table like bseg. This thread explains a little bit of why cluster tables are a performance nightmare when trying to select - although it is about bseg, you will get the idea:
http://blogs.ittoolbox.com/sap/db2/archives/select-from-bsegrfblg-performance-problem-14247
I'm trying to find an alternative to get bank account information regarding payments - I will post a reply if I am lucky to find one!
Good luck -
Problem with Table control lines
Hi Friends,
This is the problem with table control lines:
I have screen with table control and I would like change the table control lines dynamicaly.
Exp:
In my PBO the Internal table which I am using to loop the TC is havig 7 records and its displayed with 7 records, now I have added one more record into my ITAB and now ITAB is having 8 records, when I am looping this ITAB with TC its taking the TC lines 7 only.
here is the code:
Initial values in gt_scr400 = 8
Initial values in tc_scr400 = 8
Now added one more recor into gt_scr400 , now gt_scr400 = 9.
LOOP AT gt_scr400
INTO wa_scr400
WITH CONTROL tc_scr400
CURSOR tc_scr400-current_line.
ENDLOOP.
I have used this logic :
DESCRIBE TABLE gt_scr400 LINES g_rec_300 .
tc_scr300-lines = g_rec_300.
but its not modifying the lines in my table control.
How to change the TC lines based on ITAB total records.
Thanks,
Sridharthere is a field in TableViewName-xxx
don't remember the exact field name for (total no of records)
you can check it in debug. when you add records in Internal table, u need to modify this field which is set at the first time when table control is populated. -
Problem with tables -- need help!
I am having problems with table formatting, when using
Preformatted text. The tables look fine in the WYSIWYG editor, but
have lots of extra space above and below the text when looking at
the output files.
I will attach the code from one of the HTML files from my
project, so you can see what I'm talking about.
Thanks.Well, if you're talking about the single-celled table with
the line:
<p class=Preformatted>[assembly:
Ace.AceAssembly]</p>
</pre>
... you can eliminate the <P> tags. that will give you
one line less. Otherwise, your remaining space is the result of the
<PRE> tag. It, like the <XMP> tag, gives it one line of
space beneath as well.
Your alternative beyond that would be to, when needed, wrap
up the script in Javascript. That line, for instance, wouldn't need
it. -
Problem with font size, not showing up as expected.
I've been wrestling with this for a few weeks now, but surely must be getting closer to having it resolved. It's just a problem with font size on just this one page.
http://www.kgngroup.net/logos_and_packaging.html
I want the body text to be 10px, but after two weeks, have played with every conceivable way, altering body font size in CSS and in the document itself. I've viewing it in Safari but others on Windows machines tell me that it is out of whack also.
My main problem is that I can change the font size to extremes but it still shows up as the same size in the browser (about 12px.) I know changes can be made because I can modify the wording and that does change online. It's just a problem with the font size. Oh, and in the third column, the one to the right, in Dreamweaver, the font looks like it is miniscule, cannot even be read, but in the browser, since the style11 is applied, all three columns look equal size.
Not sure where to go from here. I just want to get the body font down to 10 pixels.
TIA,
KenJohn Waller wrote:
I guess this a follow up to your earlier thread
http://forums.adobe.com/message/3627681
What would really help you in diagnosing issues such as this is to install the Firebug add-in for Firefox (as suggested in the earlier thread).
Firebug shows you visually what CSS rules apply to whatever element you click on the screen.
In this case, you have a confusion of CSS font sizes cascading on top of each other and that's confused again by mixing units for no real reason. .style11 is unnecessarily applied to lots of individual <p> tags. Remove those classes and delete the rule.
e.g.
The tiny font in the RHS column is affected first by
.style8 {
font-size: 0.5em;
affecting the <td> then by
.style11 {font-size: 75%}
affecting the <p> tag.
End result = tiny text (approx 2px).
In these cases of mass confusion, my approach is to strip out all font sizing from the CSS and start over.
Avoid %. Use px.
Apply font sizing rules logically starting from the <body> tag downwards.
That'll give you a solid baseline without weird effects.
Ah, I find your answer worth repeating.
Very cool that you have diagnosed so well and spelled it out here.
I will get the Firefox add-on you mention, plus, print out this response and follow it like a recipe.
It makes perfect sense and you have saved me from the 'clutter' of being wound up in too many directions with this because I could not make all of the connections that you have done here. I appreciate your help very much.
Thank You,
Ken -
Hello SAP experts , im having a little problem with table MBEWH because the data i whant to extract isnt the correct one, i saw that this table stores all the prices for the materials and it groups them by year and by month but when i check to see what was the price for a specific material the price i had on that time periord inst the same as the one on the system, also i manage my material with baches and when i check to see if that batch was in that period of time it isnt so im really confused as to how the system saves the historical data on this table, thank you in advanced.
kind regardsread OSS note 193554 , it explains everything
-
Problem with table paging [PDK for NET]
Hi All,
I have a problem with table paging in PDK for .NET (ver 2).
The Table has 14 visible rows.
The lead selection is set to "SINGLE"
When the user selects a row I can use
Table1.SelectedKeys(0) Mod Table1.VisibleRowCount
in order to get the info of the selected row.
If I will page using the "Prev/Next" page of the Table UI element it will also work.
However, when I press "Prev/Next" item and then select a row it chooses the wrong row.
(See picture: http://img509.imageshack.us/img509/3882/table5tq.jpg)
What can I do in order to solve the problem?
Thanks,
OmriHi Omri,
how are you doing ?
The SAPTable is similar to a DataGrid control and need to be bound to the datasource on every postback
a good idea is to keep the dataset available in the page or on the server ( so that you dont need to keep making expensive fetch operations
The selected row is affected by the recordset (dataset) and needs additional programming
A work around for the selected row issue is to save it in a server side hidden variable (or anything that will persist) and read and set the value in the page / next button handler
with respect,
amit -
Bex analyzer - internal error problem with table c_t_variable
HI All,
When ever I try to refresh a query in Bex-Analyzer ,Iam getting "internal error problem with table c_t_variable".
Please advise
Edited by: Aparna Duvvuri on Jan 13, 2010 10:53 AMHi Aparna,
try to open the query in RSRT and debug the query.the error is due to some customer exit variable so try to debug the code for the variable and rectify it.
Thanks,
Ashok -
Error "DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Hi Friends,
I got the following message when am trying to delete the setup tables.
" Error DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Am trying to delete the setup tables for application '11', but it gives me the above error. I have gone throug similar threads but it did not solve my issue.
Please can anyone provide a solution.
system detials:
R/3 release - 4.6c
PI - 2004_1_46c
SAP_BW - 30B
PI_BASIS - 2003_1_620
Any information will be appreciated
Thanks,
VBRHi Kishor,
Thanks for your reply.
I have gone through that SAP Note 456102 and it was not of much help for our issue because we are ahead of PI that is mentioned in the note.
Can you send your email id so that i can forward the error screenshots.
Regards,
VBR -
Hi experts,
After doing the upgrade system from 4.7 to 6.0 we have problems with table Teven. Trying executing RPTIME00 when the instruction update (table teven) is executed the program stay updating and never finished
Does anybody know why that happens?
Thanks a lot,
Regards,
RebecaDid you update your database statistics after the ugprade?
Try to catch an SQL Trace for the statement using ST05.
Markus -
Problem with table line (footer) in smartform
Hey guys and gals !!!
I have got this problem with the footer line in my smartform.I have checked the <i>no pagebreak</i> option for this line but still some contents are getting truncated instead of being shown totally on one page.
The line has two cells.The first cell has 4 text nodes and the second cell has 1 text node.
I am able to see just the text from the 1st text nodes while the others are getting truncated.
Please suggest a solution.Your help will be greatly appreciated.
Kind regards,
Greenidge Gonsalves
SAP Technical ConsultantHello,
The problem is not clearly explained.
However, I assume that you have a footer which is NOT a part of MAIN Window and a table has been defined and only the contents of the First TEXT node is getting printed while others are getting truncated.
If my understanding is right,
1. It is getting truncated because the text is more than the size of the window that has been defined.
2. I suggest you, if the contents (size) of the footer varies from output to output, then better to shift the footer to the MAIN Window so that you will see the complete text.
I hope this helps you.
Regards, Murugesh AS -
Having problem with "artwork size & resolution exceeds the max that can be rasterized"
Hi all,
Ok, I created a 162.7" x 90.6" document (artboard) for an exhibition display I'm designing. The document was created using all the defaults - i think this is where i went wrong. Illustrator is now telling me that "the combination of artwork size and resolution exceeds the maximum that can be rasterized" after i open the document and when i try to add a drop shadow to anything.
Other than some vector graphics i created in illustrator, I only have 3 180ppi and 4 300ppi photos tranfered right off the photograpers camera.
I selected :
1. "Print Document" from the initial splash window.
2. I entered the artboard size, bleed and left the "Raster Effects" setting to "High (300ppi)"
I think leaving the Raster Effects setting at 300ppi is where the problem is.
Do i have to create a new document or can i fix the existing one?nados you are a little confused that's all I think things are ll right and you are probably set to go with out going to Photoshop.
1. Your file is probably fine as is
2. Make certain you images are linked and not embedded
3. Your Images are probably ok as far as they are for the the specs required do not lower the resolution just make certain they are linked.
You may have to reimport them and in the place dialog make certain link is checked.
4. The Raster Image Effects setting is fine leave it as is.
5. The jpegs are fine lee your images as is if that was what was supplied to you and they look clean.
6. When saving the file save as .AI format and in the AI save as option dialog uncheck include linked files
(you will send them the jpegs as well as the AI file.)
7. Send the images in what ever format they are now since that is jpeg leave it be just make certain the dimensions are the same as is being used in the document at 100%.
8 Make Certain you select the text and got Type> Create Outlines before saving the file.
9 Do not export the file to any other format.
10 Send the printer production house the AI file and the Jpegs you will be fine.
You should not have a problem with this file.
Maybe you are looking for
-
Not Capturing When Recording Mainframe
I have recently upgraded to version 4 - and I now find that trying to record a 3270 emulator command/key-board driven window impossible. Only the first window is captured - subsequent key strokes are not signalling C4 to grab a new slide. I had done
-
SAProuter for Jco between Java and ABAP stack
When configuring Jco at Java only, there is an option to use SAProuter. This is not for SMP download or OSS support. So is there any document for this kind of SAProuter usage? Thanks!
-
Mini Display Port as a video in?
Does anyone know if the mini display port can become a video in as opposed to video out only? If so, how?
-
Hi Team, We have two WLC5760 in our network, we do not have HA avaialabe between them. There is no High Availability AP SSO configured or designed. Now we would like to work both WLCs as a Primary and Secondary. If Primary fails Secondary
-
URL of the WSDL document missing from Enterprise Service
Hi, my scenario is BW==>PI==>CRM7.0. where CRM is a service provider. In transaction SPROXY in CRM I can see the service I need, but under WSDL tab I can only find wsdl definition without the URL address. Service does not come in any SOAmanager scree