Solved

Sybase - sp_cacheconfig

Posted on 2013-12-05
1
1,028 Views
Last Modified: 2014-01-14
Hello there,
I'm little loss with sp_cacheconfig, what is this use for and how the cacheconfig will help to improve total performance of ASE ? what are the different between cacheconfig and sp_configure 'memory' ??

1> sp_cacheconfig
2>
 Cache Name         Status   Type     Config Value   Run Value
 ------------------ -------- -------- -------------- ------------
 default data cache Active   Default    1000.00 Mb     1000.00 Mb
                                   ------------ ------------
                            Total    1000.00 Mb   1000.00 Mb
==========================================================================
Cache: default data cache,   Status: Active,   Type: Default
      Config Size: 1000.00 Mb,   Run Size: 1000.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
 -------- ------------- ------------ ------------ -----------
     2 Kb      61440 Kb    750.00 Mb    750.00 Mb     10
     4 Kb      10240 Kb     50.00 Mb     50.00 Mb     10
    16 Kb      40960 Kb    200.00 Mb    200.00 Mb     10
(return status = 0)
1>
0
Comment
Question by:motioneye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
alpmoon earned 500 total points
ID: 39701327
It is a long topic. But basically sp_cacheconfig shows configuration of data cache. You can create named caches as well. In that way you can allocate certain amount of data cache to certain objects or a database.

Also you can use sp_poolconfig to change size of memory pools (2K, 4K and 16K pools you have) or to create a new one (you can create a 8K pool as well even though it is not suggested when you have 16K pool).

More details for sp_cacheconfig can be found at:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc36273.1570/html/sprocs/X66462.htm

To put into perspective data cache is part of total memory used during data read/write operations (that includes both actual data and transaction log read/write). Procedure cache, metadata structures are also part of total memory. sp_configure shows all of them including other memory structures.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
open source backup solution 1 45
Linux script delete files 3 58
Intel fortran compiler (ifort) 5 59
Trying to install php56 on CentOS 7 get GPG error 5 40
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question