DBAN reports 250 tablescans within 60sec - how to find the statements/field
Hello,
I try to fix performance/cache-hit-rate problems on a MaxDB v 7.5.00.44.
I've fixed and improved several effects but there is still a pure Data-Cache-Hitrate
> Cache Sizes
>
>
> I/O Buffer Cache: 1.562,50 MB
>
> Data Cache: 1.549,00 MB
> Converter: 12,88 MB
> Misc.: 0,62 MB
>
> Catalog Cache: 411.648,00 MB
>
> Sequence Cache: 0,01 MB
>
> Cache Accesses
>
> Acesses Successful Unsuccessful Hit Rate
>
> Data Cache: 8.143.185.274 7.915.878.680 227.306.594 97,21 %
> SQL Data: 8.140.734.533 7.913.427.939 227.306.594 97,21 %
>
> History/Undo: 2.450.874 2.450.874 0 100,00 %
>
> Catalog Cache: 3.334.089.052 3.150.536.080 183.554.889 94,49 %
> Sequence Cache: 1.063 1.062 1 99,91 %
>
> Parameters
>
> CACHE_SIZE: 200000
>
> CAT_CACHE_SUPPLY: 52690944
>
> USE_MEM_ENHANCE:
>
> MEM_ENHANCE_LIMIT:
The DB-analyzer with interval 60 sec reports to me that there are more than 200 table-scans within a minute
> ===== #2 at 2008-03-26 14:46:17
> * I SQL commands executed: 10859, avg. 182.11 per second
> CON: PureSQL_Cmds > INTERVAL * 5
> VAL: 10859 > 61 * 5
> * W3 Data cache hitrate (SQL Pages) 80.69%, 448569 of 2322671 accesses failed
> CON: DC_Hit < 96 && ( PReads ) > MAX_IDLE_IO_ALL_DEVS
> VAL: 80.69 < 96 && ( 448570 ) > 2440
> ACT: In addition to enlarging the data cache (note the paging risk of the operating system), search for the cause of the high read activity. Frequently, individual SQL statements cause a high percentage of the total logical and physical read activities. Enlarging the cache only moves the load from the disk to the CPU although an additional index could transform a read-intensive table scan into a cheap direct access.
> DES: For a running database application the data cache hitrate should not be less than 99%, otherwise too much data has to be read physically. Data cache hitrates less than 99% for intervals of 15 minutes or more must be avoided.
> * W3 Selects and fetches selectivity 0.02%: 2779 selects and fetches, 20199200 rows read, 4033 rows qualified
> CON: SelFetSel < 0.3
> VAL: 0.02 < 0.3
> * W1 Updates selectivity 3.66%: 316 updates, 4129 rows read, 151 rows qualified
> CON: UpdSel < 5.0
> VAL: 3.66 < 5.0
> * W3 215 table scans, selectivity 0.00%: 21087692 rows read, 323 rows qualified
> CON: TabScanSel < 0.3
> VAL: 0.00 < 0.3
> * I Number of physical reads: 448570
> CON: PReads > ( 4 * MAX_IDLE_IO_ALL_DEVS )
> VAL: 448570 > ( 4 * 2440 )
My DBA-user holds 273 tables (some with millions of rows) with 563 indizies on it - my feeling is at last one index is still missing...
Our own CRM-system offers the possibility to "click together" requests - what makes it nearly impossible to get reasonable informations concerning the WHERE clauses.
The high amount of tablescans let me think that it must be in a often used function - but i can't figure out which ...
Now I have two questions
1.) Is there any "best-practice" to find out (on server-side) which statement (WHERE-part?)
caused the tablescans ( a trace had no stisfying result to me - maybe you can give
me a hint with the right option and debug-level)
2.) More common question to shared memory resources:
Referring to the parameter "CACHE_IN_SHARED_MEMORY" ( "...can lead to performance problems on NUMA architectures.")
Which CACHE is ment by this parameter - set this to YES and tell OS to share three of four gigs of memory?
Is there any documentation/commendation what is best memory-setup on SMP-Linux?
Any hints are welcome - thanks in advance
Harald Flaucher
Hi,
there is no complex command to start all the command monitor options together. It's correct you must start each option with the seperate command.
This gives the possibility to switch only some of the monitoring options on, if you are searching e.g. those commands which have bad selectivity or high read og data.
Ok - without SMP LOGIN you cannot check the FAQ notes.
About the kernel parameters you will find information when you check the parameters via DBMGUI. This is only a short description about parameters.
You can check the MaxDb documenation if you can find more information about the parameter you are interrested in there:
[param-doku|http://maxdb.sap.com/doc/7_7/44/bd1ec6a5d51388e10000000a155369/frameset.htm]
And you can check the cserv.pcf file to get the dependencies of the serveral parameters to each other.
Check the workshop material as well if you can find more information about the parameters there: [maxdb.sap.com|http://maxdb.sap.com]
Hope this will help.
Regards, Christiane
Similar Messages
-
How to find the Databse field used in which Transaction
Hi,
I have one query about:
How to find the particular field from the Database table, used in which transaction?
Bottomline: I want to find the LIKP- LIFEX field, used in which Transaction. I know it is related to inbound delivery, but i couldn't find it in which transaction it is.
Thanks in advance.
Jai.Hi Jai,
The field is called External ID which equal to LIKP-LIFEX or RV50A-VERUR_LA (structure).
Path:
Goto -> Header -> Administration -> External ID.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
How to find the structure fields data in database tables?
how to find the structure fields data in database tables?
Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related. There are several other more general ABAP related forums.
-
How to find the statement by statementid
I get the statementid from dba_audit_object. From there how can I find the sql statement associated with the statementid? Is there a DBA view for this?
I think that means you are auditing an object, so that is not statement auditing, so there is no statement id.
Also see http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:745878232038
Edit: and [url http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG90022]extended mode
Edited by: jgarry on Oct 24, 2011 2:02 PM -
How to find the corresponding field in r/3 to a info object in a cube?
Hi,
In a cube I have an info object WKNO and data is loaded from r/3 through a process chain to that cube.
now i need to check from which field and table in r/3 the data is coming to the info object?Hi
You can take the datasource name for the Cube and the infoobject
Then pass this to table RSOFIELDMAP , to get the corresponding R/3 fieldname
And for R/3 table u need to check datasources definition in BI content library
May b if ur datasource is there in below the link u can follow the tables to get the exact field source
https://wiki.sdn.sap.com/wiki/display/BI/BW%20SD%20MM%20FI%20DATASOURCES
Hope this helps
Sonal..... -
How to find a crm field in the bi content
Hi all,
in r/3 we have been using rsosfieldmap table to find the infoobject existing in the bi system and can u tell me how to find the crm field whether that particular infoobject is existing or not in the bicontent.
Regards,
NaveenHI Naveen,
Check for the filed source table -- next find the data source used--> you can search in help.sap.com for the related BI content BW info objects
Rsosfiledmap table is used to find the respective Bw filed to which its mapped. this table can be used only if the fileds are already mapped and exisintg in use in BW system.
i guess u can use the same table to find the Bw info obejct(only if the CRM data source is replicated n used in BW system).
Regards
KP -
How do I find the state (start/stopped) of a Clock?
Does anyone know how to find the State (start/stopped) of a Clock for a Media Player?
Clock doesn't have a getState() method, but Controller does, and he expands the concept of the "stopped" state into "realizing", "realized", "prefetching", etc.
Player subclasses Controller, and Controller subclasses Clock, so you can probably just call getState() on your Player.
--invalidname -
How to find the name of query for a given report
Hi All,
I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
Thanks.
Regards,
Pooja Joshi.Use this FM
RSAQ_DECODE_REPORT_NAME
This FM takes program name as I/P and gives Query Name as O/P.
This FM uses the structure AQADEF to fetch the data.
Hope this helps.
Regards
Vinayak -
How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?
Hi All,
We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.Hi,
Here you go..
1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
This step you get query reference sheet or column or query general UUID for next step.
4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
Hope this helps.
Please keep in mind, it might take more time depends on how many query elements you have in the system...
Comments added for better DB performance by: Arun Thangaraj -
How to find the search help for the parameters stmt in a report
hi
how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statementI am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition "Matchcode Object"
Parameter: a type i matchcode object 'Search Help Name'
Search Help name should be in single quotes.
Regards,
Anubhav.
P.S: Award Points if useful. -
Urgentpls : How to find the Oracle reports and forms version in Unix prompt
Hi,
How to find the Oracle reports and forms version in Unix prompt.
Please give the steps
ThanksI need to check the version of Oracle forms and reportsExample :$ frmcmp.sh -h | head -1
Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
$ rwrun.sh 2>/dev/null | head -2 | tail -1
Report Builder: Release 10.1.2.0.2 - Production on Wed Mar 10 11:17:55 2010
$ -
How to find the hidden objects in Webi Rich client report 4.0 sp 04 ?
Hi,
How to find the hidden objects in Webi Rich client report at BI 4.0 sp 04 ?
Best Regards,
ASRHi Sai,
Go to Report Element Tab-->There you have a Tab Cell Behaviors.
When you flip between 'With Data' and 'Structure Only' under 'Design' Tab,you can see the some cells will be hide/Un hide behavior,if hiding of cells applied.
Select that cell and then Under 'Cell Behaviors'-->'Hide' Tab-->and choose Show Option.
Regards,
Venkat P -
How to find the Last report run date
Hello All,
I have one ALV report.
In that report i have to display the date on which the report was run last time.
The user can run report both in backgroud as well as in forground.
Cay anybody plz tell me how to find the date on which report was run last time.
Thanks and Regards
Sachin YadavHello Sachin,
I agree with Thomas on this. That would be the simplest & fool-proof solutn. Alternatively, you can try to use the stmts: EXPORT/IMPORT TO DATABASE.
Search in SDN you will find [similar posts|Get IP Address and Report Running Date and time;.
BR,
Suhas
Edited by: Suhas Saha on May 18, 2009 3:44 PM -
How to find the reports/Txs that are affected by changes made in NA30
Hi All,
Does anyone know how to find the reports and transactions that are affected by ISH Billing (Interim Billing /Final billing) in hte Tx NA30. I need to modify the some functiionality of Interim billing at NA30 and still maintain the consitenecy of NA30.
Many thanks & Regards,
VijayaNo idea about any such report but from SAP help got following list of billing reports. It might be helpful
RNAABGR0 IS-H: Revenue Accrual
RNAABRKZ IS-H: Change Billing Indicator of a Case
RNABD000 IS-H: Patient Billing
RNABILB0 IS-H: Change Billing Block via Conditions
RNABILB1 IS-H: Change Billing Block via Conditions (Outpatient Cases)
RNADIN03 IS-H: Billing Document Mass Print Program
RNAFSPER IS-H: Change Billing Block
RNANFAL0 IS-H: Set Cases Without Billable Services to "Final Billed"
RNANFAL1 IS-H: Set Outpatient Cases Without Services to "Final Billed"
RNANFAL2 IS-H: Set Fully Billed Cases to "Final Billed"
RNASED00 IS-H: Delete Case Selections
RNASEK00 IS-H: Copy Case Selection
RNASELM0 IS-H: Billing - Process Messages
RNASEL00 IS-H: Case Selection
RNASEL01 IS-H: Case Selection via Outpatient Visits
RNASTO01 IS-H: Cancel Billing Documents for Case [Live Mode]
RNASTO02 IS-H: Cancel Billing Documents for Case: Mass Partial Cancellation [Live Mode]
RNASTO03 IS-H: Cancel Invoice Items per Case (Partial Cancellation) [Live Mode]
RNASTO04 IS-H: Cancel Provisional Invoice
RNAPRV04 IS-H: Cost Reimbursement u2013 Direct Patient Billing
RNAENT00 IS-H: Billing Status of Inpatient Cases
RNA_CASCADE_BILLING IS-H: Cascade Bill Processing -
How to fix the first field or column in classical report while scrolling
i want to know, how to fix the first field or column in classical report while scrolling
horizontally. the first should be constant when i scroll the report horizontally .
please help me.
it's urgent.Hi,
Suppose your first field is itab-matnr.
WRITE :/ itab-matnr.
SET LEFT SCROLL-BOUNDARY.
WRITE :/......."Remianing fields
Maybe you are looking for
-
Officejet Pro 8500 Premier won't print (Mac OSX 10.6)
The printer is detected by my computer and is able to interact with it, but it refuses to print. I restored factory settings with no luck. I downloaded the HP software/drivers for my laptop, ran setup, everything worked...still won't print. Any id
-
Script for Form validator in head causes error
When I use the Window/Behaveiors/ to create a form validator, Dreamweaver CS5 puts script in the Head of page, and seems to work ok. But when I validate page with W3c it says there are errors with code and as Dreamweaver created this I have no idea w
-
Solaris 10 PV-on-HVM drivers (SUNWxvmpv) not working with Xen 4.0.x
I have an HVM Solaris 10 virtual machine guest (domU) running on Xen 4.0.1. I'd like to use a PV (paravirtualized) NIC instead of an emulated NIC, and I know Solaris 10 has pv-on-hvm drivers installed by default (SUNWxvmpv). I'm using Solaris 10 10/0
-
Error 101 when finished download adobe assistent
hello i ve tried to download with adobe downlaod assistant the CS6 master collection (trial ) but when finished the downloading process show up the message : error 101 failed to extract files ,because isn;t enough space,
-
Installing Flash 9 on XP SP3 with IE6
Hi Please could you let me know why I can't install Flash player 9 on an XP SP3 with IE6? I am the QA Manager, and I need to test a website this combination but when I try to install the player, it comes up with a security error saying ... 'The versi