IBM Informix Interview Questions
IBM Informix Interview Question And Answers:
Q.What is chunk in Informix?
A chunk is a physical portion of disk on which Informix stores its data. A chunk can be either a raw partition or a file system file. Informix suggests that a chunk’s name be a symbolic link to the actual chunk. For example, if you are using /dev/rdsk/c6t0d0s1 as a chunk, you could create a symbolic link named /dev/informix/chunk1 that points to /dev/rdsk/c6t0d0s1. That way, if there are ever any problems with that disk, you could replace the disk with another one and just change the symbolic link.
Q.What is the option or command used in Informix for finding which dbspace a database resides?
from command line# onmonitor ->Logical-Logs->Databases.
Q.Mention the database server operating modes available for Informix?
Informix IDS provide following modes:-<br>1)Online mode -> This is the normal operating mode of the database server.<br>2)Offline mode? -> The database server is not running. Shared memory is not allocated.<br>3)Quiescent mode -> This is the normal operating mode of the database server.<br>Administrators use this mode to perform maintenance functions that do not require the execution of SQL and DDL statements.<br>Only the administrator (user informix) can access the database<br>server.<br>4)Single-User mode -> This mode is an intermediary mode between Quiescent mode and Online mode.<br>?Administrators use this mode to perform any maintenance task, including tasks requiring the execution of SQL and DDL statements. Administrators can also perform all other functions available in Online mode. You can see the current database server mode by executing the onstat – utility from the command.
Q.Who developed informix?
Q.What are the uses of key value locking in Informix?
The database server uses a concept called key-value locking to lock the deleted row. When the database server deletes a row, key values in the indexes for the table are not removed immediately. Instead, each key value is marked as deleted, and a lock is placed on the key value. One of the most important uses for key-value locking is to assure that a unique key remains unique through the end of the transaction that deleted it.
Without this protection mechanism, user A might delete a unique key within a transaction, and user B might insert a row with the same key before the transaction commits. This scenario makes rollback by user A impossible. Key-value locking prevents user B from inserting the row until the end of user A’s transaction.
Q.What is Informix Binary Large Object?
A binary large object, also known as a blob, is a collection of binary data stored as a single entity in a database management system. Informix invented an alternative backronym, Binary Large Object. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob.
Q.Who conceived and designed the Informix database management system?
The Informix database management system was conceived and designed by Roger Sippl in the late 1970s. Informix was founded in 1980, went public in 1986, and for a period during the 1990s Informix was the second most popular database system, after Oracle.
Q.What is Informix instance?
An Informix instance is a single connection to shared memory. It is represented by one or more on init processes. When Informix is started or stopped, these processes appear and disappear. Informix used to use the term “server” when referring to an instance, hence the environment variable DBSERVERNAME.
Q.Explain about light scans in Informix?
Light scans occur under the following conditions: The optimizer chooses a sequential scan of the table. The number of pages in the table is greater than the number of buffers in the buffer pool. The isolation level obtains no lock or a shared lock on the table: Dirty Read (including non logging databases) isolation level Repeatable Read isolation level if the table has a shared or exclusive lock
Committed Read isolation if the table has a shared lock.
Q.What is extent in Informix?
If a table is designed without specifying extent sizes, Informix uses a default of 16 pages for the first and 8 pages for each subsequent extent. Extent sizing is done when the table is initially created.