Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Informix
Expertise: Beginner
Mar 14, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Informix non-logged databases

In a data warehouse, loading/transforming data is a significant process. Do Informix non-logged databases provide significant performance gains in loading and transforming data?

YES! Though your needs may vary, most databases in data warehouses are not logged. There is very little change within the database that needs to be tracked on a transaction-by-transaction basis. Data is loaded once or twice a day and, depending on how big the warehouse is, and based on the archiving scheme used, the load can be backed out and restarted if necessary.

With the databases in a non-logged mode, each row that is added, modified or deleted does not have to be logged through the physical and logical log structures. The overhead this process requires can be substantial depending on the amount of data being moved around. You also do not have to watch out for long transaction conditions in which a single data manipulation command will affect so many rows that the acceptable limit of logical log usage is reached. In non-logged databases, only DDL statements (e.g. create table, drop index statements), not DML statements (insert, update, delete SQL commands), are logged in the logical logs,.

In an OLTP environment, the overhead resulting from writing to the physical and logical logs is acceptable because the number of rows affected by a single transaction is relatively small, so long transaction conditions are usually not a problem. In addition, the environment can not afford to lose a single transaction, so the ability to track changes in the database is critical.

So to save yourself time and grief, run your data warehouse databases in a non-logged mode.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date