How to query the current instance size of an instance of a process
Hello guys,
I'm currently doing a Capacity Plan for my BPM enviroment and I would like to know the current instance size of different kind of processes deployed in my environment. I'll need this to calculate an average instance size per process. The main reason for this capacity plan is that our environment instance size is configured to more then 1000kb(don't know what kind of issues occurred in the past that led to this exceeded value configured) and I don't want to leave this configuration but I can't be safe decreasing it without know if our production environment will start launching the "Max Instance Size Exceeded" error.
Is there any way to fetch this information? Any API or SQL Query where I can find this information?
Thanks for any help.
Regards,
Luiz
Edited by: Luiz Rocha on 30/04/2009 16:50
Hi, Luiz!
In order to estimate the instance size, you will have to sum up all the instance variables size.
From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
For already existing instances, you can look the instance size in the database:
An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
And yes, with large instances you can have performance problems.
Similar Messages
-
How to get the current Mailbox size
Hi,
Does anyone know how to get the current size of Mailbox and Archive by using GW api?Originally Posted by NanLau
Hi,
Does anyone know how to get the current size of Mailbox and Archive by using GW api?
Can anyone answer this? Thanks. -
How to Find the Current Instance Id in Oracle 10g
Hi,
how to find the current instance id in oracle 10g studio,
I have the below code :
if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
/// do something
it is saying that "'processInstance' is not a function"
Thanks,
Brijesh Kumar Singh.Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
Dan -
How to check the current EHP stack level? in SAP
Dear All,
How to check the current EHP stack level? in SAP . i have checked forum before i am posting but still comfused .
same one said SAP_APPL , EA_Appl and SAP _HR is 60n if n=1.2.3.4. if n =1 is enhanced package 1 similarly 2,3,4 .
some one said SAP_BASIS 701,702,703,704 . according ehp1,2,3,4.
Pls check the details and confirm either is ehp1 or ehp4 .
Component version is simply shows SAP ECC 6.0 in system -> status.
Software Component - Release - SP level
SAP_ABA 701 0007
SAP_BASIS 701 0007
PI_BASIS 701 0007
ST-PI 2008_1_700 0003
SAP_BS_FND 701 0008
SAP_BW 701 0007
SAP_AP 700 0021
WEBCUIF 700 0008
SAP_APPL 604 0008
SAP_HR 604 0029
SAP_HRCAR 604 0029
SAP_HRCAT 604 0029
SAP_HRCAU 604 0029
SAP_HRCBE 604 0029
SAP_HRCBR 604 0029
SAP_HRCCA 604 0029
SAP_HRCCH 604 0029
SAP_HRCCL 604 0029
SAP_HRCCN 604 0029
SAP_HRCDE 604 0029
SAP_HRCDK 604 0029
SAP_HRCES 604 0029
SAP_HRCFI 604 0029
SAP_HRCFR 604 0029
SAP_HRCGB 604 0031
SAP_HRCHK 604 0029
SAP_HRCID 604 0029
SAP_HRCIE 604 0029
SAP_HRCIN 604 0029
SAP_HRCIT 604 0029
SAP_HRCJP 604 0029
SAP_HRCKR 604 0029
SAP_HRCMX 604 0029
SAP_HRCMY 604 0029
SAP_HRCNL 604 0029
SAP_HRCNO 604 0029
SAP_HRCNZ 604 0029
SAP_HRCPH 604 0029
SAP_HRCPT 604 0029
SAP_HRCRU 604 0029
SAP_HRCSE 604 0029
SAP_HRCSG 604 0029
SAP_HRCTH 604 0029
SAP_HRCTW 604 0029
SAP_HRCUN 604 0029
SAP_HRCUS 604 0029
SAP_HRCVE 604 0029
SAP_HRCZA 604 0029
SAP_HRGXX 604 0029
SAP_HRRXX 604 0029
EA-IPPE 400 0018
EA-APPL 604 0008
EA-DFPS 600 0018
EA-FINSERV 604 0007
EA-GLTRADE 604 0008
EA-HR 604 0029
EA-HRCAR 604 0029
EA-HRCAT 604 0029
EA-HRCAU 604 0029
EA-HRCBE 604 0029
EA-HRCBR 604 0029
EA-HRCCA 604 0029
EA-HRCCH 604 0029
EA-HRCCN 604 0029
EA-HRCDE 604 0029
EA-HRCDK 604 0029
EA-HRCES 604 0029
EA-HRCFI 604 0029
EA-HRCFR 604 0029
EA-HRCGB 604 0029
EA-HRCHK 604 0029
EA-HRCID 604 0029
EA-HRCIE 604 0029
EA-HRCIN 604 0029
EA-HRCIT 604 0029
EA-HRCJP 604 0029
EA-HRCKR 604 0029
EA-HRCMX 604 0029
EA-HRCMY 604 0029
EA-HRCNL 604 0029
EA-HRCNO 604 0029
EA-HRCNZ 604 0029
EA-HRCPH 604 0029
EA-HRCPT 604 0029
EA-HRCRU 604 0029
EA-HRCSE 604 0029
EA-HRCSG 604 0029
EA-HRCTH 604 0029
EA-HRCTW 604 0029
EA-HRCUN 604 0029
EA-HRCUS 604 0029
EA-HRCVE 604 0029
EA-HRCZA 604 0029
EA-HRGXX 604 0029
EA-HRRXX 604 0029
EA-PS 604 0007
EA-RETAIL 604 0007
FINBASIS 604 0008
ECC-DIMP 600 0018
ERECRUIT 604 0008
FI-CA 604 0008
FI-CAX 604 0007
INSURANCE 600 0018
IS-CWM 600 0018
IS-H 600 0024
IS-M 600 0018
IS-OIL 600 0018
IS-PS-CA 604 0007
IS-UT 600 0018
LSOFE 600 0018
SEM-BW 604 0008
ST-A/PI 01M_ECC600 0001
Regards
Edited by: satheesh0812 on Nov 17, 2011 7:57 AMHi Sateesh,
SAP_ABA 701 0007
SAP_BASIS 701 0007
PI_BASIS 701 0007
ST-PI 2008_1_700 0003
SAP_BS_FND 701 0008
SAP_BW 701 0007
SAP_AP 700 0021
WEBCUIF 700 0008
SAP_APPL 604 0008
Based on the component information provided by you, I can conclude that your system is ECC 6.0 EHP4.
EHP4 is derived from your component SAP_APPL 604.
In addition to this your EHP4 system has NW stack on NW 7.0 EHP1.
Hence your system is ECC 6.0 EHP4 with NW 7.0 EHP1.
Hope this answers your query.
Regards,
Deepak Kori -
How to get the current date ? in the form of dd/mm/yyyy?
Hi all,
As getDate( ), getMonth( ), and getYear( ) is depricated, how to get the current date or System date, month and year ? please help ??
Regards
AshviniHI,
Than u for the reply. But i am getting one error.
as u said, I tried to do so.........
but, i am getting one error.
code
Calendar cald=(Calendar.getInstance.getTime());
out.println(cald);
error message
validate$jsp.java:86: Attempt to reference method getInstance in class java.util.Calendar as an instance variable.
Calendar cald=(Calendar.getInstance.getTime());
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
Pls help
Regards,
Ashvini -
How to get the current JSF phase in backing bean?
How to get the current JSF phase in backing bean?
Edited by: jimmy6 on Nov 27, 2007 7:27 AMI am using phasetracker to trace it also.I want to know whether it is it render response phase. I know FacesContext.getCurrentInstance().getRenderResponse() work for normal jsf component but it will not work for qiupukit datatable. FacesContext.getCurrentInstance().getRenderResponse() will not return true in the following phase. Why?
[ INFO] 27-11-07 16:20:21 : BEFORE RENDER_RESPONSE(6) (http-80-Processor23)
I want the 'get' method of datatable being called in response phase to reduce the number of calling because i put the query in 'get' method there. Actually i still straggling with the best practice to code the datatable... -
How to display the current date in the prompt value.
Hi,
How to display the current date in the prompt value. When the user runs the query he want the current date to be displayed in the prompt value and he should also be able to change the date if required ...... I am using web Intellegency BO XI3.0.
Thanks,
Shakthi.Please refer the below link.
Prompt with default date ( currentdate-1 and current date-8)
http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
Regards,
Bilahari -
Dear All,
My testing engineers are checking the application from front end, i have to find the current SQL (What SQL queries are used in the application) statements in the back end.
Please let me know how to find the current executing SQL stements.
Thanks in advance
MahiYou need to join this query with one more table - v$sqlstats. There are many statistics in particular cpu_time, elapsed_time etc stored in that table for each sql statement.
You can join v$sqlstats by sql_id until you have multiple child cursors for single statement.
Or you can just join to v$sql and get statistics from there and in this latter case you include child_number column to distinguish child cursors from each other.
Best Regards,
Alex -
How to calculate the HFM Cube size in SQL Server-2005
Hi
How to calculate the HFM Cube size in SQL Server-2005 ?
Below query used for Oracle. Then what is query for SQL Server?
SQL> select sum(bytes/1024/1024) from dba_segments where segment_name like 'FINANCIAL_%' and owner='HFM';
SUM(BYTES/1024/1024)
SQL> select sum(bytes/1024/1024) from dba_segments where segment_name like 'HSV FINANCIAL%' and owner='HFM';
SUM(BYTES/1024/1024)
Regards
SmileeWhat is your objective? The subcube in HFM is a concept which applies to the application tier - not so much to the database tier. The size of the subcube is the unique number of data strips (data values for January - December inclusive, for example) for the given entity, currency triplet or Parent.Child node. You have to account for parent accounts and customs which don't exist in the database but are generated in RAM in the application tier.
So, if your objective is to find the largest subcubes, you could do this by querying the database and counting the number of records per entity/value (DCE tables) or parent.child entity combination (DCN tables). I'm not versed in SQL, but I think the script below would just tell you the schema size and not the subcube sizes.
Check out Accelatis.com for a third party software product that can do this for you. The feature is called the Subcube Analyzer and was written by the same team that wrote HFM, so they ought to know how this works :-)
--chris -
How to get the personal folder size
Hi,
I'm trying to develop a method for define the maximum size of personal documents folder. I'm changing the Upload Command, and I want to know if its possible to get the current size of the personal documents folder for the user that is trying to upload the document.
For this moment, I've got the current UserID, and I have created an RID with the path "userhome/UserID/Personal Documents", but now I don't know how to get the size of this folder!!!!
Thanks to all.
Arnau RoviraOriginally Posted by NanLau
Hi,
Does anyone know how to get the current size of Mailbox and Archive by using GW api?
Can anyone answer this? Thanks. -
Does anyone know if it is possible to get rid of the message 'Could not use the history eraser because the current canvas size does not match that of the history state'?. It comes up if I hit the alt/option key while I have the eraser selected. Something I do by accident all the time.
The way you've described it, one gets the distinct impression you do not have a clue as to what the history brush does and how to use it.
You need to read up on it. Read the Help files and google for tutorials.
First you need to create an image (with actual pixels in it), edit it as desired, then make a snapshot of the edited image, then target the snapshot with the history brush tool, then go back in the History panel to the step before your edits and selectively paint your edits in with the History Brush. -
How to change the default window size display font size on Lync 2013 main window?
Hi champs,
Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
Thanks,Hi,
Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
If not, as I know, there is no natural way to change it.
If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
How to get the current path of my application in java ?
how to get the current path of my application in java ?
thanksTo get the path where your application has been installed you have to do the following:
have a class called "what_ever" in the folder.
then you do a litte:
String path=
what_ever.class.getRessource("what_ever.class").toString()
That get you a string like:
file:/C:/Program Files/Cool_program/what_ever.class
Then you process the result a little to remove anything you don't want:
path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
//Might be a little error here but you should find out //quickly if it's the case
And here you go, you have a nice
C:/Program Files/Cool_program
which is the path to your application.
Hooray -
How to calculate the Current APC (Acquisition and Production Cost)
Hi,
Please help me how to calculate the Current APC.
The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line Acquisition Value and column Posted values.
I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic.
Please help me.
Thanks in advance,
SatishHi,
you'll find the logic in fm FI_AA_VALUES_CALCULATE
A. -
How to calculate the Current APC
Hi,
Please help me how to calculate the Current APC.
The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line Acquisition Value and column Posted values.
Thanks in advance,
SatishHi,
I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic where it is being done.
Please help me.
Thanks in advance,
Satish
Maybe you are looking for
-
Please, How can I cancel my Apple ID?! Is there any way to do it?! Thanks
-
I am using CQ 5.5. A customer site that I have the task of bringing into CQ included the use webfonts from Font Squirrel. Usually I deploy through Maven and noticed when I checked the site with Firefox, the fonts are not being used and Firefox is dis
-
Why does my mac slow down my download speed?
Hello, I just bought my macbook pro(retina) and downloaded mozilla firefox ,but it shows that the download speed is 40 KB/s (it should be 140-160 KB/s) any1 can help me?
-
Lightroom and new Raw Converters
In Photoshop we will get about each 3 months new Raw-/DNG-converters. This was in CS, CS2 and I think it will be also in CS3. Does anyone know, how to integrate new raw-converters in Lightroom? Will we get parallel with raw Converter 4.0 / 4.1 / 4.2
-
Fill in some message in a dialong
Hi, I want to make a dialog , I can write some message like user name ,password in it .When I run a VI , It can pop up . Thaks in advance.