Re: Table variables performance
Basically, the memory is pulled from proc cache - so not sure if it would be consistently at 128KB - but it does make sense that it is on an even 2K boundary as ASE memory is 2KB allocations. AFAIK,...
View ArticleRe: Table variables performance
This isn't configurable, however the decision is based on two values. 512 rows or 16384/row_size, whichever is less. In the example provided, the 513th insert into the table variable would begin to...
View ArticleRe: Table variables performance
Thanks - so basically, @ tables will be very fast until 512 and will then get slower. If the 513th row overflows into a worktable - then wouldn't I expect similar performance to a temp table. Why would...
View ArticleRe: Database Auto Expansion Feature -- Issue when assigning growthby value...
Hi Tran, The links provided are down at this point. Try the following link. This is ASE 16, but all the commands and examples are the same. Configuring a Database for Automatic Expansion - System...
View ArticleSybase 16: "No table lock on object"
After upgrading to Sybase 16, we're seeing quite a few messages in the logs "No table lock on object.sys.... in database master for sysusages, sysdatabases, sysattributes. The manual suggests...
View ArticleRe: Sybase 16: "No table lock on object"
It would be extremely helpful if you provided more details. The above is like saying over the phone - "Doc, my arm hurts"........without explaining that it was because you go too close to the stove...
View ArticleRe: Table variables performance
There is a bit of a difference between how work tables are handled (spills from proc cache) and #temp table reads. Remember, for example, that a #temp table can leverage cached data quite effectively...
View ArticleRe: Sybase 16: "No table lock on object"
Afraid that's the problem - We're running a large application and we're seeing errors in the error log.We don't know if the code is experiencing issues but suppressing the errors or if these are...
View ArticleRe: Sybase 16: "No table lock on object"
Hi Mike, Looks like this message is error 12306. I don't find any new bugs related to this message for 16.x. When the message is output in the log, is it on a line with the usual errorlog prefix(e.x....
View ArticleRe: Sybase 16: "No table lock on object"
Thanks - I've found the problem by accident Its not our application code.Running the proc sp_helpdbresults in Msg 12306, Level 26, State 39Server '<servername>', Procedure 'sp_helpdb', Line...
View ArticleAdaptive Server Enterprise tool Config
Our ID Mgmt would like to configure one of SYBASE server in "Adaptive Server Enterprise tool " for ID mgmt purpose. I am confused about the parameters has to be passed while configuring. 1) Is it...
View ArticleRe: Sybase 16 and possible bug with isolation levels
Mike, So, you need an Emergency Bug Fix. A good old fashionned EBF... The question is, WHY are you reading at ISOLATION level 0? In other words, why are you tolerating or requesting a dirty read? Is...
View ArticleRe: Errors 5859, 5899 and heap error
Hi Experts, Can anyone help me over this(error 5859,severity 16) to fix it other than approaching for SAP Technical Support? Regards,Dilip Voora
View ArticleRe: Blocked device Vs Raw device
What is your company policy ? Use raw devices or file system for the data and log of SAP/Sybase ASE dataserver ? Raw devices give full control to ASE for writes (transaction commits) done by ASE engine...
View ArticleRe: Bcp Utility -Is ther any feature to dump into multiple stripes ?
You could manually designate the rows with the -F/-L command line options, sending the resulting output to different files, eg: bcp ... out mybcp1.out ... -F 1 -L 50000bcp ... out /otherdir/mybcp2.out...
View ArticleRe: Blocked device Vs Raw device
Hello Avinash,Thanks for your response. We have to use raw device . Seems we created soft link mistakenly by pointing blocked raw device instead of character raw device . We already mounted the...
View ArticleRe: Bcp Utility -Is ther any feature to dump into multiple stripes ?
Thanks for your response. It's not partitioned table . We don't have replication in our env .
View ArticleRe: Bcp Utility -Is ther any feature to dump into multiple stripes ?
Sounds good . Thanks for sharing this. Let me try these options and will get back you if i have any doubt in that
View ArticleRe: Blocked device Vs Raw device
Paul To put in a most simplified way : Block device does i/o in blocks at OS levelCharacter device allows you to do i/o at characters/bytes at OS level. Use ASE mirroring to your advantageIf you...
View Article