Re: Bad Performance of Merge Join
Well, I've worked for a couple (financial/banking) clients that had 1000's of procs (and standalone queries) and had allrows_mix set at the dataserver level. One client, after months of testing and...
View ArticleAny one has sample code of Multi-Thread Embbeded SQL in C ?
We want to write multh-thread code using Embbeded SQL in C.The Open Client version is 15.7 SP100.The Sybase Document : "Embedded SQL/C Programmers Guide (Open Client) " said it supports Multiple...
View ArticleRe: sp_helpsegment pages don't add up. How can I fix this?
Could you also post the output from: =================exec master..sp_helpdb <db_name>goselect @@maxpagesizego=================
View ArticleRe: What knobs and levers are available on historical MDA tables?
One of the recent ASE 15.7 releases (ESD 2? SP 100?) added the ability to reselect the entire contents of a pipe table with the new 'set mon_stateful_history {on | off}' command. As for the size of the...
View ArticleRe: sp_helpsegment pages don't add up. How can I fix this?
Thanks Mark, See below: exec master..sp_helpdb mastergo name db_size owner dbid created durability lobcomplvl inrowlen statusmaster 26.0MB sa 1...
View ArticleRe: What knobs and levers are available on historical MDA tables?
Mark, Thank you! This is exactly what I was looking for!
View ArticleRe: sp_helpsegment pages don't add up. How can I fix this?
When you are talking about logsegments it only makes sense to think of space in terms of reserved, and unreserved space. Here is a query I posted in the ASE for Custom Appplications forum. You can...
View ArticleRe: What knobs and levers are available on historical MDA tables?
Introduced in 15.7 ESD 2 -bret
View ArticleRe: Need Sybase PC client for Windows 7
Ryan, Thank-you for your help. With your direction, I was able to download the 15.7 PC client. O.K. to close this issue. Question answered ! JRW
View ArticleRe: sp_helpsegment pages don't add up. How can I fix this?
Your logsegment is sitting on the same device as the default/system segments (this is *normal* for the master database).When you have log and data mixed on a device (see the 'mixed log and data' clause...
View ArticleRe: How do I perform a meaningful join on monSysStatement and monSysSQLText?
You're (obviously?) going to be limited to SPID/KPID/InstanceID/BatchID. Keep in mind that a 'batch' of SQL text could include many statements, eg: =================== 1 batch, 5 statementsdeclare @a...
View ArticleRe: How do I perform a meaningful join on monSysStatement and monSysSQLText?
If you are looking for this " (SQL Text, CPU Time, Memory Usage)", then this could get some of the information: >use sybsystemprocs>go>sp_monitor "statement">go Or possibly this, if you...
View ArticleRe: Bad Performance of Merge Join
Interesting. I was just reading over Jeff Tallman's 2014 presentation "Troubleshooting and Tuning ASE Statement Cache Query Performance", presented at the ISUG-TECH conference a couple weeks ago, and...
View ArticleReducing the memory footprint of Sybase ASE
Hello All, We are doing a test install of SAP Solution Manager 7.01 on Sybase ASE 15.7. Since this is just a test setup, we started off with a lower-than-recommended hardware configuration (4 GB RAM...
View ArticleRe: Reducing the memory footprint of Sybase ASE
FWIW ... ASE's 'max memory' setting can be changed on the fly, while 'total logical memory' is a calculated value that you cannot change (ie, it's 'read only'; changing 'max memory' will cause 'total...
View ArticleRe: Reducing the memory footprint of Sybase ASE
Thanks Mark. I was incorrect in saying that max memory parameter was read only. In reality, It is indeed changeable but could not set it to a value below the total logical memory parameter. Total...
View ArticleRe: Reducing the memory footprint of Sybase ASE
To reduce 'max memory' you can try setting the new value and then bounce the dataserver. Upon startup the 'max memory' value would be applied first and then the 'total logical memory' setting will be...
View ArticleRe: Reducing the memory footprint of Sybase ASE
We tried to reduce max memory in the DB server config file like you said Mark but the DB and SolMan work processes are not starting up in this case. Forced to leave max memory as it is. I had also...
View ArticleRe: Bad Performance of Merge Join
There's nothing wrong with the merge join *IF* your tables/indexes can support it. In fact, merge joins can run circles around nested loop joins but again, this only happens *IF* your tables/indexes...
View Article