Data Catalog Naming Structure

The primary name of an object in the Sybase Data Federation data catalog is represented in the same way as a Unix filename—a forward-slash-separated pathname. Many objects also have shorter qualified names.

Anyone who has used a Windows or Unix file system is familiar with paths used to name files, such as:

C:\windows\winnt\pgm.exe or

/home/local/jdoe/myfile.txt

Data catalog names follow the same convention:

/Shares/myShare/myfile.txt

/System/LocalDomain/Services/DatabaseServices/MyDb/Query1

Every object in a data catalog has a single unique pathname that is its primary name. However, you can use Data Federation links to create secondary names for any object. Unlike hard links in a Unix file system, however, Data Federation hard links are not reference counted—there is a primary link which, when unlinked, causes the underlying object to be deleted.

Qualified Names: Shorthand for Paths

There are situations where using full pathname syntax to call on a particular object in the data catalog is either not appropriate or inconvenient. For instance, when you invoke a database operation via a JDBC driver, JDBC dictates that you use a dot-separated three-part name syntax for the database operation. In other situations it’s more convenient to use an abbreviated syntax to identify users. We refer to these syntaxes as qualified names—an alternative, usually shorter syntax for the full catalog pathname.

The qualified name for a database operation takes the form shown below; it includes the names of the Data Federation domain, the database operation’s database connector, and the database operation itself:

MyDomain.MyDBconnector.MyDBop

Data Federation expands such three-part names into data catalog paths of the form

/System/Domains/MyDomain/services/database services/MyDBconn/My DBop

If the domain name is omitted from the qualified name, LocalDomain is assumed.

Examples of Qualified Names

Data Federation recognizes qualified names for the following objects:




Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.