Re: optimize union in ase query
I have attached both plans and the statistics output for ASE 15.7
View ArticleRe: optimize union in ase query
Not small queries then :-) It would take some time to investigate (which I haven't got unfortunately!) I'd suggest running with set option show_missing_stats on and TF 3604 and see if you might need...
View ArticleRe: optimize union in ase query
Can you post: 1) The query2) The table ddl with index ddl
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 ArticleRe: optimize union in ase query
thank you for the reply and mostly for the explanation for compatibility mode. I shall test your suggestions this morning. Parallelism is enabled, however the optimizer refuses to parallelize this query.
View ArticleRe: optimize union in ase query
I have attached the query, but I am afraid I am not authorized yet to send the DDLs.Thank you for your answer
View ArticleRe: Is my database replicated?
Hi Mark, Thank you for you valuable answer, sorry for getting back so late but I wanted our DBA to reload the initial dump to do an analysis based on your answer and make sure I understood it....
View ArticleRe: monProcessSQLText and monSysSQLText sqltext not being displayed correctly
You might want to re-run installmaster.....it looks as if the table definition is point to the wrong internal RPC call. I should clarify this a bit. In recent versions of ASE, the ESD installer will...
View ArticleRe: optimize union in ase query
HelloToday I spent several hours on this case testing various optimizerr settings. Here are some results, I hope somebody has an idea The problem is related to the union, there are 4 queries...
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 ArticleRe: monProcessSQLText and monSysSQLText sqltext not being displayed correctly
Thanks Jeff. It was not so much that it was not run at all, rather it was failing, as a view was created on top of the mda tables to filter out the password information. The original MDA table names...
View ArticleRe: how select query use index without where clause?
Without where cluase indexes are useless except in some scenarios. One of scenario is mentioned by Bret where you could use covered index.Other I could think is that if you have an order by clause and...
View ArticleRe: optimize union in ase query
Looking at size of the query 88 seconds seems small . Jokes apart. If you see your plan you will see that 6 tables are used in reformatting using store index. If you see that these 6 tables are...
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 ArticleRe: Unused Indexes - MonopenobjectActitivy
With regard to LIO on unused indexes, there are at least two possibilities: 1) Any DML (inserts, updates, deletes) may require modifying the index keys....traversing the index (of course) will use...
View ArticleRe: Unused Indexes - MonopenobjectActitivy
Thanks very much Jeff, I´m collecting this structure since a month or more in order not to drop indexes used in less frecuently reports. About DES reuse not at all I monitor it with monitorconfig.I...
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 ArticleRe: Help With ASE Encryption
The Developer Editon already includes Encryption license, so you should just be able to begin using the Encryption features. So hopefully no need to go into the nuances of the 30 day grace license etc.
View ArticleRe: optimize union in ase query
I agree that you do not want to make too many changes but I guess breaking into simpler pieces will let you know what is the root cause. I would do followingselect <query1> into #tab1 selcect...
View Article