Quantcast
Channel: SCN: Message List - SAP Applications on SAP Adaptive Server Enterprise (SAP ASE)
Viewing all 3678 articles
Browse latest View live

Re: Database Dump Error in DB13

$
0
0

Dear Iqbal,

 

I hope you are using ASE on windows machine.

 

Two possibilities for the error.

 

1.) Perhaps your F drive has no space left for the dump files to get stored.

 

2.) Or there is permission issue for the sybase user to take F drive.

 

The backups should be happening in F drive in a folder called backups as per your logs states.

 

Regards,

Ajith Prabhakaran


Re: Database Dump Error in DB13

$
0
0

Hi,

 

the ASE log file can be found here:

 

Linux: /sybase/<SID>/ASE-15_0/install

 

Windows: ..... sybase\<SID>\ASE-15_0\install

 

The log file for ASE is called <SID>.log and for Backup Server <SID>_BS.log.

 

 

Anyhow the error message looks like a file system problem; e.g. permissions (does "ASE" have permissions to write into that directory), file system was busy, ....

 

Best regards,

Juergen

Re: hands on 'optimizer', optdiag statistics...

$
0
0

Hi all,

 

Just to complete my remark, after reading the document 'Performance and Tuning Series: Improving Performance with Statistical Analysis' (doc ID DC00976-01-1570-01) I notice the following information on page 29:

 

Statistics for column group: "pub_id", "type"

Last update of column statistics:    Apr 8 2008 9:22:40:963AM

     Range cell density:            0.0000000362887320

     Total density:                 0.0000000362887320

Range selectivity: default used (0.33)

In between selectivity: default used (0.25)

Unique range values: 0.0000000160149449

Unique total values: 0.0000000160149449

Average column width: default used (8.00)

 

Statistics for column group: "pub_id", "type", "pubdate"

Last update of column statistics: Apr 8 2008 9:22:40:963AM

     Range cell density: 0.0000000358937986

     Total density: 0.0000000358937986

Range selectivity: default used (0.33)

In between selectivity: default used (0.25)

Unique range values: 0.0000000158004305

Unique total values: 0.0000000158004305

Average column width: 2.0000000000000000

 

With 5000 rows in the table, the increasing precision of the optimizer’s

estimates of rows to be returned depends on the number of search arguments

used in the query:

• An equality search argument on only pub_id results in the estimate that

0.0335391029690461 * 5000 rows, or 168 rows, will be returned.

• Equality search arguments for all three columns result in the estimate that

0.0002011791956201 * 5000 rows, or only 1 row, will be returned.

 

 

I'm wondering where both values 0.0335391029690461 and 0.0002011791956201 come from?

 

let's assume the optimizer knows the number of rows to be returned (statistics up-to-date), how can I check using a index is cheaper than a tablescan? what's the formulae I could use to compute the costs for each access as an exercise to better understand the mechanism.

 

Last, are there any traceflags that will help me understanding how the optimized is picking a plan?

 

Thanks

 

 

Simon

Re: hands on 'optimizer', optdiag statistics...

$
0
0

Hi Simon,

 

There is simply too much to cover here in order for a good understanding looking at your starting point. It requires a base knowledge of statistics and histogramming as well as experience at actually debugging query processing on ASE.

My advice is to start running some queries ( with statement cache off) using set option show_lio_costing on and set statistics plancost. There is no clear documentation that will explain everything you see but the only way to understand it is to work with it day in and day out.

