Hi all,
i want to list the logins which is locked.
select name from syslogins where status&2=2 ,it will give the all the locked user lists?
if the status is 226 ,224 -->in this what output it will give.
Please help me .
Hi all,
i want to list the logins which is locked.
select name from syslogins where status&2=2 ,it will give the all the locked user lists?
if the status is 226 ,224 -->in this what output it will give.
Please help me .
Hi All,
One can use the command line or else one can use dbisql which is GUI based.
Once we have logged into isql then how to query tables in our database.
1> use SID
2> go
1> select top 1 * from SAPSR3.USR02
Suppose by mistake we had typed incorrectly then we can use "reset" to reset the command prompt.
go is like ; in oracle. we need to manually type after every statement.
This is a sample output from isql.
Hi All,
Can I go ahead directly with SP02 or do we need to install SP01 first?
2. Is Always On option available for ASE 16.0.2.3 version running on Business Suite Applications.
3. Is it possible to directly upgrade 15.7.101 version to 16.0.2.3 version?
Could you please clarify above doubts.
Thanks in advance.
Regards
Suresh
Hello,
after switching from Oracle to Sybase two years ago (customer wish) I had to set up some standby databases, that works and the these standby dbs running fine, until a few days ago. One standby stops working during applying some transaction logs. Normally I would load the latest backup of the <SID> db and start applying again from that point, but the database service (Win2k8 R2 SP1) stops working. The service stays in starting mode, the log file doesn't log an error!
I didn't found a way to get the service running again, so I decided to reinstall the whole standby system.
Newest SWPM, uninstall > install (what's new, SWPM added new sybase users even they exists in AD (productiv side) (I had to change the user on the PRD system, because the internal windows id was changed)
So, Sybase service is running fine again and the SAP system was up.
Next step was, to reload the master db with the newest backup, start single user modus and loaded master db successfully.
After that, I started Sybase via service and logged on, and get the following error message:
Msg 921, Level 14, State 1: Server 'SID': Database 'saptools' has not been recovered yet - please wait and try again. Msg 4001, Level 11, State 1: Server 'SID': Cannot open default database 'saptools'.
In the SID.log I get the following error messages: (just the main part)
00:0006:00000:00001:2016/03/31 14:42:06.28 server Database 'master' is now online. 00:0006:00000:00001:2016/03/31 14:42:08.28 server Database 'sybsystemdb' is now online. 00:0006:00000:00001:2016/03/31 14:42:08.45 server Database 'model' is now online. 00:0006:00000:00001:2016/03/31 14:42:08.92 server Database 'tempdb' is now online. 00:0006:00000:00001:2016/03/31 14:42:08.93 server Error: 926, Severity: 14, State: 1 00:0006:00000:00001:2016/03/31 14:42:08.93 server Database 'sybsystemprocs' cannot be opened. An earlier attempt at recovery marked it 'suspect'. Check the ASE errorlog for information as to the cause. 00:0006:00000:00001:2016/03/31 14:42:08.95 server Unable to proceed with the recovery of dbid <31514> because of previous errors. 00:0006:00000:00001:2016/03/31 14:42:08.95 server Continuing recovery with the next database. 00:0006:00000:00001:2016/03/31 14:42:08.95 server System stored procedures are not currently accessible due to a recovery error. Please consult the errorlog. You may need to drop and re-create the sybsystemprocs database and re-run the installmaster SQL script if the error is unrecoverable. 00:0006:00000:00001:2016/03/31 14:42:09.90 server Error: 2812, Severity: 16, State: 5 00:0006:00000:00001:2016/03/31 14:42:09.90 server Stored procedure 'sp_do_poolconfig' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output). 00:0013:00000:00018:2016/03/31 14:42:09.95 server Recovering database 'saptools'. 00:0013:00000:00018:2016/03/31 14:42:09.96 server Started estimating recovery log boundaries for database 'saptools'. 00:0013:00000:00018:2016/03/31 14:42:09.96 kernel attempted read from memory location 0000000000000092 from instruction at location 0x000000000055088F 00:0013:00000:00018:2016/03/31 14:42:09.96 kernel Adaptive Server Enterprise system exception (0xc0000005) generated by a storage access violation. 00:0013:00000:00018:2016/03/31 14:42:10.45 kernel Symbolic stack trace information is successfully loaded 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x000000000055088F apl__startscan+ 0x69f (0x00000000FFFFFFFF, 0x0000000000000001, 0x0000000007F7F340, 0x0000000000000001) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x000000000054FAF6 startptnscan+ 0x4c6 (0x0000000000000069, 0x0000000075656200, 0x0000000007F7F6B0, 0x0000000000000069) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x00000000004E182D xsc__syslogs_setscan+ 0x1cd (0x0000000020042150, 0x0000000000000000, 0x00000000723B39C0, 0x0000000000000000) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x00000000004E1B39 xls_startscan+ 0x239 (0x00000000706CC8C0, 0x00000000706CC8C0, 0x0000000020B6C948, 0x0000000000000009) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x0000000000688C4E ckpt_get_record+ 0x4e (0x0000000000000009, 0x0000000000000001, 0x0000000000000001, 0x0000000000000009) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x0000000000412595 rec_logbounds+ 0x3d5 (0x0000000000000001, 0x00000000706CC8C0, 0x0000000000000000, 0x0000000075654930) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x0000000000646FCA recovery+ 0x4da (0x000000000125C271, 0x0000000000000001, 0x00000000706CC8C0, 0x0000000000000011) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x0000000000677ED1 boot__recover_and_online+ 0x101 (0x00000000B19AA000, 0x00000000B19AA000, 0x0000000000000001, 0x0000000075654930) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x00000000006D5DC6 rec__boot_recover_dbs+ 0x126 (0x00000000B19AA000, 0x0000000006C1FB78, 0x0000000000000003, 0x0000000000000008) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x00000000015D7B22 rec__parallel_hdlr+ 0x232 (0x0000000006C1FB78, 0x0000000029587230, 0x0000000000000000, 0x0000000000000000) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x000000000065965F kpntwrapper+ 0x4f (0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel pc: 0x0000000077608FED CreateFiberEx+ 0x27d (0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000) 00:0013:00000:00018:2016/03/31 14:42:10.55 kernel end of stack trace, spid 18, kpid 3735581, suid 0 00:0006:00000:00001:2016/03/31 14:42:11.33 server Database 'SID' is now online. 00:0006:00000:00001:2016/03/31 14:42:19.18 server Database 'saptempdb' is now online. 00:0006:00000:00001:2016/03/31 14:42:20.19 server Database 'sybmgmtdb' is now online. 00:0006:00000:00001:2016/03/31 14:42:20.19 server Error: 926, Severity: 14, State: 1 00:0006:00000:00001:2016/03/31 14:42:20.19 server Database 'sybsystemprocs' cannot be opened. An earlier attempt at recovery marked it 'suspect'. Check the ASE errorlog for information as to the cause. 00:0006:00000:00001:2016/03/31 14:42:20.23 server Error: 2812, Severity: 16, State: 5 00:0006:00000:00001:2016/03/31 14:42:20.23 server Stored procedure 'sp_do_poolconfig' not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of o
I didn't see an error like this before and I don't know how the "sybsystemprocs" db get marked as "suspect".
I retried to load the master db, that works, but if I try to load saptools, nothing happened. After "go", no error no other information.
Any idea how to get back to a "working" Sybase database?
Thank you!
Best regards,
Tobias
SAP Idea Place for SAP Adaptive Server Enterprise is now available: https://ideas.sap.com/SAPASE
You can use this to share your idea for feature enhancements and vote on ideas others have shared.
Please click on Submit Idea to share your idea. Please check the blog post with more details on how this works –
Welcome to Idea Place for SAP ASE!
The SAP Adaptive Server Enterprise Session is only available to those defined in our system as customers, partners or employees. Customers and partners have S-user numbers attached to their accounts. You can check if you have an S-user number by going to https://accounts.sap.comand looking at the User ID field to see if an S-number is there. That is, the letter “S” with a string of numbers after it. If there is a letter “P” and a string of numbers, you are listed as a “public” user. Public users don’t have access. If you are from a customer account, you can request an S-user account here.
Hi,
I am trying to install SAP IDES EHP7 system using Windows 2012 & ASE Sybase 16.
Currently I am stuck at installation phase "Configure Database Components" where SAP has attempted to restart Sybase DB service but it has failed and until DB service will be up installation can not be progress further.
Following are my observations w.r.t SAP SYBSQL_ID1 service
Installation is trying to restart Sybase DB service
service is stopped & not getting started
trying to start it manually
service failed with error 1067 : The process terminated unexpectedly (When service has local user credentials i.e. ".\sybid1" )
In the Windows Event log, I am getting below messages
After that I used one domain A/c to start the service i.e. "domainXYZ\sybid1"
then I am getting error 1053: Service did not respond to the start or control request in a timely. fashion.
In the event log I am getting time out error, I tried to increase time out value to 24 hrs.(https://support.microsoft.com/en-us/kb/884495) but its still failing & running for only 30-40 seconds, however event log shows new value of time out i.e. 86400000 so changes are reflected but service is not getting started.
As this is Windows service issue, I am not getting any logs anywhere else (not in sapinst_instdir as well).
Kindly suggest is there anyway to forcefully start Sybase database or Is it possible to recreate service as stated in link Error 1053: The service did not respond plz
If I am going for recreation of service manually then will there be any impact on installation which is halted now w.r.t. any registry changes.
Thanks for your response.
Best Regards,
Kiraang.
-- SYBASE VERSION --
Adaptive Server Enterprise/15.7.0/EBF 24718 SMP SP64 /P/Sun_svr4/OS 5.10/ase157x/3384/64-bit/FBO/Thu Jun 25 11:22:09 2015
-- END SYBASE VERSION --
Hi all,
I request your advices to find a way to limit the increase of my log segment to complete my SQL statement.
I have a database with 40Gb of log segment with one table changing its structure.
The table information is
1> sp_spaceused TABLE_A
2> go
name rowtotal reserved data index_size unused
------------ -------- ----------- ----------- ---------- ------
TABLE_A 30318974 31208544 KB 30318976 KB 888360 KB 632 KB
My initial sql statements are:
alter table TABLE_A add M_COMMENT_2BT char(100) default ' ' not null
go
alter table TABLE_A replace M_COMMENT_2BT default null
go
update TABLE_A set M_COMMENT_2BT = M_COMMENT where M_COMMENT is not null
go
Executing them with isql with -p and -e option gives me a total execution time of 1959862 ms.
My goal is to reduce this execution time
My remarks about the 1st SQL:
Because we're adding a 'non null' column, the ALTER will act like a SELECT INTO + INDEXES recreation. this is confirmed if I checked the values of syspartition.datoampage and syspartitions.indoampage before and after the statement --> values changed.
Moreover activating 'set statistics io' before the statements returns the following.
2> alter table TABLE_A add M_COMMENT_2BT char(100) default ' ' not null
Table: #syb__altab scan count 0, logical reads: (regular=35139295 apf=0
total=35139295), physical reads: (regular=0 apf=0 total=0), apf IOs used=0
Table: TABLE_A scan count 1, logical reads: (regular=7801974 apf=0
total=7801974), physical reads: (regular=3517 apf=429892 total=433409), apf IOs
used=429849
Non-clustered index (index id = 2) is being rebuilt.
Non-clustered index (index id = 3) is being rebuilt.
Total writes for this command: 1342908
Execution Time (ms.): 1617204 Clock Time (ms.): 1617204
2> update TABLE_A set M_COMMENT_2BT = M_COMMENT where M_COMMENT is not null
Table: TABLE_A scan count 0, logical reads: (regular=0 apf=0 total=0),
physical reads: (regular=0 apf=0 total=0), apf IOs used=0
Table: TABLE_A scan count 1, logical reads: (regular=7642524 apf=0
total=7642524), physical reads: (regular=0 apf=0 total=0), apf IOs used=0
Total writes for this command: 89284
Execution Time (ms.): 342622 Clock Time (ms.): 342622
I checked with our development team whether there's a reason to have a 'non null' column and they couldn't answer me.
Therefore I changed by original SQL with
alter table TRN_HDRF_DBF add M_COMMENT_2BT char(100) null
go
update TRN_HDRF_DBF set M_COMMENT_2BT = M_COMMENT where M_COMMENT is not null
go
This time the execution time is: 1165890 ms which is a bit better (I expected more) but this test raised two remarks
1.I faced a LOG SUSPEND during 'update TRN_HDRF_DBF set M_COMMENT_2BT = M_COMMENT where M_COMMENT is not null'.
I added 20Gb of log to my database then I executed every 30s "select lct_admin('logsegment_freepages',db_id('${DBASE}'))" in a file and analyzed the output. I reached a maximum usage of 61Gb of my logsegment.
Question: How couldd the same UPDATE statement filled my log segment? My assumption is that in this case, my ALTER statement was a fully logged operation and it filled the log segment that couldn't empied fast enough to allow the UPDATE to execute successfully. Am I right?, is there a way to prevent this behavior?
2. Looking at the timing the UPDATE statement was very long
2> update TABLE_A set M_COMMENT_2BT = M_COMMENT where M_COMMENT is not null
Table: TABLE_A scan count 0, logical reads: (regular=31 apf=0 total=31),
physical reads: (regular=6 apf=0 total=6), apf IOs used=0
Table: TRN_HDRF_DBF scan count 1, logical reads: (regular=7642489 apf=0
total=7642489), physical reads: (regular=197672 apf=43521 total=241193), apf IOs
used=43521
Total writes for this command: 682190
Execution Time (ms.): 1165870 Clock Time (ms.): 1165870
Why do I have more writes? does is explain the differences?
Thanks all for your valuable inputs
Hello Experts,
I have 2 queries which need to be discussed with you people.
1.I am currently working with Sybase database 15.7.0.122 and with Windows environment .It has also been released a sap note by sap that we sybase central has vanished and the customer's are forced to move to Sybase Control Center.Is there any way or plug ins that we can install and use sybase central.
2.I have downloaded and configured the Sybase Control center 3.2.7 which came with Sybase database 15.7.0.122 software and able to launch ,configure the user database as well as took the backup successfully and it seem's the web gui interface looks good but sometimes clock revolves which is some time annoying.
My question and requirement is to schedule the automatic backups with retention through scripts which I was able to do in Sybase central and Dbacockpit but here don't find any option.However , I see that in Sybase 16.0 business suite there is TASK MANAGEMENT option in Sybase control center where you have option to schedule the jobs.May be I am not able to find in the current version .Appreciate your guidance in fixing it.
Thanks
Asim
Hi All,
I am having an requirment system refresh activity through Backup/restore (from Prodcution to Quality server) .
I am having Windows server & Sybase database .
Both source and Traget systems are active .
In Oracle and Msql server backup /restore procedure we have some scripts the change DBSID after restoring the backup re4sroe.
Please sugegst and how canwe do in sybase <please sugegst any documentaion or procedure to achive this .
Advance Thanks
Auf dem DSAG Jahreskongress 2016, der vom 20. bis 22. September in Nürnberg stattfindet, wird die aktuelle SAP ASE Roadmap am 20.9. von 15:45 Uhr bis 16:30 Uhr präsentiert.
http://kongress.dsag.de/programm#2016-09-20
Anschließend gibt es die Möglichkeit mit SAP Vertretern und den Leitern der DSAG Arbeitsgruppe aktuelle ASE Themen in lockerer Runde zu diskutieren. Hierzu haben wir den Meeting Raum "Nizza" für uns gebucht.
Wir sehen uns in Nürnberg!
Matthias Wild
We created a number of amazing session for SAP Applications / SAP Business Suite on SAP Adaptive Server Enterprise (SAP ASE) for SAP TechEd Las Vegas 2016. All sessions are available on more than one day, so you have a lot of flexibility to build your personal agenda.
Some sessions are no specifically for SAP Business Suite (-> see last column), but might be interesting for you as well.
Session ID | Title | Type | Day | Time | for SAP BS |
---|---|---|---|---|---|
DMM809 | Road Map SAP Adaptive Server Enterprise | Road Map | Tue | 12:00 pm | yes |
DMM204 | SAP Business Suite on SAP ASE: Find and Fix Common Query Performance Issues | Lecture | Tue | 04:00 pm | yes |
DMM809 | Road Map SAP Adaptive Server Enterprise | Road Map | Wed | 02:00 pm | yes |
DMM263 | Install, Deploy, and Use SAP ASE on SAP HANA Cloud Platform | Hands-On | Wed | 02:00 pm | no |
DMM211 | Incorporating SAP HANA into an SAP ASE OLTP Reporting Environment | Lecture | Wed | 05:45 pm | no |
DMM214 | Application Enhancements Using SAP ASE Encryption and In-Memory Features | Lecture | Thu | 02:00 pm | yes |
DMM263 | Install, Deploy, and Use SAP ASE on SAP HANA Cloud Platform | Hands-on | Thu | 02:00 pm | no |
DMM204 | SAP Business Suite on SAP ASE: Find and Fix Common Query Performance Issues | Lecture | Thu | 05:45 pm | yes |
DMM211 | Incorporating SAP HANA into an SAP ASE OLTP Reporting Environment | Lecture | Fri | 9:15 am | no |
DMM214 | Application Enhancements Using SAP ASE Encryption and In-Memory Features | Lecture | Fri | 10:30 am | yes |
You are looking for the SAP ASE session overview for SAP TechEd Bangalore and Barcelona? This will be available soon.
Enjoy SAP TechEd!
Experts,
We are into a testing scenario.
We have a 1TB database, with 65 gigs assigned for log device.
To find , how quick or what time would it take to your transaction log to get full.
Could you give me some minimally logged, or non logged operations / query in a loop or something.
As said, the idea being to fill the syslogs and, we get an errors messages of ran out of space. So that we and kill the SPID. ( Not to harm the system )
Regards,
Aji
Dear Colleagues,
I would like to know more about the following entry in StartUp Messages in the ASE Error Log:
00:0006:00000:00001:2016/01/03 21:07:20.42 server Boot Count: 58
What does this actually mean?
Hello,
triying to find documentation to perform the task I found some information about how to do it with the sysbase control center, but I want to synchornize the system using another methods.
Has ASE a program similar to HANA HDBLCM?, is it possible to do it thru the SAP Netweaver Administration?.
Wich ports need to be openned from solman < > child system to configure the MAI monitor?.
Thanks and regads,
Dario Cascallana.
Hi Folks,
We are installing BOBJ 4.2 on SYBASE 15.7 database. As per the BOBJ installation guide we have installed Sybase 15.7 before installing the BOBJ and then will have to create the database devices along with their respective databases (CMS & AUDIT). As you are aware that now we have SYBASE CONTROL CENTER to perform both the activities. Hence I am logged in to SCC (https://hostname:8283/scc) with sccadmin USER then navigated to administration console --> ASE Servers --> Space Management --> Devices --> Database devices --> Click on NEW. There it opens window and ask to select the server and here only I am stuck (screenshot attached for your reference) because it does not show any server.
I request you to please let me know if I missed any post DB installation step where I had to register the server. Thanks
Hi,
We are performing a system refresh from production to Test system and when we try to load the database using Data protector , we are getting an error and we are not sure where does the problem is.
1> load database T15 from "ob2syb::2015/06/27-242::P15::P15"
2> go
Backup Server session id is: 8. Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.
Backup Server: 4.132.1.1: Attempting to open byte stream device: 'ob2syb::2015/06/27-242::P15::P15::000'
Backup Server: 4.141.2.24: [109] The 'api_read' call failed for database/archive device while working on stripe device 'ob2syb::2015/06/27-242::P15::P15::000' with error number 0 (Success). Refer to your operating system documentation for further details.
Backup Server: 6.31.2.4: Volume rejected.
Backup Server: 1.14.2.2: Unrecoverable I/O or volume error. This DUMP or LOAD session must exit.
Backup Server: 4.125.1.1: Archive API information for device='ob2syb::2015/06/27-242::P15::P15::000': Vendor application name=Data Protector A.08.10, Library version=221, Message=[Critical] From: OB2BAR@<hostname> "T15" Time: 06/27/2015 01:41:58 PM ABORT_ON_CLOSE received. Aborting .
Backup Server: 6.32.2.3: ob2syb::2015/06/27-242::P15::P15::000: volume not valid or not requested (server: , session id: 8.)
Backup Server: 1.14.2.4: Unrecoverable I/O or volume error. This DUMP or LOAD session must exit.
Msg 8009, Level 16, State 1:
Server 'T15', Line 1:
Error encountered by Backup Server. Please refer to Backup Server messages for details.
Following are the pre-steps I have done before loading the database.
I have attached the ddlgen statements from the source system and the steps that are done in the target database. I'm not sure where is the problem.
Can you please help me there?
I'm able to load the database with the backup taken in the target database without issues. I feel it could be something related to change in the SID's.
Thanks and Regards,
Vimal