![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Something I installed (prob SQL Server 2005 - yugh) had turned on ODBC tracing - which is what was killing the performance. |
#12
| |||
| |||
|
|
Last Dec I posted a message asking for help in determining why Central was working ok with jConnect but terribly via iAnywhere JDBC driver. In the course of the investigation, I put TCPIP in as a connection parameter during the login process and the problem suddenly disappeared. I'm now using a new PC (windows 2K3) and am running into the problem again. This time I created the database using the migration wizard to migrate it from ASE (supplemented by extra SQL to define default values and primary keys which didn't migrate).. I just now unloaded and reloaded to see if that would help, but it had no effect (other than to create a MUCH large database). I've attached the log created by Central (as advised last time). Any suggestions would be welcome |
#13
| |||
| |||
|
|
From the attached SCJView log, it does not seem to be set to be using just TCPIP there. It is still starting up all protocols (with TCP/IP the last one tried -- and that needing to do a broadcast to find a local server from some unknown reason). You also seem to be starting this with a non-default port (2624) as witnessed by this entry: Found database server at address 192.168.2.21:2624 Setting LINKS=TCPIP should speed this up a little, since it will bypass all initialization of and connection attempts over SPX and namedpipes ... but ... I do not understand why 1 - it just does not connect over shared memory, 2 - and it fails to connect over namedpipes or 3 - or even why it needs to broadcast to find the server when it is obviously on the same machine's IP address. We sometimes see this happening with Citrix and/or MS Terminal Services. If running that way then you will need to pick a real protocol [so picking TCPIP is obviously your protocol of choice in that case] As such this should work even faster if you specify just LINKS=TCPIP{HOST=localhost} or LINKS=TCPIP{HOST=192.168.2.21} or even LINKS=TCPIP{HOST=<paste_your_local_machine_name_he re>} Even better LINKS=TCPIP{DOBROADCAST=NONE;HOST=localhost;PORT=2 624} which should just connect instantly. But since that is quite complex if you are not using Terminal Services (or Citrix) you might want to analyze this from the server side. [add -z -o diagnose_server.txt to the server commandline to see how the server is starting up]. ----- further ---- Since you seem to be asking about Sybase Central if you are using connection profiles created with an older version of the product [or is Sybase Central, itself, was somehow not upgraded] you may also be exposed to this bug ========== (Build #3129 - Engineering Case #392017) ========== If a shared connection profile was created, it was not saved if Sybase Central terminated abnormally after the connection profile dialog is closed. Private connection profiles were saved properly. This has now been fixed. If this sounds like your issue, you probably need to 1- Upgrade/EBF the version of Sybase Central 2 - Drop the connection profile [or remove the server from the asasrv.ini file] 3 - Reconnect/recreate the connection profile A good alternative is to set an ODBC data source and specify the DSN in your connection profile. "P Merritt" <pmerritt (AT) transcendonline (DOT) com> wrote in message news:443bd049 (AT) forums-2-dub (DOT) .. Last Dec I posted a message asking for help in determining why Central was working ok with jConnect but terribly via iAnywhere JDBC driver. In the course of the investigation, I put TCPIP in as a connection parameter during the login process and the problem suddenly disappeared. I'm now using a new PC (windows 2K3) and am running into the problem again. This time I created the database using the migration wizard to migrate it from ASE (supplemented by extra SQL to define default values and primary keys which didn't migrate).. I just now unloaded and reloaded to see if that would help, but it had no effect (other than to create a MUCH large database). I've attached the log created by Central (as advised last time). Any suggestions would be welcome |
![]() |
| Thread Tools | |
| Display Modes | |
| |