Is my database replicated?
Sybase version: Adaptive Server Enterprise/15.0.3/EBF 17690 ESD#1.1 RELSE/P/Solaris AMD64/OS 5.10/ase1503/2681/64-bit/FBO/Thu Aug 20 15:37:40 2009 Good afternoon, We received a database from a customer...
View Articlehow to use audit to monitor sp runing and time?
Suppose I have a stored procedure mysp, I want to monitor when the sp is called and running and how much time the sp running(when it's started and when it ends). Is it possible to use ase auditing to...
View ArticleTransformables: From Warm Standby to Active-Active MSA with Zero Downtime...
How often in your career do you have a chance to dismantle the old architecture in its entirety and build it again - completely redesigned? Usually, a company upgrades the hardware once in a...
View Articlehow to get client ip address in audit records?
I am trying ase 12.5 audit system. I enabled audit for login from powerbuilder app and got records like: 45116605/15/2014 1:50:10.570 PM1375[NULL][NULL]myusermydb[NULL][NULL]; ; ; ; , 192.168.1.72; ;...
View Articlehow to get client IP or host name or program name in stored procedure?
Suppose I run a sp for sybase ase. Firstly I need to connect to ase with specific loginname, then I have spid for this session. sp_who can give me the ip/hostname/programname. then with this spid, I...
View Articlehow to send out email from table data every day?
want to implement email function: send out data in email from a table with select everyday how to implement it in ASE 12.5?
View Articleisql output is Hexadecimal
Use isql command on Linux connect ASE 12.5 and try to access any table in mydb likeselect * from mytab All output is Hexadecimal. but if I access this database with tool like powerbuilder, the output...
View ArticleKey Features of DOL Table structure
I'm am rediscovering many features of the DOL data page and index page structures. 1. On non-leaf DOL index pages, only the page # and shortest distinguishable part of the key is written. If "Carl"...
View ArticleOptimizer does not follow hint for index forcing (15.7 SP110)
Hi All, A question about usage of hints. Sometimes , often enough, even when I have forced an index by ('index xxx)' in FROM cluase , optimizer decides not to use it , and it takes obviously a bad one....
View Articleoptimize union in ase query
we have a "select" query using 3 union operators (4 selects in total). In ASE 12.5.4 ESD# 10 executes in 2 sec, in ASE 15.7 SP103 it needs 88sec. If I run only 2 "select" (one union) it runs fast I...
View ArticleIMDB: Is Durability Really an Issue?
Just spent a couple of days in an aftermath of setting up the first large IMDB installation in a replicated environment. First of all - this is a pure fun. I love technology and IMDB to me, is a pure...
View ArticlemonProcessSQLText and monSysSQLText sqltext not being displayed correctly
Hi Folks, Wondering if anyone has seen weird characters being displayed when you do a simple select * from monProcessSQLText and monSysSQLText for the col SQLText. Have logged a call to SAP but not...
View Articlehow select query use index without where clause?
how select query use index without where clause? like select * from mytab it will use primary key and always doing full table-scan? For this case, indexes or primary has any improvement on performance?
View ArticleUnused Indexes - MonopenobjectActitivy
Hi all, I´m looking after unused indexes in databases searching for optselectcount and usedcount from monopenobjectactitivy. While doing the delta between the first snapshot and the last one I have...
View ArticleHelp With ASE Encryption
Hello friends, Can anyone out there tell me or point me to information on how to set up the ASE_ENCRYPTION option for version 15.7? I have an existing ASE installation for testing purposes. I want to...
View ArticleShoudnt drop index be a metadata operation?
I am not sure but drop index is taking seriously long time on my system. I always thought that it should be a metadata operation and should be done in 1-2 seconds max but it is taking too much time. I...
View ArticleDefragmentation on SSD drives
We just moved our Sybase ASE15.7 databases from standard "mechanical" HDD drives to SSD drives (IBM SAN). We suspect that with SSD drives, ASE indexes/tables will require less maintenance against...
View ArticleQuestion about Proxy table
1. Want to know if there is any different with following syntax to create proxy table for ase 12.5:CREATE TABLE dbo.my_proxy_table( id int not null, ....)LOCK DATAPAGESexternal table at...
View ArticleSystem debugging and analysis techniques scripts
The attached file contains scripts for AIX, Linux, Solaris, and HPUX for use in system debugging and analysis.Note that while it is named system-scripts.txt; it is a gzipped tar file. You will need to...
View ArticleASE CE 15.7 problem
My customer use ASE 15.7 CE sp110 on linux with 2 node , some application connection hang and block other process and cannot kill , ASE no report error , application process receive the following...
View Article