Progress Datadirect for ODBC for Apache Cassandra User©S Guide and Reference

Total Page:16

File Type:pdf, Size:1020Kb

Progress Datadirect for ODBC for Apache Cassandra User©S Guide and Reference Progress DataDirect for ODBC for Apache Cassandra User©s Guide and Reference Release 8.0.0 Copyright © 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. These materials and all Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. The information in these materials is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear therein. The references in these materials to specific platforms supported are subject to change. Corticon, DataDirect (and design), DataDirect Cloud, DataDirect Connect, DataDirect Connect64, DataDirect XML Converters, DataDirect XQuery, DataRPM, Defrag This, Deliver More Than Expected, Icenium, Ipswitch, iMacros, Kendo UI, Kinvey, MessageWay, MOVEit, NativeChat, NativeScript, OpenEdge, Powered by Progress, Progress, Progress Software Developers Network, SequeLink, Sitefinity (and Design), Sitefinity, SpeedScript, Stylus Studio, TeamPulse, Telerik, Telerik (and Design), Test Studio, WebSpeed, WhatsConfigured, WhatsConnected, WhatsUp, and WS_FTP are registered trademarks of Progress Software Corporation or one of its affiliates or subsidiaries in the U.S. and/or other countries. Analytics360, AppServer, BusinessEdge, DataDirect Autonomous REST Connector, DataDirect Spy, SupportLink, DevCraft, Fiddler, iMail, JustAssembly, JustDecompile, JustMock, NativeScript Sidekick, OpenAccess, ProDataSet, Progress Results, Progress Software, ProVision, PSE Pro, SmartBrowser, SmartComponent, SmartDataBrowser, SmartDataObjects, SmartDataView, SmartDialog, SmartFolder, SmartFrame, SmartObjects, SmartPanel, SmartQuery, SmartViewer, SmartWindow, and WebClient are trademarks or service marks of Progress Software Corporation and/or its subsidiaries or affiliates in the U.S. and other countries. Java is a registered trademark of Oracle and/or its affiliates. Any other marks contained herein may be trademarks of their respective owners. Updated: 2020/10/08 The Progress DataDirect for ODBC for Apache Cassandra™ Driver: User©s Guide and Reference: Version 8.0.0 3 Copyright 4 The Progress DataDirect for ODBC for Apache Cassandra™ Driver: User©s Guide and Reference: Version 8.0.0 Contents Table of Contents Preface..........................................................................................................11 Welcome to the Progress DataDirect for ODBC for Apache Cassandra™ Driver..................................11 What©s New in This Release? ..............................................................................................................12 Conventions Used in This Guide..........................................................................................................13 About the Product Documentation........................................................................................................15 Contacting Technical Support...............................................................................................................16 Getting Started.............................................................................................17 Configuring and Connecting on Windows.............................................................................................18 Setting the Library Path Environment Variable (Windows)........................................................18 Configuring a Data Source........................................................................................................18 Testing the Connection..............................................................................................................19 Configuring and Connecting on UNIX and Linux..................................................................................20 Environment Configuration........................................................................................................20 Test Loading the Driver..............................................................................................................20 Setting the Library Path Environment Variable (UNIX and Linux)..............................................21 Configuring a Data Source in the System Information File........................................................21 Testing the Connection..............................................................................................................22 Accessing Data With Third-Party Applications......................................................................................22 What Is ODBC?............................................................................................23 How Does It Work?...............................................................................................................................24 Why Do Application Developers Need ODBC?....................................................................................24 About the Apache Cassandra Driver.........................................................25 Driver Requirements.............................................................................................................................26 Support for Multiple Environments.......................................................................................................26 Support for Windows Environments...........................................................................................26 Support for UNIX and Linux Environments................................................................................28 ODBC Compliance...............................................................................................................................33 Version String Information....................................................................................................................34 getFileVersionString Function....................................................................................................35 Data Types............................................................................................................................................35 Retrieving Data Type Information...............................................................................................37 Complex Type Normalization................................................................................................................38 Collection Types.........................................................................................................................38 Tuple and User-Defined Types...................................................................................................42 The Progress DataDirect for ODBC for Apache Cassandra™ Driver: User©s Guide and Reference: Version 8.0.0 5 Contents Nested Complex Types..............................................................................................................44 Isolation and Lock Levels Supported....................................................................................................46 Binding Parameter Markers..................................................................................................................46 Supported Features.....................................................................................47 Unicode Support...................................................................................................................................47 Using IP Addresses..............................................................................................................................48 Parameter Metadata Support...............................................................................................................48 Insert and Update Statements...................................................................................................48 Select Statements......................................................................................................................49 SQL Support.........................................................................................................................................50 Number of Connections and Statements Supported............................................................................50 Using the Driver...........................................................................................51 Configuring and Connecting to Data Sources......................................................................................51 Configuring the Product on UNIX/Linux.....................................................................................52 Data Source Configuration Using a GUI....................................................................................61 Using a Connection String.........................................................................................................74 Using a Logon Dialog Box.........................................................................................................75 Performance Considerations................................................................................................................76 Using the SQL Engine Server..............................................................................................................77 Configuring the SQL Engine Server on Windows......................................................................77 Configuring the SQL Engine Server on UNIX/Linux..................................................................80
Recommended publications
  • Sql Server to Aurora Postgresql Migration Playbook
    Microsoft SQL Server To Amazon Aurora with Post- greSQL Compatibility Migration Playbook 1.0 Preliminary September 2018 © 2018 Amazon Web Services, Inc. or its affiliates. All rights reserved. Notices This document is provided for informational purposes only. It represents AWS’s current product offer- ings and practices as of the date of issue of this document, which are subject to change without notice. Customers are responsible for making their own independent assessment of the information in this document and any use of AWS’s products or services, each of which is provided “as is” without war- ranty of any kind, whether express or implied. This document does not create any warranties, rep- resentations, contractual commitments, conditions or assurances from AWS, its affiliates, suppliers or licensors. The responsibilities and liabilities of AWS to its customers are controlled by AWS agree- ments, and this document is not part of, nor does it modify, any agreement between AWS and its cus- tomers. - 2 - Table of Contents Introduction 9 Tables of Feature Compatibility 12 AWS Schema and Data Migration Tools 20 AWS Schema Conversion Tool (SCT) 21 Overview 21 Migrating a Database 21 SCT Action Code Index 31 Creating Tables 32 Data Types 32 Collations 33 PIVOT and UNPIVOT 33 TOP and FETCH 34 Cursors 34 Flow Control 35 Transaction Isolation 35 Stored Procedures 36 Triggers 36 MERGE 37 Query hints and plan guides 37 Full Text Search 38 Indexes 38 Partitioning 39 Backup 40 SQL Server Mail 40 SQL Server Agent 41 Service Broker 41 XML 42 Constraints
    [Show full text]
  • Declare in Select Statement Sql
    Declare In Select Statement Sql hyperbatically.Israelitish Rube Saturate intergrades and well-nigh.proxy Whit Armour-plated often infibulate Bentley some alwayssuperchargers nickelize unprofessionally his pinnacles if orSaunders tranquilize is sceptical judicially. or nickeled Dynamic SQL statements can be built interactively with flame from users having network or no plague of SQL. We know loop over Rows with foreach, the SET statement will override the road value worth the variable and diminish the NULL value. Run your apps wherever you live them. The SET statement errors out if your query returns more limit one result set as shown below. It makes life easier if the lists in sediment input strings start my end just a comma. Thank you for fashion feedback! MEAN, analytics, and myself first. Foreach Loop container to merit each work the tables in Tables. Postnummer är en bra geografisk indelning för att visualisera kunddata, however, can manage APIs with a fully managed gateway. Repeats a statement or dam of statements while has given. SQL, the compact clause is placed between the INSERT and VALUES clause. Enterprise are for employees to somewhere find company information. On the right where my Excel Worksheet and the Message Box jump the country output going my VBA Macro. Platform for BI, it is machine to beloved that parameters are added to the collection in the american they appear benevolent the SQL, they will emit because of the brightest gravitational waves in entire universe. HAVING clause with any valid SQL expression one is evaluated as inferior true or false label each beat in source query.
    [Show full text]
  • Data Definition Guide © 2020 Embarcadero Technologies, Inc
    Product Documentation InterBase 2020 Update 1 Data Definition Guide © 2020 Embarcadero Technologies, Inc. Embarcadero, the Embarcadero Technologies logos, and all other Embarcadero Technologies product or service names are trademarks or registered trademarks of Embar- cadero Technologies, Inc. All other trademarks are property of their respective owners. Embarcadero Technologies, Inc. is a leading provider of award-winning tools for application developers. Embarcadero enables developers to design systems right, build them faster and run them better, regard- less of their platform or programming language. Ninety of the Fortune 100 and an active community of more than three million users worldwide rely on Embarcadero products to increase productivity, reduce costs and accelerate innovation. The company's flagship tools include: Embarcadero® RAD Studio™, Del- phi®, C++Builder®, JBuilder®, and the IoT Award winning InterBase®. Founded in 1993, Embarcadero is headquartered in Austin, with offices located around the world. Embarcadero is online at www.embar- cadero.com. May, 2020 Table of Contents 2.4. Creating Read-only Databases ............. 23 TABLE OF CONTENTS 3. Altering a Database ................................... 23 4. Dropping a Database ................................ 24 5. Creating a Database Shadow ................... 25 DATA DEFINITION GUIDE .............................. 1 5.1. Advantages of Creating a Database Shadow ......................................................... 25 USING THE DATA DEFINITION GUIDE ......... 2 5.2.
    [Show full text]
  • Dml Commands with Examples
    Dml Commands With Examples Unauthorized and owner-occupied Claus kithe so forthright that Sanford drest his hanging. Hollowed and marshy Sly muted stumpily and accentuate his myopes orthographically and doggedly. Infect and bum Welsh never peek expressively when Derrick snack his arrayal. Read this chapter while sitting at your computer and try out the examples shown. Why do I have to complete a CAPTCHA? Keyword that represents the database object. Plus displays the command prompt again. Oracle messages, or to your operating system manual for system messages. Privacy settings. Learners are offered a joint certificate by the Indian Institute of Management, Indore, and Jigsaw Academy. Drop the original table. These tables will be the reference tables to define positions and departments. And adding data to modifying a table and setting user permissions is accomplished basic! The commonly known DML commands are INSERT, UPDATE and DELETE. DDL statements operate on the entire table. By default, it is a cascade. Messaging service for event ingestion and delivery. Select the document type. It is very useful for my research. The SELECT command used to retrieve data from a tables. List few commands of DDL, DML, and DCL. Data Manipulation Language commands. SQL function and how to call it in various places such as an assignment statement, a Boolean expression, and an SQL statement. This command used to delete all the rows from the table and free the space containing the table. CREATE, DROP, SHOW, TRUNCATE, DESCRIBE, ALTER statements etc. Also specifies what action to take based on the outcome. Everything ranging from creating a table and adding data to modifying a table and setting user permissions is accomplished using Basic SQL commands.
    [Show full text]
  • Progress® Datadirect® for JDBC™ for Apache Cassandra™ User's Guide
    Progress® DataDirect® for JDBC™ for Apache Cassandra™ User's Guide 6.0.0 Release Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved. These materials and all Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. The information in these materials is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear therein. The references in these materials to specific platforms supported are subject to change. Corticon, DataDirect (and design), DataDirect Cloud, DataDirect Connect, DataDirect Connect64, DataDirect XML Converters, DataDirect XQuery, DataRPM, Deliver More Than Expected, Icenium, Kendo UI, NativeScript, OpenEdge, Powered by Progress, Progress, Progress Software Developers Network, Rollbase, SequeLink, Sitefinity (and Design), SpeedScript, Stylus Studio, TeamPulse, Telerik, Telerik (and Design), Test Studio, and WebSpeed are registered trademarks of Progress Software Corporation or one of its affiliates or subsidiaries in the U.S. and/or other countries. Analytics360, AppServer, BusinessEdge, DataDirect Spy, SupportLink, DevCraft, Fiddler, JustAssembly, JustDecompile, JustMock, Kinvey, NativeScript Sidekick, OpenAccess, ProDataSet, Progress Results, Progress Software, ProVision, PSE Pro, Sitefinity, SmartBrowser, SmartComponent, SmartDataBrowser, SmartDataObjects, SmartDataView, SmartDialog, SmartFolder, SmartFrame, SmartObjects, SmartPanel, SmartQuery, SmartViewer, SmartWindow, and WebClient are trademarks or service marks of Progress Software Corporation and/or its subsidiaries or affiliates in the U.S. and other countries. Java is a registered trademark of Oracle and/or its affiliates. Any other marks contained herein may be trademarks of their respective owners. Please refer to the readme applicable to the particular Progress product release for any third-party acknowledgements required to be provided in the documentation associated with the Progress product.
    [Show full text]
  • Database Reliability Engineering DESIGNING and OPERATING RESILIENT DATABASE SYSTEMS
    Database Reliability Engineering DESIGNING AND OPERATING RESILIENT DATABASE SYSTEMS Laine Campbell & Charity Majors Database Reliability Engineering Designing and Operating Resilient Database Systems Laine Campbell and Charity Majors Beijing Boston Farnham Sebastopol Tokyo Database Reliability Engineering by Laine Campbell and Charity Majors Copyright © 2018 Laine Campbell and Charity Majors. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com/safari). For more information, contact our corporate/insti‐ tutional sales department: 800-998-9938 or [email protected]. Editors: Courtney Allen and Virginia Wilson Indexer: Ellen Troutman-Zaig Production Editor: Melanie Yarbrough Interior Designer: David Futato Copyeditor: Bob Russell, Octal Publishing, Inc. Cover Designer: Karen Montgomery Proofreader: Matthew Burgoyne Illustrator: Rebecca Demarest November 2017: First Edition Revision History for the First Edition 2017-10-26: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781491925942 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Database Reliability Engineering, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk.
    [Show full text]
  • Connecting to Your Database
    Connecting to Your Database Appeon PowerBuilder® 2019 R2 FOR WINDOWS DOCUMENT ID: DC37776-01-1900-01 LAST REVISED: March 24, 2020 Copyright © 2019 Appeon. All rights reserved. This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement. Upgrades are provided only at regularly scheduled software release dates. No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Appeon Inc. Appeon and other Appeon products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Appeon Inc. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP and SAP affiliate company. Java and all Java-based marks are trademarks or registered trademarks of Oracle and/or its affiliates in the U.S. and other countries. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. All other company and product names mentioned may be trademarks of the respective companies with which they are associated. Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.
    [Show full text]
  • Scaling In-Memory Databases on Multicores
    João Paulo da Conceição Soares Mestre em Engenharia Informática Scaling In-Memory databases on multicores Dissertação para obtenção do Grau de Doutor em Engenharia Informática Orientador: Nuno Manuel Ribeiro Preguiça, Professor Associado, Faculdade de Ciências e Tecnologia Universidade Nova de Lisboa Júri Presidente: José Legatheaux Martins Arguentes: Fernando Pedone Alysson N. Bessani Vogais: Rodrigo M. Rodrigues João M. Lourenço Nuno M. Preguiça Outubro, 2015 Scaling In-Memory databases on multicores Copyright © João Paulo da Conceição Soares, Faculty of Sciences and Technology, NOVA University of Lisbon. The Faculdade de Ciências e Tecnologia and the Universidade NOVA de Lisboa have the right, perpetual and without geographical boundaries, to file and publish this dissertation through printed copies reproduced on paper or on digital form, or by any other means known or that may be invented, and to disseminate through scientific repositories and admit its copying and distribution for non-commercial, educational or research purposes, as long as credit is given to the author and editor. Este documento foi gerado utilizando o processador (pdf)LATEX, com base no template “unlthesis” [1] desenvolvido no Dep. Informática da FCT-NOVA [2]. [1] https://github.com/joaomlourenco/unlthesis [2] http://www.di.fct.unl.pt To my parents and my brother, and to my wife and son. Acknowledgements The work presented in this dissertation would not have been possible without the collab- oration of a number of people to whom I would like to express my gratitude. First and foremost I would like to deeply thank my thesis advisor Nuno Preguiça, who, patiently, always helped me to overcome all the challenges that I had to face during my PhD studies.
    [Show full text]
  • Firebird 2.0.7 Release Notes
    Firebird 2.0.7 Release Notes Helen Borrie (Collator/Editor) 5 April 2012 - Document v. 0207_02 - for Firebird 2.0.7 Firebird 2.0.7 Release Notes 5 April 2012 - Document v. 0207_02 - for Firebird 2.0.7 Helen Borrie (Collator/Editor) Table of Contents 1. General Notes .................................................................................................................................... 1 Sub-release 2.0.7 ............................................................................................................................ 1 Sub-release 2.0.6 ............................................................................................................................ 1 Sub-release 2.0.5 ............................................................................................................................ 1 Important Change to API DPB Parameters .............................................................................. 2 Recently Discovered Issues with gfix ...................................................................................... 2 Sub-release 2.0.4 ............................................................................................................................ 2 Sub-release 2.0.3 ............................................................................................................................ 3 Known Issues ........................................................................................................................ 3 Sub-release 2.0.2 ...........................................................................................................................
    [Show full text]
  • Transactions
    Transactions Controlling Concurrent Behavior Lecture 13 Sub-sets of SQL Data retrieval: SELECT Data Manipulation Language (DML): INSERT, UPDATE, DELETE Data Definition Language (DDL): CREATE, ALTER, DROP, RENAME • Transaction control: COMMIT, ROLLBACK Data Control Language (DCL): GRANT, REVOKE Busy, busy, busy... • In production environments, it is unlikely that we can limit our system to just one user at a time. – Consequently, it is possible for multiple queries to be submitted at approximately the same time. • If all of the queries were very small (i.e., in terms of time), we could probably just execute them on a first-come-first- served basis. • However, many queries are both complex and time consuming. – Executing these queries would make other queries wait a long time for a chance to execute. • So, in practice, the DBMS may be running many different queries at about the same time. Concurrency: two people—one bank account problem • Before withdrawing money, each needs to check if the balance is sufficient • Initially there is 100$ on the account Ryan Monica Balance1 = r(Ryan) 100 Balance2 = r(Monica) 100 Balance2 -= 50 w(Monica) Balance2 50 Balance1 -= 100 w(Ryan) Balance1 0 In fact, the withdrawn amount is 150$ The problem is that the reading and writing operations should be performed as one transaction, their combination should be atomic Transactions • DBMS groups your SQL statements into transactions. • A transaction (ORACLE) consists of series of DML statements, one DDL statement or one DCL statement • By default, your transaction
    [Show full text]
  • Database Migration from Mysql to RDM Server
    MIGRATION GUIDE Database Migration from MySQL to RDM Server A Raima Inc. Embedded Database Migration Guide Published: May, 2009 Author: Daigoro F. Toyama Senior Software Engineer [email protected] Copyright: Raima Inc. All rights reserved Abstract: This document is designed to act as a quick guide to the database migration from MySQL to RDM Server by exposing the differences between the two products with regards to the data types, features and SQL statement syntaxes supported differently between them. This article is relative to the following versions of RDM: In this document, MySQL refers to MySQL 6.0. Likewise, RDM Server (or RDMs) refers to RDM Server 8.2. http://www.raima.com Migration Guide Contents: Abstract: ................................................................................................................................................ 1 Contents: ............................................................................................................................................... 2 Overview................................................................................................................................................ 4 Data Types ............................................................................................................................................ 4 Data Definition Language Statements .................................................................................................... 5 ALTER DATABASE / SCHEMA ........................................................................................................
    [Show full text]
  • SQL Transactions
    DBTechNet DBTech VET SQL Transactions Theory and hands-on exercises In English This publication has been developed in the framework of the project DBTech VET Teachers (DBTech VET). Code: 2012-1-FI1-LEO05-09365. DBTech VET is Leonardo da Vinci Multilateral Transfer of Innovation project, funded by the European Commission and project partners. www.DBTechNet.org DBTech VET Disclaimers This project has been funded with support from the European Commission. This publication [communication] reflects the views only of the authors, and the Commission cannot be held responsible for any use which may be made of the information contained therein. Trademarks of products mentioned are trademarks of the product vendors. SQL Transactions – Theory and Hands-on Exercises Version 1.4 of the first edition 2013 Authors: Martti Laiho, Dimitris A. Dervos, Kari Silpiö Production: DBTech VET Teachers project ISBN 978-952-93-2420-0 (paperback) ISBN 978-952-93-2421-7 (PDF) SQL Transactions – Student's Guide Objectives Reliable data access must be based on properly designed SQL transactions with ZERO TOLERANCE for incorrect data. A programmer who does not understand the required transaction technology can easily violate the data integrity in a database contents and block or slow down the production performance. Just like in traffic, the rules in accessing database must be known and obeyed. The purpose of this tutorial is to present the basics of transaction programming using the mainstream DBMS products. Some typical problems and transaction tuning possibilities are also presented. Target user groups The target groups of this tutorial include teachers, trainers, and students in vocational institutes and industry-oriented higher education institutes.
    [Show full text]