on 2012 Dec 19 6:22 AM
Let I run multiple databases on a single database ASA9-server (or SQL Anywhere 12, or 16 ... ) Can I find out how much space in the cache (in pages or in percent) occupy each database?
For example:
sa_eng_properties: 'CurrentCacheSize' * 1024/ 'PageSize' = 262144 pages 'CacheFree' = 256654 pages sa_db_properties: DB1 = ? pages DB2 = ? pages ...
The server does not track the number of pages used per database, so this information is not available. (I've added this to the list of enhancement requests for some future release).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are definitely times when some pages in cached are unused and hence would not be associated with any database. There are also some pages in cache which hold "common" information - allocated pages not associated with any database - but the number of these pages is tiny compared to the class of pages used to hold database file pages and intermediate query results.
There are also other classes of pages which hold database connection info and materialized information about a database (e.g. procedure definitions, user & table meta info, etc) but obviously each of these are associated with a particular database and therefore could be included in the count of pages for a db.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.