Setting the right number of thread count

Hi,
What's the right number of thread for a server that has 2 CPU? I know the default setting for Dev is 15 and Production is 25. From what I read in the Performance Tuning Guide, it should be somewhere around the number of CPUs on the machine? Is that right? Or keep the default?

Statement st = con.createStatement();
st.setFetchSize(no_of_rows_here);
ResultSet rs = st.executeQuery(query);Sudha

Similar Messages

  • How do I set the port number on my Ipad

    I need to find out how to set the port number on my IPad to use Telus Email which will receive but not send

    You will not be able to send any mail until you tell it the outgoing mail server.
    How did you learn about the port number?  If you google your isp and the words mail settings, you will likely find a page with all of the needed settings, including the outgoing server name, and a confimation of the port needed.
    Once you know those two answers, go to the setting screen, and touch the outgoing server field, and you will be able to enter the name.  Spell it right. Then touch the advance tab, then, the port number, and enter the proper port number.
    If you get those entries right, you should be all set. 

  • TS2795 When I set CALL FWDING  "ON" and I set the phone number and I back to CALL FWDING, the option returns to "OFF" status, why this is happening ?

    Hello,
    Can someone help me to activate the Call Forwarding option on IPhone 5, OS 6.01 ??
    Currently I am trying:
    * Settings -> Phone -> Call Forwarding -> "ON" -> SET THE PHONE NUMBER ->"Call Forwarding button"
    But when the screen returns to Call forwarding, the option returns to "OFF" mode.
    * I already try to call to *72 to "activate" the call forwarding option, just didn't work.
    I don't know if I need to do an additional configuration, If someone has an idea, please let me know!!
    Regards
    Cami

    Who is your carrier? Not all carriers support enabling and disabling call forwarding using the controls in Settings.

  • I've locked my Ipad by repeatedly entering the wrong security password.  How can I open it again and now I think I've remembered the right number?

    I've locked my self out of my ipad by repeatedly entering the wrong password.  What can I do to reopen it again please?  I think I have the right number now too>
    John.

    Wrong Pass Code  >  http://support.apple.com/kb/HT1212

  • Setting the maximum number of rows in a ResultSet

    Hi everybody,
    Anyone knows if it is possible to set the maximum number of rows to obtain in a ResultSet using JDBC 2.0, and if so, how to do it?
    Thanks in advance.

    Statement st = con.createStatement();
    st.setFetchSize(no_of_rows_here);
    ResultSet rs = st.executeQuery(query);Sudha

  • Always put the right number to verify the credit card, but it always appears that the number is not valid.

    Always put the right number to verify the credit card, but it always appears that the number is not valid.

    Check your billing address information.  iTunes uses the USPS system to validate the CC billing address.  You could either try;
    1.  Look at your paper or online bank statement
    2.  Go to usps.com and look at zipcode lookup.  Enter your billing address, submit and look for any change.  A simple "A" versus "a" could make the difference.

  • Tuning the good number of thread with Work Manager?

    Hi,
    I search some best practice or experience return on the max thread number on a weblogic managed server
    I try to explain: with WLS 8.1 and execute queue it was hard to tune the good number of thread but possible (with some processor and for an application we find that after 30 concurrent thread, there's lower performance because of switch on processeur, for others it was 45 for example)
    Now i can see sometimes more than 500 thread on one JVM and it seem to be very much for me!!
    we face some problem of response time in PRODUCTION, i can see sometimes more than 100 Stuck thread on a resource, so i think it's the reason of bad response time. But with Work Manager, it increase the number of thread to accept others request and the CPU stay at acceptable level (less than 50%) because the stuckthread are do nothing (waiting for resource)
    So i don't understand the good tuning to apply since WorkManager...ok it isn't normal to have a lot of stuck thread but if there's no matter about the max number of thread, is it useful to stop and restart managed server?
    do you think we can have have bad performance if there's a lot of thread?
    thank you for your experience return. If you have no idea just tell me how much thread you can see on your managed server in Production.

    up, up...
    we have always the same probleme in production: 50 stuck thread on each JVM since 15 days....
    the manages serveurs are in warning but don't seem to be disturb cause the work manager add more threads dynamicaly.
    Anyone have idea if this situation is a probleme for response time on other request ?
    reboot managed solve this situation but i would like to understand the consequence of this situation.
    thanks a lot for your experience.

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • Posible to set the folio number to an Invoice already saved?

    Hi!,
    Is it possible to set the folio number to an invoice thats already been saved, assuming the prefix and folio hasn't been set?
    Something like this?
    _oInvoice.Prefix = "SO";
    _oInvoice.FolioNumber = 123;
    _oInvoice.Update()
    Thanks,
    Jose.

    Hi Jose,
    Could you do it through UI?
    Thanks,
    Gordon

  • How to set the Maximum Number of the retry interval in sender cc?

    Hi,gurus:
    You know about how to set the Maximum Number of the retry interval of receiver communication channel in RWB.
    But how to set the one of the sender communication channel?
    Can we set that in integration directory?
    Any help will be appreciated.

    Hi,
    Check this blog, For the settings to be done at SXMB_ADMIN Tuning(IS_Retry_Limit )and the VA
    XI :  How to Re-Process failed XI Messages Automatically
    Also in VA change both inbound and outbound retries. For max no. of retry interval change the default value 300000(5 mins) to 600000(10 mins) or whatever you want.
    Thanks!
    Edited by: Sudhir Tiwari on Dec 16, 2008 7:33 AM

  • When I set the right date, it blocks my yahoo mail

    My date time is one day ahead, when i set the right date, my yahoo mail gets crazy and stop sending mails. 

    It would be best to respond to [email protected] as I can't get to me regular e-mail.
    Jim Wolf

  • ICSS : How to set the default number login errors.

    Hi experts.
    Does anyone know how we can set the number of failed passwords when login to the icss application ?
    While debugging i've seen that when we log we got to the backend function module 'CRM_ICSS_GET_USER_DETAILS' but i'm unable to see how and where is the check on the password managed.
    If anyone has an idea, it will be very helpful. I need to reduce the number of failed from 6 to 3. Maybe it's a customizing point ...
    Thanks for the help.
    Regards.
    Helder.

    ICSS does not attempt to limit the logon attempts explicitly. Number of login attempts before locking a userid is a Basis / system profile parameter setting.
    login/fails_to_user_lock
    You can change this setting to get what you need.But, this change will affect all the SAPGUI user logon behavior, and this may not be what you wanted. For more information about this, see the documentation for the profile parameter in transaction RZ11
    However, if you want to programatically count , limit and give a custom message after three attempts, you can try enahncing the login related actions - such as IcssInitAction .
    Easwar Ram
    http://www.parxlns.com

  • How to exclude last page from the total number of pages counter

    Hi,
    I am customizing the payables remittance RTF template, our requirement is to reset page number to 1 for each payment, i am able to achieve this using "@section"
    also we have a requirement to have a summary page at the end, i am able to get this using "start@last-page:body".
    issue is last page is also considered in the page counter of the last payment.
    i.e. suppose if i am generating remittance for 2 payments which are printing details in two pages and one page respectively, my output will have total 4 pages and it's showing
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 2
    Summary page-4 footer -> 2 of 2
    but i wanted to see
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 1
    Summary page-4 footer -> 1 of 1
    Any idea how to remove the summary page from the page counter.
    Rgds,
    -Kamal

    I'm not sure how it was in Acrobat 9, but in XI you add a Header/Footer and
    one of the options it "Page Number and Date Format", where you can select
    the format of the page number to add, some of them contain the total number
    of pages (such as "1 of n").

  • Am I building the right number of pages ?

    Hi Everybody, It is my first time here and actually I'm building my very first site. This site will be a portifolio of my jobs. As I'm a multimidia man .. lol and I'm not a teenager ... more lol , I have a lot of jobs to show.
    I do graphic design, illustrations, advertising and recently I'm developing a new task to join to all of it, working with video. I want to go beyond the static images.
    So I decided to build a website to promote myself. I started making the website with iWeb because I do all my work with Macs and I have no intentions in change plataforms for a website.
    I already started and of course the problems and doubts as well. I've already divided the Main menu in 4 "places": Design, Advertising, Illustration and Video. Each one I will divide by clients and in each client I'm planning to put 3 or 4 jobs.
    I already have the Design divided in 12 clients, then I realize the number of pages that I will have in the end of all. I started doubting if I was doing the right thing and run to the internet to read someones experience and I found at the Apple Discussion forum these posts:
    "Hello, whenever I create a page in iWeb 08, it creates a corresponding title in the main menu of the website. Is there a way how to create a page and not to have it in the main menu? I want to link these pages myself...
    For instance I want to have a folder full of 300 pages which I would link manually to a list of 300 titles in a text on a single page which does appear in the main menu.
    I am not using MobileMe."
    ... and the answer of a person:
    "If you want to have Page 2 of Site 2 be in the navbar of Site 1 add a blank page in Site one and name it the same as Page 2 of Site 2. Then in that page add an HTML snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "URL TO PAGE 2 OF SITE 2"; </script>
    This will immediately redirect the visitor from the "dummy" page 2 in Site 1 to Page 2 in Site 2. In order to get the URL of Page 2 you will have to first publish Site 2, visit it and get the URL that way.
    This will allow you to move between sites from the navbar in each site as if it were all one large site.
    My Demo Sites are setup this way. The Contents page for each site is redirected to a separate Contents site which contains the index of all the pages in the three demo sites. That way I only have to change the index on the Contents site instead of doing it for each site individually."
    I'm wondering if I'm doing anything wrong and more,,, if there is anything that I could do to have less pages and more navigability.
    Thanks and sorry for the long post.

    I'm wondering if I'm doing anything wrong
    Are you saying the redirect isn't working or is there a better way than using a redirect?
    Another way would be to put all the pages into one site but not necessarily have them all in the default navbar. You could have just the following three title pages in the overall navbar: Design, Illustrations and Advertising.
    In each of those title pages you create your own hyperlinks to the pages that would support that area of your expertise. Those supporting pages would not have the default navbar shown but have a Text Based Navbar or just separate hyperlinks to link those common pages to each other and back to the title page.
    See Roddy's Re: Sub Menus/Sub Pages in iWeb09 for more on the subject. This site also has info on that: http://iwebfaq.org/site/iWebNavigationmenu.html.

  • Changing the filename prefix or setting the starting number

    I have two PowerShots. I have been using one for years. My newer one sets the filenames with the same prefix, IMG, and starts numbering at 0001. Can I change this so I don't get duplicate filenames in my photo library. I realize that having the new photos in different folders will help to prevent overwriting the existing ones. I would like to prevent the confusion or possible overwriting by mistake.
    Thanks for any advice.

    Hi Apic13,
    To keep your camera from resetting the file numbers, press the MENU button and go to the settings tab, It's yellow and normally has a wrench and hammer on it.  Now scroll down to "File Numbering", then use the right or left arrow to choose "Continuous", then press the MENU button again.
    This may vary slightly from model to model.
    I hope this helps,
    Richard
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for