How to decide the minperm for AIX 5.3
I have 10g R2 on AIX 5.3. I want to tune the maxperm and minperm. From the Metalink Note 316533.1 and IBM lib, I can decide the maxperm, but have no idea how to decide the value of minperm. My current vmo -a
vmo -a | egrep "min|max"
maxclient% = 80
maxfree = 1088
maxperm = 743216
maxperm% = 80
maxpin = 784258
maxpin% = 80
minfree = 960
minperm = 185804
minperm% = 20
npsrpgmax = 100352
npsrpgmin = 75264
npsscrubmax = 100352
npsscrubmin = 75264
soft_min_lgpgs_vmpool = 0
strict_maxclient = 1
strict_maxperm = 0
although it is safe based on the metalink note with the performance. Just want to make it little better of paging.
I have 10g R2 on AIX 5.3. I want to tune the maxperm
and minperm. From the Metalink Note 316533.1 and IBM
lib, I can decide the maxperm, but have no idea how
to decide the value of minperm. My current vmo -aCheck document A Administering Oracle Database on AIX , formula for how to decide is given in this doc.
Virag
Similar Messages
-
How to decide the no.of models required for our application implemention
Hi ,
i ahve one basic quetion in WD development.
how to decide the no.of models (aRFC ,EJB..etc ) required or needed to get the functionality of our application ?
for Ex:
my application consisits of belwo functionalities.
1. serach for the country
2.display the bank lis for the above country
3.display the bank details of the selected bank in the step no.2
any one of you explain me how to decide the no.of models required for avoe functionalities .
or is it in a single model we can include the all the above functionalities ?
Regards,
GovinduHi
It all depends on application to application and requirements better to consult with functional guys or team lead what exectly they want to implement .All could be possible with RFC or EJB , some alternatives are
1. serach for the country : For this standard java API is there which populate all country (no need any rfc or ejb)
2.display the bank lis for the above country : (Check if there any webservices for this or create manually value help for this , even if u will use the RFC abaper guys will do the same )
3.display the bank details of the selected bank in the step no : step 2 will solve this also with one additional field i.e address and details.
I hope you agree with the point that stand alone WD app can do these all thing without any model.
Best Regards
Satish Kumar -
In VB Programming code -- How to access the formula for suppressing a field
In VB Programming code -- How to access the formula for suppressing a field
I am using Crystal Reports 2008 v1
Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
My problem is that I am unable to access the formula used to dynamically suppress a field.
The following code is working:
mySections = rd.ReportDefinition.Sections
For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
iloop = 0
For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
myTextObject.Text = "new field text goes here"
mySection.SectionFormat.EnableSuppress = True
' Here is where I want to change the formula for the Suppression
End if
iloop = iloop + 1
Next
Next
I can not find any reference to the actual suppression formula in the SDK help file.
Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten. The results of the formula determine the suppression.
Is there a way to reference this formula. I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.Hello, Mark;
If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
Elaine -
How to obtain the license for the mentioned products.
Hi All,
Please help me in below licensing issues.
1) Our functional team got the below error while accessing "Job Scheduling Workbench".
Error: The Workbench is inaccessible because Oracle Manufacturing Scheduling has not been licensed. Please work with your Account Manger to purchase the license.
2) Another error message while accessing the navigation Flow Manufacturing --> Product Sync --> Flow Routings
Error: APP-BOM 20972: You cannot access this form
Cause: You do not have a license for Oracle Flow Manufacturing.
Action: Obtain a license for Oracle Flow Manufacturing.
Please guide me how to obtain the license for the above products.
Environment: eBS R12.1.3 on Linux 5.8
Regards,
SivaThanks for providing the document. I follow the document and get back to you for any issues.
Regards,
Siva. -
A^b = n ,How to get the value for a ?
a^b = n ===> n = Math.pow(a,b)
How to get the value for a ?
dose Java have API to get the value for a ?
Thanks for help~~~a^b = n
=>
a = n^(1/b)
So,
a = Math.pow(n,1.0/b) -
How to get the date for the first monday of each month
Dear Members,
How to get the date for the first monday of each month.
I have written the following code
SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL
But it look bith complex.
Abhishek
Edited by: 9999999 on Mar 8, 2013 4:30 AMUse IW format - it will make solution NLS independent. And all you need is truncate 7<sup>th</sup> day of each month using IW:
select sysdate current_date,
trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
from dual
CURRENT_D FIRST_MON
08-MAR-13 04-MAR-13
SQL> Below is list of first monday of the month for this year:
with t as(
select add_months(date '2013-1-1',level-1) dt
from dual
connect by level <= 12
select dt first_of_the_month,
trunc(dt + 6,'iw') first_monday_the_month
from t
FIRST_OF_ FIRST_MON
01-JAN-13 07-JAN-13
01-FEB-13 04-FEB-13
01-MAR-13 04-MAR-13
01-APR-13 01-APR-13
01-MAY-13 06-MAY-13
01-JUN-13 03-JUN-13
01-JUL-13 01-JUL-13
01-AUG-13 05-AUG-13
01-SEP-13 02-SEP-13
01-OCT-13 07-OCT-13
01-NOV-13 04-NOV-13
FIRST_OF_ FIRST_MON
01-DEC-13 02-DEC-13
12 rows selected.
SQL> SY. -
I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
import java.io.File;
import java.io.FileNotFoundException;
import java.util.InputMismatchException;
import java.util.Scanner;
public class FileRead {
public static void main(String args[]) {
Scanner scan = null;
File file = new File("Results.txt");
String number;
try {
scan = new Scanner(file);
while (scan.hasNext()){
number = scan.next();
System.out.println(number);}
catch (FileNotFoundException ex1){
System.out.println("No such file");
catch (IllegalStateException ex2){
System.out.println("Did you close the read by mistake");
catch (InputMismatchException ex){
System.out.println("File structure incorrect");
finally{
scan.close();}
}Any hints would be greatly appreciated. Thank you in advanceI have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
This code compiles but at run time it comes up with this error
run-single:
java.lang.NoClassDefFoundError: NamedFile
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 3 seconds)
import java.util.Scanner;
import java.io.*;
class NamedFileInput
public static void main (String[] args) throws IOException
int num, square;
// this Scanner is used to read what the user enters
Scanner user = new Scanner( System.in );
String fileName;
System.out.print("File Name: ");
fileName = user.nextLine().trim();
File file = new File( fileName ); // create a File object
// this Scanner is used to read from the file
Scanner scan = new Scanner( file );
while( scan.hasNextInt() ) // is there more data to process?
num = scan.nextInt();
square = num * num ;
System.out.println("The square of " + num + " is " + square);
}his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!! -
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva -
How to get the ItemKey for a Workflow triggered by an event in Oracle Apps
Hello,
I have added a custom sub process to the seeded "OM Order Header" workflow. The process sends a notification. There are a few attributes in the body of the message tied to this notification, to which I am trying to assign values to using the syntax:
SetItemAttrText (itemtype, itemkey, attrname, attrvalue).
I have the internal names for the item type and attribute name, but don't know how to get the value for the item key. I understand the item key is supposed to be unique for each item type and is automatically generated by the workflow engine when the work flow fires. Is there a built-in function or some means to get this value?
Regards,
SmitaHave you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
Thanks,
Hussein -
How to setup the RV120W for quickvpn
Hello,
The PPTP client from Windows 7 is not working with this router; therefore I would like to try the quickvpn.
Is there any paper from Cisco explaining how to setup the RV120W for quickvpn ?
Thanks for any helpUser Guides for thee rv120W are here:
http://www.cisco.com/en/US/docs/routers/csbr/rv220w/quick_start/guide/rv220w_qsg.pdf
http://www.cisco.com/en/US/docs/routers/csbr/rv120w/administration/guide/rv120w_admin.pdf
and theres some more stuff over on my site:
http://www.linksysinfo.org/index.php?forums/cisco-small-business-routers-and-vpn-solutions.49/ -
How to get the order for these decoration​s?
hello,
I want to programatically resize all the controls, indicators and decorations on the front panel.
I am getting the references of all the controls and indicators and able to resize them, as each n every control and indicator has a tabbing order set to it.
I am also getting the references of all the decoration used on the front panel but not able to get the order.
how to get the order for these decorations?The order of the decorations is the same as the back to front order. So you
can change it by bringing decorations to front, or sending them to the back.
It has been suggested many times that decorations should have labels as well
as controls, but at the moment there is no way to tell which reference
belongs to which decoration (besides position and order).
Regards,
Wiebe. -
I cannot find how to change the language for labels in a quiz
I cannot find how to change the language for labels in a quiz
You have to be aware that this will only change labels if you edit before adding quiz slides: Preferences, Quiz, Default Labels. You will have to edit the labels, choosing another language will not change them automatically.
-
How to change the icon for print dialog?
Hello,
I have a JTable, and with the print() method, I'm able to bring up the Print dialog and successfully print the contents of the table. Example:
myTable.print( JTable.PrintMode.FIT_WIDTH, myHeaderFormat, myFooterFormat );This works great, but one small detail I'd like to change is the icon in the top-left corner of the dialog. The icon is currently the default Java coffee cup icon, while the rest of my application uses my custom icon. I couldn't find any documentation in the API or tutorials that Java has listed which shows how to change the icon, so I'm not even sure if it's possible (but why shouldn't it be?).
My question is this: Is it possible to change the default icon in the print dialog? Or do I have to either make my own print dialog somehow, or use a third-party print dialog?
Thankstjacobs01: Appreciate the assistance (despite your sass). I've already searched the API, tutorials, and this forum. I'm already well aware of the setIconImage() method for JFrame -- after all, that's how I set the icon for my other frames as I previously mentioned. However, I want to set the icon for the print dialog called from the print() method of JTable.
How would I use setIconImage() for the print() method of JTable? The print() method returns a boolean value, not a JFrame, so I'm just not sure how to implement what you're saying.
Thanks -
How to change the Icon for a JFileChooser ?
Has anyone figured out how to change the icon for an instance of JFileChooser from the coffee cup to something else?
I'm on 1.4
Thanks,
KenNever mind. I figured it out.
You have to use an instance of JFrame in the call to showXxxxDialog(Component c). Set the icon of the JFrame to what you want the JFileChooser's icon to be. -
How to change the color for HTML words in JEditorPane?
Hi Sir,
In the JTextPane , we could change the word's color by using:
Style style = doc.addStyle("test",null);
StyleConstants.setForeground(style, Color.red);
doc.setCharacterAttributes(10,20,syle,true);
we can change the text into red color,which range is from 10 to 30.
But how to change the color for HTML words in JEditorPane?Hi,
you can use an AttributeSet to apply the foreground color. Let's say, doc is a HTMLDocument, then SimpleAttributeSet set = new SimpleAttributeSet();
doc.getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D"); would apply a color to a given AttributeSet. The AttributeSet with your color then can be applied to a selected range of text in a JEditorPane by /**
* set the attributes for a given editor. If a range of
* text is selected, the attributes are applied to the selection.
* If nothing is selected, the input attributes of the given
* editor are set thus applying the given attributes to future
* inputs.
* @param editor the editor pane to apply the attributes to
* @param a the set of attributes to apply
public void applyAttributes(JEditorPane editor, AttributeSet a) {
((HTMLDocument) editor.getDocument()).getStyleSheet().addCSSAttribute(set, CSS.Attribute.COLOR, "#0D0D0D");
editor.requestFocus();
int start = editor.getSelectionStart();
int end = editor.getSelectionEnd();
if(end != start) {
doc.setCharacterAttributes(start, end - start, a, false);
else {
MutableAttributeSet inputAttributes =
((SHTMLEditorKit) editor.getEditorKit()).getInputAttributes();
inputAttributes.addAttributes(a);
} Ulrich
Maybe you are looking for
-
Perfomance problem after upgrade from 9.2.0.6 to 9.2.0.8
Hi, we have upgrade our RDBMS from 9.2.0.6 to 9.2.0.8, all our batch jobs became slow (plus 3hours on normal execution time of our query). any suggestions. Regards. tt
-
Unknown Error Message (9) When trying to restore Ipad 1
Hi, recently i purchased an iPad 1, and am having problems when trying to restore the device. I put it into restore mode as it was going to sync every app on itunes which i didn't want, so i had to try and set it up as a new ipad again. Now the ipad
-
Kind of confusing from OTN download site, 11G download size is 1.7 GB and it says including Examples ( which I guess has Application Express). Which version of Application Express it has ? Is it 3.1 or older version ? Thanks Sanjay
-
I've got everything coded as I need it except for this one white line. I understand that my code may not be in the simplest CSS code because I'm stil learning it. but in the mean time, can someone tell me how to use CSS to code this white line? the w
-
Easy way to transfer photos from multiple computers to one library ?
Hi, At home we have a couple of macs and of course every user has it's own iphoto library. I am now looking for a way to backup all those iPhoto libraries to a "main" computer in an easy way. This main computer is an iMac with multiple external drive