Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 5 Next »

Database Keys for EagleML Objects

There are two types of keys defining a database record explicitly:

  • logical keys - these are a field or a number of fields, unique for the record in DB.
  • business keys - these are a field or a number of fields, unique for each record from real customer point of view.


Note

The keys below are using Source Id, not Source Name. The relationship between these two is defined in the PACE_MASTERDBO.INTERFACES DB table, you can use the following query to get it:

   select * from PACE_MASTERDBO.INTERFACES

The instance column contains all Source ids available and the short_desc column contains corresponding source names.

The following table lists the logical keys and the business keys for each supported object type.


Object TypeMaster TableLogical KeyBusiness Key
Warehouse TradeTRADESDBO.TRADETRADE_IDEFFECTIVE_DATE+ENTITY_ID+SRC_INTFC_INST
Generic SMFSECURITYDBO.SECURITY_MASTERSECURITY_ALIASSECURITY_ALIAS
Generic SMF (history mode)SECURITYDBO.SECMASTER_HISTORYSECURITY_ALIASSECURITY_ALIAS+SRC_INTFC_INST+EFFECTIVE_DATE
SMF IdentifiersSECURITYDBO.XREFERENCESECURITY_ALIASSECURITY_ALIAS

SMF Identifiers (history mode)

SECURITYDBO.XREFERENCE_HISTSECURITY_ALIASSECURITY_ALIAS

Issuer Organization

SECURITYDBO.ISSUER_ORGANIZATIONISSUER_ALIASISSUER_ID

Issuer Relationship

SECURITYDBO.ISSUER_RELATIONSHIPINSTANCEFROM_ISSUER_ALIAS+TO_ISSUER_ALIAS

Rating

SECURITYDBO.RATINGSSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS+SRC_INTFC_INST+EFFECTIVE_DATE

Generic Issue Analytics

SECURITYDBO.SECURITY_ANALYTICSSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS+SRC_INTFC_INST+EFFECTIVE_DATE

Client

RULESDBO.CLIENTINSTANCECLIENT_ID

Schedule

SECURITYDBO.SCHEDULESECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INST,SCHEDULE_SUB_TYPESECURITY_ALIAS+EFFECTIVE_DATE+SRC_INTFC_INST+SCHEDULE_SUB_TYPE

Time Series

SECURITYDBO.STAR_SECURITY_TIME_SERIESSECURITY_ALIAS,EFFECTIVE_DATE,SRC_INTFC_INSTSECURITY_ALIAS+SRC_INTFC_INST+EFFECTIVE_DATE
  • No labels