Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

New Features in Informix IDS 9.3


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

New Features in Informix IDS 9.3

  1. 1. What’s New in 9.30 Joe Kennedy & Warren Heising IBM Software Group Data Management Solutions [email_address] [email_address]
  2. 2. Overview <ul><li>Administration and Usability </li></ul><ul><li>Performance </li></ul><ul><li>Enterprise Replication </li></ul><ul><li>Application Development </li></ul><ul><li>Extensibility </li></ul>
  3. 3. Usability – UNIX Bundle Installer <ul><li>Simplifies installation of components </li></ul><ul><li>Installs components in correct order </li></ul><ul><li>Creates a demo server if needed </li></ul><ul><li>Supports role separation </li></ul><ul><li>Also supports ‘silent’ install </li></ul>0) All Products listed below (except JDBC 1.50) 1) Informix Dynamic Server 9.30 2) Informix IConnect 3) Informix JDBC version 1.50 (should not be installed with JDBC 2.20) 4) Informix JDBC version 2.20 5) Informix System Administrator 6) Configure a Demo IDS Server (requires IDS) Enter the number of the products to install, separated by spaces (i.e. &quot;1 2 4&quot;):
  4. 4. Usability – ISA 1.40 <ul><li>Server Setup </li></ul><ul><li>Remote monitoring </li></ul><ul><li>HDR compatibility </li></ul><ul><li>Connection counts </li></ul><ul><li>SQLHOSTS edit </li></ul>
  5. 5. Performance <ul><li>Shared statement cache </li></ul><ul><li>Fuzzy checkpoints </li></ul><ul><li>Dynamic Logging </li></ul><ul><li>Dynamic Lock Management </li></ul><ul><li>MaxConnect support </li></ul>
  6. 6. Shared Statement Cache <ul><li>Query plans shared between connections </li></ul><ul><li>Big benefits for sites with lots of users and only one or two applications </li></ul>SELECT F.First, B.Second FROM Foo F, Bar B WHERE F.A = B.A AND F.C = :C1 AND B.C = :C2; SELECT F.First, B.Second FROM Foo F, Bar B WHERE F.A = B.A AND F.C = :C1 AND B.C = :C2; Plan (C1, C2) { } CPU-VP IDS
  7. 7. Fuzzy Checkpoints <ul><li>Not all dirty pages are flushed </li></ul><ul><li>Write-ahead logging ensures consistency in a fast recovery </li></ul><ul><li>Shortens checkpoint duration </li></ul><ul><li>Allows larger buffer pools without impacting OLTP performance </li></ul>
  8. 8. Performance – Dynamic Logging <ul><li>Eliminates server hangs due to long transactions </li></ul><ul><li>New onconfig parameter DYNAMIC_LOGs </li></ul><ul><ul><li>Server can automatically insert and use a new log file </li></ul></ul><ul><ul><li>DBA can also add new logs without quiescing the system </li></ul></ul><ul><li>New logs are usable immediately </li></ul><ul><ul><li>No need to archive rootdbs </li></ul></ul>New log
  9. 9. Dynamic Lock Management <ul><li>IDS will add locks on the fly if lock table overflows </li></ul><ul><li>Prevents application hangs </li></ul><ul><li>Message written </li></ul><ul><ul><li>DBA can adjust lock table size later </li></ul></ul>
  10. 10. Performance - MaxConnect <ul><li>Multiplex database connections </li></ul><ul><li>NO CHANGE required for existing applications </li></ul><ul><li>Increase scalability </li></ul><ul><li>Reduce response times </li></ul>SQL Clients MaxConnect IDS
  11. 11. Enterprise Replication <ul><li>Improved Performance </li></ul><ul><ul><li>DataSync dynamic parallelism </li></ul></ul><ul><ul><li>Stable queue management improvements </li></ul></ul><ul><ul><li>Partial update row support </li></ul></ul><ul><li>Extended Support </li></ul><ul><ul><li>SBLOB support </li></ul></ul><ul><ul><li>Opaque data type support </li></ul></ul><ul><li>Miscellaneous </li></ul><ul><ul><li>Support for serial primary keys </li></ul></ul><ul><ul><li>Inplace alter for CRCOLS </li></ul></ul><ul><ul><li>Replicate Sets </li></ul></ul>
  12. 12. Application Development <ul><li>Explain without Execute </li></ul><ul><li>Configurable default log mode </li></ul><ul><li>Statement memory usage </li></ul><ul><li>REVOKE ..AS USER </li></ul><ul><li>DELETE TABLE (no FROM) </li></ul><ul><li>Support for MTS/XA </li></ul><ul><ul><li>$ onstat -g stm 8 </li></ul></ul><ul><ul><li>Informix Dynamic Server Version 9.30.xx --On-Line-- 1024 Kbytes </li></ul></ul><ul><ul><li>session 8 --------------------------------------------------- </li></ul></ul><ul><ul><li>sdblock heapsz statement ('*' = Open cursor) </li></ul></ul><ul><ul><li>a97b018 10424 * select * from tb </li></ul></ul><ul><ul><li>a97b110 8368 insert into tb values (?) </li></ul></ul><ul><ul><li>a97b208 5120 <SPL statement> </li></ul></ul>
  13. 13. Server Studio Java Edition <ul><li>Database Object Explorer </li></ul><ul><li>SQL Editor </li></ul><ul><li>Table Editor </li></ul><ul><li>Other tools are available from AGS, including a stored procedure debugger. </li></ul>
  14. 14. Extensibility <ul><li>User-defined types (UDT’s) </li></ul><ul><ul><li>Distinct, opaque </li></ul></ul><ul><li>Table/type inheritance </li></ul><ul><li>Functional indexes </li></ul><ul><li>R-Tree indexes </li></ul><ul><li>Smart large objects </li></ul><ul><li>Complex types </li></ul><ul><ul><li>Row, set, multiset, list </li></ul></ul><ul><li>Polymorphism </li></ul><ul><li>User-defined routines (UDR’s) </li></ul><ul><li>User-defined aggregates </li></ul><ul><li>Primary/secondary access methods </li></ul>Benefit: The database adapts to suit your business
  15. 15. UDT’s and UDR’s <ul><li>User-Defined Data Types (UDT’s) </li></ul><ul><ul><li>define your own data structures </li></ul></ul><ul><ul><li>e.g. a parts explosion stays a parts explosion </li></ul></ul><ul><ul><li>the database accommodates the “shape” of the data </li></ul></ul><ul><li>User-Defined Routines (UDR’s) </li></ul><ul><ul><li>define your own operations </li></ul></ul><ul><ul><li>a single statement replaces a procedure </li></ul></ul><ul><ul><li>put business logic in the database </li></ul></ul>
  16. 16. A Trivial but Powerful Example Create a user-defined function…. create function area (radius real) returning real; return radius * radius * 22 /7 ; end function; Then you can… select id, area(radius_col) as the_area from mytable where area(radius_col) < :QArea ; A nd also… CREATE INDEX mytable_ndx1 ON mytable (area(radius_col) ); Benefit: Put your business logic in the server!
  17. 17. A More Complex Example <ul><li>-- Object-Relational System </li></ul><ul><li>-- </li></ul><ul><li>CREATE TABLE e_Yellow_Pages ( </li></ul><ul><li>Name VARCHAR(128) NOT NULL, </li></ul><ul><li>Business Business_Type NOT NULL, </li></ul><ul><li>Description Document NOT NULL, </li></ul><ul><li>Location GeoPoint NOT NULL, </li></ul><ul><li>Occupied SET( Period NOT NULL ) </li></ul><ul><li>); </li></ul><ul><li>-- “Show me available service stations specializing </li></ul><ul><li>-- in Porsche brakes within 30 Km of where I am?” </li></ul><ul><li>-- </li></ul><ul><li>SELECT Y.Name </li></ul><ul><li>FROM e_Yellow_Pages Y </li></ul><ul><li>WHERE Contains ( Y.Location, </li></ul><ul><li> Circle( :GPS_Loc, ‘30 Miles’ ) ) </li></ul><ul><li>AND Y.Business MATCH “Automotive Service” </li></ul><ul><li>AND DocContains( Y.Description, </li></ul><ul><li>“ Porsche AND brakes” ) </li></ul><ul><li>AND NOT Booked ( Y.Occupied, </li></ul><ul><li> Period (TODAY,TODAY+5 ) ) ; </li></ul><ul><li>-- </li></ul><ul><li>Raise the level of abstraction at the database level. </li></ul><ul><li>Buy components to solve common problems, and build components to achieve a competitive edge </li></ul>
  18. 18. Virtual Table Interface (VTI) <ul><li>Integration of external data </li></ul><ul><li>A single interface that uses a single access mechanism for ALL data </li></ul><ul><li>Transparent to users </li></ul>Benefit: meets the heterogeneous reality that most users confront Database Table Client Browser Excel Other... IDS Excel Worksheet External Data External Data
  19. 19. Java-in-the-Server: J/Foundation <ul><li>A Java Virtual Machine </li></ul><ul><ul><li>Java stored procedures </li></ul></ul><ul><ul><li>Java DataBlades </li></ul></ul><ul><ul><li>INTEGRATED, not bolted-on! </li></ul></ul>B Clients JavaBean JavaBean APPLET Java JavaBean Ja vaBean APPLET WEB SERVER RMI / Corba / IIOP JVM EJB JavaBean EJB Java DBDK EJB
  20. 20. DataBlade Modules <ul><li>Use where relational doesn’t solve business problem </li></ul><ul><li>New data types (spatial, text, video, etc.) </li></ul><ul><li>Plug-ins that function as integral part of server </li></ul><ul><li>Incorporate new data types to your business without having to start from scratch </li></ul><ul><li>Benefit: the powerful functionality you need, built into the server </li></ul>
  21. 21. Informix DataBlades <ul><li>TimeSeries, NAG and RealTime Loader </li></ul><ul><li>Spatial </li></ul><ul><li>Geodetic </li></ul><ul><li>Excalibur Text Search </li></ul><ul><li>Video Foundation </li></ul><ul><li>Image Foundation </li></ul><ul><li>C-ISAM </li></ul><ul><li>Web </li></ul>
  22. 22. Excalibur Text DataBlade <ul><li>Full text indexing </li></ul><ul><li>Extremely rapid query results </li></ul><ul><li>Support for over 200 file formats </li></ul><ul><li>Highlighting of text &quot;hits&quot; within original documents </li></ul><ul><li>Automatically indexes text in virtually any format </li></ul><ul><li>Feature-rich </li></ul><ul><ul><li>Thesaurus support </li></ul></ul><ul><ul><li>Multiple stop-word lists </li></ul></ul><ul><ul><li>Boolean, phrase, proximity searching </li></ul></ul>
  23. 23. Using Time Series Data Traders Analysts Shared Memory RTLoader IDS Blades: TimeSeries Real-time NAG Disks Reuters Bloomberg Bridge Market Feeds B
  24. 24. Spatial DataBlade 8.11 <ul><li>Provides </li></ul><ul><ul><li>R-tree indexing </li></ul></ul><ul><ul><li>Support for ER </li></ul></ul><ul><ul><li>Nearest neighbor function </li></ul></ul><ul><li>Includes </li></ul><ul><ul><li>A data loader </li></ul></ul><ul><ul><li>A Java-based visualization tool </li></ul></ul><ul><ul><li>Worldwide sample spatial data </li></ul></ul>
  25. 25. What IDS 9.30 Beta Customers Say... <ul><li>“ What I like most about Informix products and particularly IDS 9.3 is the ease-of-administration, efficiency, and its ability to work well with OLTP... The replication technology in IDS 9.3 improved our transaction processing from 400 to 1200 per second .” </li></ul>David Link DBA West Interactive
  26. 26. What IDS 9.30 Beta Customers Say (cont’d) <ul><li>“ Informix has always had a reputation as a heavy lifter in the database world... The performance related features of Informix IDS are a DBA’s dream .” </li></ul>Jon Lusty DBA Berkley Information Systems
  27. 27. Product Roadmap <ul><li>Remove scalability limits </li></ul><ul><li>Further simplification of manageability </li></ul><ul><li>Integrated support for other IBM products </li></ul><ul><li>Maintain openness </li></ul><ul><li>Other features still under evaluation </li></ul>
  28. 28. Summary Smart optimization minimizes tuning overhead Easy overrides when necessary Performance for the Real World Business logic in the database Reliable data replication across a global organization
  29. 29. IBM Informix Dynamic Server 9.30 IBM Software Group Data Management Solutions