FAQ1. What are the possible states of a statement? What do they mean? How about attachments and transactions?2. What is Table Scan Percent? 3. What does the number "Awaiting Sweep" mean? 4. What does the number "Awaiting CG" mean? 5. What is TIP Size? 6. Why some processes appear as "(no name)"? Send us your question: This e-mail address is being protected from spambots. You need JavaScript enabled to view it 1. What are the possible states of a statement? What do they mean? How about attachments and transactions? Statement states are:
Attachment states are:
A “table scan” happens when a table is accessed sequentially, without the use of indexes. This type of access may indicate inefficiency in statement execution. Table Scan Percent displays, out of all data read by a statement, how much was read using sequential access as opposed to indexed access. Suppose the following attachment: Attachment #1, Reads 230MB, Table Scan 75% In this case, out of the 230MB read by this attachment, 172.5MB (75%) were read using table scans. It is necessary to identify which of the statements issued by this attachment was responsible for this high degree of Table Scans and try to optimize it. 3. What does the number "Awaiting Sweep" mean? It represents the total number of old transactions that can be cleaned by sweeping the database. Such transactions may contain old versions of records that were deleted or rolled back. Sweeping reclaims this wasted space and allows it to be reused. Furthermore, sweeping is essential to keep the TIP size to a minimum. If the amount of transactions awaiting sweep is too high, database performance may suffer. Configure Sinática Monitor's Sweep Alarm to be alerted about possible problems with your sweep process. 4. What does the number "Awaiting CG" mean? It is the total number of transactions that cannot be visited by the Garbage Collector. If some transaction is open for too long, the Garbage Collector cannot advance. The number of transactions awaiting GC, thus, grows. Also, if this number grows too big, database performance will be severely affected. You may want to review you transaction management code to guarantee no transaction will be left open for too long. Sinática Monitor may help you with that. Configure Sinática Monitor's Stuck Transactions Alarm to be alerted about problems with transaction management in your database. 5. What is TIP Size? The TIP, Transaction Inventory Pages, is a special kind of database page. It stores the transaction state of every transaction that is still interesting to the database. If the number of interesting transactions grows too high, the TIP will grow too. The TIP is accessed very frequently by the server. If it grows too big, performance will be affected. This is especially true for ClassicServer. 6. Why some processes appear as "(no name)"? The database client is responsible for sending the process name to the server when the attachment is started. If a process is appearing as “(no name)” it is probably using an old client library.
|
- Português
- English