Re: What happened to Sybase EC Map?
Hi Phil , We are also using the same software , did you get break through yet thanksPiyush
View ArticleStored procedure runs extremely slow in certain scenarios
Greetings! In our batch scheduler, we call the same stored procedure (let's call it "my_proc") twice. batch job 1a: execute my_proc("dinosaurs")batch job 1b: execute my_proc("humans") Now I list it as...
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
When a proc is executed Sybase will attempt to re-use any query plans that still reside in cache. If no such plans reside in cache then the proc is (re)compiled and a new set of query plans is...
View ArticleFinding actual disk space usages before shrinking database.
Greetings, I have databases with dedicated devices meaning a specific device being used by one DB only. How do I find out actual disk space being used before I decide to shrink the database. I can...
View ArticleRe: Finding actual disk space usages before shrinking database.
"sp_helpdb <dbname>" will show the amount of free space on data devices fragments. "sp_helpsegment <segment_name>" (at top of output) will show free space per disk. If none of these (dbcc...
View ArticleRe: Finding actual disk space usages before shrinking database.
dbcc usedextents(dbname,0,1,1) will give you a summary of usage by device fragment (i.e. row in sysusages) 1> set switch on 36042> goSwitch 3604 ('print_output_to_client') is turned on.All...
View ArticleRe: Finding actual disk space usages before shrinking database.
Thanks Bret, How accurate is sp_helpdb output. Meaning how often does ASE need to refresh internally or is this automatic when ASE allocates or releases pages/extents to/from objects so...
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
Run optdiag and check if there is any skew in stats. Run sp_modify_stats to remove skew. Also check if tables are fragmented. If you have UNION in the query then dismantle the query. Check if the index...
View ArticleRe: SYSAM and startserver problem.
The issue you are facing due to the Sysam server not started. You can run the ASE for grace period of 30 days and after the grace period will be expired, Server will not come up without the license....
View ArticleRe: How to Connect SAP Sybase 15.7 Database from Business Objects 4.1
Hi Mahendran, Can you please check with connecting to the database using the application owner as user.You can modify the DSN settings for username & password. ~Regards Gaurav
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
Thank you for the extremely helpful reply, Mark! It would probably be easier for us to implement option 2 (create proc ... with recompile). I'll look into this more and hope to test this in the...
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
For option 2 just keep in mind (and this is more for anyone coming across this thread in the future, eg, via a google search) ... Creating a proc 'with recompile' will require the proc to be compiled...
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
When you "create proc xxx with recompile" - When you execute that proc, a plan is cached and executed, and then immediately removed after execution. There is no other task that will ever reuse that...
View ArticleRe: Stored procedure runs extremely slow in certain scenarios
Thanks! This is really helpful. It looks like "create... with recompile" is what I need. This procedure only runs nightly, so the overhead is not much of a concern.
View ArticleUpgrate to 15.7 : show_cached_text() function return NULL
Hello,I have upgraded Sybase server release frim 15.0.2 to 15.7. Now, I cannot query proxy table "monCachedStatement"...When I do "select show_cached_text(SSQLID) from master..monCachedStatement",...
View ArticleRe: Sybase EcMap 5.2 - Connectivity to Sybase 16 or Oracle 12C database
Hi Deepak,I found the below link in the documentation, hope this helps you.Also this is for 4.2 versionhttp://infocenter.sybase.com/archive/topic/com.sybase.infocenter.dc00189.0420/pdf/ecm42gs.pdf Best...
View ArticleRe: Upgrate to 15.7 : show_cached_text() function return NULL
Hi Joel, I tried to run the query at my system in ASE 15.7 and I was able to run it without any error.The possible reasons can be1) May be post upgrade some the MDA tables structures have not been...
View ArticleRe: Upgrate to 15.7 : show_cached_text() function return NULL
Hello Ankitha, Thanks for your reply. Here is the result of the quey : 1> select InstanceID, SSQLID, show_cached_text(SSQLID), Hashkey, UseCount, StmtType from master..monCachedStatement2>...
View ArticleRe: Upgrate to 15.7 : show_cached_text() function return NULL
Hi Joel,You can tryselect SSQLID, show_cached_text(SSQLID), Hashkey, UseCount, StmtType from master..monCachedStatementgo Best Regards,Ankitha
View ArticleRe: Upgrate to 15.7 : show_cached_text() function return NULL
Here is the result : 1> select SSQLID, show_cached_text(SSQLID), Hashkey, UseCount, StmtType from master..monCachedStatement2> goMsg 207, Level 16, State 4:Server 'SYB_ASP_REC', Line 1:Invalid...
View Article