Once you start to make sense of the individual lio costing ( you'll need to look at optdiag output to) you can expand up to set option show_search_engine for join evaluation then finally set option show long for a deep dive. If you want to go further you then have to start looking at show_histograms and so it goes on.

Start simple and look at single search predicate queries and expand up. Create a table, put a row in it, create an index, add another row different values, update stats, and so on and so on. Look at the data available at each iteration.

There is plenty of unofficial documentation around if you look for it ( even on this site).

 

The figures you mention are histogram frequency cells ( see optdiag), holding essentially a weight which is a proportion of a domain which matches a given value.

 

Cheers,

 

Simon

Re: Raise of CPU - What to do?

Re: Raise of CPU - What to do?

$
0
0

But does the value "max online engines" define, how many cpus can be used?
Because at the moment this value is much higher than CPUs are available...

Re: Collector Configuration for Sybase - history retention for DB growth

$
0
0

Thank you for replying Janos. I will try to write scripts at OS level.

 

Regards

Sridhar

TIME_OUT when try to schedule DB backup(database dump)


Re: Database Dump Error in DB13

$
0
0

Dear Ajith,

 

Thank you.

 

F drive has no space left for the dump files to get stored

 

Regards,

Fadzly Iqbal

Re: database option

$
0
0

The messages says 'enforce dump tran sequence'  cannot be set as eithger

- database needs a dump

- an an logged operation was performed

- or log was truncated

 

All three conditions must match.
Did someone run 'DUMP TRANSACTION <DBNAME> WITH TUNRCATE_ONLY' - to clear up the log ?

was an unlogged operation performed (e.g. SELECT INTO command was run manually)

 

With kind regards

Tilman Model-Bosch

how to avoid the long running backup job

$
0
0

in ASE 15.7 ,how to avoild the long running backup job.

 

now 900000Mb and we are taking it on 3 stipes. it is taking alomost 5 hours

 

how to avoid this.

Re: how to avoid the long running backup job

Re: Development Changes in ASE 16?

$
0
0

Dear Mr Steinhäuaser

ABAP OPEN SQL remains unchanged . If you adhere to ABAP best practice programming then nothing changes with DB upgrade.


Generally : Existing code should continue to work .

 

HTH

Tilman Model-Bosch

Re: Transport Changes not reflected in APP server

$
0
0

Hi Gopi,

 

check whether your SAP system instance profile has below parameters updated

 

rdisp/bufrefmode = sendoff, exeauto

rdisp/bufreftime = (in seconds, time between two synchronization)

 

If not please set up and take SAP application restart.

 

Regards,

Deepak Kori

How to list the sizes of all tables (data and index seperately) ?

$
0
0

Hello,

 

I want to list the sizes of all tables (at least top 1000), data size and index size in seperate columns,

On DBACOCKPIT I can only display Top 500 and cannot display data and index size on the same list.

Index sizes come with single table analysis.

 

Is there an SQL statement that I can run on SQL Command line for this list?

 

Can you help, please?

 

Regards,

Yuksel AKCINAR


Re: ISQL and ISQL64

$
0
0

Dear Mr Kumar

 

isql is a 32 bit executabl vs isql64 is a 64 bit executable.

you may check using the OS command 'file' 

 

What is your Linux Distribution and Version ?

 

Recently some distributors have started to omit installation of 32 bit runtime libraries so 32 bit executables wont work anymore.

There is a change request open for ASE to make isql and other 32 bit tools to be delivered as 64 bit tools if ASE is a 64 bit version

Rgds

Tilman Model-Bosch

Re: ISQL and ISQL64

$
0
0

Hi Tilman,

we use command 'file' but it  shows like this,

file.png

 

how to check properly?

 

 

Regards,

Dinesh Kumar S.

SAP BASIS

how to use dbcc

$
0
0

Hello,

 

I'm new on sybase.

I'm trying to run a dbcc in my DB but is throws the following error:

 

1> dbcc checkdb  ACNETDB_PRO, skip_ncindex

2> go

Msg 102, Level 15, State 1:

Server 'xxxxxxxxx', Line 1:

Incorrect syntax near 'ACNETDB_PRO'.

1>

Re: How to list the sizes of all tables (data and index seperately) ?

$
0
0

Hi Yuksel,

 

I guess you may need to remove the restriction value 500 and execute the report from dbacockpit again to get full list of tables and indexes.

 

Regards,

Deepak Kori

Re: How to list the sizes of all tables (data and index seperately) ?

$
0
0

You can connect using isql and manually run the below command :

 

1> use database_name

2> go

1> sp_spaceused

2> go


Hope this will be helpful


~Gaurav

Viewing all 3678 articles
Browse latest View live


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