Segments with 100 extents
Hi Brother,
We found some of table segments more than 100. How can I fix it? rebuild table or can do some defrag script?
Thanks
Hello,
Yes you can add compact cascade as well. If that answer your question and helped, mark it answered and assign points so other can benefits.
On specifying COMPACT, Oracle will only defragments the segment space and compacts the table rows for release but does not readjust the high water mark and does not release the space immediately. So executing statement along with COMPACT CASCADE
along with SHRINK SPACE. it will adjust hwm and perform same operation on dependent objects.
ALTER TABLE TESTME.MY_OBJECTS SHRINK SPACE COMPACT CASCADE;
ALTER TABLE ... SHRINK SPACE statement later to complete the operation.
You can also divide an conquer by first shrinking it and second statment to adjust HWM and dependent objects;
Regards
Edited by: OrionNet on Dec 22, 2008 10:59 PM
Similar Messages
-
Queue consumer stops with 100% cpu usage
I'm trying to use Berkeley DB queue with transactions. When I tested what happens when transactions with DB_APPEND are aborted I found that while it works and DB_CONSUME correctly skips over rolled back records, unfortunately extents that have those records are never deleted, which causes database to always grow. Next I tried DB_CONSUME with database opened using DB_INORDER flag and it seems there's a serious regression in Berkeley DB that causes it to loop indefinitely with 100% cpu usage when it encounters a rolled back record. I tested various versions and found that this bug doesn't happen with 5.1.29, but it is reproducible with 5.2.42, so this regression might have been introduced in 5.2. I have also tested 5.3 and 6.0, and both have this behavior. There may be something wrong with the way queue records are rolled back, one indication of that would be that in 5.1.29 doesn't have neither of the two problems I found with DB_QUEUE: extents are deleted after being consumed, and there are no issues when consuming with DB_INORDER either.
You can find Python code to reproduce this issue here:
https://gist.github.com/snaury/027a3c546f5b0a62a440
Sorry for using Python and not e.g. C++, but it's a lot shorter that way.We have looked at the issues and they are valid. We will roll the fixes out for this in our next release of BDB. The test case was very useful and really helped to speed the process up. If you have any questions, please contact me directly at [email protected] Thanks again for bringing this to our attention.
thanks
mike -
DB02:Space management/Segments/Most allocated extents in any segment
Hi ,
in My SAP server: DB02 > Oracle Database Administration > Alerts > Alert monitor, there are few red alerts.
1. Space management > Segments >Most allocated extents in any segment 263 > 200 - 263 > 200: number of extents > threshold 03.03.2009 09:35:46
in RZ20 Most allocated extents in any segment having thersold value :200
Can anybody knows what it is about? How to fix this? And what are the risks if I ignore this?
with Regards
Harinatha Reddy MHi,
What is your Oracle database version.? If it is 9i or 10g then you can ignore this warning as from Oracle uses Localy managed Tablespaces.
Please check below mentioned SAP notes, it may help you.
Note 599694 - LMTS autoallocate: Extent allocation
Note 706625 - Oracle9i: Locally managed SYSTEM tablespace
Note 214995 - Oracle locally-managed tablespaces in the SAP environment
Thanks,
Sushil -
Possible to configure HLS segments with different URL than governing M3U8 playlist?
Currently we have 4 AMS servers with VOD applications for RTMPe and HLSe. These are load balanced by round-robin DNS, such that any request to VOD content could hit one of 4 servers depending on the DNS record served (DNS TTL=5mins).
RTMPe works fine 100% of the time. We are having intermittent issues with HLSe and IOS devices in that randomly the stream will stop in our player (Brightcove based). Player logs seem to indicate requests to HLSe segments showing as not found/error when the content freeze occurs.
My initial guess is that requests to VOD content may come from one AMS server and contain segment URLS also based on the DNS round robin hostname, then potential mid-playlist the DNS updates and you request the next segments from another server, potentially causing issues(??).
e.g.
Playlist:
http://DNS-RR-HOSTNAME/mycontent.m3u8 - DNS resolves to AMS01, playlist served by AMS01
Segments:
http://DNS-RR-HOSTNAME/mycontent-seg01.ts - served by AMS01
http://DNS-RR-HOSTNAME/mycontent-seg02.ts - served by AMS01
http://DNS-RR-HOSTNAME/mycontent-seg03.ts - served by AMS01 (DNS flips to AMS02).
http://DNS-RR-HOSTNAME/mycontent-seg04.ts - served by AMS02
http://DNS-RR-HOSTNAME/mycontent-seg05.ts - served by AMS02
Could this situation potentially cause player to halt playout? Is it possible to configure AMS to serve the HLS segments using a different hostname, whilst still being able to serve the playlist from the DNS RR hostname. This way the playlist would return a list of segments direct from the server that served the initial playlist. e.g.
Playlist:
http://DNS-RR-HOSTNAME/mycontent.m3u8 - DNS resolves to AMS01, playlist served by AMS01
AMS01 serves segments with hostname of itself only:
Segments:
http://AMS01-DIRECT-HOSTNAME/mycontent-seg01.ts
http://AMS01-DIRECT-HOSTNAME/mycontent-seg02.ts
http://AMS01-DIRECT-HOSTNAME/mycontent-seg03.ts
http://AMS01-DIRECT-HOSTNAME/mycontent-seg04.ts
http://AMS01-DIRECT-HOSTNAME/mycontent-seg05.ts
Playlist:
http://DNS-RR-HOSTNAME/mycontent.m3u8 - DNS resolves to AMS02, playlist served by AMS02
AMS02 serves segments with hostname of itself only:
Segments:
http://AMS02-DIRECT-HOSTNAME/mycontent-seg01.ts
http://AMS02-DIRECT-HOSTNAME/mycontent-seg02.ts
http://AMS02-DIRECT-HOSTNAME/mycontent-seg03.ts
http://AMS02-DIRECT-HOSTNAME/mycontent-seg04.ts
http://AMS02-DIRECT-HOSTNAME/mycontent-seg05.tsthe link http://localhost/awstats/awstats.pl started opening.
the problem was the permission of the directories in /usr/share/webapps/awstats/ i changes 755 then it started working -
Lightroom imports with 100 clarity
Hello people,
i have the strange problem that lightroom imports always with 100 clarity. There is definitely something wrong with my presets, just don't know how to change that. Thanks for any suggestions, tobflIf you apply a preset during the import process, that preset will be applied to all images that are imported. Another way to apply a preset to all images would be to have multiple images highlighted in the develop module and have auto-sync enabled.
The first thing I would suggest that you try is to reset the clarity on one of those newly imported images, changing nothing else. Then, save new camera defaults. Then I would check in your import dialog to make sure you haven't chosen a preset to be applied during the import process. Next, take a test image and import it. -
I created a playlist with 100 songs. I want those 100 songs played using the shuffle option. This no longer works in iTunes version 11.1.5.5 How can I get an entire playlist to paly one song after another by using the switch option?
You're welcome.
Going back to your original post:
5) Tried running Itunes in 'safe mode', running itunes as an administrator..nothing.
Was that iTunes' safe mode as opposed to Windows' safe mode? iTunes safe mode is invoked by holding down CTRL+SHIFT immediately after clicking the icon to launch iTunes and continuing to hold until this message pops up:
Click continue, then close iTunes and reopen. With luck iTunes now opens normally every time.
tt2 -
FILE NAME WITH FILE EXTENTIONS
HI EXPERTS!!
I WANT TO GET THE FULL FILE NAME STRORED IN THE SERVER FOLDER. I USED FM RZL_READ_DIR_LOCAL BUT I AM GETTING ONLY 32 DIGITS OF NAME NOT FULL NAME AND ALSO SIZE PARAMETER IS CONCATENATING WITH NAME.
I WANT THE FILE NAME WITH FILE EXTENTIONS(TXT. .PDF ETC)..
PLZ SUGGEST ME HOW TO GET THE SAME..
PLZ REPLYE ME..
MAHESHHi Mahesh,
Try the below FM in the below code.
DATA:
LV_PERMISSION(10), " Permission
LV_H2, " H2
LV_FLNM(13), " File name
LV_USER(10), " User
LV_GROUP(10), " Group
LV_SIZE(15), " Size
LV_MONTH(3), " Month
LV_DAY_C(2), " Day
LV_YEAR(5), " Year
LV_FILE_NAME TYPE FILE_NAME, " Filename
LV_JUNK, " Junk
RETURN_CODE TYPE I. " Return code
DATA:
CMD_PARAMS LIKE SXPGCOLIST-PARAMETERS,
" External prg.parameters
CMD_OUTPUT TYPE BTCXPM OCCURS 0, " Log message
STATUS TYPE EXTCMDEXEX-STATUS. " Status
CONSTANTS:
LC_DIR TYPE C VALUE 'd'. " Directory
FIELD-SYMBOLS: <CMD_OUTPUT_LINE> LIKE LINE OF CMD_OUTPUT.
CMD_PARAMS = PV_DIRECTORY.
CLEAR CMD_OUTPUT.
CALL FUNCTION 'SXPG_CALL_SYSTEM'
EXPORTING
COMMANDNAME = 'Y_LS_LN'
ADDITIONAL_PARAMETERS = CMD_PARAMS
IMPORTING
STATUS = STATUS
EXITCODE = RETURN_CODE
TABLES
EXEC_PROTOCOL = CMD_OUTPUT
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
OTHERS = 12.
Check Status first then check sy-subrc
CASE SY-SUBRC.
WHEN 0.
CASE STATUS.
WHEN 'F'.
MESSAGE I057(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'E'.
MESSAGE I058(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'S'.
MESSAGE I059(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 'C'.
MESSAGE I061(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
ENDCASE. " CASE STATUS.
WHEN 1.
MESSAGE I048(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 2.
MESSAGE I049(YS) WITH 'Y_LS_LN'(003).
GF_EXIT = GC_TRUE.
WHEN 3.
MESSAGE I050(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 9.
MESSAGE I054(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN 10.
MESSAGE I055(YS) WITH 'SXPG_CALL_SYSTEM'.
GF_EXIT = GC_TRUE.
WHEN 11.
MESSAGE I056(YS) WITH 'SXPG_CALL_SYSTEM'(002).
GF_EXIT = GC_TRUE.
WHEN OTHERS.
MESSAGE I022(YS) WITH SY-SUBRC.
GF_EXIT = GC_TRUE.
ENDCASE. " CASE SY-SUBRC.
IF GF_EXIT = ' '.
READ TABLE CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE> INDEX 1.
IF SY-SUBRC = 0.
CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
IF <CMD_OUTPUT_LINE>-MESSAGE CS 'total' OR
<CMD_OUTPUT_LINE>-MESSAGE CS 'TOTAL'.
DELETE CMD_OUTPUT INDEX 1.
ENDIF.
ENDIF.
LOOP AT CMD_OUTPUT ASSIGNING <CMD_OUTPUT_LINE>.
CONDENSE <CMD_OUTPUT_LINE>-MESSAGE.
SPLIT <CMD_OUTPUT_LINE>-MESSAGE AT SPACE INTO
LV_PERMISSION
LV_H2
LV_USER
LV_GROUP
LV_SIZE
LV_MONTH
LV_DAY_C
LV_YEAR
LV_FILE_NAME
LV_JUNK.
IF LV_PERMISSION(1) = LC_DIR.
CONTINUE.
ELSE.
LV_FLNM = LV_FILE_NAME(13).
TRANSLATE LV_FLNM TO UPPER CASE.
IF LV_FLNM = '1W_FIARFUNNEL'.
PT_FILE-FILE_NAME = LV_FILE_NAME.
APPEND PT_FILE.
ENDIF. " IF LV_FLNM = '1D_FIARFUNNEL'.
ENDIF. " IF lv_permission(1) = ...
ENDLOOP. " LOOP AT CMD_OUTPUT
ENDIF. " IF GF_EXIT = ' '. -
Sales invoice with 100% discount
Hi,
Can you tell me if there is a way in SAP where the system allows a ZERO value to reflect in the customer account and the reconciliation account.
The scenario is, material A is sold at a price of $100 to customer. A 100% Discount is given and the journal entry that gets generated is
Discount A/C Dr $100
Sales A/C Cr $100.
The requirement is to reflect the Zero value(i.e after 100% discount) in the customer A/C and the recon A/C so that the accounting Document entry is
Discount A/C Dr $100
Customer A/C Dr $0.00
Sales A/C Cr $100.
When a discount of 99.99% is given, the customer a/c gets displayed with $0.01 value, but the aim is not to bill the customer, but to reflect the invoice in the customer A/C and the subsidiary ledger.
Can you please advise if this is even achievable in the system.
Thanks and Regards,
Shilpa.Hello,
In SD we have free goods scenario. Please check with your SD consultant if it would be possible to configure your scenario there.
Normally it is not possible to configure term of payment with 100% cash discount.
Best Regards,
Raju -
I started a book with 100 pages, but reduced it to 75 by deleting some pages. When i completed the book & tried to buy it a box pops up saying I have some frames that need photos. I've checked the book over & over & cannot find any pages like that. How can I order my completed book?
Look for pages that use photos for the background, even if you have other photos on the page. It'll look something like this in the layout pane:
It would look like this in the PDF version:
If you have a 1 photo per page, full page, you could have that option selected and not know it unless you looked at the layout pane like this example:
OT -
How to loop for a particuler field in segment with multiple occurance
Hi All,
I have a source Idoc coming to XI. There one segment with occurance 1....Unbounded, and has qualifier field in it. I want to look for a particual value in that qualifier field and then map the next field to target. How do I write UDF for the above requirement??
Idoc-Segment (1---Unbounded)
qualifier
field-value
We have to loop through that segment and when ever the qualifier is AB, then we need to map the value in field-value.
Can anyone please provide sample code for the same??
Thx
NavinHi
Write a UDF , the type of UDF , select queue.
qualifier -removecontext---\ -
UDF - SplitByValue-target field
field-value-removecontext--/
in UDF
for(int i=0;i<qualifier.length;i++){
if (qualifier(i).equals("value"){
result.addValue(field-value(i));
try
Regards
Chilla -
How to map IDoc segment with qualifiers
Hi everyone!
I have the following problem: In an IDoc of type DESADV01 there can be several segments of type E2EDS01. Each segment has a different qualifier, which is the value of the field SUMID in this case. My target structure (type EDIFACT) now has several segments, each again with a sort of qualifier. Now I have to map the values of certain source segments to the respective target segments.
Exaple (in XML format):
Source
<E1EDS01 SEGMENT="1">
<SUMID>021</SUMID>
<SUMME>0000000001.000</SUMME>
<SUNIT>KGM</SUNIT>
</E1EDS01>
<E1EDS01 SEGMENT="1">
<SUMID>022</SUMID>
<SUMME>0000000001.000</SUMME>
<SUNIT>KGM</SUNIT>
</E1EDS01>
Target
<S_MEA>
<C_C502>
<D_6313>N</D_6313>
</C_C502>
<C_C174>
<D_6411>KGM</D_6411>
<D_6314>1</D_6314>
</C_C174>
</S_MEA>
<S_MEA>
<C_C502>
<D_6313>G</D_6313>
</C_C502>
<C_C174>
<D_6411>KGM</D_6411>
<D_6314>1</D_6314>
</C_C174>
</S_MEA>
(i have omitted several details here, but I'm only interested in the general procedure anyway).
So in general the source segment with qualifier "021" should be mapped to a target structure with qualifier "N" etc.
How can this be done using standard XI mapping techniques?
Regards, JoergHi everyone!
Thanks for your input data - unfortunately this wasn't quite what I was looking for. However I thik I solved my original problem and I just wanted to share this solution with you - maybe it helps others, maybe some of you have suggestions what I could do differently.
To sum up the requirement: There can be multiple input segments, each with a certain qualifier. These input segments have to be mapped to the target segments, respectively - however, the qualifiers change. There can be several segments with qualifiers that do not match the requirement, and required segments might be missing.
So here's what I came up with:
Use the qualifier of the source segments as an input to a <b>FixValues</b> function. In this function, map the desired qualifiers to the value <b>true</b>, use <b>false</b> as the default value. Map the output of the <b>FixValues</b> function to a <b>createIf</b> function and use this to create the desired output segment. This way, for each of the required segments, one target segment will be created. All other segments (with unwanted qualifiers) will be removed.
So far, this technique worked for me - do you have improvements/suggestions?
Regards, Joerg -
When I open a file it normally opens in 12.5% stated on the header. For some reason, it now opens with 100+% on the header and is much smaller in size. How do I go back to the first option I noted? I use AP to work on blueprints for measuring so the accuracy matters. Any direction would be greatly appreciated. Thank you.
Are the image all the same size the % files open into a document seems to vary with the number of pixels the image being opened has. Check the Image size.
-
Hi Gurus,
I work with FICO. recently I got a requirement from a client: SO with 100% discount.
Via SD account determination I got the billing doc to be posted on Revenue Account and Discount Account. However the client wants to see a posting on Customer Account.
I am thinking about to create 2 billing docs for one delivery:
1. Customer invoice: customer acct to revenue acct
2. Customer credit memo: discount acct to customer acct.
is this possible? is there a user exit I could use? Will the second billing doc "credit memo" clear the first customer invoice?
thank you so much for tips!
ZoeDear Zoe,
As per your below comments
I am thinking about to create 2 billing docs for one delivery:
1. Customer invoice: customer acct to revenue acct
2. Customer credit memo: discount acct to customer acct
I would not recommend you to follow those steps as it is not the right practise. But I would suggest you below steps to achive.
If you want to post SO with 100% Discount,then please follow the below steps
Lets assume you have a Price (Revenue) condition type in your Pricing Procedure and You want to have one more Condtion type for Discount 100% (Sales Deduction). Ensure to maintain discount condition type step (Calcucation step) as of Price and Maintain 100% condition Record for Disocunt as well.
While Processing SO System would show Price and Discount with same value and while posting invoice to accounting system will post revenue and discount to separate G/L Accounts. By this way you could be able achive the solution.
But Kindly test this scenario in Sandbox or Dev!
Regards
Murali -
What is max no, min no asked when attaching a segment with the idoc in we30
hi,
when creating a new idoc i am attaching a segment with the new idoc its asking for Maximum number, minimum number . what is this maximum and minimum number.hi preetha,
Segm.type Z1xxxxH
mandaotry segment Y
Minimum number 1
Maximum number 1
Parent segment
Hier.level 1
min and max are 1 for header denoted as XXXXH
this is one segment that is assigned to the idoc.
in defining idoc u need to assign the number of header and child segments..
a child segment will be like this
segment.type ZXXXXD
minimum number 1
maximum number 6
parent segment ZxxxxH
hier.level 2
zxxxd is the child segment with 6 entry levels
this tells u the maximum number for the child level
means more than 6 are not to be see if u open the idoc in we19.
all in
this idoc has 1 parent segment (one entry)
1 child segment (6 entries)
hope this helps
regards,
Vijay -
How can I create banners with 100% height?
I want the homepage to load with 100% height and there buttons that anchor to sections further down the website that I also want to be 100% height when scrolled to.
3rd post on same question by same user :
Re: how can I Create function with an out Parameter
how can I Create function with an out Parameter
Maybe you are looking for
-
Hello Experts, We have a requirement where the user fills a form and the details are updated in a table. Now these datials I have to add in the existing PO in EBP ( we are in ECS scenario )as a new line item. All the details are available in the tabl
-
Hi i have a table ABC in which i declared two date columns START_DATE AND END_DATE . I want to extract all the dates between these two dates which is not specified into table. eg START_DATE=12-JUN-2009 END_DATE=15-JUN-2009 SELECT TO_DATE(START_DATE,
-
Cannon LBP6000 printer cannot print after installing os x 10.8.3
After installing os x 10.8.3, the lbp6000 cannot print. I have downloaded and installed the latest driver from cannon. It showed copies are ready to print. But there is no actual printout. The print job just sit in the print que. Any ideas?
-
Print photo details on final photo
Why after following the manual instruction the time and date of the photo will not print on the finished photo?
-
Screen tearing / artifacting in Mail.app
Has anyone seen this before ? It only seems to happen in Mail.app with image heavy emails. I've been too lazy to do a clean re-install of the OS so I realise this may sort the issue out. Any suggestions welcome. Cheers.