IBM DB2: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
For many years IBM DB2 was exclusive to the very expensive Mainframes and other heavy servers, and the only connnectivity from DataFlex was for minor applications. | For many years IBM DB2 was exclusive to the very expensive Mainframes and other heavy servers, and the only connnectivity from DataFlex was for minor applications. | ||
Nowadays IBM DB2 UDB has a free version for use in commercial environments. It is the Express-C edition. | Nowadays IBM DB2 UDB has a free version for use in commercial environments. It is the [http://www.ibm.com/software/db2|Express-C] edition. | ||
The great things about this database are: | The great things about this database are: |
Revision as of 23:52, 26 November 2007
For many years IBM DB2 was exclusive to the very expensive Mainframes and other heavy servers, and the only connnectivity from DataFlex was for minor applications.
Nowadays IBM DB2 UDB has a free version for use in commercial environments. It is the [1] edition.
The great things about this database are:
- Its free, with unlimited database size (but server memory <= 4Gb)
- DB2 server runs on Windows but also Linux and many others
- The DB2 data can be accessed from DF32 Linux programs as well as VDF and other programmnig environments
- It is really fast and self tuning, no DBA hours required
- Data Access And Mertech Data have fantastic Connectivity Kits, not only from VDF but also from Linux DataFlex Console Mode systems.
Running Character Mode DF32
If you still have a lot of * Character mode programming. And it is not an option to move to VDF (Because of bandwith, factory environment, etc), I recommend that you have a serious look at:
- Convert your Console Mode program to Linux
- Convert your DataFlex tables to DB2
This opens up a new world for unleashing your data in a safe way. You can do datamining, run crystal without DataFlex CK, even create Java, .Net or any other applications all using your data. Offcourse this does not take Data Dictionaries into effect, but you most likely did not have these anyway in DF32.
Conversion
The conversion from Embedded DataFlex to DB2 has some gotcha's;
- DB2 has several options for Collating Sequence. Please carefully select this prior to creating your database matching with your collate.cfg. (Hint: use 'Fill_Field' rather than move 'zzzz' in your old programs)
- Some nested reports might run slower. Concider creating an SQL View, link this as a table using the Filelist and a INT file, then report from the 'Flat file'.