Thank you Ryan. This is exactly what I was looking for. It worked. Don't know why I did not see that option, it was steering right in the face
Re: Client configuration for Setting net password encryption reqd
Re: problem using sp_opt_querystats
NOTE: I haven't used this stored proc (nor the job scheduler) so I don't have any solutions ... just questions and a suggestion ...
Does the 'plancost' option work for any other queries?
Does the 'plancost' option work in any other dataservers?
You could try troubleshooting the proc and the job scheduler or, since this is a Sybase-supplied proc, try opening a case with Sybase tech support.
Re: problem using sp_opt_querystats
Hello Taghi,
Can you please copy the exact command in the second example? And try to see if you use the all options,
does it work? All option will enable the first eight options.
I mean have you tried the commands on other ASE versions to see if it works.
Thanks,
Gek
Re: problem using sp_opt_querystats
Hi,
Sure here is teh exact sencond query:
sp_opt_querystats"select * from POS where br_number='XyZ' and acc_number='0000097' and cur_code='USD'","missingstats",mydatabase
I had already tested teh "all" option works but produces tons of output.
This is my only data server on version 15.7
Re: problem using sp_opt_querystats
Thanks Mark. I was expecting to obtain good results from the stored procedure. Instead of using many set commands, I expected to use teh stored procedure and have lots of information in one report, indeed I am not giving up, I shall open a case with Sybase.
Oh, by the way, if I use the set commens it works well.
set statistics plancost on
go
query
go
Re: problem using sp_opt_querystats
Are you sure statio was working?
If I remember rightly it runs with 'set noexec on' by default, so you get no runtime statistics unless you specify to execute the statement.
Try running it with "plancost, exec"
Re: problem using sp_opt_querystats
Thanks, it works when I follow your instructions:
exec sp_opt_querystats"select br_number from CLIENT_POSITION where br_number='A01' and acc_number='0000097' and cur_code='USD'","plancost,exec",cadata2
"
[ BEGIN QUERY ANALYSIS ]
==================== Lava Operator Tree ====================
Emit
(VA = 1)
r:38 er:44
cpu: 0
/
IndexScan
ci_clp_branch_ac
(VA = 0)
r:38 er:44
l:12 el:13
p:0 ep:2
============================================================
br_number
---------------------
(38 rows affected)
[ END QUERY ANALYSIS ]
SAP Sybase Landscape setup...
Dear SAP/ Sybase Experts ,
Need your suggestion and expert advise on Sybase Replication server Setup in SAP landscape.
We will have our production servers setup on High Availability as per best practice{Windows, SAP and DB on Cluster } and we will be using SRS for disaster recovery on secondary Site. All Our Windows servers are on VMware 5.5
As configuration and management of SRS is not one of easiest , will it be wise to have HA on Primary and setup DR.
Appreciate your suggestion on our SAP landscape
- HA on Primary site {different Virtual hostname for DB and SAP } Multiple application/Dialog server and Disaster recovery with SRS
- Single Node Production, Multiple application/Dialog server and Disaster recovery with SRS.
Regards
Mohammad
BW agregate Can't allocate space for object "temp worktable" in database "tempdb" because system segment is full/has no free extents.
Hi all,
We are getting this error when try to do an agregate at BW with ASE 15.7 sp110.
Can't allocate space for object "temp worktable" in database "tempdb" because system segment is full/has no free extents. If you ran out of space in syslogs, dump the transaction log
We have extendend the tempdb device and also we have put autoextensible database but doesn't solve the error.
Re: SAP System copy based on Sybase errors
Read the note. Made a backup with command "dump database <SID>". Put the dump file in the import folder specified during installation. Nothing has changed. The same error. Maybe I'm doing something wrong?
Re: SAP System copy based on Sybase errors
Dear Mr Glushchenko
The directory where you put in the database dump for SAPINST to put up does contain only the new dump which you took and nothhing else , correct ?
If there are still other files in that directory remove these.
If the issue still occurrs I dont understand the issue . I suggest to open a support ticket at SAP then.
HTH
Tilman Model-Bosch
Re: BW agregate Can't allocate space for object "temp worktable" in database "tempdb" because system segment is full/has no free extents.
Just FYI - the message says that the "system" segment is full, not the logsegment. The "system" segment is where worktable space is allocated. Advice to extend the log won't resolve your issue. Extend tempdb as:
alter database tempdb on <some_device> = <size>
Re: ISQL login error SYBASE
Hi Uday,
I think that your original problem could be that you were not using encryption.
I would try launching ISQL with the -X option "Initiates the login connection to the server with
client-side password encryption. "
Something like:
isql -Usa -Ppassword -X
Regards,
Andreu
Re: ISQL login error SYBASE
Hi,
Sybase Central is EOL.
I would download this soon if you would like to use this tool.
The tool taking over for Sybase Central is called Sybase Control Center (SCC).
If you want an interactive/gui isql session the tool is called DBISQL or also known as Interactive SQL.
This comes in the Sybase Central download (PC Client).
This can be also be accessed through Sybase Central tool itself.
In future releases DBISQL will be included in the SDK download.
Regards,
Ryan
Re: ISQL login error SYBASE
Hi,
Just for clarification.
Original error:
CT-LIBRARY error:
ct_connect(): directory service layer: internal directory control layer
error: Requested server name not found.
Reason for error:
This is caused when isql doesn't know where to go or what box to connect to.
Resolution:
Make sure there is an entry in the sql.ini.
This file is found in:
%SYBASE%\ini
Example entry:
[indigo6]
master=TCP,indigo6,4747
query=TCP,indigo6,4747
Test connection:
isql -U<username> -P<password> -Sindigo6
You can also bypass the sql.ini file by using -S<host>:<port>
Example:
isql -U<username> -P<password> -Sindigo6:4747
Password encryption error:
isql -Usa -Psybase -Sindigo6
Msg 1640, Level 16, State 2:
Server 'indigo6':
Adaptive Server requires encryption of the login password on the network.
Msg 4002, Level 14, State 1:
Server 'redhead':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to co
nnect to the server failed.
Reason for error:
sp_configure "net password", 1
Requires all clients to use password encryption.
Resolution:
add the -X option to isql and make sure all other clients have password encryption enabled.
Example:
isql -Usa -Psybase -Sindigo6 -X
Login Failed error:
isql -Usa -S SBP
Password:
Msg 4002, Level 14, State 1:
Server 'SBP':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to co
nnect to the server failed.
Reson for error:
You have established a connection to ASE.
ASE is rejecting the login information (username, password).
This could be caused by:
- fat fingers
- case sensitive
- locked account
- not enough user connections available
- specific security requirements might be enabled for this account (only can connect through ldap, ssl, kerberos)
Resolution:
- verify login information
- check ASE log for any messages
- Run sp_displaylogin <username> to gain more information
1> sp_displaylogin sa
2> go
Suid: 1
Loginame: sa
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
sa_role (default ON)
sso_role (default ON)
oper_role (default ON)
sybase_ts_role (default ON)
dtm_tm_role (default ON)
mon_role (default ON)
sa_serverprivs_role (default ON)
Locked: NO
Date of Last Password Change: Nov 22 2013 10:29AM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: AUTH_DEFAULT
Login Password Encryption: SHA-256
Last login date: Mar 3 2014 8:29AM
Exempt inactive lock: 0
(return status = 0)
Re: SAP System copy based on Sybase errors
Please last 50 lines of post sapinst_dev.log and sapinst.log
Re: SAP System copy based on Sybase errors
Hi Timon.
Thanks, did as you said helped. Might be worth adding this nuance in note 1913378?
Re: CRM Java installation error in database creation
Dear Ram,
Thanks for the information, I have gone through the link however I was looking for Sybase cluster but the link directs to SQL.
any document based on sybase database will be helpful.
Re: JDBC-Connection to Sybase ASE fails: Could not load class com.sybase.jdbc3.jdbc.SybDriver
This was a strange problem. SAP support didn't find the root cause either, but it looks like file SecStore.properties was corrupted. I dropped the instance and restarted the import from scratch, this time the connection to the database worked.
Re: BW agregate Can't allocate space for object "temp worktable" in database "tempdb" because system segment is full/has no free extents.
Hi Sunny,
There isn't a XI R2 so the solution doesn't apply to us.
Thanks