Sybase IQ - First impressions
Sybase IQ is a column-store database unlike regular databases which are row-store. This means that Sybase IQ breaks every row up into columns and stores these columns in seperate data pages. Apparently, this allows for much better data compression and also automatic indexing of all columns (perhaps because each column's data pages are stored in the form of a Btree a la Oracle's Index-Organized Tables). Sybase IQ is recommended for analytical (read DW) environments where queries need not necessarily read all the columns although they may read a large number of rows. I am not able to relate to this fully because in regular star schemas (sales, production, inventory, etc), every query picks up all the measures anyway and will probably have filters on most dimensions. So where is the question of improving IO by only reading the required columns? I guess this is more relevant to the finance area where there are perhaps multiple dimensions (like Account, Project, Department, Location, Currency, etc) and maybe multiple measures also. In such a case, if a typical query only needs to look at, say, 40% of the columns from every row, then storing the data in a column-store DBMS like Sybase IQ may have significant advantages?
There is an excellent article on how the Sybase IQ optimiser works, how to interpret query plans, important parameters to understand, etc. Incidentally, the explain plan produced by Sybase IQ is very impressive and has tons of information!
This site seems to have some amazing presentations related to Sybase from TechWave 2003! If you are a Sybase user, you will find loads of useful stuff here. The presentation BID209 has many useful tips on when and what type of indexes to create, for example.
There is an excellent article on how the Sybase IQ optimiser works, how to interpret query plans, important parameters to understand, etc. Incidentally, the explain plan produced by Sybase IQ is very impressive and has tons of information!
This site seems to have some amazing presentations related to Sybase from TechWave 2003! If you are a Sybase user, you will find loads of useful stuff here. The presentation BID209 has many useful tips on when and what type of indexes to create, for example.
