Re: Multiple Temporary Databases
Well the question wasn't really about the contention. The question is: "Are there any rules of thumb for how many tempdbs to have?" So far I've come up completely blank from looking through...
View ArticleRe: Multiple Temporary Databases
Basic thumb rule for number of temporary databases is minimum of two (one for sa and DBA activities) and another for non-sa end users. This allows sa/DBAs to connect even when user tempdb is full. If...
View ArticleRe: Multiple Temporary Databases
Erick, Avinash is correct in his rule of thumb. Aways have an "sa" tempdb in order to access the server in emergencies, and then perhaps an application tempdb. However, Mark is correct. To really tune...
View Articleadaptive server was shutdown
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:...
View ArticleRe: adaptive server was shutdown
ASE shutdown because this process was holding a spinlock when it hit a serious error (the timeslice). Spinlocks are used to give a process exclusive access to a critical system resource, usually for...
View ArticleWhy SQL DOUBLE in preparedStatement truncated number with decimals when...
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...
View ArticleRe: Why SQL DOUBLE in preparedStatement truncated number with decimals when...
MONEY is not Double (approximate) datatype, but is based on DECIMAL (exact) data type. I don't have access to the reference right now, but you may want use a different 'set' to match the database data...
View ArticleRe: Why SQL DOUBLE in preparedStatement truncated number with decimals when...
Thanks Chris. I used setBigDecimal and its saving the expected value. I want to check the jConnect metadata first before applying the fix. I'll let you know once i get the result. Thanks a lot.
View ArticleMonitor DBCC Checkstorage
HiI 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...
View ArticleSpinlocks on "Sched Q"
Is there any documentation about spinlock contention on "Sched Q" ? Thanks Mike
View ArticlemonSysWaits event 150 - what a meaning of "Number of times tasks waited..."
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...
View ArticleRe: Monitor DBCC Checkstorage
Hi Vincent, I don't know of anything that will give you progress status on checkstorage.Checkstorage doesn't check user tables directly. It works by first copying page header metadata from every page...
View ArticleRe: monSysWaits event 150 - what a meaning of "Number of times tasks waited..."
WaitEventId 150 is Waiting for a lock. So : select count(*) from monProcess where WaitEventId = 150 gowill give you the number of blocked processes at that point in time. SAP/Sybase document mentions...
View Articleddlgen extraction
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 Voora8142785735
View ArticleRequired output of a loading a database from tapes
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...
View ArticleRe: ddlgen extraction
I can't think of any circumstances where you would have to use the ddlgen utility.You can use it any time you wish to extract DDL scripts for database objects.If you needed the DDL scripts for objects...
View ArticleRe: Monitor DBCC Checkstorage
Thanks Bret! Your explanation is very helpful. So I realize I made a wrong assumption. We just moved our database from 1 SAN to another and I thought that DBCC checkstorage+checkcatalog will scan all...
View ArticleRe: ddlgen extraction
ddlgen is a command line utility just like isql and bcp provided by SAP/Sybase. It is a tool to extract metadata in SQL/DDL format that is ready for use. It allows you to connect to an existing ASE...
View ArticleRe: ddlgen extraction
Avinash - So, you mean to say incase if we drop the database and then if we create a new database we have to opt ddlgen to extract the definitions of all the objects that are going to be associated...
View ArticleRe: ddlgen extraction
Dilip ddlgen extracts SQL/DDL from existing database. How you want to use that SQL/DDL output totally depends on what you want to do. How do you want a new database created ? SAP/Sybase provides...
View Article