Difference in use of connection pools from one server to another

Hi all
we are running wl5.1 with sp9 against SQLServer 2000
On our performance test server (2 CPU) which has weblogic & sqlserver runnig
on it we run out out of connection pools when running a specific method,
having looked at it we noticed that it contained nested sql, so that each
client would actually hang onto multiple connections until finished. The
total number of connections used seemed approximately the same as the number
of SQL statements.
However we then ran the weblogic server on a different machine against the
same database, so it was now running over a network and everything worked ok
and the total number of client connections was just 1.
Can anyone shed any light onto this, I have a few ideas but nothing to back
them up as follows:
Multi CPU versus single CPU
Local connection rather than network connection between WLServer and
DBServer
WL Configuration
DBServer configuration
Is nested SQL valid ?
Any help much appreciated Paul Taylor
(An example of what I mean by nested sql is shown below, method1() creates
instances of class2 and calls c2.method which contains sql before releasing
its connection.)
class c1
public void method1()
try
rs=executesql(sqlString)
while rs.next()
new c2();
c2.method2()
finally
closeConnection()
class c2
public void method2()
try
rs=executesql(sqlString)
finally
closeConnection()

because when you are dealing with a remote server, your calls will be
serialized over one socket. and the connection is assigned to that socket
probably...or something like that...or not...shouldn't be important :)
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[email protected]
www.filip.net
"Paul taylor" <[email protected]> wrote in message
news:[email protected]...
The code has now been changed, but the real point was why are two server
dealing with the same code in a different way
"Filip Hanik" <[email protected]> wrote in message
news:[email protected]...
Any help much appreciated Paul Taylor
(An example of what I mean by nested sql is shown below, method1()creates
instances of class2 and calls c2.method which contains sql beforereleasing
its connection.)well this is obviously not a good way of doing it. you know that you are
obtaining multiple connections so why not code your software in a
smarter
way.
pass the connection object into c1 and c2 that way they both use thesame
connection. Or release in between.
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[email protected]
www.filip.net
<l> wrote in message news:[email protected]...
Hi all
we are running wl5.1 with sp9 against SQLServer 2000
On our performance test server (2 CPU) which has weblogic & sqlserverrunnig
on it we run out out of connection pools when running a specific
method,
having looked at it we noticed that it contained nested sql, so thateach
client would actually hang onto multiple connections until finished.
The
total number of connections used seemed approximately the same as thenumber
of SQL statements.
However we then ran the weblogic server on a different machine against
the
same database, so it was now running over a network and everythingworked
ok
and the total number of client connections was just 1.
Can anyone shed any light onto this, I have a few ideas but nothing
to
back
them up as follows:
Multi CPU versus single CPU
Local connection rather than network connection between WLServer and
DBServer
WL Configuration
DBServer configuration
Is nested SQL valid ?
Any help much appreciated Paul Taylor
(An example of what I mean by nested sql is shown below, method1()
creates
instances of class2 and calls c2.method which contains sql beforereleasing
its connection.)
class c1
public void method1()
try
rs=executesql(sqlString)
while rs.next()
new c2();
c2.method2()
finally
closeConnection()
class c2
public void method2()
try
rs=executesql(sqlString)
finally
closeConnection()

