Microsoft Identity Integration Server 2003 graphic

Multi-value tables for database management agents

This topic explains how Microsoft Identity Integration Server 2003 works when it imports objects from a connected data source that can have multiple values for an attribute. Because each user can have different database server types, such as Microsoft SQL Server, Oracle Database, or IBM DB2 Universal Database, the user must create a multi-value table on the connected data source by using the appropriate database programming language for the user's database type. To learn how to create tables and populate them with data from a primary table, see your database documentation or consult your database administrator.

Database design for multi-value attributes

In a common database, each row in the database represents a single object. For example, an Employees table in a Human Resources database may have one row for each employee in the company, with each column in that row having only one value for an attribute.

EmployeeID object_type LastName FirstName Title
E005 user Thorpe Steven Sales Manager

When an object in a single row has an attribute that can have more than one value, that attribute is referred to as a multi-value attribute. There is no standardized table configuration for objects in a single row that have multi-value attributes. For example, the following table combines each value of a multi-value attribute in a single column (Directs).

EmployeeID object_type LastName FirstName Title Directs
E005 user Thorpe Steven Sales Manager E001, E003, E004

Microsoft Identity Integration Server 2003 does not support this type of table, where multiple values exist in a single column. Because a single column for a single row can have more than one value, there is no guaranteed way of changing any one value. For example, if Sales employee E003 moves to a different department and will no longer report to Sales Manager E005, there is no way to guarantee that E003 is in any particular location among all the individual values in the Directs column.

One solution is to create a table with a row for each separate value for an object with multi-value attributes. For example, a single user object may exist in three rows, with each row containing the same columns of single values and a single instance of each of the three multiple values.

EmployeeID object_type LastName FirstName Title Directs
E005 user Thorpe Steven Sales Manager E001
E005 user Thorpe Steven Sales Manager E003
E005 user Thorpe Steven Sales Manager E004

This multiplication of a single object or row to contain only a single value of a multi-value attribute is inefficient, causing excessively large storage overhead and, potentially, diminished performance.

Creating a separate table for multi-value attributes

To import objects with multi-value attributes from a database, both a primary table and a secondary table for multi-value attributes must be specified. This separate table must reside in the same database as the primary table. When you configure your management agent, on the Connect to Database page of Management Agent Designer, you can specify both the primary table and the multi-value table. You use the primary table to import all objects into the connector space and export all objects from the connector space. You use the secondary, multi-value table to import and export the multi-value attributes.

The following requirements must be met for the primary table:

For example, a table with the following user objects can be selected as the primary table. The primary table must contain only single-value columns.

EmployeeID object_type LastName FirstName Title
E001 user Doyle Patricia Sales
E002 user DeVoe Michael Vice President
E003 user Lysaker Jenny Sales
E004 user Truelson Kim Sales
E005 user Thorpe Steven Sales Manager

An additional secondary table is required for those attributes that have multiple values. The secondary, multi-value table must contain the following columns:

The secondary, multi-value table must also contain one or more of the following columns for their associated value types:

In the following example of a secondary, multi-value table, user E005, Steven Thorpe, has three employees that report to him (referred to as Directs in the previous example). Each Direct is entered into the STRING_VALUE column as an individual row. The first column, EmployeeID, is an anchor column. The anchor column uniquely identifies each object in reference from the primary table. The second column, ATTRIBUTE_NAME, contains only an attribute name, configured as a multi-value attribute of string type. The third column, STRING_VALUE, is the column containing each individual value of the multi-value attribute.

EmployeeID ATTRIBUTE_NAME STRING_VALUE
E005 DIRECTS E001
E005 DIRECTS E003
E005 DIRECTS E004
This table, which contains only the required anchor attributes, reference attributes, and multi-value attributes, allows for the most scalability while maintaining optimum performance. This is the recommended configuration for use with Microsoft Identity Integration Server 2003.

Note

Configuring the management agent in Management Agent Designer

