on 02-02-2015 7:51 AM
Hi,
what is the difference between catalog store transaction log and IQ main store transaction log?
Regards,
Santosh
Hi,
*** Information from the document ***
-->catalog store transaction log
The transaction log file contains transaction for the catalog store only. It is used to roll back (undo) or roll forward changes as necessary.
The catalog store transaction log file does not contain any transactions for the warehouse data in the IQ store. The name of the physical file is dbname.log and it is stored in the same directory as the .db file. The catalog store transaction log is a small file whose growth over time is related to its activity. This file must exist as a component of the SAP Sybase IQ database.
Do not delete or alter this file. If this file is lost or damaged, technical support may be necessary to recover the database. To protect .log file, it may be mirrored to another directory. All transactions involving data in the catalog store are logged to this transaction log, including: •Any create, alter or drop commands associated with SAP Sybase IQ database objects
*Adding or removing users from the database
*Adding or changing user permissions
*Adding or changing a dbspace to the database
*Any DML statement for user data that is stored in the catalog
-->IQ Main Store (for data)
The IQ store holds all the user data (indexes) for the database compressed on disk.
It contains the transaction log for data in the IQ tables and structure to manage space allocation (free list). The internal transaction log manages transactions involving IQ data. The free list tracks page usage with a given dbspace.
The IQ store is a pre-allocated space (although it can be enlarged with advance planning). Initially, the IQ store has one file or raw device when the database is created, but additional files may be added to the IQ store as needed.
There is one IQ store per database, which usually consists of many files or raw partitions. When using raw partitions, the physical name will be the partition name. If setting up IQ multiplex on multiple hosts, the IQ store must be created using raw partitions.
The IQ main store consists of least two dbspaces: •IQ_SYSTEM_MAIN – The first dbspace created when creating a database, it contains system metadata. It should not be used for user data
*USER_DBSPACE – Created and named by DBA, it holds user tables and indexes. DBAs may create additional dbspaces, as needed. The database option Default_Dbspace controls where tables and indexes are stored.
I hope it helps.
Claude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "IQ transaction log" is stored in IQ_SYSTEM_MAIN. This is a fixed size storage area that should be isolated and dedicated to IQ system work. Read that as don't put user data in IQ_SYSTEM_MAIN.
If you check out my sizing guide on this topic, it talks about setting aside 2-4% of your total system main store for system main. That gives IQ enough space for all of its transactional workload.
Mark
As per information in IQ manual,
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.