Hello Maria,
You are a lifesaver . I didnt noticed that error. Thank you.
Could you please let me know which parameter should be changed and how can i change that. i am new to Sybase DB.
Regards,
Aamir
Hello Maria,
You are a lifesaver . I didnt noticed that error. Thank you.
Could you please let me know which parameter should be changed and how can i change that. i am new to Sybase DB.
Regards,
Aamir
Hi Cris,
yes i opened another thread in Solution manager, as my issue is identical to this thread also posted here.
Regards,
Anil
Hello Anil,
When i had the errors i opened a ticket to SAP Support.
the answer of the sap support was "Fix the errors in the logs or ensure that those are fixed
Do you have errors in the Sysbase log? Did you implement the note 1848054?
and prune the log."
Regards,
Hassan
Hi Hassan,
Thank you. Note 1848054 is not relevant to our systems as per snote. most of the errors fixed now, except attached 2 errors.
For error1 SAP Note 2280377 - SAP ASE Error SQL2714 in DBH_STG_SYSWAITS table - DBACockpit is applicable. But i cant use this note as in my system table DBH_STG_SYSWAITS owner is DBO only not SAPSR3.
For error2 - So far i don't find any supported note.
ERROR1 details are:
SID Error in RDI back-end setup occured! Details
Message Details
Exception CX_DBA_DBH_SETUP in class CL_SYB_DBH_COLLECTOR method IF_DBA_DBH_COLLECTOR~INSTALL line 60
Kernel Error ID:
WP ID: 7
WP PID: 3964
Application Server: HOSTNAME
SYSID:
SY-SUBRC: 0
SY-TABIX: 0
Message: Error in RDI back-end setup occured!
Database:
caused by
Exception CX_DBA_RDI_SETUP in class CL_SYB_RDI_DBO_TABLE method IF_DBA_RDI_DBO~CREATE line 103
Kernel Error ID:
WP ID: 7
WP PID: 3964
Application Server: HOSTNAME
SYSID:
SY-SUBRC: 0
SY-TABIX: 0
Message: Unable to create table 'saptools..DBH_STG_SYSWAITS'!
Database:
caused by
Exception CX_DBA_ADBC in program SAPMHTTP line 0
Kernel Error ID:
WP ID: 7
WP PID: 3964
Application Server: HOSTNAME
SYSID: BRT
SY-SUBRC: 0
SQL statement: CREATE TABLE saptools..DBH_STG_SYSWAITS ( "COLLECT_MODE" CHARACTER(1), "InstanceID" TINYINT DEFAULT 0, "SNAPSHOT_TIMESTAMP" BIGDATETIME DEFAULT current_bigdatetime(), "SOURCE_HOSTNAME" VARCHAR(60) DEFAULT '', "TIME_PERIOD" INTEGER, "WaitClassID" SMALLINT, "WaitEventID" SMALLINT DEFAULT 0, "WaitTime" BIGINT, "Waits" BIGINT) LOCK DATAROWS WITH COMPRESSION = PAGE
Database: +++SYBADM
caused by
Exception CX_SQL_EXCEPTION in class CL_SYB_RDI_QUERY
Kernel Error ID:
DB Error: Yes
SQL Code: 2714
SQL Message: [ASE Error SQL2714][SAP][ASE ODBC Driver][Adaptive Server Enterprise]There is already an object named 'DBH_STG_SYSWAITS' in the database.
ERROR2 details are:
Exception CX_DBA_RDI in class CL_DBA_RDI_QUERY method IF_DBA_RDI_QUERY~COLLECT line 206
Kernel Error ID:
WP ID: 9
WP PID: 4736
Application Server: HOSTNAME
SYSID:
SY-SUBRC: 0
SY-TABIX: 0
Message: Repair data collector!
Database:
caused by
Exception CX_DBA_DBH_SETUP in class CL_SYB_DBH_COLLECTOR method IF_DBA_DBH_COLLECTOR~COLLECT line 45
Kernel Error ID:
WP ID: 9
WP PID: 4736
Application Server: HOSTNAME
SYSID:
SY-SUBRC: 0
SY-TABIX: 0
Message: Unable to call procedure 'saptools..SP_DBH_DEVICES'!
Database:
caused by
Exception CX_DBA_ADBC in program SAPMHTTP line 0
Kernel Error ID:
WP ID: 9
WP PID: 4736
Application Server: HOSTNAME
SYSID: BRT
SY-SUBRC: 0
SQL statement: saptools..SP_DBH_DEVICES
Database: +++SYBADM
caused by
Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT
Kernel Error ID:
DB Error: Yes
SQL Code: 207
SQL Message: [ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'COND_TIME'.
[ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'COND_ROWS'.
Hi Swapnil
this is not the right section to post a question regards Installations.
You should be using Intallations and upgrades on SYSBASE DB.
This Sections is for issues on DB2 LUW databases only.
Regards
Venkat
To anyone who is still looking for a solution and cant find it,
if you add a sybase user and system,
ex: isql -Usa -P<pass> -S<SID> -X (and this system logs on to isql)
1>
2>
(and you get this error when you create an instnace)
iqsl -U<created user> -P<pass> -S<created instance> - X
ct-library error...
incortporate them in your interface files.
/SYBASE/<SID>/interfaces
and make sure the port number is the same as the original <SID> instance.
<SID>
master tcp ether <localhost> *port
query tcp ether <localhost> *port
<new instance>
master tcp ether <localhost> *same port as above.
query tcp ether <localhost> *same port as above
hope that helps.
Federico Peric.
Hello,
we want to update from ASE 15.7 to 16.
Our development team is asking whether they have to observe something in the programming in the new version?
Has anything changed in the new version?
Gruß
Toni
Thanks,
When we execute command to change value of default data cache(total) we get below message kindly advice
1) sp_poolconfig "default data cache", "1280M"
2) go
msg 18142, Leval 16, State 1:
Server 'XXX', procedure 'sp_do_poolconfig', Line 605:
I/O size of memory pool is expected as third argument.
(1 row effected)
(return status =1)
You need a 3rd argument which is the name of the pool you're looking to create/modify.
Remember: a cache can have up to 4 pools where the pool names are 1x/2x/4x/8x multiples of the dataserver page size. For example:
dataserver page size = 2K => pool names are '2K' , '4K' , '8K' , '16K'
dataserver page size = 16K => pool names are '16K' , '32K' , '64K' , '128K'
What is your dataserver page size (select @@maxpagesize)?
Which pool (2x, 4x, 8x) are you looking to create with 1280M of memory?
Hi,
Can you mention the exact version of ASE 15.7 being used. Not all versions of 15.7 can be upgraded to all versions of ASE 16.
SAP Note: 1554717 - SYB: Planning information for SAP on ASE"
KBA 2231176 - SAP ASE: Error during major upgrade from SAP ASE 15.7 SP135 to SAP ASE 16.0 SP01 PL02
Use SAP Note 1982469 (SYB: Updating SAP ASE with saphostctrl / sapdbctrl) for doing the upgrades.
Hope this helps.
Regards,
Ajith Prabhakaran
We use 15.7.0.135
Gruß
Toni
Hi Mark, We are trying to set 1280M for default data cache(total) i.e, when we give command sp_cacheconfig 'default data cache' we get default data cache total need to change it
See my first post ...
When making data cache changes you use sp_cacheconfig.
When making pool changes you use sp_poolconfig.
So, if you're merely trying to add space to the default data cache then instead of using
sp_poolconfig "default data cache", "1280M"
you should try
sp_cacheconfig "default data cache", "1280M"
----------------
If this doesn't address you're issue then I'd suggest you provide the following:
- output from running 'sp_cacheconfig' (no args)
- an explanation of the changes you want to make to your caches/pools
1> sp_cacheconfig 2> go Cache Name Status Type Config Value Run Value ------------------------------------------------------------------------ -------------------------------- -------------------------------- -------------------------------------------------------- ------------------------------------------------ default data cache Active Default 12173.00 Mb 12173.00 Mb log cache Active Log Only 1024.00 Mb 1024.00 Mb (1 row affected) ------------ ------------ Total 13197.0 Mb 13197.0 Mb ========================================================================== Cache: default data cache, Status: Active, Type: Default Config Size: 12173.00 Mb, Run Size: 12173.00 Mb Config Replacement: strict LRU, Run Replacement: strict LRU Config Partition: 8, Run Partition: 8 IO Size Wash Size Config Size Run Size APF Percent -------- ------------- ------------ ------------ ----------- 16 Kb 1744896 Kb 8521.98 Mb 8521.98 Mb 10 128 Kb 747520 Kb 3651.00 Mb 3651.00 Mb 10 ========================================================================== Cache: log cache, Status: Active, Type: Log Only Config Size: 1024.00 Mb, Run Size: 1024.00 Mb Config Replacement: strict LRU, Run Replacement: strict LRU Config Partition: 1, Run Partition: 1 IO Size Wash Size Config Size Run Size APF Percent -------- ------------- ------------ ------------ ----------- 16 Kb 816 Kb 4.00 Mb 4.00 Mb 10 32 Kb 61440 Kb 1020.00 Mb 1020.00 Mb 10 (return status = 0) need to change below parameters to default data cache(total) to value 54968 default data cache(16k) to value 43974 wash area(16k) to value 4397 default data cache(128k) to value 10994 wash area(128k) to value 1099 not getting the right commands as we are new to sybase
--- sybase version ---
Adaptive Server Enterprise/15.7.0/EBF 22639 SMP SP52 /P/Sun_svr4/OS 5.10/ase157sp5x/3293/64-bit/FBO/Wed May 21 02:49:14 2014
--- end version ---
Hi community,
I'm starting reading/reading again some chapters of 'ASE 15.7 Performance and Tuning Series: Query Processing and Abstract Plans'.
I think I get the 'big picture' of the need of the optimizer but I'm looking for way to better understand it and the information it needs to provide the best plan to the execution engine.
Is there any document/presentation that will present a kind of 'hands-on understanding the optimizer'?
For example, I get a rough image when I read this
"
The query optimizer processes join predicates the same way it processes search
arguments, in that it uses statistics, number of rows in the table, index heights,
and the cluster ratios for the index and data pages to determine which index and
join method provides the cheapest access. In addition, the query optimizer also
uses join density estimates derived from join histograms that give accurate
estimates of qualifying joining rows and the rows to be scanned in the outer and
inner tables. The query optimizer also must decide on the optimal join ordering
that will yield the most efficient query plan. The next sections describe the key
techniques used in processing joins.
"
Those words would be meaningfull to me if I can see in practice how the output of 'optdiag statistics' helps the optimizer choosing the right plan, how some dbcc traceon(traceflags) can help me understanding the optimizer work.
Thanks in advance for your input.
Simon
Thanks Will keep in mind the formatting Will implement the values and revert
Dear All, As per sap recommendations for sap ase database it is told
Dear All, Sorry above post is incomplete Dear All, As per sap recommendations for sap ase database it is told One or more database options are not set correctly. We strongly recommend that you set the following database options for SAP ASE database. The current settings can be checked using the stored procedure sp_helpdb 'SID' 1. enforce dump tran sequence = 1 2. trunk log on chkpt = 0 as per which we logged into isql and executed command as 1> use master 2> go 1> sp_dboption GXD,'enforce dump tran sequence','true' 2> go Msg 17957, Level 16, State 1: Server 'GXD', Procedure 'sp_dboption', Line 1091: You cannot set the 'enforce dump tran sequence' database option because the database 'GXD' is either marked as needing a database dump, an unlogged operation was performed or the transaction log was truncated. Dump the database, kindly advice
Hi,
you should
You can set "enforce dump tran sequence" only if there are no truncated transactions since your last full backup.
Best regards,
Juergen