When you configure a management agent for use with a multi-value table, you must select both a primary table and a secondary, multi-value table on the Connect to database type page in Management Agent Designer. You must also configure the additional columns on the Configure Columns page. For more information, see Configure columns.

When you run the management agent, an object that has attributes in both the primary table and the secondary, multi-value table are then consolidated as a single object in the connector space. Both import and export processes occur just as they do for any other management agent.

For information about how to import multi-value attributes that have changed using a delta table or view, see Related Topics.

Related Topics

*

Delta views for database management agents

*

Configure columns

*

Using the management agent for IBM DB2 Universal Database

*

Using the management agent for Microsoft SQL Server

*

Using the management agent for Oracle Database


Объявления:

  1. Buy Text PA50+ Links Now
    Back Links: SB Rank 5-9 (old PR), DA40+, PA50+ from $10. Buy Links!
    linksmanagement.com

     
  2. Anna Lotan без посредников
    Анна Лотан напрямую из Израиля. Гарантия качества. Пробники бесплатно.
    isracharm.ru

     
  3. цены хабаровск
    Отелей - 24, отзывов - 1335. Сравните цены и бронируйте сейчас!
    tripadvisor.ru

     
  4. Коттеджи с ремонтом в Супсехе
    Продаем коттеджи с ремонтом в Супсехе! Югмания.
    ugmania.ru

     
  5. Цвета на английском
    Нажми и послушай, как произносятся цвета на английском языке. Живой звук!
    ilearner.ru

     
  6. Цена Нефти Онлайн
    Высокоточный суперсовременный график цены на нефть. См. на Forex2.info!
    forex2.info

     
  7. Книга Дом, в котором
    Читать и скачать книгу Петросян в epub, fb2, txt. Без регистрации.
    litres.ru

     
  8. Недвижимость России и за границей
    Интернет-портал объявлений по недвижимости. Бесплатная база недвижимости!
    domex.ru

     
  9. Пресс брикетирующий упаковочный
    Для эковаты, опилки, стружки, волокна, отходов, сена и др. Гидравлический.
    grandenergo.by

     
  10. Теплоизоляция «Лотос»
    Производство БСТВ, матов базальтовых МТБ,матов звукопоглащающих БЗМ-Л
    lotos-komi.ru

     
  11. Объявления
    Бесплатные объявления в вашем городе, без регистрации и ограничений.
    vavilone.com

     
  12. Music Wars – музыкальная MMORPG!
    Первая музыкальная MMORPG. Сражайтесь за любимый музыкальный стиль!
    exe.ru

     
  13. Предложения отдыха на трёх морях
    Самые выгодные предложения отдыха на трёх морях, без посредников и напрямую
    3mori.ru

     
  14. Частный дом- это весело!
    Клуб любителей загородной жизни «Веселое Подворье»
    dv0r.ru

     
  15. Принтер, который печатает блины
    Поступил в продажу принтер, печатающий блины. Подробнее на fnuz.ru
    fnuz.ru

     
  16. 5px cf256as 256as 56as cf256 tone
    Купить! 5px cf256as 256as 56as cf256 toner cartridge chip for hp laserjet
    aliexpress.com

     
  17. Швейные машины Husqvarna.
    Все модели Husqvarna с бесплатной доставкой в любой город России. Гарантия!
    damadoma.ru

     
  18. Гайковерт Электрический
    Дрели, шуруповерты. Сравнивай на Price.ru и покупай выгодно
    price.ru

     
  19. Интересуют Автомобили с Пробегом?
    Высококачественные автомобили с пробегом на одном сайте. Смотрите!
    giplex.com.ua

     
  20. Программа проектирования домов
    К3-Коттедж - программа для побревенки. Эффективно. Обслуживание 12 мес!
    k3-cottage.ru

     
  21. Гайковерт Электрический
    Дрели, шуруповерты. Сравнивай на Price.ru и покупай выгодно
    price.ru