Scattering Data Across Table Space
Hi Guys,
We have System Performance team who checks the performance of our product .As per them there are few tables which they are concurrently updating(For the performance check) and due to being the tables in the same table space the insert is taking long time and CPU wait spikes under high concurrent user load.
I am wondering is it the problem of many tables in the same table space or some thing differernt.
We are using Oracle 11g Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production.
Please share any ideas or thoughts if any body has encountered this problem already.
Thanks in advance.
Regards,
Papi
957590 wrote:
We have System Performance team who checks the performance of our product .As per them there are few tables which they are concurrently updating(For the performance check) and due to being the tables in the same table space the insert is taking long time and CPU wait spikes under high concurrent user load.
I am wondering is it the problem of many tables in the same table space or some thing differernt.
Your performance team haven't told you enough about what they're doing to give you any sensible ideas about their problem.
If we assume that they understand nearly everything they're doing, and are looking in the right place at the right time, then there is a possibility that their problem is too much activity on a single tablespace, but the problem would be platform dependent and also be affected by the Oracle configuration.
Assume that they are using a file system for the Oracle data files, have just one file for the critical tablespace, and have configured multiple db writers (or writer slaves) and aren't using the O/S direct I/O and async features (which typically means they've not set Oracle's parameter filesystem_io_options to "setall") then they could be seeing inode contention for the relevant file and that could result in lots of CPU spinning. (At the file system level, readers block writers, writers block readers).
If you want to start understanding what their problem is, get them to show you an AWR report generated over a short interval, and get them to explain exactly what their test was doing in that interval.
Regards
Jonathan Lewis
Similar Messages
-
I'm trying to write a report that selects data from two schemas in two different HTMLDB tablespaces (or workspaces). How do I gain access from one workspace to the other? I've tried dblink and grants, but I'm unable to see users from one workspace to grant to, or see the schema from the other workspace.
JimJim - Are you saying that when you use some of the wizards to create a report you cannot see objects in schemas other than the parsing schema of the current application? You don't need dblinks if everything is in the same database, but you do need to grant select on each table, view, etc., that you might want to access from your application and these must be direct grants and not through roles.
Scott -
Can the XML SQL Utility store XML data across tables? Or should
I be using another utility? Ideally, I would like the process to
be automatic - is this ability available yet? Or should I parse
the XML data and insert by hand?
sorry for all the questions!
thanxs,
Steve.
nullHi Steve,
Currently the XML utility can only store to a single table. It
maps a canonical representation of an XML document into any
table/view. You can use XSL to transform any document into
multiple documents and insert them separately.
Another way is to define views over the multiple tables (object
views if needed) and then do the inserts etc.. into the view. If
the view is inherently non-updatable (because of complex joins
etc..), then u can define INSTEAD-OF triggers over the view to
handle the DML appropriately.
Thx
Murali
Steve Bartlett (guest) wrote:
: Can the XML SQL Utility store XML data across tables? Or
should
: I be using another utility? Ideally, I would like the process
to
: be automatic - is this ability available yet? Or should I
parse
: the XML data and insert by hand?
: sorry for all the questions!
: thanxs,
: Steve.
null -
Create table space command with no specification of data file path.
I am using following command for creating table space in oracle 11g
CREATE TABLESPACE testTbSpace DATAFILE 'dataFileName.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING"
But it is creating datafile dataFileName.dbf at disk at following path
echo $ORACLE_HOME/dbs
I dont want to create datafile at this path and also dont want to specify data file path in 'create table space' command.
Is there is any parameter,which i can set and above command start to create dataFileName.dbf at that path
Edited by: user8680179 on May 15, 2012 1:54 AMuser8680179 wrote:
i issued following commands from 'SYS' user;
1. show parameter db_create_file_dest;
NAME TYPE VALUE
db_create_file_dest string
2.alter system set db_create_file_dest='dataFilePath';
System altered.
3.show parameter db_create_file_dest;
NAME TYPE VALUE
db_create_file_dest string dataFilePath
4.CREATE TABLESPACE testTbSpace2 DATAFILE 'test1.dbf' SIZE 50M REUSE AUTOEXTEND ON NEXT 1M MAXSIZE 32767M NOLOGGING;
Tablespace created.
But still my test1.dbf file is creating at old path($ORACLE_HOME/dbs)Is datafilepath a real location? I don't think so! Give a proper path like "d:\oracle\" and retry.
Aman.... -
Table Space showing wrong data in ST04
Hi All,
We have oracle 10.2.0.4 installed and SAP SRM with latest kernel.
When i login to SAP and check tablespace in st04 / DB02 it is showing PSAPSR3 TAble space auto extend as on, but i have deactivated the auto extend in all the table space.
And for the same thing in DB check it is showing as CRITICAL_TABLESPACE having auto extend on as warning.
Please let me know as it is creating problem in daily monitoring of the system
Thanks & Regards,
Balaji.SCan you once again check the value for max_extn for those table space?
This error by brconnect is checked by calculating max_extn.
You can also check Note 849484 - New CRITICAL_TABLESPACE check condition in BRCONNECT
Thanks and Regards
Anindya -
What is difference between table space and shchema
what is difference between table space and shchema ?
784633 wrote:
so each user has it own space of tables - schema ?yes, but let's clarify a bit ....
The "schema" is the collection of all objects owned by a particular user. So if user SCOTT creates two tables, EMP and DEPT, and a view EMP_RPT, and a procedure GET_MY_EMP, those objects (tables, views, procedures) collectively make up the SCOTT schema.
Those objects will be physically stored in a tablespace.
A tablespace is a named collection of data files. So tablespace USERS will be made up of one or more data files. A specific datafile can belong to one and only one tablespace. If a tablespace has more than one data file, oracle will manage those files as a collection invisible to the application - much like the OS or disk subsystem handles striping across multiple physical disks.
A specific object in the SCOTT schema can exist in only one tablespace, but not all objects of the schema have to be in the same tablespace. Likewise a tablespace can contain objects from multiple schemas.
and can one user to access tables of other users?As others have said - FRED can access tables belonging to SCOTT as long has SCOTT has granted that access to FRED. -
How to stored data after clicking checkbox in data base table
REPORT ZT .
TYPE-pools: slis.
tables:mkpf,mseg,mard,COWB_COMP,ZTABLE.
Types:BEGIN OF tp_data,
mblnr LIKE mseg-mblnr,
matnr LIKE mseg-matnr,
werks LIKE mard-werks,
lgort LIKE mard-lgort,
lgpbe LIKE mard-lgpbe,
charg LIKE mseg-charg,
bwart LIKE mseg-bwart,
budat LIKE mkpf-budat,
menge LIKE mseg-menge,
meins LIKE mseg-meins,
kostl LIKE mseg-kostl,
aufnr LIKE mseg-aufnr,
rsnum LIKE mseg-rsnum,
endkz like COWB_COMP-endkz,
END OF tp_data,
tp_tbl_data TYPE STANDARD TABLE OF tp_data.
MODIFIED*******************
DATA: WA TYPE TP_DATA.
MODIFIED*******************
*data: t_data like Y00_MM_ISSUE_DAT occurs 0 with header line.
Constants
Data objects (variable declarations and definitions)
Report data to be shown.
DATA: it_data TYPE STANDARD TABLE OF tp_data.
MODIFIED*******************
DATA : V_REPID LIKE SY-REPID.
MODIFIED*******************
Heading of the report.
DATA: t_heading TYPE slis_t_listheader.
*========================== Selection Screen
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:smblnr FOR mseg-mblnr MODIF ID m1,
smatnr FOR mseg-matnr MODIF ID m2,
swerks FOR mard-werks MODIF ID m3,
slgort FOR mard-lgort MODIF ID m4,
slgpbe FOR mard-lgpbe MODIF ID m5,
scharg FOR mseg-charg MODIF ID m6,
sbwart FOR mseg-bwart MODIF ID m7,
skostl FOR mseg-kostl MODIF ID m8,
saufnr FOR mseg-aufnr MODIF ID m9,
srsnum FOR mseg-rsnum MODIF ID m10.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS:pre RADIOBUTTON GROUP radi USER-COMMAND ucomm DEFAULT 'X',
pse RADIOBUTTON GROUP radi,
bps RADIOBUTTON GROUP radi.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
PARAMETER:layout TYPE i.
SELECTION-SCREEN END OF BLOCK b3.
MODIFIED*******************
INITIALIZATION.
V_REPID = sy-repid.
MODIFIED*******************
*=========================== Event Blocks
AT selection-SCREEN.
start-OF-selection.
PERFORM get_data USING it_data.
END-OF-selection.
PERFORM build_alv USING it_data t_heading.
*=========================== Subroutines
*& Form get_data
Gets the information to be shown in the report.
FORM get_data USING t_data TYPE tp_tbl_data.
SELECT msegmblnr msegmatnr mardwerks mardlgort mard~lgpbe
msegcharg msegbwart mkpf~budat
msegmenge msegmeins msegkostl msegaufnr mseg~rsnum
INTO CORRESPONDING FIELDS OF TABLE t_data
FROM mseg
JOIN mard ON mardmatnr EQ msegmatnr
JOIN mkpf ON msegmblnr EQ mkpfmblnr
WHERE mseg~matnr IN smatnr.
ENDFORM. " get_data
*& Form build_alv
Builds and display the ALV Grid.
FORM build_alv USING t_data TYPE tp_tbl_data
t_heading TYPE slis_t_listheader.
ALV required data objects.
DATA: w_title TYPE lvc_title,
w_comm TYPE slis_formname,
w_status TYPE slis_formname,
x_layout TYPE slis_layout_alv,
t_event TYPE slis_t_event,
t_fieldcat TYPE slis_t_fieldcat_alv,
t_sort TYPE slis_t_sortinfo_alv.
REFRESH t_fieldcat.
REFRESH t_event.
REFRESH t_sort.
CLEAR x_layout.
CLEAR w_title.
Field Catalog
PERFORM set_fieldcat2 USING:
1 'MBLNR' 'MBLNR' 'MSEG' space space space space space space
space space space space space space t_fieldcat ,
2 'MATNR' 'MATNR' 'MSEG' space space space space space space
space space space space space space t_fieldcat ,
3 'WERKS' 'WERKS' 'MARD' space space space space space space
space space space space space space t_fieldcat,
4 'LGORT' 'LGORT' 'MARD' space space space space space space
space space space space space space t_fieldcat ,
5 'LGPBE' 'LGPBE' 'MARD' space space space space space space
space space space space space space t_fieldcat ,
6 'CHARG' 'CHARG' 'MSEG' space space space space space space
space space space space space space t_fieldcat ,
7 'BWART' 'BWART' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
8 'BUDAT' 'BUDAT' 'MKPF' space space space space space space
space space space space space space t_fieldcat,
9 'MENGE' 'MENGE' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
10 'MEINS' 'MEINS' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
11 'KOSTL' 'KOSTL' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
12 'AUFNR' 'AUFNR' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
13 'RSNUM' 'RSNUM' 'MSEG' space space space space space space
space space space space space space t_fieldcat,
14 'ENDKZ' 'ENDKZ' 'COWB_COMP' space space 'select' 'Select this row' 'Sel' 'Select this row' space space space 'X' 'X' space t_fieldcat.
Layout
x_layout-zebra = 'X'.
Top of page heading
PERFORM set_top_page_heading USING t_heading t_event.
Events
PERFORM set_events USING t_event.
GUI Status
w_status = ''.
User commands
w_comm = 'USER_COMMAND'.
Order
Example
PERFORM set_order USING '<field>' 'IT_DATA' 'X' space space t_sort.
PERFORM set_order USING 'MBLNR' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELN' 'IT_DATA' 'X' space 'X' t_sort.
PERFORM set_order USING 'EBELP' 'IT_DATA' 'X' space space t_sort.
Displays the ALV grid
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = V_REPID
it_fieldcat = t_fieldcat
is_layout = x_layout
it_sort = t_sort
i_callback_pf_status_set = w_status
i_callback_user_command = w_comm
i_save = 'X'
it_events = t_event
i_grid_title = w_title
TABLES
t_outtab = t_data
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " build_alv.
*& Form set_top_page_heading
Creates the report headings.
FORM set_top_page_heading USING t_heading TYPE slis_t_listheader
t_events TYPE slis_t_event.
DATA: x_heading TYPE slis_listheader,
x_event TYPE LINE OF slis_t_event.
Report title
CLEAR t_heading[].
CLEAR x_heading.
x_heading-typ = 'H'.
x_heading-info = 'Reporte Prueba'(001).
APPEND x_heading TO t_heading.
Program name
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Program: '.
x_heading-info = sy-repid.
APPEND x_heading TO t_heading.
User who is running the report
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'User: '.
x_heading-info = sy-uname.
APPEND x_heading TO t_heading.
Date of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Date: '.
WRITE sy-datum TO x_heading-info.
APPEND x_heading TO t_heading.
Time of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-KEY = 'Time: '.
WRITE sy-uzeit TO x_heading-info.
APPEND x_heading TO t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-FORM = 'TOP_OF_PAGE'.
APPEND x_event TO t_events.
ENDFORM.
*& Form set_events
Sets the events for ALV.
The TOP_OF_PAGE event is alredy being registered in
the set_top_page_heading subroutine.
FORM set_events USING t_events TYPE slis_t_event.
DATA: x_event TYPE LINE OF slis_t_event.
Example
clear x_event.
x_event-name = .
x_event-form = .
append x_event to t_event.
ENDFORM.
*& Form set_order
Adds an entry to the order table.
FORM set_order USING p_fieldname p_tabname p_up p_down p_subtot
t_sort TYPE slis_t_sortinfo_alv.
DATA: x_sort TYPE slis_sortinfo_alv.
CLEAR x_sort.
x_sort-fieldname = p_fieldname.
x_sort-tabname = p_tabname.
x_sort-UP = p_up.
x_sort-down = p_down.
x_sort-subtot = p_subtot.
APPEND x_sort TO t_sort.
ENDFORM. "set_order
*& Form set_fieldcat2
Adds an entry to the field catalog.
FORM set_fieldcat2 USING p_colpos p_fieldname p_ref_fieldname
p_ref_tabname
p_outputlen p_noout
p_seltext_m p_seltext_l p_seltext_s p_reptext_ddic p_ddictxt
p_hotspot p_showasicon p_checkbox p_edit
p_dosum
t_fieldcat TYPE slis_t_fieldcat_alv.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-col_pos = p_colpos.
wa_fieldcat-no_out = p_noout.
wa_fieldcat-HOTSPOT = p_hotspot.
wa_fieldcat-CHECKBOX = p_checkbox.
wa_fieldcat-ICON = p_showasicon.
wa_fieldcat-do_sum = p_dosum.
Set reference fieldname, tablenam and rollname.
If p_ref_tabname is not given, the ref_fieldname given is a data
*element.
If p_ref_tabname is given, the ref_fieldname given is a field of a
*table. In case ref_fieldname is not given, it is copied from the
*fieldname.
IF p_ref_tabname IS INITIAL.
wa_fieldcat-rollname = p_ref_fieldname.
ELSE.
wa_fieldcat-ref_tabname = p_ref_tabname.
IF p_ref_fieldname EQ space.
wa_fieldcat-ref_fieldname = wa_fieldcat-fieldname.
ELSE.
wa_fieldcat-ref_fieldname = p_ref_fieldname.
ENDIF.
ENDIF.
Set output length.
IF NOT p_outputlen IS INITIAL.
wa_fieldcat-outputlen = p_outputlen.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
IF NOT p_seltext_l IS INITIAL.
wa_fieldcat-seltext_l = p_seltext_l.
ENDIF.
IF NOT p_seltext_s IS INITIAL.
wa_fieldcat-seltext_s = p_seltext_s.
ENDIF.
IF NOT p_reptext_ddic IS INITIAL.
wa_fieldcat-reptext_ddic = p_reptext_ddic.
ENDIF.
IF NOT p_ddictxt IS INITIAL.
wa_fieldcat-ddictxt = p_ddictxt.
ENDIF.
Set as editable or not.
IF NOT p_edit IS INITIAL.
wa_fieldcat-INPUT = 'X'.
wa_fieldcat-EDIT = 'X'.
ENDIF.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. "set_fieldcat2
*& Form top_of_page
Called on top_of_page ALV event.
Prints the heading.
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
i_logo = 'TRVPICTURE04'
it_list_commentary = t_heading.
ENDFORM. " alv_top_of_page
*& Form user_command
Called on user_command ALV event.
Executes custom commands.
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
case sy-ucomm.
WHEN '&DATA_SAVE'.
LOOP AT IT_DATA INTO WA WHERE ENDKZ = 'X'.
IF WA-ENDKZ = 'X'.
*******MODIFIED*********************************
U DELETE THIS CODE N USER UR INSERT CODE TO CHECK
SY-MSGV1 = WA-MBLNR. " U CAN DELETE
SY-MSGV2 = WA-MATNR. " U CAN DELETE
MESSAGE ID 'BC_BOR' TYPE 'I' NUMBER '888' " U CAN DELETE
WITH SY-MSGV1 SY-MSGV2. " U CAN DELETE
*******MODIFIED*********************************
INSERT ZTABLE.
ENDIF.
endloop.
ENDCASE.
ENDFORM. "user_command
this is my code, database will stored in fields only.data is empty,
how to slove that one,send any sugestion.Hi Lakshmi,
Can u explain briefly what is ur requirement. U mean to say that after clicking the checkbox in data base table or Screen?
Regards,
Jayaram... -
BRtools table space creation error
hi,
Iam trying to create new table space in my R/3 system. When i went to brtools - space management sytem throwing error owner failed.I tried with all users to login like ( <SID>adm,administrator etc ...)even then same problem.Could you please suggest how to create table space with what login id
Error:
Main options for creation of tablespace in database WA6
1 - Tablespace name (tablespace) ......... [PSAPECDATA]
2 - Tablespace contents (contents) ....... [data]
3 - Segment space management (space) ..... [auto]
4 - SAP owner of tablespace (owner) ...... [EC5ADM]
5 - Data type in tablespace (data) ....... [both]
6 # Joined index/table tablespace (join) . []
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0824E Owner EC5ADM not found in database or not SAP owner
BR0691E Checking input value for 'owner' failed
BR0669I Cannot continue due to previous warnings or errors - you can go back to
repeat the last action
BR0280I BRSPACE time stamp: 2006-06-14 21.08.45
BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
Please suggest.
- CheersLogin as ora<sid> and run brtools. Tablespace owner will be SAP<SID> or SAPR3 depends upon your version.
Thanks
Prince -
Table space not reduce after delete in oracle 11G
Hi Team,
I have a DB 11.1.0.7 on unix.
I have execute delete tables on tablespace, but this not reduce.
Thanks935299 wrote:
What segment space management type is defined for the tablespace in question?
MANUAL
Then you should check out the documentation some more.
But even if you shrink the table segement what is that going to do for the data file size?
I don't undertand you.
ThanksYour thread is titled "Table space not reduce after delete in oracle 11G" which implies to me that you are interested in reducing the size of a tablespace (which really means reducing the size of the underlying datafile(s)).
So, if you shrink the size of the sys.aud$ table, will that cause the datafile(s) to become smaller? Will it accomplish your goal? What else, if anything, needs to happen? -
Table space not reduce after delete in oracle 10g
Hi..
Based on my system, i have found that my oracle table space did not reduce after the deletion query. Why ?.. Could somebody help me. As your info, I am using oracle 10g.
Thank you,
BaharinAfter Delete the table space will not be set free. high water mark will not be reset. to regain the space you need to recognize the objects from which you deleted the data. This can be done in many ways.
1) Move the objects.
Alter table temp move --> optionally tablespace clause can be used. After this you need to rebuild table indexes.
2) With 10g table can be shrinked or reorganize to free the space.
alter table mytable enable row movement;
alter table mytable shrink space;
3) Export/Import
export the objects and drop and recreate with import. -
Sales order purchase order field is updated with dots in data base table
HI
we have problem in Production when sale order created
P O date is update with dots and these dots we are unable to see at screen and data base table
we go t change mode of the order and delete the P O field with back space (button) and saving the order
when we see the change log of the order
there it is sowing
Old value = " . . "
New Value = " 00.00.0000"
Can any one give the suggetions to come out of this problem
This is we have noticed with only two customers
Thanks and regards
Kishore
Edited by: DevarapalliKK on Oct 23, 2010 8:43 PM
Edited by: DevarapalliKK on Oct 23, 2010 8:44 PMHi Kishore,
Two things could have happened:
1) Since this is happening with only two customers - I am sure it has got to do with some custom code on your system which is causing this problem. I 'd suggest you to create a new order with all the fields
2) It could be a bug with SAP- might want to check relevant SAP Notes. ( But this could not be a reason, if yes should have had the same prob with all cusotmers)
regards
sadhu kishore -
Help to correct to codes to move data from tables! please help!
HI,
There is a internal table t and t1. I used loop to move the data which zuonr has no value from t to t1.
BSID TABLE:
KUNNR ZUONR
0000052984 no value           0000052984 no value 00052984 2007/06決算
00052984 no value
000052984  2007/07振当
0000052984 MSFT047/07
0000052984 MSFT061/07
*what I need to do is that to move all the data belonge to the same kunnr whenever zuonr = space happend. *.
The problem is that the data which zuonr = space is moved to t1 successful, but the other data which belong to the same kunnr has zuonr valune still remain.
-Question_ : How to move all the data belong to the same kunnr whenever zuonr = space happend.
DATA: BEGIN OF t OCCURS 0,
bukrs LIKE knb1-bukrs,
zuonr Like bsid-zuonr, "sort key "CR01
belnr LIKE bsid-belnr,
kunnr LIKE kna1-kunnr,
bldat LIKE bsid-bldat,
budat LIKE bsid-budat,
netdt LIKE bsega-netdt,
waers LIKE bsid-waers,
wrbtr LIKE bsid-wrbtr,
shkzg LIKE bsid-shkzg,
xblnr LIKE bsid-xblnr, "WD041005a
sgtxt LIKE bsid-sgtxt,
dmbtr LIKE bsid-dmbtr,
END OF t.
DATA : t1 LIKE STANDARD TABLE OF t WITH HEADER LINE.
*LOOP AT t WHERE zuonr EQ space.
MOVE-CORRESPONDING t TO t1.
APPEND t1.
ENDLOOP.*
How can I write the loop statement to mention the KUNNR
Please help, thank you!!Hi,
Try this.
data : wa_t like line of table t.
field-symbols : <f_t> like line of table t.
sort t by kunnr.
Loop at t where zuonr eq space.
read table t1 with key kunnr = t-kunnr.
if sy-subrc = 0.
continue.
endif.
read table t into wa_t with key kunnr = t-kunnr.
if sy-subrc = 0.
loop at t assigning <f_t> from sy-tabix..
if <f_t>-kunnr = wa_t-kunnr.
move-corresponding <f_t> to t1.
append t1.
else.
exit.
endif.
endloop.
endif.
endloop.
Regards,
Mohaiyuddin -
Table space need to be increased in every week..
Dear Experts,
We are facing a new problem .
The problem is like , Last 6 months back we had done the Hard-ware migration. After
migration we need to increase the table space in every 10 days. But before migration , the table
space was getting ing increased in every 45 days.
In this way , we dont have much space left with us..
I am not able to analyse the issue ...
Please suggest .. What to check and necessary action ...
Thanks,
SanjanaHi,
Thank you for the response. Yes , the hord-ware migration is not linked with this issue. But this is happening after migration . So I was thinking , if any setting might have changed or something like that .
Deleting all the redundant data in system means , it should run regaularly. And Now new developments have gone to production.
And the data loads are carrying almost same amount of data. Only 2 changes, Material Master was coming on DELTA , Now its Coming on FULL Load. Rest all loads are same as before migration.
Kindly suggest.
Thanks,
Sanjana -
How to Access Table Space Map in Oracle 10g OEM
How and from where to Access Table Space Map in Oracle 10g OEM ??
ThanksHi,
first of all, the online help system of grid control is outstanding. Just click on Help in the upper right corner and enter "Tablespace Extent Map" in the search form.
Result:
Show Tablespace Contents Page
Each Oracle database is divided into one or more logical units called tablespaces. You can use Oracle Enterprise Manager to manage these tablespaces and create or modify the parameters for the tablespaces. Use the Tablespace property sheet to set general and storage information for the specified tablespace.
Use the Show Tablespace Contents page to display the list of tablespace segments that comprise the existing tablespace. You can display Tablespace Extents by choosing Show Tablespace Extent Map at the bottom of the page. An extent is a logical unit of database storage space allocation made up of a number of contiguous data blocks. One or more extents in turn make up a segment. When the existing space in a segment is completely used, Oracle allocates a new extent for the segment.
You can view segment extents by clicking on the link in the Extents column to display the Extents in Segments page.
You can display the Show Tablespace Contents page by choosing Show Tablespace Contents from the command drop down list on the Tablespace property page, the Tablespace View page, or the Tablespace search results page.
Note: Developers could only display the tablespace map to a maximum hard coded number of 30,000 extents. Tablespaces are often larger than that. If a tablespace is larger than 30,000 extents, the portion over that is displayed as Unmapped. To avoid exceeding the memory capacity of the tablespace map and to display the map without unmapped extents, use a search criteria displaying results of less than 30K extents.
For an overview of tablespaces, see the "Overview of Tablespaces " chapter of the Oracle Database Concepts Guide.
For more information about managing tablespaces, see the " Managing Tablespaces" chapter of the Oracle Database Administrators Guide.
For more information about managing datafiles, see the " Managing Datafiles and Tempfiles" chapter of the Oracle Database Administrator's Guide. -
How to verify reused table space in oracle 10g ?
Hi..
From my system, i have seen that the table size keep increasing event the delete query is running. Due to that, I would to check either the oracle allowed to reuse the table space or not ? if not then how could i enable it ?
Please help me..
Thank you,
BaharinYou can use dbms_space.space_usage to check the for free space.
Space reuse will depend on whether you are using MSSM or ASSM, PCT_FREE, PCT_USED, and how new data is inserted ?
You can shrink or move the table and rebuild indexes to reclaim space.
Maybe you are looking for
-
FF doesn't open a pop up log in all of a sudden. No error message either.
Since yesterday, FF 15.0.1 won't let me log into one of my sites, as the '''pop up log in''' will not open. It works for SeaMonkey after giving script permissions, and it works in Opera, but on FF the page has all permissions from NoScript and it sti
-
It takes forever to open files or insert files in Pages.
When I try to open a file (or open from the recent file drop down), or insert a file, in pages I get the spinning beachball for 30 seconds before I can do anything. This started before I installed Lion, but it's worse with Lion. Help!!!
-
Hello, We are using CR XI R2 SP3 in our product. The reports that we generate (using ODBC dsn) show URLs from the database as hyper link text fields. When we export the report to "Microsoft Word (.doc)" or "Rich Text Format (.rtf)" format, even tho
-
What does this error indicate, error=2?
Hello. I've got a web app working on one computer (dev), but when I move it over to the server for external consumption, it gives me this error, Compilation of 'D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\js p_servlet\__t
-
Parse/read complex data types in WSDLs
i need to read the WSDL and identify the Ports, Operation, Bindings and types. My intention is to compare 2 WSDLS and also to create a UI client for web Service based on the WSDLs. My issue here is the WSDL contains Complex Data Type,i couldnt find c