Similar Messages

  • Move VM from one server to another using Local Repositories

    There is the following structure:
    ovhost-01 with first_repo
    ovhost-02 with second_repo
    Oracle VM version: 3.1.1
    Both first_repo and second_repo are Local Repositories.
    On ovhost-01 I have VM named "TestOVM" with status Stopped .
    Task:
    Move VM from ovhost-01 to ovhost-02 using "Clone or Move" section from VM Manager ( http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-vm-manage.html#vmusg-vm-move )
    Whenever I try VM moving virtual disk stays on the first_repo.
    With shared NFS-storage this feature working well.
    Question:
    Is it possible to move VM from one server to another with Local Repositories ?

    Neither ovhost-01 nor ovhost-02 have access to each other. It move or copy... the admin server that is connected to the local repository would have to have access to the target repository.

  • Moving users from one server to another using Shared Services

    How do you migrate users and groups from one server to another from Hyperion Shared Services in version 9.3.1?
    When users were provisioned from EAS on version 7.x we could use Migration Utility but now since users are provisioned using Shared Services, what is the approach to be followed?

    Someone will probably give you a real-world example of how to do it, but to get you started you may want to review the Hyperion Security Administration guide, section "Migrating Native Directory" which discusses that you need to first install the Import/Export Utility on your Shared Services server, then create an export file, then go to your target Shared Services Server and long story short, import it.
    -Karen

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • Import Wizard vs LCM for Migration of BO from one server to another

    Hi Experts,
    Can anyone highlight the differences between Import Wizard and LCM (in terms of migrating/deploying BO from one server to another)?
    We are currently using BO XI 3.0, which does not support LCM. I'd like to know if LCM has enough advantages to justify an upgrade to BO XI 3.1.
    Any advice is much appreciated.
    Linda

    Hi Tim,
    Thanks a lot for your reply. May I have a follow-up question?
    For my client, the following deployment activities are necessary:
    1) From Development server, to one Test server containing 2 separate sets of objects - one set for SIT, the other set for UAT.
    Object (Connections, Universes, Webi reports) names in Test server will be different from those in Development Server due to the existence of 2 sets of objects on the same server.
       a) For SIT: Universe A on Development server -> Universe SA on Test server
       b) For UAT: Universe A on development server -> Universe UA on Test server
    2) From Development server, to Training server.
       Same object names will be used in Training server.
       E.g. Universe A in Development server copied to Universe A in Training Server
    3) From Development server, to Production server
       Same object names used in Production server.
    From the above, there will be 4 rounds of deployment. Is Import Wizard sufficient? Or is LCM still the better option?
    Thanks in advance for your advice.
    Linda
    Edited by: Linda on Mar 27, 2009 3:36 AM

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • Copying report file from one server to another requires refresh database?

    Hi,
    I am using Crystal Reports 11 for development.
    We have a number of crystal reports that are served on a web server running classic ASP that uses these reports with Embedded Crystal Server XI installed on the server.
    When I am developing or modifying a .rpt file (report) I connect to a UAT/development database on a dedicated development server.
    When I am happy with the report and testing is successful I copy and paste the report onto the production server, replacing the old report.
    The problem is I don't have a user account and password on the production server. Our DBAs are the only one with passwords on the prod servers. If an application needs a password entered they come to my desk and enter it for me.
    The problem is in order for the modified report to work on the production, I have to call up a DBA to "verify the database" for me by connecting to production server and entering username and password.
    This is really annoying.
    Why can't I just disconnect\log off server in crystal reports, then copy and paste the .rpt file to prod server and be done with it?
    If I had dozens of reports to change, it seems very rigid that I have to ask a DBA to enter the user account and password used by the application to run the report.
    Can someone please explain how to be able to copy and paste modified reports/ or new reports from one server to another without having this problem.
    Thanks
    Haggisns

    Moving to the Legacy SDK forum.
    Crystal can be magical sometimes but if you don't tell CR where the database is how is it to know you moved it?
    As you have seen and for security reasons you can't simply "drop" a report on any server and expect it to just connect to a new DB server without being asked to enter in credentials or that you have changed the DB server to report off of.... If it's too much work for the DBA to set log on info then he should give you access to so can.
    Thank you
    Don

  • RFC Call from one server to another

    Hi,
    Is it possible to use an rfc from one server to another on the same network?
    My Idea was that we can do so, however there's a little confusion about the same .
    Please clarify.
    Regards,
    Vikas

    Hi,
       call SE37 and search for RFC* with F4.
    Sending system side(SEND--800)
    Create function module by using Tcode SE37 or SE80
    goto attributes select remote function
    activate
    Receiving system side(RECE--000)
    goto Tcode SM59
    here select the R/3 Connections-->click on Create Button
    give RFC Desstination : TESTRFC
    Connection Type : 3 for Connecting two systems
    Description : Some meaningful Description
    Press enter
    give Target system Name : SEND
    Language : EN
    Client : 800
    user Name : sapuser
    Password : xxxxxx
    save this connections & click on test connections(f8)
    & Remote logon(f7)---> it will open a session
    with client 800 that is your sending system
    then only your RFC is correct
    create a report in SE38 Tcode
    data : c1 type i.
    data : itab like mara occurs 0 with header line.
    call function 'ZRFCFM' destination 'TESTRFC' --->Function Module 'ZRFCFM' your just create at Sending system
    exporting
    importing
    exceptions
    <b>Reward points</b>
    Regards

  • Solman project transport from one server to another

    Hi All,
    i have a small query , regarding project management . I have a Template project with some manually designed tamplate inside that. and test case created.
    Now i want to move this project with all config. , selected template and test case from one server my another solman server.
    I am hoping transport icon given below in solar_project_admin will work for me . please confirm me and let me know if other options too available   . can i use solar_migration for this activity ??
    please suggest all possible way for export (transport) this project from one server to another.
    Thanks
    gyanP

    Unfortunately, transaction SOLAR_MIGRATION is  not released to be used in the Solution Manager 4.0/7.0  and therefore is not supported.
    See also the PDF-document: 'SAP Solution Manager - Content Transfer'
    which can be found at:
    http://service.sap.com/solutionmanager
    -> Media Library
      -> Technical Papers
    Besides the "Transport Project" functionality in SOLAR_PROJECT_ADMIN for projects and the transport of testpalns from transaction STWB_2 there is no other function available/supported at the moment.
    you have to make sure that you have in the source system the corrections from the notes:
    for Projects:
    1147186  Unreleased documents are not transported
    1119462  Problems transporting projects
    1134578  Document types missing when transporting projects
    For Testplans/testpackages:
    1224283  Test plan incomplete after transport
    1246383  Transport connection for test documents in test plan

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • Restored our SSRS 2008 R2 from one server to another; Dates are in UK format and not US

    We have restored our SSRS 2008 R2 from one server to another. The original server was in US locale/culture. The new server was in UK locale/culture, when the restore happened. However it should have been in US locale/culture. We have made this change and
    new reports work OK.
    However existing reports (i.e. saved by a user) are still trying to use the US dates in a UK format and as a result throwing a date cant be below 1753 error.
    Has anyone seen this issue before or have any idea what we need to do to fix it?
    Thanks
    Kimberlad

     Hi Kimberlad
    Have you checked any changes in the Collation? 
    Please verify Reporting Server Databases and Server Collation is there any mismatch with your Source Server.
    and also please post complete Error message..
    Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful ::

  • How Can I Copy an database from one server to another ?

    Hi All,
    I need to copy an existing database from one server to another server. I want to maintain all the settings from the source database.
    I´m not used to Oracle database and i´d be glad for any help.
    How can I do this ? Do I need to backup and restore in the other server ? Do I need to copy files from one server to another ?
    Any help will be really appreciated.
    Carlos.

    I think a simpler approach, other than using RMAN, is to do a database export from the source and then import them into the target database. But you will need to do some ground work on the target, i.e, create database, tablespaces, and schemas (with their name the same as those in the source database.)

  • Process for migrating CMSDK from one server to another

    All:
    We are in the process of migrating our CMSDK installation and database from one server to another. In doing so, we would like to retain our documents and folders and other custom objects that have been created till date. If there is a recommended migration process that you could point us to, it would be greatly appreciated.
    Our initial thought is to:
    1. Install the CMSDK server on the target server machine
    2. Export source CMSDK schema from source database server
    3. Import source CMSDK schema into target database server
    Are we on the right track? If so, are there any pitfalls and issues we can expect to encounter. Any information will be very helpful.
    Thanks

    The utility should help you a lot. The best documentation on how to use the utility is in the 9iFS Setup and Administrators guide (doc number A95995-01) Chapter 8. It pretty much works the same way then as it does now. These are two metalink notes on doing the export/import silently (29928.1 - 177816.1). Doing it silently is very tedious since you having to create numerous .def files and other scripts to run them.
    I will look around for any other stuff I have, but the 9iFS document is very good as a reference no matter what version of CMSDK. If you have problems finding it, I can try to send it to you, but it is around 5.6M.

  • Transportation ( how to transport objects from one server to another)

    Hi BW guru's
    Please tell me the steps to transport objects from one server to another server.

    Follow the steps.
    1. RSA1 > Transport connection
    2. In the right window there is a catagory "all object according to type"
    3. Select required object you want to transport.
    4. Expand that object , there is select object, double click on this you will get the number of objects, select yours one.
    5. Continue.
    6. Go with the selection, select all your required objects you want to transport.
    7. There is icon Transport Object (Truck Symbol).
    8. Click that, it will creat one request, note it down this request.
    9. Go to Transport Organiser (T.code SE01).
    10. in the display tab, enter the Request, then go with display.
    11. Check your transport request whether contains the required objects or not, if not go with edit, if yes "Release" that request.
    Thats it, your cordinator will move this request to Quality or Production.
    Hope its helps.
    Regards

  • How to transfer ABAP query from one server to another server

    Hi all,
    I have a ABAP query in development server and i need to transport it to production server.
    I have attached a transaction to it using the program which got generated in the back ground
    from the abap query in the developemnt server.
    I have downloaded and uploaded  a ABAP query from one server to another server.
    But the program which got generated in the back ground in the production server is different from
    program which is generated in the development server.
    But my transaction is attached to the program in the development server.If i transport the transaction
    to production server,it is giving error since that program is not present in the production server.
    Am i going in the right way......? 
    Is there any problem in my upload/download procedure ?
    Is there any way to achieve my purpose ...............?
    Please kindly reply me at the earliest.

    You have different ways to call a query using a t.code. One way is to create a pgm with the following code and attach a t-code to it.
    data: gv_test type sy-repid.
    DATA: GV_USERGROUP TYPE AQADEF-BGNAME VALUE 'FI',
          GV_QUERY TYPE AQADEF-QUNAME VALUE 'ZCON_FI_QUERY',
          GV_RNAME TYPE AQADEF-PGNAME .
    CALL FUNCTION 'RSAQ_REPORT_NAME'
      EXPORTING
        WORKSPACE        = ''
        USERGROUP        = GV_USERGROUP
        QUERY            = GV_QUERY
    IMPORTING
       REPORTNAME       = GV_RNAME
    * For the dynamic excution of the called query assisgn GV_RNAME to <gv_test>.
    gv_test = GV_RNAME.
    SUBMIT (gv_test) via selection-screen and return.
    Alternate way is while creating T-Code you choose option Transaction with parameters.
    Transaction as START_REPORT and in default values table control at bottom give as follows
    D_SREPOVARI-REPORTTYPE = AQ
    D_SREPOVARI-REPORT = User group
    D_SREPOVARI-EXTDREPORT = Your Query name
    Regards
    Sathar

Maybe you are looking for

  • Add substitute

    Hello all, I am working in SRM 4.0 and when I go to approval tab on web transaction and I try to add a substitute, I press this button, then I select active substitution and I put on substitute field value Z* for example, when I click on Find button,

  • Replace quotes?

    Hello I'm on Coldfusion 10 and I'm trying to figure out how to replace quotes ("). So far I tried this: <cfset Session.Artist1 = Replace(Session.Artist1,""",""",'ALL') > That does nothing, I then tried this: <cfset Session.Artist1 = Replace(Session.A

  • Suitcase Fusion has detected an incompatible versin of FMCore. Suitcase Fusion can not continue. ??

    Suitcase Fusion has detected an incompatible version of FMCore. Suitcase Fusion can not continue. What does this tell me?

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and coldfusion? I am working with a remote coldsfusion installation with MS SQL and I don't have RDS.

  • Cell broadcast not in advance options

    Please I can't get my cellbroadcast to work. I can't find d option anywhere even in advance options where it used to be. Its showing in application manager as installed buh its nt der. Av flashed and reflashed d o.s. Please help