Infobright Enterprise Edition for Mysql
Total Page:16
File Type:pdf, Size:1020Kb
Infobright Enterprise Edition for MySQL 4.9.2 GA USER GUIDE Version 1.0 WWW.INFOBRIGHT.COM COPYRIGHT AND TRADEMARK NOTICES The materials provided herein are Copyright © 2005-2017 Infobright Inc. All rights reserved. Infobright and Infopliance are trademarks or registered trademarks of Infobright Inc. All other marks are trademarks or registered trademarks of their respective owners. CONFIDENTIAL: The information contained in this document is the property of Infobright Inc. Except as specifically authorized in writing by Infobright, the holder of this document shall keep the information contained herein confidential and shall protect same in whole or in part from disclosure or dissemination to third parties. Document Revision 4.9.2 GA - 2017.02.21 CONTENTS I Table of Contents 1. About Infobright............................................................................................................................................. 1 Infobright Overview........................................................................................................................................ 1 Infobright and MySQL .................................................................................................................................... 1 2. Setting up Infobright ..................................................................................................................................... 3 Technical Requirements .................................................................................................................................. 3 Linux for Infobright......................................................................................................................................... 3 General Note on IPv6 Support ................................................................................................................... 4 IEE-MySQL Installation .................................................................................................................................. 4 About Installation Packages ....................................................................................................................... 4 IEE-MySQL Windows Installation ............................................................................................................. 4 IEE-MySQL Linux Installation ................................................................................................................... 7 IEE-MySQL Upgrading ................................................................................................................................... 8 IEE-MySQL Windows Upgrade ................................................................................................................. 8 IEE-MySQL Linux Upgrade ....................................................................................................................... 9 Configuration ................................................................................................................................................ 10 Configuring Infobright (infobright.cnf file) ............................................................................................. 10 Instructions For How To Override Infobright Parameter Default Values ............................................. 10 Detailed Infobright Parameter Descriptions ............................................................................................ 11 Cross-Reference Of Pre-4.8.0 Parameters To Current Parameters ......................................................... 29 Replication ..................................................................................................................................................... 34 New IEE Installations — Enabling Master/Slave(s) Replication ............................................................ 34 Existing IEE Installations — Enabling Master/Slave(s) Replication ....................................................... 35 3. Using the Infobright Server ......................................................................................................................... 36 The Infobright License File ........................................................................................................................... 36 Starting and Stopping the Infobright Server ............................................................................................... 36 Working with the Infobright Server ............................................................................................................. 37 Checking the Infobright Version .................................................................................................................. 38 Infobright is the Default Storage Engine...................................................................................................... 39 Using Infobright and Other Engines to Improve ETL Performance .......................................................... 40 INFOBRIGHT ENTERPRISE EDITION FOR MYSQL 4.9.2 GA USER GUIDE CONTENTS II About Log Files ............................................................................................................................................. 40 The Infobright Log (infobright.log) .......................................................................................................... 40 Other MySQL Logs ................................................................................................................................... 43 Log Rotation .............................................................................................................................................. 44 Changing the infobright.log Log Level .................................................................................................... 44 FET (Function Execution Time) Logging ................................................................................................. 46 Additional Linux Logging Useful For Core-Dump Investigation ......................................................... 47 About Errors .................................................................................................................................................. 48 About SQL Command Syntax ...................................................................................................................... 48 About SQL ISO Standards ............................................................................................................................ 48 4. Managing Infobright Tables ....................................................................................................................... 50 About the Infobright Database Files ............................................................................................................ 50 About Supported Data Types ....................................................................................................................... 51 Creating and Dropping Tables ..................................................................................................................... 52 Modifying Table Structures .......................................................................................................................... 53 About Column Options................................................................................................................................. 54 NULL and NOT NULL ............................................................................................................................. 54 Lookup Columns ....................................................................................................................................... 54 Optimizing Columns for INSERTs ........................................................................................................... 55 Unsupported Column Options................................................................................................................. 55 Unsupported Indices Options .................................................................................................................. 56 Converting Oracle DDL to Infobright .......................................................................................................... 56 Converting SQL Server to Infobright ........................................................................................................... 56 Converting MySQL (MyISAM) to Infobright .............................................................................................. 56 Viewing Table Information ........................................................................................................................... 57 Viewing Compression Ratio Statistics ......................................................................................................... 58 Viewing Table Level Compression Ratio Statistics ................................................................................. 59 Viewing Column Compression Ratio Statistics ....................................................................................... 61 Comparison of Calculated Compression Ratio to Physical Size ............................................................ 61 5. Data Manipulation Statements ................................................................................................................... 62 Design of DML in Infobright .......................................................................................................................