A logical database can be mapped to physical databases base on security setting or load balancing algorithm. For example, base on security setting, a logical database SalesWarehouse (DBRole is SalesWareHouse) can be mapped to an enterprise central sales database for the CEO or a regional sales database for that region's AE. In addition, if a DSS system have duplicate warehouse databases to store sales data, the DBRole to SalesWareHouse can be mapped to either one of the warehouses based on their load.
Public Member Functions | |
HRESULT | DatabaseName ([in] BSTR DatabaseName) |
Reserved for future use. | |
HRESULT | DatabaseName ([out, retval] BSTR *pDatabaseName) |
Reserved for future use. | |
HRESULT | DatabaseType ([in] EnumDSSDatabaseType DatabaseType) |
Set the vendor/type of the database. | |
HRESULT | DatabaseType ([out, retval] EnumDSSDatabaseType *pDatabaseType) |
Vendor/type of the database. | |
HRESULT | DatabaseVersion ([in] EnumDSSDatabaseVersion DatabaseVersion) |
Version of the database. | |
HRESULT | DatabaseVersion ([out, retval] EnumDSSDatabaseVersion *pDatabaseVersion) |
Version of the database. | |
HRESULT | DBMS ([in] IDSSDBMS *pDBMS) |
DBMS object associated with this version of the database. | |
HRESULT | DBMS ([out, retval] IDSSDBMS ppDBMS) |
DBMS object associated with this version of the database. | |
HRESULT | DefaultDBConnection ([in] IDSSDBConnection *pDefaultDBConnection) |
Default physical DB Connection associated with this DBRole. | |
HRESULT | DefaultDBConnection ([out, retval] IDSSDBConnection ppDefaultDBConnection) |
Default physical DB Connection associated with this DBRole. | |
HRESULT | DefaultDBConnections ([out, retval] IDSSDBConnections ppDefaultDBConnections) |
Default DB Connections associated with this DBRole A collection of DBConnection objects that can be used as default for this DBRole. | |
HRESULT | DefaultMaxDBConnection ([in] Int32 DefaultMaxDBConnection) |
Maximum number of physical connection allowed. | |
HRESULT | DefaultMaxDBConnection ([out, retval] Int32 *pDefaultMaxDBConnection) |
Maximum number of physical connection allowed. | |
HRESULT | DefaultMaxDBCost ([in] Int32 DefaultMaxDBCost) |
Maximum query load allowed. | |
HRESULT | DefaultMaxDBCost ([out, retval] Int32 *pDefaultMaxDBCost) |
Maximum query load allowed. | |
HRESULT | Info ([out, retval] IDSSObjectInfo ppInfo) |
Generic information about this first class object. | |
HRESULT | Populate ([in] IDSSDBRole *pOriginal) |
Populates the definition of this DBRole from another one. | |
HRESULT | PrimaryDBRole ([in] IDSSDBRole *pPrimaryDBRole) |
This property holds a reference to the primary DBRole for a given DBRole. | |
HRESULT | PrimaryDBRole ([out, retval] IDSSDBRole ppPrimaryDBRole) |
This property holds a reference to the primary DBRole for a given DBRole. | |
HRESULT | Queue ([out, retval] IDSSQueue ppQueue) |
Server job queue associated with this DBRole. | |
HRESULT | Tables ([in] IDSSTables *pTables) |
Reserved for future use. | |
HRESULT | Tables ([out, retval] IDSSTables ppTables) |
Reserved for future use. | |
HRESULT | TableSource ([in] IDSSTableSource *pTableSource) |
TableSource object associated with this DBRole. | |
HRESULT | TableSource ([out, retval] IDSSTableSource ppTableSource) |
TableSource object associated with this DBRole. | |
HRESULT | TableSpaceName ([in] BSTR TableSpaceName) |
Reserved for future use. | |
HRESULT | TableSpaceName ([out, retval] BSTR *pTableSpaceName) |
Reserved for future use. |
|
Reserved for future use. Reserved property. Do not use.
|
|
Reserved for future use. Reserved property. Do not use.
|
|
Set the vendor/type of the database.
|
|
Vendor/type of the database. The vendor and type of database that this DBRole represents.
|
|
Version of the database. The detail database version this DBRole represents. See the get method of this property for a list of some database versions.
|
|
Version of the database. The detail database version this DBRole represents. See for database versions currently supported.
|
|
DBMS object associated with this version of the database. A DBMS object holds a rich set of properties that characterizes a specific version of a DBMS platform.
|
|
DBMS object associated with this version of the database. A DBMS object holds a rich set of properties that characterizes a specific version of a DBMS platform.
|
|
Default physical DB Connection associated with this DBRole. A default DBConnection object is used as the physical DB connection for this DBRole unless a DBConnectionMap overwrites such association.
|
|
Default physical DB Connection associated with this DBRole. A default DBConnection object is used as the physical DB connection for this DBRole unless a DBConnectionMap overwrites such association.
|
|
Default DB Connections associated with this DBRole A collection of DBConnection objects that can be used as default for this DBRole. Please note that this collection is used only if DefaultDBConnection property is empty.
|
|
Maximum number of physical connection allowed. The default maximum number of database connection can be made in DSS Server for this DBRole. A DSS Server can set its own MaxDBConnection by specifying it in its DBConnectionMap for this DBRole.
|
|
Maximum number of physical connection allowed. The default maximum number of database connection can be made in DSS Server for this DBRole. A DSS Server can set its own MaxDBConnection by specifying it in its DBConnectionMap for this DBRole.
|
|
Maximum query load allowed. The default maximum estimate cost a server can put on this Database (DBRole). A DSS Server can set its own MaxDBCost by specifying it in its DBConnectionMap for this DBRole. A DSS Server can set its own MaxDBCost by specifying it in its DBConnectionMap for this DBRole.
|
|
Maximum query load allowed. The default maximum estimate cost a server can put on this Database (DBRole). A DSS Server can set its own MaxDBCost by specifying it in its DBConnectionMap for this DBRole.
|
|
Generic information about this first class object. Shortcut to the IDSSObjectInfo interface to this object, which contains generic information about this object, including name, type, description etc.
|
|
Populates the definition of this DBRole from another one.
|
|
This property holds a reference to the primary DBRole for a given DBRole. A DBRole maybe a primary DbRole in which case it is used by the server connection management module to map database connections. A secondary DbRole is not used for connection management, it holds a reference to its primary role. A secondary role is compatible with its primary role and in turn with all the other secondary roles that have the same primary roles. By compatibility, we mean two tables coming from different but compatible DbRole can be used in the same SQL statement.
|
|
This property holds a reference to the primary DBRole for a given DBRole. A DBRole maybe a primary DBRole in which case it is used by the server connection management module to map database connections. A secondary DbRole is not used for connection management, it holds a reference to its primary role. A secondary role is compatible with its primary role and in turn with all the other secondary roles that have the same primary roles. By compatibility, we mean two tables coming from different but compatible DbRole can be used in the same SQL statement.
|
|
Server job queue associated with this DBRole. See IDSSQueue documentation for information about queues.
|
|
Reserved for future use. This property is reserved and should not be used.
|
|
Reserved for future use. This property is reserved and should not be used.
|
|
TableSource object associated with this DBRole. A table source object defines prefix and suffix information for tables in the warehouse. If a table source is associated with a DBRole, tables from this warehouse will have the defined prefix/suffix unless the table source is overridden at the table level (see IDSSDBTable::TableSource).
|
|
TableSource object associated with this DBRole. A table source object defines prefix and suffix information for tables in the warehouse. If a table source is associated with a DBRole, tables from this warehouse will have the defined prefix/suffix unless the table source is overridden at the table level (see IDSSDBTable::TableSource).
|
|
Reserved for future use. Reserved property. Do not use.
|
|
Reserved for future use. Reserved property. Do not use.
|