Questions on sybmigrate. Can anyone with experience help share their valuable knowledge on attached questions / issues for possible solutions?
Thanks
Questions on sybmigrate. Can anyone with experience help share their valuable knowledge on attached questions / issues for possible solutions?
Thanks
We're currently running ASE 15.7 SP 63.
We've recently had what might be some contention issues in tempdb, we're still investigating.
However, this brought up a question: are there any good guidelines as to how many temporary databases there should be?
Currently on the system in question we have 30 engines, 6 tempdbs in the default pool, 1 tempdb for DBAs, and 1 tempdb for a monitoring tool. 8 total tempdbs. Is this enough, or should there be more? What are the main considerations for how many tempdbs there should be?
Dear Sirs,
Could you please look at timeslice errorlog and
suggest the solution.
where adaptive server went down?
error log:
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR23: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR24: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR25: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR26: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR27: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR28: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel FR29: -2.000003
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel **** end of signal context ****
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel timeslice error: spid 992 exhausted its 'time slice' of 1000 milliseconds and additional 'cpu grace time' of 500 ticks (50000 milliseconds). It has been marked for termination.
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel This Adaptive Server process has had 3 major and 496 minor page faults since boot.
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel ************************************
00:0007:00000:00012:2016/02/09 14:09:10.23 server SQL Text: [no text]
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel curdb = 31516 tempdb = 2 pstat = 0x200 p2stat = 0x100000
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel p3stat = 0x400800 p4stat = 0x0 p5stat = 0x0 p6stat = 0x0 p7stat = 0x10000
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel lasterror = 0 preverror = 0 transtate = 0
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel curcmd = 0 program =
00:0007:00000:00012:2016/02/09 14:09:10.23 kernel extended error information: hostname: login:
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel Spinlocks held by kpid 474809261
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel Spinlock default data cache at address c000000102c77300 owned by 474809261
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel ************************************
00:0002:00000:00011:2016/02/09 14:09:10.23 server SQL Text: [no text]
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel curdb = 1 tempdb = 2 pstat = 0x200 p2stat = 0x100100
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel p3stat = 0x800 p4stat = 0x2 p5stat = 0x0 p6stat = 0x400 p7stat = 0x10000
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel lasterror = 0 preverror = 0 transtate = 1
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel curcmd = 0 program =
00:0002:00000:00011:2016/02/09 14:09:10.23 kernel extended error information: hostname: login:
00:0005:00000:00992:2016/02/09 14:09:10.23 kernel End of spinlock display.
00:0007:00000:00012:2016/02/09 14:09:10.24 kernel pc: 0x4000000005bf81a0 pcstkwalk+0xf0(0x00000000007d003f, 0x0000000000000002, 0x000000000000270f, 0x0000000000000000, 0x0000000000000000)
00:0002:00000:00011:2016/02/09 14:09:10.25 kernel pc: 0x4000000005bf81a0 pcstkwalk+0xf0(0x00000000007b003e, 0x0000000000000002, 0x000000000000270f, 0x0000000000000000, 0x0000000000000000)
00:0005:00000:00992:2016/02/09 14:09:10.26 kernel pc: 0x4000000005bf81a0 pcstkwalk+0xf0(0x000000001c4d03ad, 0x0000000000000002, 0x000000000000270f, 0x0000000000000000, 0x0000000000000000)
00:0007:00000:00012:2016/02/09 14:09:10.26 kernel pc: 0x4000000005bf7030 ucstkgentrace+0xb70(0x00000000007d003f, 0x0000000000000001, 0x6000000000668138, 0xc000000000000918, 0x4000000003302330)
00:0007:00000:00012:2016/02/09 14:09:10.26 kernel pc: 0x4000000005bf0680 ucbacktrace+0x140(0x0000000000000000, 0xffffffffffffffff, 0x6000000000668138, 0xc000000000000591, 0x4000000005c93b00)
00:0007:00000:00012:2016/02/09 14:09:10.26 kernel pc: 0x4000000003302330 $cold_terminate_process+0x1de0(0xc00000026f2dbd18, 0xc000000000000187, 0xc0000001c100c000, 0x6000000000668138, 0xe00000013af97420)
00:0005:00000:00992:2016/02/09 14:09:10.26 kernel pc: 0x4000000005bf7030 ucstkgentrace+0xb70(0x000000001c4d03ad, 0x0000000000000001, 0x6000000000668138, 0xc000000000000b9f, 0x4000000003300730)
00:0002:00000:00011:2016/02/09 14:09:10.27 kernel pc: 0x4000000005bf7030 ucstkgentrace+0xb70(0x00000000007b003e, 0x0000000000000001, 0x6000000000668138, 0xc000000000000918, 0x4000000003302330
Hi, I have a problem on my application. We just migrated our application from SAS 12.5.4 to Sybase Adaptive Server Enterprise 16. All works well from previous version, when we identified a weird behavior. I still don't have clue what the problem is.
We use java in our application to connect to the database using jconn4.jar. Here's a code snippet from my application.
PreparedStatement ps =null; ... more code here//
ps.setDouble(12,casualty.getRiskLiabAmt());
casualty.getRiskLiabAmt() has value 1.93. But when this is persisted to Database with column type MONEY the value got truncated to 1.
I need your help guys. Thanks in advance.
Is there any documentation about spinlock contention on "Sched Q" ?
Thanks
Mike
Hello,
Can anyone let me know why, where and when we have to use ddlgen? Also, do we need to extract ddlgen after performing a load from a tape? Please advise me over these.
Regards,
Dilip Voora
8142785735
Hi,
I understood that we have to use the below command to load a database dump from a tape
1>load database <database of my environment> from "path of the tape where dump is stored"
2>go
but I don't have the output of this in case the load is successful and failed. Can anyone help me in providing the output to analyse? Also, correct me in case my syntax is wrong.
Regards,
Dilip Voora
Hi
I am currently running a DBCC checkstorage on a 700GB database.
How can I know what objects DBCC checkstorage is analyzing or how can I know the % progress of this command?
I tried to look at MDA tables like monProcessObject but I only see the DBCCDB objects "scan_ws" and "text_ws".
@@version:
Adaptive Server Enterprise/15.7.0/EBF 22594 SMP SP62 /P/Sun_svr4/OS 5.10/ase157sp6x/3350/64-bit/FBO/Fri Apr 18 07:29:33 2014
Thanks for your help
Vincent
In case of monSysWaits event 150 - how can I interpret the waits "Number of times tasks waited...".
Is this always the number of blocked processes?
And why the counter changes only after block has released, but not during the block.
Actually when block started the system already waits, but the monSysWaits doesn't indicate this.
Right now I have two instances of ASE running in the same server. I have ASE COCKPIT running in that machine but when I open the COCKPIT, it only shows one system.
How can i add the other system to the cockpit?
> showserver
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
0 S sybase 19828 19827 5 80 0 - 776226 futex_ 11:15 ? 00:01:14 /opt/sap/ASE-16_0/bin/dataserver -d/opt/sap/data2k/master.dat -e/opt/sap/ASE-16_0/install/TESTENVASE16_2k.log -c/opt/sap/ASE-16_0/TESTENVASE16_2k.cfg -M/opt/sap/ASE-16_0 -N/opt/sap/ASE-16_0/sysam/TESTENVASE16_2k.properties -i/opt/sap -sTESTENVASE16_2k
0 S sybase 12181 12180 1 80 0 - 743970 futex_ Feb11 ? 01:53:33 /opt/sap/ASE-16_0/bin/dataserver -d/opt/sap/data/master.dat -e/opt/sap/ASE-16_0/install/TESTENVASE16.log -c/opt/sap/ASE-16_0/TESTENVASE16.cfg -M/opt/sap/ASE-16_0 -N/opt/sap/ASE-16_0/sysam/TESTENVASE16.properties -i/opt/sap -sTESTENVASE16 -T7862
Dear All
My ASE execute dbcc sqltext occur the following error , anyone can support me ?
ASE version : ASE 15.0.5 ESD4 on Solaris
Thanks a lot!
Victor
02:00000:00364:2016/01/28 22:23:00.48 kernel ************************************
02:00000:00364:2016/01/28 22:23:00.48 kernel SQL causing error : dbcc sqltext(403)
02:00000:00364:2016/01/28 22:23:00.48 kernel ************************************
02:00000:00364:2016/01/28 22:23:00.48 server SQL Text: dbcc sqltext(403)
02:00000:00364:2016/01/28 22:23:00.48 kernel curdb = 1 tempdb = 2 pstat = 0x10000
02:00000:00364:2016/01/28 22:23:00.48 kernel lasterror = 0 preverror = 0 transtate = 1
02:00000:00364:2016/01/28 22:23:00.48 kernel curcmd = 317 program = isql
02:00000:00364:2016/01/28 22:23:00.48 kernel extended error information: hostname: k30prod login: sa
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080f7f268 pcstkwalk+0x24(0x000001000c1f60e0, 0x000001000c1f3f58, 0x000000000000270f, 0x00000000
00000002, 0x0000000000000000)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080f7f0b0 ucstkgentrace+0x1d0(0x000001002fe1a750, 0x0000000000000002, 0x000000000000270f, 0x000
0000000000000, 0x0000000000000000)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080f094a4 ucbacktrace+0xb4(0x0000000000000000, 0x0000000000000001, 0x0000000000007c00, 0x000001
002fe1a750, 0x0000010032ec1070)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x00000000805a6fe4 terminate_process+0x132c(0x0000000000007e70, 0x0000000000000000, 0x000001002fe1a750,
0x0000000081c338d0, 0x0000000000009000)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080f43148 kisignal+0x418(0x0000000000000050, 0x000001000c1f76a0, 0x000001000c1f73c0, 0x00000100
0c1f7400, 0x000000000001adda)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080cfbbe4 prSQLTEXT+0x230(0xb100000000020027, 0x00000100301687f8, 0x0000000000000001, 0x0000000
000000193, 0xffffffff9b3936dc)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x00000000808a1408 d_sqltext+0x24(0x0000000000000038, 0x0000010070e68288, 0x0000010070e684e8, 0x00000000
00000000, 0x000001000c1fbb1c)
02:00000:00364:2016/01/28 22:23:00.48 kernel [Handler pc: 0x0000000080cc3de4 hdl_backout_msg installed by the following function:-]
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x00000000808b431c exec_dbcc+0x282c(0x00000000000000c4, 0x0000000000000000, 0x0000000000000000, 0x000000
0000000038, 0x0000000000000001)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080421920 _$o1cexpF0.s_execute+0xd40(0x0000000000000001, 0x000001002fe1a750, 0x0000000000000000
, 0x0000000000000000, 0x000000000000013d)
02:00000:00364:2016/01/28 22:23:00.48 kernel [Handler pc: 0x0000000080cc3db8 hdl_stack installed by the following function:-]
02:00000:00364:2016/01/28 22:23:00.48 kernel [Handler pc: 0x0000000080c73abc s_handle installed by the following function:-]
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x00000000803c6f14 sequencer+0x254(0x0000000000007b60, 0x0000000000000000, 0xffffffffffffffff, 0x0000000
000000000, 0x000000008272d000)
02:00000:00364:2016/01/28 22:23:00.48 kernel [Handler pc: 0x0000000080e9e8c8 ut_handle installed by the following function:-]
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x00000000803d414c _$o1cexkX0.conn_hdlr+0x8c(0x000000000000003e, 0x0000000000000000, 0x0000000000007800,
0xffffffffffffffff, 0x0000000000009b14)
02:00000:00364:2016/01/28 22:23:00.48 kernel pc: 0x0000000080f95f74 _coldstart(0x000000000000020c, 0x00000000803d426c, 0x0000000000000000, 0x000000000000
0000, 0x0000000000000000)
01:00000:00000:2016/02/08 16:07:09.91 kernel sddone: read error on virtual disk 52 block 13933312:
01:00000:00000:2016/02/08 16:07:09.91 kernel sddone: Windows NT system error 1450: Unforseen error.
01:00000:01245:2016/02/08 16:07:09.96 server Error: 823, Severity: 24, State: 1
01:00000:01245:2016/02/08 16:07:09.96 server I/O error detected during read for BUF=0x7F2E7080, MASS=0x7F2E7080, Buf#=0
We have these errors in our ASE 12.5.4 ESD#7 Windows 2003 x86 environment running on VMWare ESX 5
This is a production environment and we are doing POC for upgrade to ASE 16, and from Windows 2003,
so let's leave the upgrade suggestions for this question.
The problem is, that it leads to zombie processes, meaning processes not running but still holding locks. That requires a reboot.
SAP says that 1450 are Windows NT error and wants to raises their hands, call it quits.
The windows eventlog does not have any event, so basically the Microsoft team raises their hands too.
is there any way we can try to pinpoint and fix with evidence?
estimate rogue queries going zombie?
like file descriptors?
paged pool errors? (although there are no events related to paged pool in the eventlog)
your replies would be greatly appreciated.
Hi All,
I am not getting the resource file which is created by the installer(original sqlsrv.res or bserv.res etc), is it not available for 15.7, because it is there on 15.0.3
Version of my current ASE : Adaptive Server Enterprise/15.7/EBF 24747 SMP SP135 /P/Sun_svr4/OS 5.10/ase157sp133x/3927/64-bit/FBO/Fri Jun 5 01:27:51 2015
If it is true that SAP has made it deprecated as sp_password, then where is the alternative ??
Thanks & Regards
pankaj
I am about to choose between different Linux distributions as an OS for some new project with SAP ASE. I was trying to find which Linux is recommended by SAP to be used with SAP ASE, but was able to find only compatibility information, on which Linux distribution I can install SAP ASE. Does it means that there is no "favorite" Linux for SAP ASE?
(Using ASE 15.7 SP110+) I have been exploring the use of global login triggers for a variety of purposes. I read that I had to be careful about inadvertently locking out "sa" and other necessary system-roled users. I could use specific, individual login triggers as well/instead, but would like the global option as a means of generically catching all login attempts to potentially write to my own, custom audit log.
I note that (non global) login trigger stored procedures "cannot be dropped" until/unless disassociated from login triggers. I tried an experiment with my global login trigger - wherein I removed the supporting stored procedure (without previously disassociating it from the global login trigger). Such immediately blocked all logins (including sa). Is that the intended behavior? Or is it an oversight - such that dropping the stored procedure supporting a global login trigger should not be allowed until disassociation from the global login trigger has occurred?
I look forward to reading your responses.
Thanks,
Ben Black
Bonjour,
I need to change the backupserver file without shutting down the backupserver. I know how to change the serverlog file using sp_errorlog but can't find a way to do the same with the backupserver. Is there a way to connect to the backup server and issue the same command? I need help on this.
Thanks for your time and expertise.
Best Regards,
William
We're currently running ASE 15.7 SP 63.
We've recently had what might be some contention issues in tempdb, we're still investigating.
However, this brought up a question: are there any good guidelines as to how many temporary databases there should be?
Currently on the system in question we have 30 engines, 6 tempdbs in the default pool, 1 tempdb for DBAs, and 1 tempdb for a monitoring tool. 8 total tempdbs. Is this enough, or should there be more? What are the main considerations for how many tempdbs there should be?
Hello Everyone,
We have 2 instances with some set of databases in each instances . ( Both are with same version and running on same host 15.7 ) .
We would like to move database named as "QWE" (DBID is 6 ) from instance1 to instance2.
But in instance2 , We have set of databases and one of DB is assigned with DBID as 6. Now as i mentioned i would like to move database "QWE" from instance1 to instance2.
I read in manuals as "In destination server DBID slot should be free i.e here DBID 6 ) . But in my case database exists with DBID = 6 in instance2 .
How to UNMOUNT and MOUNT database with new DBID or How to change the DBID of existing database ?.
Please advise on this
Hello
I'm trying to install SAP ASE 16 with a response file created with the GUI installation mode: setup.bin -r ASE16.txt, but it's failed, linux console return the following informations
./setup.bin –f ASE16.txt -i silent -DAGREE_TO_SAP_LICENSE=true -DRUN_SILENT=true
Usage: setup [-f <path_to_installer_properties_file> | -options]
(to execute the installer)
where options include:
-?
show this help text
-i [swing | console | silent]
specify the user interface mode for the installer
-D<name>=<value>
specify installer properties
-r <path_to_generate_response_file>
Generates response file.
The options field may also include the following in case of uninstaller
if it is enabled for Maintenance Mode
-add <feature_name_1> [<feature_name_2 ...]
Add Specified Features
-remove <feature_name_1> [<feature_name_2 ...]
Remove Specified Features
-repair
Repair Installation
-uninstall
Uninstall
notes:
1. the path to the installer properties file may be either absolute,
or relative to the directory in which the installer resides.
2. if an installer properties file is specified and exists, all other
command line options will be ignored.
3. if a properties file named either 'installer.properties' or
<NameOfInstaller>.properties resides in the same directory as the
installer, it will automatically be used, overriding all other command
line options, unless the '-f' option is used to point to another valid
properties file.
4. if an installer properties file is specified but does not exist, the
default properties file, if present, will be used. Otherwise, any
supplied command line options will be used, or if no additional
options were specified, the installer will be run using the default
settings.
Thanks for your support
Eric
Hi,
I understood that we have to use the below command to load a database dump from a tape
1>load database <database of my environment> from "path of the tape where dump is stored"
2>go
but I don't have the output of this in case the load is successful and failed. Can anyone help me in providing the output to analyse? Also, correct me in case my syntax is wrong.
Regards,
Dilip Voora