Administration: Database SAP Sybase IQ 16.0 SP04 DOCUMENT ID: DC01771-01-1604-01 LAST REVISED: May 2014 Copyright © 2014 by SAP AG Or an SAP Affiliate Company

Total Page:16

File Type:pdf, Size:1020Kb

Administration: Database SAP Sybase IQ 16.0 SP04 DOCUMENT ID: DC01771-01-1604-01 LAST REVISED: May 2014 Copyright © 2014 by SAP AG Or an SAP Affiliate Company Administration: Database SAP Sybase IQ 16.0 SP04 DOCUMENT ID: DC01771-01-1604-01 LAST REVISED: May 2014 Copyright © 2014 by SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/ index.epx#trademark for additional trademark information and notices. Contents Database Administration Workflow .....................................1 Guidelines for Scheduling Data Definition Tasks ............1 System Privileges for Data Definition .............................2 Device Selection .............................................................2 Run Database Servers ...........................................................3 Starting Servers ..............................................................3 The Server Startup Utility ......................................4 The Server as a Windows Service ........................5 Command Line Switches .......................................6 Server Activity Logs ......................................................31 Naming the Server Log File .................................33 UNIX Log Files .....................................................34 Database Server Shutdown ..........................................34 When to Stop and Restart the Server ..................34 Stopping Servers .................................................34 Permissions Required to Stop the Server ............37 Operating System Session Shutdown .................38 Starting and Stopping Databases .................................38 Database Startup Guidelines ...............................38 Stopping Databases ............................................39 Starting the iqdemo Database ......................................40 Connect to Servers and Databases ...................................41 Roadmap for Connections ............................................41 Ways to Connect ...........................................................42 Connecting to the Demo Database from Interactive SQL ................................................43 How Database Status Affects Local Connections ....................................................43 Connecting to a Running Database on a Local Server ..............................................................43 Administration: Database iii Contents Connecting to a Database from Interactive SQL on UNIX ...........................................................44 Connecting from a UNIX System .........................44 Connecting from a Windows System ...................45 Connections to Embedded Databases ................46 TCP/IP protocol ...................................................47 Connecting Using a Data Source ........................50 Default Connection Parameters ...........................51 Connecting from SAP Sybase IQ Utilities ............51 Supported Connection Interfaces .................................52 Connection Status ........................................................53 How Connection Parameters Work ...............................54 Format for Connection Strings .............................55 How Applications Pass Connection Parameters .........................................................................55 Connection Parameters in ODBC Data Sources ..........55 Interactive SQL Connections ........................................56 The Connect Dialog .............................................57 Opening the Connect dialog (Interactive SQL) ....58 Drivers for Connections .......................................58 File Data Sources .........................................................58 Creating a File Data Source Using the ODBC Administrator ...................................................59 File Data Sources and Text Editors ......................59 Connections from Other Databases .............................60 Avoiding Port Number Conflicts on UNIX ............61 How to Test Connections ..............................................61 Integrated Logins ..........................................................62 Using Integrated Logins .......................................63 Security Concerns: Unrestricted Database Access .............................................................65 Temporary Public Options Provide Added Security ...........................................................66 Network Aspects of Integrated Logins .................66 Default Integrated Login Users ............................67 iv SAP Sybase IQ Contents Connection Pooling .......................................................67 Temporary Connections ................................................69 Logical Server Configuration ........................................ 70 Connections in Simplex .......................................71 Connections in Multiplex ......................................71 How to End Connections ..............................................71 Connection Logging ......................................................72 Create and Manage Databases ...........................................75 Create Databases .........................................................75 Database Creation with SQL ...............................75 IQ Main Store and IQ Temporary Store Space Management ................................................... 83 Dropping a Database ....................................................84 Disconnecting Other Users From a Database ..............84 Disconnecting from a Database in Embedded SQL .....84 Disconnecting All Connections from a Database in Interactive SQL .........................................................85 Showing System Objects in Interactive SQL ................ 85 Setting Database Options in Interactive SQL ...............85 Manage Data Storage ..........................................................87 Space Allocation ...........................................................87 Types of Dbspaces....................................................... 87 Catalog Store .......................................................89 IQ_SYSTEM_MAIN Dbspace ..............................89 Other User Main Dbspaces ................................. 90 IQ Temporary Dbspace ........................................90 IQ Shared Temporary Dbspace ...........................90 IQ Message File Dbspace ................................... 92 Space for Databases ....................................................92 Space Requirements for IQ Stores and Temporary Stores .......................................................................92 Sizing Guidelines for Main and Temporary Stores ........93 Setting Up Windows Access to Raw Devices ...............95 Viewing Access Permissions of a RAW Device ............96 Setting Permissions to a RAW Device ..........................96 Administration: Database v Contents Setting Up Symbolic Links for Raw Devices on Windows ...................................................................98 Estimating Space and Dbspaces Required ..................98 Dbspace Management Example ...................................99 Data Storage ...............................................................105 Dbfile Attributes and Operations ........................105 Dbspace Attributes and Operations ...................107 Read-only and Read-write Dbspaces and Files .......................................................................110 Cache Dbspace for Direct-Attached Storage ..............117 Creating the Cache Dbspace .............................118 Dropping the Cache Dbspace ............................119 Adding Storage to the Cache Dbspace .............119 Removing Storage from the Cache Dbspace ....120 Disabling and Reenabling the Cache Dbspace . 120 Changing the Readonly/Readwrite Status of a Cache Dbspace Dbfile ...................................121 Monitoring the Cache Dbspace .........................121 Manage Database Objects ................................................125 SAP Sybase IQ Database Design ..............................125 View Management ......................................................125 Creating Views ...................................................126 Guidelines for Using Views ................................127 Guidelines for Modifying Views ..........................128 Permissions on Views ........................................128 How to Delete Views ..........................................129 View Information in System Views .....................129 Table Management .....................................................129
Recommended publications
  • SAP IQ Installation and Update Guide for Linux Company
    INSTALLATION GUIDE | PUBLIC SAP IQ 16.1 SP 04 Document Version: 1.0.0 – 2019-04-05 SAP IQ Installation and Update Guide for Linux company. All rights reserved. All rights company. affiliate THE BEST RUN 2019 SAP SE or an SAP SE or an SAP SAP 2019 © Content 1 SAP IQ Installation and Update Guide for Linux..................................... 7 2 Installation Overview.........................................................8 2.1 You are Here in the Implementation Process..........................................8 2.2 Who Should Read This Document?................................................10 2.3 What is SAP IQ?.............................................................10 2.4 By the End of This Document, I Should be Able to....................................... 10 3 Learn What's New and Changed................................................ 12 3.1 Where This Guide Resides in the Information Landscape.................................12 3.2 Where Do I Find Help?.........................................................13 4 Supported Server and Client Operating Systems...................................14 5 Plan the Installation.........................................................15 5.1 Installation Types............................................................ 15 Do I Need the SAP IQ Client? ................................................. 16 Virtualized Environments.................................................... 17 5.2 Product Components..........................................................17 Typical or Custom Installation?................................................18
    [Show full text]
  • Public 1 Agenda
    © 2013 SAP AG. All rights reserved. Public 1 Agenda Welcome Agenda • Introduction to Dobler Consulting • SAP IQ Roadmap – What to Expect • Q&A Presenters • Courtney Claussen - SAP IQ Product Management • Peter Dobler - CEO Dobler Consulting Closing © 2013 SAP AG. All rights reserved. Public 2 Introduction to Dobler Consulting Dobler Consulting is a leading information technology and database services company, offering a broad spectrum of services to their clients; acting as your Trusted Adviser, Provide License Sales, Architectural Review and Design Consulting, Optimization Services, High Availability review and enablement, Training and Cross Training, and lastly ongoing support and preventative maintenance. Founded in 2000, the Tampa consulting firm specializes in SAP/Sybase, Microsoft SQL Server, and Oracle. Visit us online at www.doblerconsulting.com, or contact us at 813 322 3240, or [email protected]. © 2013 SAP AG. All rights reserved. Public 3 Your Data is Your DNA, Dobler Consulting Focus Areas Strategic Database Consulting SAP VAR D&T DBA Database Managed Training Services Programs Cross-Platform Expertise SAP Sybase® SQL Server® Oracle® © 2013 SAP AG. All rights reserved. Public 4 What’s Ahead ISUG-TECH Annual Conference April 14-17, Atlanta • Register at http://my.isug.com/conference/registration • Early Bird ending 2/28/14 (free hotel room with registration) SAPPHIRENOW Annual Conference June 3-5, Orlando • Come visit our kiosk in the exhibition hall © 2013 SAP AG. All rights reserved. Public 5 SAP IQ Roadmap Dobler Events Webinar Courtney Claussen / SAP IQ Product Management February 27, 2014 Disclaimer This presentation outlines our general product direction and should not be relied on in making a purchase decision.
    [Show full text]
  • SAP IQ Installation and Configuration Guide Solaris Content
    PUBLIC SAP IQ 16.0 SP 10 Document Version: 1.1 – 2015-08-20 SAP IQ Installation and Configuration Guide Solaris Content 1 About SAP IQ...............................................................4 1.1 Supported Server Platforms.....................................................4 1.2 Supported Client Platforms......................................................5 1.3 Licensing Requirements........................................................5 1.4 Installation Media.............................................................6 2 Preparing for Installation......................................................7 2.1 Planning Your Installation.......................................................7 2.2 Preinstallation Tasks.......................................................... 9 Check for Operating System Patches............................................ 9 Increase the Swap Space....................................................10 License Server Requirements.................................................10 Manage Shared Memory.....................................................11 Set the File Descriptor Limits................................................. 12 Verify Network Functionality..................................................12 Windows Installer Requires Microsoft Visual C++ Redistributable Packages................ 13 3 Licensing Your Software......................................................15 3.1 Product Licensing............................................................15 3.2 Before You Generate Your
    [Show full text]
  • SAP IQ Release Bulletin [Linux] Company
    Installation Guide | PUBLIC SAP IQ 16.0 SP 11 2019-01-15 SAP IQ Release Bulletin [Linux] company. All rights reserved. All rights company. affiliate THE BEST RUN 2020 SAP SE or an SAP SE or an SAP SAP 2020 © Content 1 Important SAP Notes.........................................................3 2 Product Summary........................................................... 4 2.1 Product Compatibilities.........................................................4 2.2 Network Clients and ODBC Kits...................................................4 3 Installation and Upgrade...................................................... 5 3.1 Problem Solutions from Earlier Versions.............................................7 3.2 Database Upgrades........................................................... 7 3.3 SAP IQ and Other SAP Products...................................................8 4 Known Issues..............................................................10 4.1 Restrictions................................................................10 4.2 Installation and Configuration....................................................12 4.3 SAP IQ Operations........................................................... 16 SAP IQ Operations Known Issues from Previous Versions..............................18 4.4 Interactive SQL............................................................. 20 4.5 Multiplex Environment........................................................ 22 5 Documentation Changes..................................................... 25 5.1
    [Show full text]
  • SAP IQ Administration: Unstructured Data Analytics Company
    USER GUIDE | PUBLIC SAP IQ 16.1 SP 04 Document Version: 1.0.0 – 2019-04-05 SAP IQ Administration: Unstructured Data Analytics company. All rights reserved. All rights company. affiliate THE BEST RUN 2019 SAP SE or an SAP SE or an SAP SAP 2019 © Content 1 SAP IQ Administration: Unstructured Data Analytics.................................5 2 Introduction to Unstructured Data Analytics.......................................6 2.1 Audience...................................................................6 2.2 The Unstructured Data Analytics Option.............................................6 Full Text Searching..........................................................7 2.3 Compatibility................................................................7 2.4 Conformance to Standards......................................................8 3 TEXT Indexes and Text Configuration Objects...................................... 9 3.1 TEXT Indexes................................................................9 Comparison of WD and TEXT Indexes........................................... 10 Creating a TEXT Index Using Interactive SQL.......................................11 Guidelines for TEXT Index Size Estimation........................................ 12 TEXT Index Restrictions.....................................................12 Displaying a List of TEXT Indexes Using Interactive SQL...............................13 Editing a TEXT Index Using Interactive SQL........................................13 Modifying the TEXT Index Location Using Interactive
    [Show full text]
  • SAP IQ Cockpit Non-GUI Administration and Monitoring Company
    Administration Guide | PUBLIC SAP IQ 16.1 SP 04 Document Version: 1.0.0 – 2020-10-15 SAP IQ Cockpit Non-GUI Administration and Monitoring company. All rights reserved. All rights company. affiliate THE BEST RUN 2021 SAP SE or an SAP SE or an SAP SAP 2021 © Content 1 SAP IQ Cockpit Non-GUI Administration and Monitoring..............................9 2 Get Started with SAP IQ Cockpit............................................... 10 2.1 Start and Stop the SAP IQ Cockpit Server...........................................10 Starting and Stopping the SAP IQ Cockpit Server in Windows...........................11 Starting and Stopping the SAP IQ Cockpit Server in UNIX............................. 12 Configuring SAP IQ Cockpit Server as a Windows Service..............................13 Configuring SAP IQ Cockpit Server as a UNIX Service................................ 15 cockpit Command.........................................................16 3 Configure SAP IQ Cockpit.................................................... 20 3.1 Configure SQL-Based Monitoring.................................................20 3.2 Configure SQL-Based Exploring..................................................21 3.3 Configure SQL-Based Alerting................................................... 21 Download and Start an SAP SQL Anywhere Client...................................21 Create a Technical User for Alerting.............................................23 Configure the Email Server for Alerting.......................................... 24 3.4 Configure the
    [Show full text]
  • Database Content
    PUBLIC SAP IQ 16.0 SP 10 Document Version: 1.2 – 2016-04-13 Administration: Database Content 1 Database Administration Workflow..............................................13 2 Run SAP IQ Database Servers..................................................14 2.1 Starting Servers.............................................................14 The Server Startup Utility....................................................16 Starting the Server Using the Startup Utility.......................................17 Starting a Server from Interactive SQL...........................................17 Automatic Server Startup....................................................18 2.2 Command Line Options........................................................18 Displaying Command Line Options............................................. 19 Required Command Line Options.............................................. 19 Server and Database Names................................................. 20 Performance Options.......................................................21 Privilege Options..........................................................23 Client/Server Environment Options............................................ 24 Catalog Page Size Option....................................................24 2.3 Multiple Servers on a System....................................................25 2.4 Configuration Files...........................................................26 Configuration File List...................................................... 26
    [Show full text]
  • Programmers Guide Table of Contents
    PUBLIC SAP Event Stream Processor 5.1 SP08 Document Version: 1.0 - 2014-06-25 Programmers Guide Table of Contents 1 Introduction.................................................................. 7 1.1 Data-Flow Programming.......................................................... 7 1.2 Continuous Computation Language..................................................9 1.3 SPLASH......................................................................9 1.4 Authoring Methods..............................................................9 2 CCL Project Basics.............................................................11 2.1 Events.......................................................................11 2.2 Operation Codes...............................................................12 2.3 Streams.....................................................................13 2.4 Delta Streams.................................................................14 2.5 Keyed Streams................................................................ 15 2.6 Windows.....................................................................18 2.6.1 Retention............................................................. 19 2.6.2 Named Windows........................................................22 2.6.3 Unnamed Windows......................................................23 2.7 Comparing Streams, Windows, Delta Streams, and Keyed Streams...........................24 2.8 Bindings on Streams, Delta Streams, and Windows...................................... 27 2.9 Input/Output/Local.............................................................30
    [Show full text]
  • What's New in SAP IQ 16.0 Content
    PUBLIC SAP IQ 16.0 SP08 Document Version: 7.0 – 2016-04-13 What's New in SAP IQ 16.0 Content 1 Support Package 08..........................................................5 1.1 PAM User Authentication (New).................................................. 6 1.2 Point-in-Time Recovery (New)....................................................7 1.3 In-Memory Row-Level Versioning on Multiplex (New)...................................12 1.4 SAP IQ Cockpit (New).........................................................13 1.5 Authorizing Optional Features (New).............................................. 14 1.6 OData Support (New).........................................................15 1.7 Database Options (New and Changed).............................................16 1.8 Database Properties (New and Changed)........................................... 17 1.9 SQL Statements (Changed).....................................................18 1.10 Utilities (Changed)...........................................................20 1.11 Stored Procedures (New and Changed)............................................20 1.12 Tables and Views (Changed)....................................................21 1.13 Product Editions (Changed).....................................................21 1.14 Documentation Changes.......................................................22 2 Support Package 04.........................................................23 3 Support Package 03.........................................................24 3.1 New Features in
    [Show full text]
  • New Features Summary SAP Powerdesigner Documentation Collection Content
    User Guide PUBLIC SAP PowerDesigner Document Version: 16.6.2 – 2017-01-05 New Features Summary SAP PowerDesigner Documentation Collection Content 1 New Features v16.6 SP02........................................................4 2 New Features v16.6 SP01........................................................ 6 3 New Features v16.6.............................................................8 3.1 PowerAMC Becomes PowerDesigner................................................. 8 3.2 New PowerDesigner Web Features v16.6...............................................8 3.3 New Core Features v16.6......................................................... 14 3.4 New Data Model Features v16.6.....................................................15 3.5 New Business Process Model Features v16.6...........................................16 4 New Features v16.5 SP05........................................................18 4.1 New PowerDesigner Web Features v16.5 SP05..........................................18 4.2 New Core Features v16.5 SP05.....................................................21 4.3 New Enterprise Architecture Model Features v16.5 SP05.................................. 23 4.4 New Data Model Features v16.5 SP05................................................24 4.5 New Data Movement Model Features v16.5 SP05........................................24 5 New Features v16.5 SP04.......................................................25 5.1 New Web Client: PowerDesigner Web................................................25 5.2 New Enterprise
    [Show full text]
  • New Features Summary SAP Powerdesigner Documentation Collection Company
    USER GUIDE | PUBLIC SAP PowerDesigner Document Version: 16.6.8 – 2019-07-02 New Features Summary SAP PowerDesigner Documentation Collection company. All rights reserved. All rights company. affiliate THE BEST RUN 2019 SAP SE or an SAP SE or an SAP SAP 2019 © Content 1 New Features v16.6 SP08......................................................5 2 New Features v16.6 SP07...................................................... 7 3 New Features v16.6 SP06..................................................... 11 4 New Features v16.6 SP05.....................................................14 4.1 New PowerDesigner Web Features v16.6 SP05........................................14 4.2 New Requirements Model Features v16.6 SP05....................................... 15 4.3 New Enterprise Architecture Model Features v16.6 SP05.................................15 4.4 New Business Process Model Features v16.6 SP05.....................................17 4.5 New Data Model Features v16.6 SP05..............................................17 5 New Features v16.6 SP04.....................................................19 5.1 New Web Client Features.......................................................19 5.2 New Desktop Client Features....................................................25 6 New Features v16.6 SP03.....................................................27 7 New Features v16.6 SP02.....................................................28 8 New Features v16.6 SP01.....................................................30 9 New Features v16.6..........................................................32
    [Show full text]
  • Introduction to SAP IQ ( PDF)
    PUBLIC SAP IQ 16.0 SP 10 Document Version: 1.0 – 2015-07-07 Introduction to SAP IQ Content 2 About SAP IQ...............................................................5 2.1 Product Licensing.............................................................5 2.2 Product Editions..............................................................5 2.3 Available Licenses............................................................ 6 2.4 Related Products.............................................................6 3 Documentation............................................................. 8 3.1 New Release Information....................................................... 8 3.2 Getting Started.............................................................. 8 3.3 Administration...............................................................8 3.4 Reference Guides.............................................................9 3.5 Optional Features.............................................................9 3.6 SySAM Licensing.............................................................9 4 Online Resources...........................................................10 4.1 Product ...................................................................10 4.2 Community................................................................ 10 4.3 Documentation..............................................................10 4.4 Video Catalog...............................................................11 4.5 Demos....................................................................11
    [Show full text]