How much Solaris memory allocated by ASE 15.0.3?
Hi. I'm running ASE 15.0.3 on a Solaris 10 system. There is 16GB physical memory. I have set max memory to 15GB. Also, allocate max shared memory is 0, and dynamic allocation on demand is 1. When I...
View ArticleRe: From ASE 12.5 2k page size to 15.7 4k page size
Hi Mark. Yes I am using linux. Actually I was thinking about using huge-pages on my new ASE 15.7 setup. Which means that OS will handle memory on 2MB blocks. But that's maybe a bad idea? But if I...
View ArticleRe: From ASE 12.5 2k page size to 15.7 4k page size
Hi Bret and Simon. Thank you for your replies. I won't care much about it then
View ArticleRe: From ASE 12.5 2k page size to 15.7 4k page size
Hi Søren, Huge pages are beneficial to ASE, but that is different than the disk i/o that I was referencing. I would recommend aligning your disk blocksize and ASE pagesize and also implementing huge...
View ArticleRe: How much Solaris memory allocated by ASE 15.0.3?
You didn't say what other tools you're using so fwiw ... ASE uses shared memory, so to see how much shared memory the OS says ASE is using ... run 'ipcs -a' and add up all the chunks owned by your ASE...
View ArticleRe: From ASE 12.5 2k page size to 15.7 4k page size
I'd say it's definitely worth caring about, but maybe with a longer term view of validating behaviour with large page sizes over time, rather then thinking you need to switch now purely because the...
View ArticleIntercepting DBCC LOG output in an ASE ODBC application
Hi.For obtaining DBCC LOG output - one should register a callback function.ASE would provide means for doing that under DBLIB and CTLIB.No documented way for achieving that found in ODBC interface...
View ArticleRe: Intercepting DBCC LOG output in an ASE ODBC application
Hi, Looping through them all SQLGetDiagRec() would be the way forward as far as I can see.The output of dbcc log (as with other dbcc commands) will be sent in what we call 'EED' tokens which are used...
View ArticleRe: From ASE 12.5 2k page size to 15.7 4k page size
Hi Søren, If you consider this thread answered, please select the post (Bret's, Simon's, or mine) that answered your question and mark it as such. You may also indicate any that were helpful....
View ArticleWhich errors should be logged that are currently just sent to client?
ASE follows these general rules regarding when to send error messages to the errorlog1) Messages with a severity 19 or higher are sent to the errorlog.2) Messages with a severity lower than 19 are sent...
View ArticleRe: Which errors should be logged that are currently just sent to client?
I would initially say all error messages that indicate a resource shortage (eg, the 1105/1204/701 you already mention) should go to the errorlog. Of course, once you start dumping the extra messages to...
View Articlebad query plan for join on column with mostly ' ' content
Hello, We are running a 3rd party application for many years that had some performance problems. Some queries do not use the correct index. An example : - table A column ref1 varchar(35) null. non...
View ArticleRe: How much Solaris memory allocated by ASE 15.0.3?
John, Monitor Solaris memory with prstat or vmstat in a constant way. Then try to increment Solaris memory, 20% of total memory is recommended for SO in most installations.
View ArticleRe: How much Solaris memory allocated by ASE 15.0.3?
Thanks Mark. I don't quite understand everything you said though. "Because of your 'allocate max shared memory' and 'dynamic allocation on demand' settings I wouldn't be surprised if you have a lot of...
View ArticleRe: bad query plan for join on column with mostly ' ' content
I could say [run 'update index stats' on each table] and [make sure you have statistics on every referenced column in each referenced table], but I'll skip that and guesstimate that the high volume of...
View ArticleRe: bad query plan for join on column with mostly ' ' content
Hi Luc, It does sound like a typical data skew problem.You have 63% of the column = " ", this skews the total density so we reckon that for a single row from the left a <large> number of rows...
View ArticleRe: How much Solaris memory allocated by ASE 15.0.3?
John, It wasn't clear from your initial post how you had allocated memory to the dataserver. 'course, I made some assumptions without stating them ... that's my bad. My working *assumption* was that...
View ArticleRe: rigth way to find free space on log segment
How far off was option #3? Using solely the options you've listed I'd say the most efficient method is the one that runs the quickest and is easiest for the front-end to process (eg, the output from...
View ArticleRe: Index Page Cluster Ratio 15.7
Hi, You can make use of the derived_stat() built-in directly against systabstats rows to iterate through the indices. select str(round(convert(double precision,derived_stat(id,indid,"index page cluster...
View Article