HomeSearchSite MapContact Us

   RemoteDBA Services for CODASYL DBMS and Rdb Remote Management of OpenVMS Systems Preserving Mission Critical IT Applications Through Virtualization

DATABASE
ADMINISTRATION

 
 

RUJ Filenames
TECHNICAL ARTICLES -> TROUBLESHOOTING ARTICLES
Back ] Next ] Printer Friendly Version ]

Q:

We are experiencing periodic image failures when trying to bind to our database. The error message indicates the RUJ file is locked by another user. Since RUJ file names are unique, how can this be?

 

A:

The RUJ filenames were *supposed* to be unique in Rdb and DBMS...but the algorithms used to create the RUJ files names did not always guarantee that uniqueness. In previous versions of Rdb and DBMS, the RUJ file names were “made unique” by adding a date/time stamp to the filename. As processors became faster, this was not always sufficient to guarantee uniqueness and could have resulted in file access conflicts. The next attempt at uniqueness involved generating RUJ filenames based on the root file name, the monitor ID and a unique “bind handle.” However, long root file names would cause the RUJ file names to be truncated…again, resulting in possible RUJ file access conflicts. Most recently, the algorithm was changed to truncate the database name portion of the root file rather than the monitor-id/bind handle. Hopefully, this has finally solved the “unique RUJ file name” issue.

In any case, SCI recommends that you do not place version limits on your RUJ directories, and avoid purging RUJ files.  Because the duplicate RUJ file you purge may just be the one you need!

 

Top


Was this article helpful? 
This information and more was originally published in SCI's technical newsletter, DBAdvisor.
Past issues are available online; you may also fill out a subscription form.

If you have a technical question about this article or about any other 
CODASYL DBMS or Rdb topic, then ask our experts.

How would you rate this article?

5 (Highest)
4
3
2

0 (Did not apply)
Comments about this article or topic suggestions for new articles

Copyright © 2008 Software Concepts International
All Rights Reserved