Max extend db_files unalbe to Extend
Dear All,
We are using Oracle 10.2.0.2 , SAP Ecc 6.0 ,OS : HP unix 11.23
Using Brtools I unable to extend the table space , Following error occurs :
ORA - 00059 unable to extend the tablespace PSAPBTABD ,
Please reply me procedure for increase the db_files ?
Regards,
Santosh
Just change the parameter value in init file and restart DB (If you are using pfile)
If you are using spfile then you have to follow the below steps:
1) Change the parameter value in init file
2) Shutdown database
3) Startup with pfile
4) Create spfile from pfile
Regards,
Nick Loy
Similar Messages
-
Extended memory 50% free,but work process reach PRIV
hi,
many dialog work process reach PRIV mode though extended memory is 50% free.
profile parameters as below :
ztta/roll_first 1 MB
ztta/roll_extension 2GB
ztta/roll_area 6MB
abap/heap_area_dia 2GB
can anyone throw light ?Hi Krishna,
In addition to the parameter you have mentioned check these parameter as well in the system.
A process going into PRIV means that either it has exhausted its quota of extended memory (ztta/roll_extension) or that the total extended memory (em/initial_size_MB) has been used up by other sessions.So increase these 2 parameter to start with and then tune others.
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 61440 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_total 64424500000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
Also,consider setting rdisp/wppriv_max_no and rdisp/max_priv_time,so that system performance is not much impacted.
http://help.sap.com/saphelp_nw04/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/content.htm
Regards,
Ashutosh -
TIME_OUT ABAP DUMP executing KE30 in Business time
HI All,
when or users areexecuting KE30 in peak load time , say from 8:00 AM to 6:00 PM it times out , but on weekends and evenings where there is less load on system it executes properly, below are memory paramaters on app server
ztta/roll_area 6500000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 4000000 Byte Short area per workprocess
rdisp/ROLL_SHM 24576 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 8192 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 4000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 4000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 4000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 4000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
ar running on db2 9.7 fp4 Instance memory is 40GB, STMM is ON, not sure what further i can tune on DB,
Regards
thummaHello Thumma,
1). When running the transaction, did you checked what are the tables its reading ? Try to run ST05 trace and create an Index for the table which spends most time on it.
2). On the tables that you see in SM50 for the t-code KE30, run Individual statistics in DB20.
3). How is your St02 buffers look like. Did you run SAPPFPAR Check ?
You can run like /usr/sap/<SYSTEMNAME>/SYS/exe/run/sappfpar check pf=/usr/sap/<SYSTMENAME>/SYS/profile/<Profile name> nr=<System number> name=<System name>
Tune the SWAPs as recommended by SAPPFPAR . Refer to below link
http://basishowto.blogspot.com/2011/07/sappfpar-tools-to-check-sap-server.html
Regards,
Arjun -
SAP 64bit Linux application server (Linux on Power) memory config issues
Hello Everyone,
Let me give some background. I have been tasked with replacing our AIX6.1 SAP application server with new Linux on Power servers (SLES11SP3)
Our current production BW application servers (AIX) are running fine given their current setup. We are fine implementing the same size of the AIX systems on the new Linux systems, but we now have more room to grow in the fur, however when I tried to implement the Linux server using the same memory sizing I am getting runtime errors: "TSV_TNEW_PAGE_ALLOC_FAILED" with a specific user created program and process chain. The AIX servers do not run into this issue running the exact same program. When this process runs, it utilizes 3 BTC process for the program.
Using the note 941735, I have tried to correctly setup the system using STD memory implementation, however I have a feeling that I am missing something or setup something incorrectly which is causing the above issue. Looking in ST02 here is the SAP buffer parameters for two of the systems. Perhaps someone might notice something that I am not see or point me in the right direction. Please let me know if more parameters from the profile are needed. Thanks!
AIX system (existing):
ztta/roll_area 6500000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_MAXFS 32768 8 kB Maximum roll file size
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 2027 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
em/global_area_MB 256 MB Extended global memory
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 250000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
abap/shared_objects_size_MB 20 MB Shared objects
Linux system (new):
ztta/roll_area 6500352 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_MAXFS 131072 8 kB Maximum roll file size
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 4092 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
em/global_area_MB 256 MB Extended global memory
ztta/roll_extension 2000683008 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000683008 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000683008 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000683008 Byte Max. usable heap memory
abap/heaplimit 250609664 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
abap/shared_objects_size_MB 20 MB Shared objectsYes sapconf has been installed. sapconf however only sets the kernel settings.
I was able to resolve the issue by having Zero Admin tool using 'es/implementation = map' and setting the PHYS_MEMSIZE to the desired amount. Then commenting out all the values that are defaulted in the 32bit version of the memory management guide for linux and let it size many of the values. Then I simply copied those from st02. I updated the profile with those values to override default for 'es/implementation = std' and commented out PHYS_MEMSIZE as it is not needed. In a nut shell, the following parameters were updated.
es/implementation = std
em/address_space_MB = 4096
em/blocksize_KB = 4096
em/initial_size_MB = 14320
em/max_size_MB = 14326
rdisp/PG_MAXFS = 131072
rdisp/PG_SHM = 16384
rdisp/ROLL_MAXFS = 131072
rdisp/ROLL_SHM = 131072
ztta/roll_area = 6500352
ztta/roll_extension = 4000000000
ztta/roll_extension_dia = 4000000000
ztta/roll_extension_nondia = 4000000000
ztta/roll_first = 1 -
Hi All,
We are facing these errors approx. daily (but not everyday):
MEMORY_NO_MORE_PAGING
TSV_TNEW_PAGE_ALLOC_FAILED
Now, I searched the Forum but there is no acceptable answer for the current issue. Some person said that it could be possible if a user have entered any illegal range in program.
How can i modify the parameter values? RZ11 shows all parameters but not in RZ10(where we can modify).
Here is the current configuration:
Roll, extended and heap memory EXTM
ztta/roll_area 3000320 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 14500 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000683008 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000683008 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 0 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 6442450944 Byte Max. usable heap memory
abap/heaplimit 40894464 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
I also read that some parameter values like Roll Area should not be changed like here: http://help.sap.com/saphelp_nw70/helpdata/en/02/96274f538111d1891b0000e8322f96/content.htm
Furthermore, some suggestions were to modify the Heap Parameters, Roll etc...
Here is our PRD SPEC:
Processor: Intel Xeon X5450 3.00GHz
RAM: 20 GB
HDD: 140 GB Internal
SAN: 700 GB RAID
Please Advise,
Regards.Hi Michael,
Thank you for your information, here is the current dump (most recent one):
Runtime Errors MEMORY_NO_MORE_PAGING
Date and Time 13.10.2010 14:32:19
How to correct the error
The amount of storage space (in bytes) filled at termination time was:
Roll area...................... 16192
Extended memory (EM)........... 305858320
Assigned memory (HEAP)......... 0
Short area..................... " "
Paging area.................... 16384
Maximum address space.......... " "
And Current View EM (in ST02):
SAP Memory Curr.Use % CurUse[KB] MaxUse[KB] In Mem[KB] OnDisk[KB] SAPCurCach HitRatio
Roll area 40.18 24,274 24,976 262,144 0 IDs 99.59
Page area 10.94 28,678 34,400 131,072 131,072 Statement 97.00
Extended memory 31.43 4,665,344 5,296,128 14,843,904 0 0.00
Heap memory 139,015 0 139,015 0 0.00
Detailed Information:
Roll memory Dialog session kB 2,930
Nondialog sess. kB 2,930
Available kB 60,416
in shared memory kB 262,144
on disk kB 0
Used kB 24,274
Maximum used kB 24,976
Paging memory Session buffer kB 1,200
Available kB 262,144
in shared memory kB 131,072
on disk kB 131,072
Used kB 28,678
Maximum used kB 34,400
Extended memory Dialog session kB 1,953,792
Nondialog sess. kB 1,953,792
Available kB 14,843,904
Used kB 4,665,344
Maximum used kB 5,296,128
Heap memory Dialog session kB 1,953,792
Nondialog sess. kB 0
Used kB 139,015
Maximum used kB 139,015
Current Parameters Setting:
Buffer Name Comment
Profile Parameter Value Unit Comment
Roll, extended and heap memory EXTM
ztta/roll_area 3000320 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 14500 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT on
ztta/roll_extension 2000683008 Byte Max. extended mem. per session (external mo
abap/heap_area_dia 2000683008 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 0 Byte Max. heap memory for non-dialog workprocess
abap/heap_area_total 6442450944 Byte Max. usable heap memory
abap/heaplimit 40894464 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
Please guide me if it requires any further analysis. -
Dear Experts,
I have installed sap ecc6 ehp4reday sp1 with db2 9.1 fp9 on hp-ux 11.31 1 x Itanium 1.46Ghz with RAM 16 GB.
the issue is there is too many REDs in st02 tune screen . Kindly suggest me any note matching with the given information or provide me solution .
the st02 summery is as bellow
Buffer Name Comment
Profile Parameter Value Unit Comment
Program buffer PXA
abap/buffersize 300000 kB Size of program buffer
abap/pxa shared Program buffer mode
CUA buffer CUA
rsdb/cua/buffersize 3000 kB Size of CUA buffer
Screen buffer PRES
zcsa/presentation_buffer_area 4400000 Byte Size of screen buffer
sap/bufdir_entries 2000 Max. number of buffered screens
Generic key table buffer TABL
zcsa/table_buffer_area 30000000 Byte Size of generic key table buffer
zcsa/db_max_buftab 5000 Max. number of buffered objects
Single record table buffer TABLP
rtbb/buffer_length 10000 kB Size of single record table buffer
rtbb/max_tables 500 Max. number of buffered tables
Export/import buffer EIBUF
rsdb/obj/buffersize 4096 kB Size of export/import buffer
rsdb/obj/max_objects 2000 Max. number of objects in the buffer
rsdb/obj/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/obj/mutex_n 0 Number of mutexes in Export/Import buffer
OTR buffer OTR
rsdb/otr/buffersize_kb 4096 kB Size of OTR buffer
rsdb/otr/max_objects 2000 Max. number of objects in the buffer
rsdb/otr/mutex_n 0 Number of mutexes in OTR buffer
Exp/Imp SHM buffer ESM
rsdb/esm/buffersize_kb 4096 kB Size of exp/imp SHM buffer
rsdb/esm/max_objects 2000 Max. number of objects in the buffer
rsdb/esm/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/esm/mutex_n 0 Number of mutexes in Exp/Imp SHM buffer
Table definition buffer TTAB
rsdb/ntab/entrycount 20000 Max. number of table definitions buffered
The size of the TTAB is nearly 100 bytes * rsdb/ntab/entrycount
Field description buffer FTAB
rsdb/ntab/ftabsize 30000 kB Size of field description buffer
rsdb/ntab/entrycount 20000 Max. number / 2 of table descriptions buf
FTAB needs about 700 bytes per used entry
Initial record buffer IRBD
rsdb/ntab/irbdsize 6000 kB Size of initial record buffer
rsdb/ntab/entrycount 20000 Max. number / 2 of initial records buffer
IRBD needs about 300 bytes per used entry
Short nametab (NTAB) SNTAB
rsdb/ntab/sntabsize 3000 kB Size of short nametab
rsdb/ntab/entrycount 20000 Max. number / 2 of entries buffered
Calendar buffer CALE
zcsa/calendar_area 500000 Byte Size of calendar buffer
zcsa/calendar_ids 200 Max. number of directory entries
Roll, extended and heap memory EXTM
ztta/roll_area 3000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 4092 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
Statistic parameters
rsdb/staton 1 Statistic turned on (1) or off (0)
rsdb/stattime 0 Times for statistic turned on (1) or off (0)
thanks
sadiqHello Sadiq,
I agree with the previous post, I'm afraid there is no quick fix for this, especially since we cannot see all of these red entries.
If your errors are purely in memory management on SAP side, you should consider posting in the CST "memory management" part of this forum
Advise from a DB2 perspective is to make sure that all memory specific setting are correct as per note:
899322 DB6: DB2 9.1 Standard Parameter Settings
After setting these parmeters and carrying out further fine tuning yourself, you should consider scheduling an early watch session from SAP.
Best of luck,
Paul
Edited by: Paul Murtagh on Apr 14, 2011 4:50 PM -
Hi _
REPORTING THIS ERROR FOR ANOTHER CLIENT
I am having some performance issues, only from a response point of view.AT times the users just hangs and then all of a sudden it comes back to normal again.
I am running crm 4.0 on windows with oracle 9.2
I have advance server installed on my db server and windows 2003 installed on my apps server. I just lately installed an apps server , thinking that the load was too heavy.I am still having issues.
On my Db server, i Have 8.4 gigs of mhysical memory and on my apps servers, I Have 3.0 gigs of physical memeory.
I have looked at tcode st02 on both my db server and apps server. I have no swappign issues.
My only issue on sto2 on my db server is that I have almost 6 gigs ofextended memory free with a max of 1.3 extended gigs in use.
There is still however 714.424 in heap memory.
I have looked at tcode st02 on my apps server. I have no swapping issues as well.
My only issue on sto2 on my apps server is that I also have almost 6 gigs ofextended memory free with a max of 3.6g of extended memory in use.
There is no value for heap memeory
Looking at st06 on my apps server, physical mem available is 3.gigs with 555 megs free.
Looking at st06 on my db server, physical mem available is 8.33.gigs with 5.955 gigs free.
My utilization is on an average of 30 - 40 %
When goign into smlg , my response on my apps server show 2.75 seconds and on my db it shows 12,975 seconds ( this in st03 shows about 6.8 seconds)
My parameters on my db server is as follows:
ztta/roll_area 2000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 1600000 Byte Short area per workprocess
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 5910 MB Initial size of extended memory
em/blocksize_KB 1024 kB Size of one extended memory block
em/address_space_MB 512 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
MY PHYS_MEMSIZE ON MY APPS SERVER IS 3071 AND ON MY DB SERVER IS 5321.
I JUST DONOT UNDERSTAND WHY I AM HAVIGN SUCH A BAD RESPONSE. i ONLY HAVE ABOUT 100 USERS BETWENN BOTHE DB AND APPS SERVERS
Appreciate any help -pleaseHi Guys
Sortre dteh issue out. Problem was a response time bewteen my telephony system and the Crm system.The RFC response time was too long. We sorted the netwrok issue out. -
Validation for bank while making payment to Vendors
Hi All,
We want the system to validate the bank balance while making payment to Vedors via f-53,f-58,f110 or any other payment transaction,
Eg;
Available Balance in Bank ; 25,000/-
Payment to vendor must be restricted to max of 25000/- or less than 25000/-
The system must allow us to make payment more that the available bank balance(less the minimum balance that has to been maintained at bank).
Where & How can i capture this requirement in the system.
Appreciate your responce in time and your patience too
RegardsDear Raghu,
Thanks for your reply.
Our requirement is not the minimun bank balance.
Our requirement is that the system must not allow us to run any payment beyond the available amount in the bank account.
for eg : if we have 10 lacs as on day in our bank account,we must be in the position to make payment to vendor to max extend of 10 lacs only not more than that.
At present the system not having any control in this.....
How can i do it in OB28...bcoz we have 5 account.1.Main Bank,2.Chq Incoming,3.Chq Outgoing,4.Cash With drawal & 5.Cash Deposit.
Can you let me know how can we bring this in the system to validate the out going payment.
Regards -
Hi all,
my env..
Oracle 8i
solaris
I am trying to check tablespace threshold chek ..below query ...this query is not working in oracle 8i ...but it is working fine in oracle 10g machines ...
what is the reason I was unable to findout...
Please let me know if any one knows
select
(select INSTANCE_NAME||'_'||HOST_NAME from v$instance ) "db_name_host_name",
tablespace_name tablespace,
sum(file_cnt) "# of Files",
(sum(tp)-sum((fs + (tp-tc))))/1048576 "Used (M)",
sum(tc)/1048576 "Allocated (M)",
sum(tp)/1048576 "Max Extend (M)",
round(max(100 - (100*((fs + (tp-tc))/tp)))) " % of Max Used"
from ( select b.tablespace_name, nvl(a.free_space, 0) fs,
b.total_poss_space tp,
b.total_curr_space tc,
b.file_cnt,
b.tablespace_name ts_name
from (
select sum(bytes) free_space,
tablespace_name
from dba_free_space
group by tablespace_name
) a,
select sum(decode(autoextensible, 'YES',
maxbytes,
bytes)) total_poss_space,
sum(bytes) total_curr_space,
count(1) file_cnt,
tablespace_name
from dba_data_files
group by tablespace_name
) b
where a.tablespace_name (+) = b.tablespace_name
group by tablespace_name
having max(100 - (100*((fs + (tp-tc))/tp))) >=80
Error at line 2
ORA-00936: missing expression
Script Terminated on line 1.
Edited by: user603328 on Dec 10, 2010 7:26 AMThanks ur reply...
I am getting below issue....
select
(select INSTANCE_NAME||'_'||HOST_NAME from v$instance ) "db_name_host_name",
tablespace_name tablespace,
sum(file_cnt) "# of Files",
(sum(tp)-sum((fs + (tp-tc))))/1048576 "Used (M)",
sum(tc)/1048576 "Allocated (M)",
sum(tp)/1048576 "Max Extend (M)",
round(max(100 - (100*((fs + (tp-tc))/tp)))) " % of Max Used"
from ( select b.tablespace_name, nvl(a.free_space, 0) fs,
b.total_poss_space tp,
b.total_curr_space tc,
b.file_cnt,
b.tablespace_name ts_name
from (
select sum(bytes) free_space,
tablespace_name
from dba_free_space
group by tablespace_name
) a,
select sum(decode(autoextensible, 'YES',
maxbytes,
bytes)) total_poss_space,
sum(bytes) total_curr_space,
count(1) file_cnt,
tablespace_name
from dba_data_files
group by tablespace_name
) b
where a.tablespace_name (+) = b.tablespace_name
group by tablespace_name
having max(100 - (100*((fs + (tp-tc))/tp))) >=80
Error at line 2
ORA-00936: missing expression
Script Terminated on line 1. -
Performance Tuning for ECC 6.0
Hi All,
I have an ECC 6.0EP 7.0(ABAPJAVA). My system is very slow. I have Oracle 10.2.0.1.
Can you please guide me how to do these steps in the sytem
1) Reorganization should be done at least for the top 10 huge tables
and their indexes
2) Unaccessed data can be taken out by SAP Archiving
3)Apply the relevant corrections for top sap standard objects
4) CBO update statistics must be latest for all SAP and customer objects
I have never done performance tuning and want to do it on this system.
Regards,
JitenderHi,
Below are the details of ST06. Please suggest me what should I do. the system performance is very bad.
I require your inputs for performance tuning
CPU
Utilization user % 3 Count 2
system % 3 Load average 1min 0.11
idle % 1 5 min 0.21
io wait % 93 15 min 0.22
System calls/s 982 Context switches/s 1752
Interrupts/s 4528
Memory
Physical mem avail Kb 6291456 Physical mem free Kb 93992
Pages in/s 473 Kb paged in/s 3784
Pages out/s 211 Kb paged out/s 1688
Pool
Configured swap Kb 26869896 Maximum swap-space Kb 26869896
Free in swap-space Kb 21631032 Actual swap-space Kb 26869896
Disk with highest response time
Name md3 Response time ms 51
Utilization 2 Queue 0
Avg wait time ms 0 Avg service time ms 51
Kb transfered/s 2 Operations/s 0
Current parameters in the system
System: sapretail_RET_01 Profile Parameters for SAP Buffers
Date and Time: 08.01.2009 13:27:54
Buffer Name Comment
Profile Parameter Value Unit Comment
Program buffer PXA
abap/buffersize 450000 kB Size of program buffer
abap/pxa shared Program buffer mode
|
CUA buffer CUA
rsdb/cua/buffersize 3000 kB Size of CUA buffer
The number of max. buffered CUA objects is always: size / (2 kB)
|
Screen buffer PRES
zcsa/presentation_buffer_area 4400000 Byte Size of screen buffer
sap/bufdir_entries 2000 Max. number of buffered screens
|
Generic key table buffer TABL
zcsa/table_buffer_area 30000000 Byte Size of generic key table buffer
zcsa/db_max_buftab 5000 Max. number of buffered objects
|
Single record table buffer TABLP
rtbb/buffer_length 10000 kB Size of single record table buffer
rtbb/max_tables 500 Max. number of buffered tables
|
Export/import buffer EIBUF
rsdb/obj/buffersize 4096 kB Size of export/import buffer
rsdb/obj/max_objects 2000 Max. number of objects in the buffer
rsdb/obj/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/obj/mutex_n 0 Number of mutexes in Export/Import buffer
|
OTR buffer OTR
rsdb/otr/buffersize_kb 4096 kB Size of OTR buffer
rsdb/otr/max_objects 2000 Max. number of objects in the buffer
rsdb/otr/mutex_n 0 Number of mutexes in OTR buffer
|
Exp/Imp SHM buffer ESM
rsdb/esm/buffersize_kb 4096 kB Size of exp/imp SHM buffer
rsdb/esm/max_objects 2000 Max. number of objects in the buffer
rsdb/esm/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/esm/mutex_n 0 Number of mutexes in Exp/Imp SHM buffer
|
Table definition buffer TTAB
rsdb/ntab/entrycount 20000 Max. number of table definitions buffered
The size of the TTAB is nearly 100 bytes * rsdb/ntab/entrycount
|
Field description buffer FTAB
rsdb/ntab/ftabsize 30000 kB Size of field description buffer
rsdb/ntab/entrycount 20000 Max. number / 2 of table descriptions buffered
FTAB needs about 700 bytes per used entry
|
Initial record buffer IRBD
rsdb/ntab/irbdsize 6000 kB Size of initial record buffer
rsdb/ntab/entrycount 20000 Max. number / 2 of initial records buffered
IRBD needs about 300 bytes per used entry
|
Short nametab (NTAB) SNTAB
rsdb/ntab/sntabsize 3000 kB Size of short nametab
rsdb/ntab/entrycount 20000 Max. number / 2 of entries buffered
SNTAB needs about 150 bytes per used entry
|
Calendar buffer CALE
zcsa/calendar_area 500000 Byte Size of calendar buffer
zcsa/calendar_ids 200 Max. number of directory entries
|
Roll, extended and heap memory EXTM
ztta/roll_area 3000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 4092 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
|
Statistic parameters
rsdb/staton 1 Statistic turned on (1) or off (0)
rsdb/stattime 0 Times for statistic turned on (1) or off (0)
Regards,
Jitender -
Roll area on disk is 0 in ST02
Hi experts.
I cannot find an answer for this question. After tuning our parameters for roll area the transaction ST02 shows 0 KB for "roll area on disk".
SAP Memory % Curr.Use Cur.use[KB Max.use[KB In mem[KB] On disk[KB SAPCurCach Hitratio %
Roll area 0,78 2.047 104.584 262.144 0 IDs 99,77
Why? Is that normal? Because there was nothing used?
Here are my parameters:
Roll, extended and heap memory EXTM
ztta/roll_area 50000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 1600000 Byte Short area per workprocess
rdisp/ROLL_MAXFS 32768 8 kB Maximum roll file size
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 10000 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only
em/global_area_MB 96 MB Extended global memory
ztta/roll_extension 1000000000 Byte Max. extended mem. per session (external mode
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 1500000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
abap/shared_objects_size_MB 20 MB Shared objects
We are using Solaris 10:
Monitoring Category
Description
Value
Unit
Info
Operating system
SunOS sapbwp 5.10 Generic_147440-25
Info
Timestamp
13.03.2015 10:36:40
Info
Hostname
sapbwp
Virtualization Configuration
Host System Information
Solaris
Virtualization Configuration
Solution
Solaris Container
Virtualization Configuration
Solution Version
Solaris Zone
Virtualization Configuration
Type
CPU
Average processes waiting ( 5 min)
9,00
CPU
Number of CPUs
256
CPU
I/O Wait
0
CPU
System Utilization
0
CPU
User Utilization
0
CPU
Idle
0
Memory
Physical memory
52.428.800
KB
Memory
Configured swap size
78.643.200
KB
Memory
Free swap size
21.934.728
KB
Memory
Maximum swap size
78.643.200
KB
Memory
Actual swap size
78.643.200
KB
Memory
Free
247
Memory
Page In
0
KB/s
Memory
Page Out
0
KB/s
Memory
Page In of RAM
0
%/h
Memory
Page Out of RAM
0
%/h
Thanks in advance.Hello,
That does not sound abnormal, if there is enough space in the part of roll that is in memory no overflow to disk is required.
What is your system version, Roll memory has gone in 740 version...
2085980 - New features in memory management as of Kernel Release 7.40
Furthermore the Roll Memory became obsolete since SAP_KERNEL 740.
Best regards -
Slow Perforamnce while executing the customizing program
HI All
My Prd server hardware are consist of 2 itanium processor, 8gb ram and 20gb pagefile with the 500 GB SAN Storage for the datadisk.
I have almost 250 users on my PRD server over the 8 branches with the WAN connectivity. I have been set the 15 wp, 4 update process, 4 background process, 1 spool and UP2. Also, my profile parameter are paste down.
Always, i have slow perforamnce issue with the following setting, my hardware are enough to handle these requese as we did sizing in the begining of the project and have been monitoring my hardware by the st06 and st03n workload performance
Is there anyone expert to analyze my problem and parameter and share his expereince to add or modify the below parameter which will boom the performance.
System: DBSERVER1_PRD_02 Profile Parameters for SAP Buffers
Date and Time: 13.10.2007 11:49:53
Buffer Name Comment
Profile Parameter Value Unit Comment
Program buffer PXA
abap/buffersize 400000 kB Size of program buffer
abap/pxa shared Program buffer mode
|
CUA buffer CUA
rsdb/cua/buffersize 10000 kB Size of CUA buffer
The number of max. buffered CUA objects is always: size / (2 kB)
|
Screen buffer PRES
zcsa/presentation_buffer_area 20000768 Byte Size of screen buffer
sap/bufdir_entries 10000 Max. number of buffered screens
|
Generic key table buffer TABL
zcsa/table_buffer_area 100000768 Byte Size of generic key table buffer
zcsa/db_max_buftab 10000 Max. number of buffered objects
|
Single record table buffer TABLP
rtbb/buffer_length 60000 kB Size of single record table buffer
rtbb/max_tables 500 Max. number of buffered tables
|
Export/import buffer EIBUF
rsdb/obj/buffersize 40000 kB Size of export/import buffer
rsdb/obj/max_objects 20000 Max. number of objects in the buffer
rsdb/obj/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/obj/mutex_n 0 Number of mutexes in Export/Import buffer
|
OTR buffer OTR
rsdb/otr/buffersize_kb 4096 kB Size of OTR buffer
rsdb/otr/max_objects 2000 Max. number of objects in the buffer
rsdb/otr/mutex_n 0 Number of mutexes in OTR buffer
|
Exp/Imp SHM buffer ESM
rsdb/esm/buffersize_kb 4096 kB Size of exp/imp SHM buffer
rsdb/esm/max_objects 2000 Max. number of objects in the buffer
rsdb/esm/large_object_size 8192 Bytes Estimation for the size of the largest object
rsdb/esm/mutex_n 0 Number of mutexes in Exp/Imp SHM buffer
|
Table definition buffer TTAB
rsdb/ntab/entrycount 29989 Max. number of table definitions buffered
The size of the TTAB is nearly 100 bytes * rsdb/ntab/entrycount
|
Field description buffer FTAB
rsdb/ntab/ftabsize 60004 kB Size of field description buffer
rsdb/ntab/entrycount 29989 Max. number / 2 of table descriptions buffered
FTAB needs about 700 bytes per used entry
|
Initial record buffer IRBD
rsdb/ntab/irbdsize 8000 kB Size of initial record buffer
rsdb/ntab/entrycount 29989 Max. number / 2 of initial records buffered
IRBD needs about 300 bytes per used entry
|
Short nametab (NTAB) SNTAB
rsdb/ntab/sntabsize 3000 kB Size of short nametab
rsdb/ntab/entrycount 29989 Max. number / 2 of entries buffered
SNTAB needs about 150 bytes per used entry
|
Calendar buffer CALE
zcsa/calendar_area 500000 Byte Size of calendar buffer
zcsa/calendar_ids 200 Max. number of directory entries
|
Roll, extended and heap memory EXTM
ztta/roll_area 3000320 Byte Roll area per workprocess (total)
ztta/roll_first 1024 Byte First amount of roll area used in a dialog WP
ztta/short_area 4000000 Byte Short area per workprocess
rdisp/ROLL_SHM 32768 8 kB Part of roll file in shared memory
rdisp/PG_SHM 16384 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 5600 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4096 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 0 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 5872025600 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 1 Paging for flat tables used (1) or not (0)
|
Statistic parameters
rsdb/staton 1 Statistic turned on (1) or off (0)
rsdb/stattime 0 Times for statistic turned on (1) or off (0)
REgards
Anwer WaseemHi
Thanks to all of you sharing your experience.
I have been noticed that whenever our users are executing the cuztomized program via t-code or calling from sub-programs then the following counters values are increasing which are as follows:-
1) # Steps ( number of dialague steps )
2) O Time (Average response time / dialague step (ms))
3) O CPU~ (Average CPU time (ms) )
4) T DB Time (Total DB Time (s) )
5) O DB Time (Average DB Time per dialague steps (ms) )
Also, i am pasting the search result of abap program which is reading the data from the specfic table without the index which are as follows:-
1) READ TABLE I_TVKBZ WITH KEY VKBUR = MUGRP.
2) READ TABLE I_TVKBZ WITH KEY VKBUR = MUGRP.
3) read table I_VBPA with key vbeln = i_final1-vbeln
posnr = i_final1-posnr
parvw = 'VE' .
4) read table I_VBPA with key vbeln = i_final1-vbeln
posnr = i_final1-posnr
parvw = 'WE' .
5) READ TABLE i_ship with key kunnr = I_VBPA-kunnr.
6) READ TABLE I_FINAL INDEX RS_SELFIELD-TABINDEX.
7) READ TABLE S_VKBUR INDEX 1.
Please advise us .
REgards
Anwer Waseem
SAP BASIS -
Prod. system periodically into swap
Hi all
I have problem with dialog production instance. Periodically dialog going into swap and when swap is full accordingly instance is not responding.
Configuration:
ECC 5.0 Oracle 9.2 Solaris 10
I want to understand what options are actually used physical memory?
CI 16G RAM + 5.8G Oracle SGA:
ztta/roll_area 3000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 5000 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 90000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
dialog 16G RAM:
ztta/roll_area 3000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 3200000 Byte Short area per workprocess
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 12000 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
In st02 on both prod. instance i have red swaps:
Field description, Initial records, CUA, Screen, Generic Key, Single record, Export/Import.
CI:
Hitratio % = 97.57
90.00
dialog:
Hitratio % = 98.73
87.00
The average number of users per day : CI: 47
dialog 58
Tell me please what could be the problem and how to solve it?Andrey i can see your system has been configured incorrectly
Your total extended memory for the instance (em/initial_size_MB) is 5GB and maximum extended memory each work process can use is is 2 GB (ztta/roll_extension) . so incase you have 3 work process who want to use 2GB of extended memory you will be already exhausted because your total extended memory is 5 GB.
Below is my recommendation assuming you do not have any other instances on each of the CI and Dialog instance box.
em/initial_size_MB = 12 GB
ztta/roll_extension = 300~600 MB
Heap Area for dialog = 1.5 GB
Heap Area for Non diag = 4 GB
No of diag WP = 20
No of Btc WP = 15
Note : Our normal thought process is we have to multiply no of (diag+BTC) wp and ztta/roll_extension to arrive at a figure for
em/initial_size_MB but that is not the right way of calculating because not all the work process are going to use extended memory only few use them in case some memory consuming reports are ran.
Try them out and let me know. Keep a good luck on ST02 and ST03.
Cheers !
Manish Jain -
Hi, we have problem with proccesses going to PRIV mode (SAPHTTP), extended memory:
Roll, extended and heap memory EXTM
ztta/roll_area 3000000 Byte Roll area per workprocess (total)
ztta/roll_first 1 Byte First amount of roll area used in a dialog WP
ztta/short_area 1600000 Byte Short area per workprocess
rdisp/ROLL_SHM 16384 8 kB Part of roll file in shared memory
rdisp/PG_SHM 8192 8 kB Part of paging file in shared memory
rdisp/PG_LOCAL 150 8 kB Paging buffer per workprocess
em/initial_size_MB 4092 MB Initial size of extended memory
em/blocksize_KB 4096 kB Size of one extended memory block
em/address_space_MB 4092 MB Address space reserved for ext. mem. (NT only)
ztta/roll_extension 2000000000 Byte Max. extended mem. per session (external mode)
abap/heap_area_dia 2000000000 Byte Max. heap memory for dialog workprocesses
abap/heap_area_nondia 2000000000 Byte Max. heap memory for non-dialog workprocesses
abap/heap_area_total 2000000000 Byte Max. usable heap memory
abap/heaplimit 40000000 Byte Workprocess restart limit of heap memory
abap/use_paging 0 Paging for flat tables used (1) or not (0)
have You any advice?
ThanksHi,
A process going into PRIV means that either it has exhausted its quota of extended memory (ztta/roll_extension) or that the total extended memory (em/initial_size_MB) has been used up by other sessions.
The parameters look pretty standard, but you must determine the memory usage at the time you see a PRIV process. Do this via SM04 -> Goto -> Memory.
Another piece of advice: when you ask a question about memory-related issues, please always mention your operating system (Windows, UNIX, Linux, ...), O/S release and SAP release. SAP memory management has quite a few platform dependencies in it.
Regards,
Mark -
Top 10 SAP Human Capital Management (HCM) Articles of 2010
These were the Top 10 SAP Human Capital Management (HCM) Articles of 2010 and contain very valuable information for HCM Forum Members.
/people/jarret.pazahanick/blog/2010/12/02/top-10-sap-human-capital-management-hcm-articles-of-2010Ameya Joshi wrote:
> Hi Mark,
>
> Can you please clear these doubts as well
>
> Size of extended memory ..........KB . Is this too allocated from Physical+Swap or only Physical or only Swap ?
extended memory is allocated within the address space of virtual memory, OS manage each page of the extended meory whether it should be allocated to physical memory or "swap", you'd think virtual memory is a layer on top of physical memory + swap, rather than "different type of memory"
>
> parameter em/initial_size_MB i think only limits the total usage of extended memory by all wp , am i right?
parmeter for max extended memory is depending on WAS version (incl. OS version)
e.g. for Linux and windows it's em/max_size_MB
and also it's limited by OS (sap does have os dependent EM parameters) and em/blocksize_KB, check the note 835474 please.
>
> If yes then this parameter can be increased till amount of physical or physical+swap?
see my comment above
Edited by: Denny Liao on May 13, 2010 2:37 PM
Maybe you are looking for
-
Business Area Wise outstanding Bills During Vendor Payment
Hi All, We have two Business Area, Vendor and Customer Invoices are generating Bus Area wise, During Payment to Vendor Or Customer i am getting both the Business Area outstanding bills, but our requirement is when doing payment only respective busin
-
Hi, I would like to know if Apple is planning to add more African countries to its list of Itunes Store countries (and if so aproximately when). NYC or in London. Here is my issue. I have moved from London to Abidjan (Ivory Coast) over a year ago and
-
Ideacentre B305 as an external monitor for another computer?
Can I use my ideacentre B305 as an external monitor for another computer?
-
I am trying to clean-up Solution Manager Projects. When I try to delete one of the projects, I get the message "Project ZKATCHARM is already used in Change Request Management." So I went into the Change Requests tab under System Landscape. The "Activ
-
BP Group Hierarchy - Partner determination
Hi gurus, we have an issue determining the partner function 'Hierarchy Node Partner' on the transaction opportunity. We have setup a Business Partner Group Hierarchy, and would like to determine the Hierarchy Partner in the Opportunity based on the P