Quantcast
Channel: SCN : Popular Discussions - SAP Adaptive Server Enterprise Developer Center
Viewing all 1396 articles
Browse latest View live

ISQL not working after installing ASE under Linux

$
0
0

Hi,

 

We just installed ASE developer edition for Linux. When trying to start isql I get the error:

 

isql

-bash: /opt/sybase/OCS-16_0/bin/isql: No such file or directory

 

But:

ll /opt/sybase/OCS-16_0/bin/isql

-rwxr-xr-x 1 wegc wegc 1694721 Feb  7  2014 /opt/sybase/OCS-16_0/bin/isql


Any ideas what went wrong?

 

Juergen


what is table/index fragmentation ? how to check table is fragmented or not in SYBASE ASE

$
0
0

HI all,

 

what is table/index fragmentation ?

 

     is there any way to check table is fragmented properly or not in SYBASE ASE ?

 

please help me what is actually this ? also define SQL query to check for the same .

 

 

abhishek

ASE 16.0 Auditing

$
0
0

We're planning to use auditing on our ASE 16.0 server and we have two questions.

 

1) Any reporting tools out there which access the information in the sybsecurity database and present the information in a meaningful manner? Do we have to write our own stored procedures to get data from the audit tables?

 

2) Is there a workaround in ASE Auditing that handles the Web Application scenario: a single user connects to the database from the web server but we would like to log/audit the actual user logged into the website. Can the web username information be somehow passed onto ASE Auditing?

 

Any pointers/suggestions appreciated. Thank you.

 

BC

How can i Switch database inside procedure in Sybase ASE

$
0
0

In SQL Server I am using "use database_name" in exec statement inside procedure..

but Sybase ASE i cant able to change database dynamically...

 

can anyone help me please

Sybase DB13 backups

$
0
0

Hi All,

 

Is there a way to get notifications when Sybase backup in DB13 is failing ? I the past days we are getting more and more problems that the backups are not running due to error: scheduling failed. Perhaps there is a way to monitor that from OS level somehow ?

 

All suggestions much appreciated. Thank you in advance!

 

Regards,

Lukasz Goral 

Can't install ASE16 on windows platform

$
0
0

I did installation on Windows 2008 R2 SP1. It is 64 bit operating system. I have installed Microsoft Visual C++ 2010 x64 Redistributable package. But if I install it error will showed "Error: The installer failed to load sylapij.dll. Please verify you have the correct and complete installer image. Have anyone see the error before and know how to resolve the issue?

 

Thanks a lot!

[ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.

$
0
0


Hi All,

 

Not sure if I am in the correct forum for this question. I am applying SAP Support Packs to my Solution Manager 7.1 on Sybase system(15.7). It is failing in phase PREP_INSTALL/SHDINST_DB_PREP with:

 

executing statement: --check if login exists
if not ( exists (select * from master.dbo.syslogins where name = 'SAPSR3SHD')  )
declare @password varchar(16)
select @password = password_random(16)
create login 'SAPSR3SHD' with password @password default database 'SM1' default language us_english

statement execution finished successfully.
3found line if (not exists(select name from sysusers where name = 'SAPSR3SHD'))

3found line     exec sp_adduser SAPSR3SHD, SAPSR3SHD

3found line go

executing statement: if (not exists(select name from sysusers where name = 'SAPSR3SHD'))
exec sp_adduser SAPSR3SHD, SAPSR3SHD

EDbSlBegRead: rc 100, SQL-error 207 => [ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.
[ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.
execution of statement if (not exists(select name from sysusers where name = 'SAPSR3SHD'))
exec sp_adduser SAPSR3SHD, SAPSR3SHD
failed.

 

Capture5.PNG

 

I'm not sure what to do here. Any help would be appreciated.

Thanks,

Diana

Running update [index] statistics on multiple tables at the same time.

$
0
0

Greetings,

         Is there any catalog table contention while running update[ index] statistics on multiple tables at the same time in replicated environment?

 

While I was trying to setup a shell script to do so one of our DBAs mentioned to me had some type of contention or blocking on catalog tables and avoid running so since then.

 

I have done this in the past many times and have never seen such issues. I have grouped the tables based on their rowcount and manage my parallel table count accordingly.

 

In the metadata I have these classifications. TABLE COUNT is a parameter to the shell script that I can control while running thru the scheduler.

SMALL = 0 & 500000 rows, TABLE COUNT = 8

MEDIUM = 500001 & 2000000 rows, TABLE COUNT = 4

LARGE = 2000001 & above, TABLE COUNT = 1


We have enough default & tempdb cachse with 32GB tempdb.

 

Is this a real issue in ASE 15.7 or ASE 16?

 

We are planing to upgrade our server from ASE 15.0.3 to ASE 16 SP01 next week after a long QA.

 

Has anybody seen this in the past with contention in catalog tables in replicated ASE server or in primary?

 

Any response is appreciated.

 

Thank You & Regards,

Sid.


ASE ODBC 15.7.0.80 driver "Too many table names in query" error

$
0
0

Hi,

 

I'm using ODBC ASE driver 15.7.0.80 to connect to an ASE 15.7 ESD4.2 server. Running Cognos Framework Manager-generated SQL queries I'm hitting a limit of 50 user tables that can be used in a query. Error message is "[Sybase]{ODBC Driver][Adaptive Server Enterprise]Too many table names in query. The maximum allowable is 50."

 

When I run "dbcc serverlimits" on the server it shows "Max number of user tables in a single SQL statement:      512", so I'm wondering if its a configuration setting in the ODBC driver? I haven't been able to find out if it is, and where to do it - would appreciate if anyone knows.

 

thanks,

Liz

isql error with LANG environment variable

$
0
0

Hi. I want to start isql (./isql) but get whis error

 

 

The context allocation routine failed when it tried to load localization files!!

One or more following problems may caused the failure

Your sybase home directory is /sybase/MII. Check the environment variable SYBASE if it is not the one you want!

Using locale name "POSIX" defined in environment variable LANG

Locale name "POSIX" doesn't exist in your /sybase/MII/locales/locales.dat file

An error occurred when attempting to allocate localization-related structures.

 

How I can fix it?

 

OS - linux OPENSUSE

DB - SYBASE 15

 

thank you

Why is monOpenObjectActivity showing high LogicalReads eventhough OptSelectCount & UsedCount are both zero.

$
0
0

Greetings,

     What is the meaning of showing high value in LogicalReads with OptSelectCount + UsedCount = 0 in master..monOpenObjectActivity

 

Thanks,

Sid.

ISQL not working after installing ASE under Linux

$
0
0

Hi,

 

We just installed ASE developer edition for Linux. When trying to start isql I get the error:

 

isql

-bash: /opt/sybase/OCS-16_0/bin/isql: No such file or directory

 

But:

ll /opt/sybase/OCS-16_0/bin/isql

-rwxr-xr-x 1 wegc wegc 1694721 Feb  7  2014 /opt/sybase/OCS-16_0/bin/isql


Any ideas what went wrong?

 

Juergen

How to access Sybase ASE16 with ODBC?

$
0
0

Hello,

 

I have a SAP System 7.4 running under LinuX Suse and Sybase ASE 16. My developers need to access Sybase using OBDC, these external database runs under Windows and it´s SQL Express. I think the way to go is using unixODBC, but I don´t know how to set it. unixODBC is already install, but I´m not sure if I need an additional library or how to set it.

 

Any clue?

 

Thanks,

Maverick

Is there a Roadmap for ASE SDK for ARM platform?

$
0
0

Is there any alternative or a roadmap fo ASE SDK for ARM devices?

When should I run update [index] statistics on a table?

$
0
0

Greetings<

     Few of our tables in production server have few hundred million rows( between 200mil and 800mil). We add between 200,000 and 500,000 rows every week. Less than one percent of total rows each of them have. Most of these tables have chronologically increasing index columns like date or identity value. We run update stats on weekend for half a day. The weekend we run stats of large tables we are unable to run stats on other smaller tables .

 

Do I really need to run update stats every weekend on those large tables?

 

What is the best criteria I can use based on data changes so I can cover many other tables to refresh statistics?

 

Thank you & regards,

Sid.


Running update [index] statistics on multiple tables at the same time.

$
0
0

Greetings,

         Is there any catalog table contention while running update[ index] statistics on multiple tables at the same time in replicated environment?

 

While I was trying to setup a shell script to do so one of our DBAs mentioned to me had some type of contention or blocking on catalog tables and avoid running so since then.

 

I have done this in the past many times and have never seen such issues. I have grouped the tables based on their rowcount and manage my parallel table count accordingly.

 

In the metadata I have these classifications. TABLE COUNT is a parameter to the shell script that I can control while running thru the scheduler.

SMALL = 0 & 500000 rows, TABLE COUNT = 8

MEDIUM = 500001 & 2000000 rows, TABLE COUNT = 4

LARGE = 2000001 & above, TABLE COUNT = 1


We have enough default & tempdb cachse with 32GB tempdb.

 

Is this a real issue in ASE 15.7 or ASE 16?

 

We are planing to upgrade our server from ASE 15.0.3 to ASE 16 SP01 next week after a long QA.

 

Has anybody seen this in the past with contention in catalog tables in replicated ASE server or in primary?

 

Any response is appreciated.

 

Thank You & Regards,

Sid.

How do I setup threshold on sp_monitorconfig metadata in ASE 16.x?

$
0
0

Greetings,

 

     How do I setup threshold on sp_monitorconfig metadata in ASE 16.x? So I have alerts on the event.

 

Thanks,

Sid.

Sybase ASE - Update of Syslogins failed.

$
0
0

Hello All,

 

 

Last few days we are observing the below msg in Sybase errorlog. User complained that the login gets disconnected and have to rerun the reports.

 

Update of Syslogins failed

 

Any workaround for this.


Thanks,

P S Vinay

System.AccessViolationException in 64 bit ASE client on server

$
0
0

we are receiving the following message on our servers.   bin  has only Sybase.AdoNet4.AseClient.dll  . Please advice what is the potential cause of the issue.

 

 

Application: w3wp.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

   at Sybase.Data.AseClient.Unmanaged.CMD_PerformGetNextResultSet(IntPtr, IntPtr ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef, Byte ByRef)

   at Sybase.Data.AseClient.Unmanaged.CMD_PerformGetNextResultSet(IntPtr, IntPtr ByRef, Int32 ByRef, Int32 ByRef, Int32 ByRef, Byte ByRef)

   at Sybase.Data.AseClient.AseDataReader.RetrieveNextResult()

   at Sybase.Data.AseClient.AseDataReader.GetNextResult(Boolean)

   at Sybase.Data.AseClient.AseDataReader.NextResult(Boolean)

   at Sybase.Data.AseClient.AseParameter.get_Value()

   at Sybase.Data.AseClient1.AseCommand.Close(Boolean)

   at Sybase.Data.AseClient.AseCommand.Dispose(Boolean)

   at System.ComponentModel.Component.Finalize()

 

 

 

 

Faulting application name: w3wp.exe, version: 8.0.9200.16384, time stamp: 0x50108835

Faulting module name: sybdrvado20.dll, version: 2.157.1300.0, time stamp: 0x53c85084

Exception code: 0xc0000005

Fault offset: 0x0000000000007119

Faulting process id: 0x142c

Faulting application start time: 0x01d0d41e996f4948

Faulting application path: c:\windows\system32\inetsrv\w3wp.exe

Faulting module path: C:\Windows\TEMP\Sybase.AdoNet4.AseClient.64bits.4.157.1300.0\sybdrvado20.dll

Report Id: e4a82238-4011-11e5-9417-005056935d0f

Faulting package full name:

Faulting package-relative application ID:

0 Views  (edit) Tags: .net, enterprise, sybase, sdk, ado.net, ase

[ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.

$
0
0


Hi All,

 

Not sure if I am in the correct forum for this question. I am applying SAP Support Packs to my Solution Manager 7.1 on Sybase system(15.7). It is failing in phase PREP_INSTALL/SHDINST_DB_PREP with:

 

executing statement: --check if login exists
if not ( exists (select * from master.dbo.syslogins where name = 'SAPSR3SHD')  )
declare @password varchar(16)
select @password = password_random(16)
create login 'SAPSR3SHD' with password @password default database 'SM1' default language us_english

statement execution finished successfully.
3found line if (not exists(select name from sysusers where name = 'SAPSR3SHD'))

3found line     exec sp_adduser SAPSR3SHD, SAPSR3SHD

3found line go

executing statement: if (not exists(select name from sysusers where name = 'SAPSR3SHD'))
exec sp_adduser SAPSR3SHD, SAPSR3SHD

EDbSlBegRead: rc 100, SQL-error 207 => [ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.
[ASE Error SQL207][SAP][ASE ODBC Driver][Adaptive Server Enterprise]Invalid column name 'user_status'.
execution of statement if (not exists(select name from sysusers where name = 'SAPSR3SHD'))
exec sp_adduser SAPSR3SHD, SAPSR3SHD
failed.

 

Capture5.PNG

 

I'm not sure what to do here. Any help would be appreciated.

Thanks,

Diana

Viewing all 1396 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>