Differences

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

Link to this comparison view

Next revision
Previous revision
integration:rdbms:sqlserver:updates [2011/04/07 17:54]
127.0.0.1 external edit
integration:rdbms:sqlserver:updates [2016/06/28 22:38] (current)
Line 23: Line 23:
 Omnidex is primarily used on read-only databases; however, Omnidex can also be used on read-write databases. ​ Omnidex supports the INSERT, DELETE and UPDATE SQL statements. ​ There are several restrictions that administrators must be aware of before deciding whether to use Omnidex on a read-write database: Omnidex is primarily used on read-only databases; however, Omnidex can also be used on read-write databases. ​ Omnidex supports the INSERT, DELETE and UPDATE SQL statements. ​ There are several restrictions that administrators must be aware of before deciding whether to use Omnidex on a read-write database:
  
-  * Omnidex does not support database transactions. ​  +{{page>:​admin:​basics:​updates:​restrictions_insert&​nofooter&​noeditbtn}}
-  * Omnidex does not support the relational ACID requirements (Atomicity, Consistency,​ Isolation and Durability). ​  +
-  * Most Omnidex applications will place tens or hundreds of indexes on a table, and this makes online ​updates ​impractical. ​  +
-  * Omnidex Bitmap indexes are not updated on INSERT, DELETE or UPDATE statements. ​ Omnidex Bitmap indexes are used to improve queries that reference low-cardinality data, and are heavily used on tables containing millions of rows. +
-  * Omnidex UPDATE statements do not allow SET commands to values other than literals or constants.+
  
 Given these restrictions,​ most Omnidex applications refresh the data at regular intervals such as daily, weekly, or monthly. ​ Once the data is refreshed, the indexes are rebuilt, producing an indexed version of the new data.  This data can then be deployed into production. Given these restrictions,​ most Omnidex applications refresh the data at regular intervals such as daily, weekly, or monthly. ​ Once the data is refreshed, the indexes are rebuilt, producing an indexed version of the new data.  This data can then be deployed into production.
  
-For applications that require online updates, applications can use INSERT, DELETE, and UPDATE statements to update the table. ​ This approach immediately updates both the database and the Omnidex indexes.  ​+For applications that require online updates, applications can use INSERT, DELETE, and UPDATE statements to update the table. ​ This approach immediately updates both the database and the Omnidex indexes.  ​Alternatively,​ Omnidex allows SQL Server triggers to be installed on a table that copies changes to a separate transaction table. ​ The [[programs:​odxaim:​home|OdxAIM program]] can generate SQL Server triggers for tables with Omnidex indexes. ​ These SQL Server triggers log the changes to the data in a separate, intermediate transaction table, and then OdxAIM processes this transaction table in the background to update the Omnidex indexes. ​ This approach preserves transactional integrity, though there is a short delay between the updates of the database and the indexes.
  
  
 
Back to top
integration/rdbms/sqlserver/updates.1302198867.txt.gz · Last modified: 2016/06/28 22:38 (external edit)