[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Sybase - sp_cacheconfig

Posted on 2013-12-05
1
Medium Priority
?
1,146 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
1 Comment
 
LVL 13

Accepted Solution

by:
alpmoon earned 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 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