Skip to main content


developerWorks  >  Information Management  >

Travels with Mark: A Hitchhiker's Guide to the UniVerse, Part 6: File opens – The cost

Opening Pandora's file

developerWorks

Level: Intermediate

Mark Baldridge , Principal Consultant, North American Lab Services, IBM

13 Nov 2008

Register now or sign in using your IBM ID and password.

In this installment of the UniVerse performance series, explore the cost of opening files in BASIC programs. Measure opening simple hash files, dynamic files, and directory files, and measure the impact of adding indices to files. Time open distributed files, with and without indices, and examine variations by looking at OPENSEQ and OPENPATH.

Objectives

Contrast the expense of opening files in different configurations, in preparation for exploring ways to avoid them.

Prerequisites

U2 is no longer an IBM brand
In October 2009, the U2 products became products of Rocket Software.

You should have a familiarity with writing and compiling UniVerse BASIC programs.


System requirements

This tutorial requires an installation of UniVerse. You can download a Personal Edition of UniVerse for Linux or Windows.



Duration

Less than two hours


Formats

html, pdf


Tutorial overview

This series of tutorials provides UniVerse DBAs and application designers with tools for making reasoned and metrically-justified decisions about choices in everyday tasks. The subject matter of this series on UniVerse performance tuning arises from visits to customer sites. The issues raised do not disparage the customer, but reflect a real-world predicament. The typical developer or DBA has so many outstanding tasks that by the time one task is complete, at least one more has joined those remaining. They all demand attention. Sufficient time exists to make something work, but typically not enough to make it work well.

With this installment, explore the cost of opening files. Measure opening simple hash files, dynamic files, and directory files, and measure the impact of adding indices to files. Time open distributed files, with and without indices, and examine variations by looking at OPENSEQ and OPENPATH.

Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


More in this series:
Travels with Mark: A Hitchhiker's Guide to the UniVerse