Differences

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

Link to this comparison view

Next revision
Previous revision
integration:rawdata:fixed:environments [2011/03/14 14:21]
127.0.0.1 external edit
integration:rawdata:fixed:environments [2011/04/04 22:08]
deb
Line 22: Line 22:
 === Declaring Databases for Raw Data Files === === Declaring Databases for Raw Data Files ===
  
-Databases in Omnidex are of a particular type, such as Oracle, SQL Server, MySQL or ODBC.  A database that accesses raw data file has its own type: FILE.  All tables within this database must be raw data files, though they can be a mixture of the types of raw data files supported by Omnidex.  ​+Databases in Omnidex are of a particular type, such as Oracle, SQL Server, MySQL or ODBC.  A database that accesses raw data files has its own type: FILE.  All tables within this database must be raw data files, though they can be a mixture of the types of raw data files supported by Omnidex.  ​
  
 <​code>​ <​code>​
Line 34: Line 34:
 === Declaring Tables for Fixed-length Files === === Declaring Tables for Fixed-length Files ===
  
-Tables will point to one or more fixed-length files, and the files must match the record layout specified in the [[dev:​sql:​statements:​create_table:​home|CREATE TABLE]] statement. ​ In the CREATE TABLE statement, the PHYSICAL clause is used to point to the physical location of the raw data file.  This PHYSICAL clause can contain a relative path name (relative to the location of the Omnidex Environment File) such as "​dat/​states.dat",​ or an absolute path name such as "​d:/​class/​lab1/​dat/​states.dat"​. ​ This PHYSICAL clause can also contain wildcards as described below, and can also reference [[appendix:​reference:​envvar|environment variables]] using special syntax.+Tables will point to one or more fixed-length files, and the files must match the record layout specified in the [[dev:​sql:​statements:​create_table:​home|CREATE TABLE]] statement. ​ In the CREATE TABLE statement, the PHYSICAL clause is used to point to the physical location of the raw data file.  This PHYSICAL clause can contain a relative path name (relative to the location of the Omnidex Environment File) such as "​dat/​states.dat",​ or an absolute path name such as "​d:/​class/​lab1/​dat/​states.dat"​. ​ This PHYSICAL clause can also contain wildcards as described below, and can also reference [[appendix:​reference:​envvar:home|environment variables]] using special syntax.
  
 <code sql> <code sql>
Line 63: Line 63:
 Files can reside in multiple directories and in multiple drives or volumes to allow a table to span multiple storage devices. ​ Files may also reside on a Storage Area Network (SAN); in fact, this is one of the most common implementations of Omnidex. ​ Files may also reside on Microsoft Windows mapped drives; however, users should expect performance degradation to occur in this scenario. ​ Files can reside in multiple directories and in multiple drives or volumes to allow a table to span multiple storage devices. ​ Files may also reside on a Storage Area Network (SAN); in fact, this is one of the most common implementations of Omnidex. ​ Files may also reside on Microsoft Windows mapped drives; however, users should expect performance degradation to occur in this scenario. ​
  
-Wildcards provide ​great flexibility since they allow more data to be added to a table by simply moving another file into place. ​ Care should be taken with this approach, though, since the table must be reindexed as soon as new data is in place.+Wildcards provide great flexibility since they allow more data to be added to a table by simply moving another file into place. ​ Care should be taken with this approach, though, since the table must be reindexed as soon as new data is in place.
  
  
 
Back to top
integration/rawdata/fixed/environments.txt ยท Last modified: 2016/06/28 22:38 (external edit)