Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin:basics:rawdata:rdbms [2011/03/03 19:04]
els
— (current)
Line 1: Line 1:
-~~NOTOC~~ 
  
-{{page>:​top_add&​nofooter&​noeditbtn}} 
- 
-====== Administration:​ Omnidex Fundamentals ====== 
- 
-===== Raw Data Files ===== 
- 
-[[admin:​basics:​rawdata:​home|Overview]] | 
-[[admin:​basics:​rawdata:​databases|Creating Databases]] | 
-[[admin:​basics:​rawdata:​joins|Joining Tables]] | 
-**[[admin:​basics:​rawdata:​rdbms|Joining to RDBMS'​s]]** | 
-[[admin:​basics:​rawdata:​types|Types of Raw Data Files]] 
- 
----- 
-==== Joining to RDBMS'​s ==== 
- 
-Raw data files often supplement a relational database. ​ For example, a transaction log or a supplemental data file may contain information that is ideal to correlate with a relational database. ​ Companies that have been importing that data into the relational database can avoid that extra work, and use Omnidex to join those two data sources together instead. 
- 
-An Omnidex Environment File can include more than one database, and each database can be of a different type.  An Omnidex Environment File can have one database that points to the underlying relational database, and a second database that points to a series of raw data files. ​ When connected to this Omnidex Environment File, applications can issue SQL statements that join tables from both databases.  ​ 
- 
-{{:​admin:​basics:​rawdata:​basic_architecture_rdms_and_raw_data_files.png|}} 
- 
- 
-<code sql> 
-create table          "​COUNTRIES"​ 
- ​physical ​            "​dat/​countries.dat"​ 
- ( 
-  "​COUNTRY" ​          ​CHARACTER(2), ​               
-  "​DESCRIPTION" ​      ​STRING(47), ​               ​ 
-  "​LATITUDE" ​         FLOAT                          usage "​LATITUDE",​ 
-  "​LONGITUDE" ​        ​FLOAT ​                         usage "​LONGITUDE",​ 
-  "​CAPITAL" ​          ​STRING(31), ​               
-  "​CAPITAL_LAT" ​      ​FLOAT ​                         usage "​LATITUDE",​ 
-  "​CAPITAL_LONG" ​     FLOAT                          usage "​LONGITUDE",​ 
-  constraint COUNTRIES_COUNTRY_PK primary ("​COUNTRY"​) 
- ) 
- ​in ​                  "​simple.xml";​ 
- 
- 
-create table          "​STATES"​ 
- ​physical ​            "​dat/​states.dat"​ 
- ( 
-  "​STATE" ​            ​CHARACTER(2), ​               ​ 
-  "​DESCRIPTION" ​      ​STRING(31), ​                 
-  "​STATE_CODE" ​       CHARACTER(2), ​               ​ 
-  "​REGION" ​           CHARACTER(2), ​               ​ 
-  "​COUNTRY" ​          ​CHARACTER(2), ​               ​ 
-  "​TAX_RATE" ​         FLOAT, ​                       
-  constraint STATES_STATE_PK primary ("​STATE"​),​ 
-  constraint STATES_COUNTRY_FK foreign ("​COUNTRY"​) references "​COUNTRIES"​ 
- ) 
- ​in ​                  "​simple.xml";​ 
- 
-</​code>​ 
- 
-=====  ===== 
- 
-**[[admin:​basics:​rawdata:​joins|Prev]]** | 
-**[[admin:​basics:​rawdata:​types|Next]]** 
- 
-====== Additional Resources ====== 
- 
-See also:  
- 
-{{page>:​admin:​basics:​see_also&​nofooter&​noeditbtn}} 
- 
-{{page>:​bottom_add&​nofooter&​noeditbtn}} 
 
Back to top
admin/basics/rawdata/rdbms.1299179083.txt.gz ยท Last modified: 2012/10/26 14:51 (external edit)