Home > Articles > Software Development & Management

This chapter is from the book

Storing Metadata

Perhaps the most common metadata storage mechanism is the centralized, custom-developed metadata database. This option seems to be the easiest to implement; most beneficiaries appear to get what they want immediately. In fact, the population of this storage solution is also quite simple; many implementers manually reinput metadata that already exists throughout the organization. There are many options to the storage scenario, including not storing the metadata directly in the repository solution. The pros and cons of each option vary with the timing and planned duration of the metadata solution.

Options

Once the metamodels are defined and the metadata instances have been officially sourced, it is important to decide how the metadata instances will be a part of the metadata solution. Simply speaking, this means deciding how and where to store the metadata. There are various options, none of which is necessarily better or worse than the others, but they depend on many architectural issues at hand, all of which need to be revisited. In addition, the storage option could address not only Question 1 (What metadata do I have?), but also Questions 3 (Where is it?) and 5 (How do I get it?).

The metamodel and its associated storage capabilities are related directly to the type of storage option(s) selected. Specifically, choices include one or any combination of the following:

Centralized custom database designed to reflect an integrated, all-encompassing metamodel perspective.

Metadata storage at the source with a main database functioning as the metadata directory or gateway by interpreting each metamodel's addressing and location-specific information.

Distributed metadata storage with separate metamodels and associated metadata instances residing in distinct locations. A master metamodel or search engine would be available to track and locate specific metadata instances (similar to the enterprise portal, which is discussed in Chapter 15).

Centralized repository tool with vendor-supplied metamodels populated either manually or via vendor-supplied interfaces and APIs.

Distributed repository tools, also with vendor-supplied metamodels, but populated in a distributed scenario such that coexistence is planned and integrated.

Let's discuss each option from the perspective of advantages and disadvantages.

Centralized Custom Database

Based on the ease of setup, this solution directly mirrors the results of the metadata requirements analysis. All metamodels are combined, typically at junction points, and each metamodel component represents a table in a relational database implementation. Instances are loaded either via bulk one-time load, with periodic updates, or manually, depending primarily on volume and the frequency of update. Front-ends can be simple client (e.g., VB) access, or in many cases, intranet search engines are placed "on top of" the custom database to allow subject-based queries and access.

In the best of worlds, this custom database is monitored and quality is controlled by an individual assigned to metadata administration. His or her responsibilities include the validation of metadata instances as well as the guarantee of the database's availability. Database design and enhancement also fall within this individual's job description, and the position remains filled even after this individual moves on. The metadata database remains an active part of its beneficiaries' metadata analyses. Figure 11-1 illustrates this scenario.

Figure 11-1 A centralized custom metadata database

In the worst of worlds, this database is soon out of date. In most cases it is established to meet a narrowly scoped initial objective (e.g., one data warehouse, definitions of one OTS package's data) and is typically requested by one specific user community. Despite the fact that the metadata probably exists elsewhere, it is recreated yet again so that the beneficiaries have easy access based on its new, integrated single location. In a short time, typically one year, the metadata database is no longer in demand because of its inaccuracy, and metadata beneficiaries seldom use it. The number of active users dwindles, and those responsible for its initial design and creation move on to newer endeavors.

In the most likely scenario, the metadata database's content and scope are too restrictive. Designed to meet a specific metadata beneficiary's set of requirements, they are usually not flexible enough to expand beyond that initial focus. Because the metamodel is one part of the metadata solution, a direct implementation without the other architectural features is incomplete. As metadata requirements and/or the number and types of metadata beneficiaries expand, the initial implementation loses its leverage and a more flexible, better planned metadata solution typically replaces this custom database within two years. The result is yet another node on the corporate metadata web.

Metadata Storage at the Source

In response to the trend of reducing unnecessary redundancy in both the data as well as the metadata worlds, most metadata solutions are adopting the philosophy of leaving metadata where it is used. In many cases, this metadata is created, updated, and maintained within a specific development or reporting tool, or in some cases, as part of a custom or purchased application package. Here, the metamodels and metadata requirements analysis consider the location of the metadata of record, as previously discussed. In other words, whether an official value exists to correct conflicting metadata instances is usually the key to whether metadata can remain solely where it is.2 In situations where metadata instances conflict based on instance value but not intent or meaning, the metadata solution design must have assigned metadata of records and active maintenance plans tied to the overall architecture. Without such a strategy, the various metadata values and conflicts will eventually sever the overall architecture. Metadata maintenance strategies must coexist with the overall architectural plans.3

By keeping metadata in diverse locations, as illustrated in Figure 11-2, the metadata solution database becomes a metadata directory or gateway. Instead of tracking metadata instances, the database contains the metamodel, depicting metadata interrelationships as well as location specifics (answers to Questions 1, 2, and 5) for unique and specific metamodels. As anticipated, the specifics of the addressing schemes depend on the deployed technology and architecture of each metadata source. In addition, the ability of the deployed metadata database technology to interface with each of the metadata sources puts a major emphasis on the feasibility of the solution.

Figure 11-2 Metadata storage at the source

From a benefit perspective, this type of implementation obviously targets the reduction and eventual elimination of metadata conflict. As metadata instances are requested, typically they are retrieved from their actual source, with the metadata repository functioning as a gateway. As metadata is updated, the latest instances are accessed. There is no need for synchronization among separate metadata stores, because they are all connected via the gateway's common metamodel.

On the downside, technology certainly plays a major role in the feasibility of this solution. Metadata standards are moving toward universal metamodels with associated access routines. Our patience is worth its weight in this scenario. Until standards become universal and easy to plug in, interface capabilities depend on the compatibility of the underlying metadata stores as well as the completeness of API (application programming interface) sets or the maturity of standard intertool exchange mechanisms such as XML.4

Distributed Metadata Storage

In the distributed scenario illustrated in Figure 11-3, metamodels and their metadata instances reside at distinct locations. There is no master metamodel or repository, as there is with the previous option, because the search engines have the ability to scan the contents of each metadata store directly, typically by accessing individual metamodels in order to retrieve the metadata of choice. There is no need to organize or integrate the various metadata stores, but the practicality of this solution depends substantially on the deployed search engine and the existence of the particular engine's required contents in each distinct metadata area.

Figure 11-3 Distributed metadata storage

Distributed metadata storage is becoming more popularly known as an enterprise portal. Although most portals are used to retrieve data, the same concepts apply with metadata retrieval. In this implementation, the search targets remain unchanged, except for some standard portal-wary identification. The search engines become the power behind the practicality of this solution. Despite this apparent ease of implementation, the efficiency of such a setup depends substantially on how well organized each metadata store is in relationship to the others. For example, having the same information in more than one place without forethought as to a logical separation concept guarantees only that the same information, with perhaps different intentions, is retrieved over and over again.

Properly implemented portals require both architectural and metadata instance planning. Without such advanced design, the portal can end up returning lots of unrelated metadata and the user would be stuck with making sense of it all.

Centralized Repository Tool

Repository tools, vendor supplied, offer much more than metadata databases. Their architecture assumes interfaces, and in many cases, full sets of APIs are included as part of the base repository offering. Although their full design and functionality is covered in a later chapter,5 it is necessary to introduce them here as an option in the storage of metadata. Most initial metadata solutions during the 1990s involved repository technology. The amount of functionality that was part of the standard tools varied substantially by vendor, and the latter part of the 1990s involved many vendor acquisitions and mergers so that today's offerings represent distinct architectural variations.

With a centralized repository tool, most installations use the repository's metadata store as the sole integrated metadata area. Initially, other sources of metadata are loaded into the repository, usually through a vendor-supplied batch interface. The means of metadata maintenance varies from installation to installation, but in general, a repository administrator oversees the integrity of the repository's contents. Likewise, some aspect of metadata creation usually involves automated repository update.

Purchased repository tools are often called a "repository in a box" because the vendor provides metamodels along with standard interfaces to and from the populated repository. The supplied functionality comes with a price tag, however, and therefore purchased repository tools are not usually considered for small-scope metadata solutions. Finally, as discussed in Chapter 14, each repository product is typically focused on a specific type of metadata functionality (e.g., data management, application development, or data warehouse support) and therefore is architecturally designed to interface only with products that are targeted to support the same functional market space.

Distributed Repository Tools

When vendor-supplied repository tools are designed to coexist, metadata storage takes on another option. In this scenario, the tools are deployed throughout an organization, typically with each metadata repository representing a subset of the overall enterprise's metadata. The synchronization of these tool instances as well as their participation in the full metadata indexing schema is quite vendor dependent. Again, as with distributed metadata storage, an overall metadata distribution plan is a prerequisite to success in this scenario.

Distributed repository tool implementations are not the same as distributed database implementations. Repository software provides a key part of the metadata-based functionality and must also be functionally distributed.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020