Database Content

Total Page:16

File Type:pdf, Size:1020Kb

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 Examples of Configuration Files............................................... 26 Default Configuration File....................................................27 Configuration File for the Demo Database........................................27 2.5 Server Activity Logs..........................................................28 Naming the Server Log File...................................................30 UNIX Log Files............................................................30 2.6 Stopping Servers............................................................ 31 Operating System Session Shutdown...........................................34 When to Stop and Restart the Server............................................34 2.7 Starting and Stopping Databases.................................................35 Database Startup Guidelines................................................. 35 Stopping Databases....................................................... 36 2.8 Starting the iqdemo Database...................................................37 3 Connect to SAP IQ Servers and Databases........................................38 3.1 Ways to Connect............................................................ 39 Connecting to the Demo Database from dbisql (UNIX)............................... 41 Connecting to the Demo Database from dbisql (Windows)............................ 42 PUBLIC Administration: Database 2 © 2016 SAP SE or an SAP affiliate company. All rights reserved. Content How Database Status Affects Local Connections...................................42 Connecting to an Embedded Database..........................................43 TCP/IP protocol..........................................................44 Connecting Using a Data Source...............................................48 Connecting from SAP IQ Utilities...............................................49 Default Connection Parameters...............................................49 3.2 Supported Connection Interfaces................................................ 50 3.3 Connection Status........................................................... 51 3.4 How Connection Parameters Work................................................52 Format for Connection Strings................................................53 How Applications Pass Connection Parameters....................................53 3.5 Connection Parameters in ODBC Data Sources.......................................54 3.6 Drivers for Connections........................................................55 3.7 File Data Sources............................................................55 Creating a File Data Source Using the ODBC Administrator............................57 File Data Sources and Text Editors............................................. 57 3.8 Connections from Other Databases...............................................57 Avoiding Port Number Conflicts on UNIX.........................................59 3.9 How to Test Connections...................................................... 59 3.10 Integrated Logins............................................................60 Using Integrated Logins.....................................................62 Security Concerns: Unrestricted Database Access..................................65 Temporary Public Options Provide Added Security..................................66 Network Aspects of Integrated Logins...........................................66 Default Integrated Login Users................................................67 3.11 Connection Pooling...........................................................67 3.12 Temporary Connections.......................................................69 3.13 Logical Server Configuration....................................................70 Connections in Simplex..................................................... 71 Connections in Multiplex.....................................................71 3.14 How to End Connections.......................................................72 3.15 Connection Logging..........................................................72 4 Create and Manage SAP IQ Databases...........................................74 4.1 SAP IQ Database Design.......................................................74 4.2 Create SAP IQ Databases...................................................... 75 Database Creation with SQL..................................................76 IQ Main Store and IQ Temporary Store Space Management........................... 85 4.3 Dropping a Database......................................................... 86 4.4 Schema and Data Export.......................................................86 iqunload Utility - For Schema and Data Export.....................................87 Load Schema and Data.....................................................90 Administration: Database PUBLIC Content © 2016 SAP SE or an SAP affiliate company. All rights reserved. 3 4.5 Disconnecting Other Users From a Database.........................................91 4.6 Disconnecting from a Database in Embedded SQL.................................... 92 4.7 Disconnecting All Connections from a Database in Interactive SQL.........................92 4.8 Showing System Objects in Interactive SQL.........................................92 4.9 Setting Database Options in Interactive SQL.........................................93 5 Manage Data Storage in SAP IQ................................................94 5.1 Space Allocation.............................................................95 5.2 Types of Dbspaces...........................................................95 Catalog Store............................................................97 IQ_SYSTEM_MAIN Dbspace..................................................98 Other User Main Dbspaces...................................................98 IQ Temporary Dbspace..................................................... 98 IQ Shared Temporary Dbspace................................................99 IQ Message File Dbspace...................................................100 5.3 Space for Databases.........................................................100 5.4 Space Requirements for IQ Stores and Temporary Stores...............................101 5.5 Sizing Guidelines for Main and Temporary Stores.....................................101 5.6 Setting Up Windows Access to Raw Devices........................................ 103 5.7 Choosing Drives for Raw Devices on Windows.......................................104 5.8 Viewing Access Permissions of a Raw Device........................................105 5.9 Setting Permissions for a Raw Device.............................................106 5.10 Estimating Space and Dbspaces Required..........................................107 5.11 Dbspace Management Example.................................................108 5.12 Data Storage...............................................................113 Dbfile Attributes and Operations.............................................. 113 Dbspace Attributes and Operations............................................117 Read-only and Read-write Dbspaces and Files.................................... 120 5.13 Cache Dbspace for Direct-Attached Storage........................................125 Creating the Cache Dbspace.................................................127 Dropping the Cache Dbspace................................................ 127 Adding Storage to the Cache Dbspace..........................................128 Removing Storage from the Cache Dbspace......................................129 Disabling and Reenabling the Cache Dbspace.....................................129 Changing the Readonly/Readwrite Status of a Cache Dbspace Dbfile....................130 Monitoring the Cache Dbspace............................................... 131 6 Manage SAP IQ Tables and Views..............................................134
Recommended publications
  • Aptum Database Administration Program September 2019 Overview
    SERVICE GUIDE APTUM DATABASE ADMINISTRATION PROGRAM SEPTEMBER 2019 OVERVIEW Aptum’s Database Administration (DBA) Program was designed to DBA Plan hours can be leveraged for all database-related activities help our customers reduce the cost of normal operation and the risk of detailed within this document, up to the allocation purchased. If you application and database downtime. require more hours than are purchased in a plan for a given month, any excess will be billed on an hourly basis at the standard Database Customers can work with Aptum’s Solutions Engineers and Certified Administration rate. Database Administrators to obtain assistance with everything from database engine configuration, performance optimization, clustering Included Database Platforms: administration, and replication administration. Microsoft SQL Server To help you achieve your performance goals, we offer our DBA plans in MySQL/MariaDB/Percona block-hour increments: 4 hours* * Hours are monthly and renew at the 1st of each calendar month and do not roll over. Overage rates are applicable only after block hours are consumed. All hours are 8 hours* applicable to the entire solution not per server. 12 hours* 20 hours* THE NEED FOR DATABASE ADMINISTRATION Most applications—especially those that support enterprise processes enable e-commerce, or facilitate collaboration—are database-intensive and demand optimal performance from the database. Applications and database queries may utilize very lean and elegant code, but the structure and configuration of your databases can be a detriment to high performance. There are dozens, sometimes hundreds, of configuration settings that need to be optimally tuned to enhance database performance. When the database is installed, most configuration defaults are applied automatically.
    [Show full text]
  • 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]
  • CSIT 1810 Introduction to Database Design
    PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS INTRODUCTION TO DATABASE DESIGN CSIT 1810 Class Hours: 3.0 Credit Hours: 4.0 Laboratory Hours: 3.0 Date Revised: Spring 2016 Catalog Course Description: A study of database management systems and their impact on information technology. Topics include database models, data modeling techniques, conceptual and physical design, storage techniques and data administration. Special emphasis will be placed on relational systems and application of query languages using relational operations. Entry Level Standards: The entering student should have a familiarity with the Windows environment. The student is expected to have moderate programming abilities in a high-level language or a scripting language. Problem solving skills will be essential. The student must have math, writing, verbal and English language skills at the college level. Prerequisites: CSIT 1110 or WEB 2010 Textbook(s) and Other Course Materials: Textbook: Database Systems: Design, Implementation and Management; (11th. Edition), by Coronel/Morris/Rob, Cengage, 2014, ISBN-13 978-1-285-19614-5, (Electronic Book at www.cengagebrain.com, ISBN-13 9781305323230.) Supplies: USB flash drive; ear buds or head phones for audio tutorials I. Week/Unit/Topic Basis: Week Chapter Topic 1 1 Database Systems 2 2 Database Models; Relational versus NoSQL databases 3 3 The Relational Database Model 4 9 Introduction to Systems & Database Design 5, 6 4, 5.1 Entity-Relationship Modeling 7 6 Normalization 8-10 7, SQL Queries, Creating Tables and Views in SQL 8.1,8.4 11 10 Transaction Management and Concurrency Control 12 12, 15 Distributed Systems, Database Management & Security 13 13 Business Intelligence & Data Warehouses 14 13 Big Data; final exam review 15 Final Exam II.
    [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]
  • Database Administration Maturity Model Version
    This document is the intellectual property of TrueNorth Consulting, Inc., Copyright © 1996, 1998, 1999, all rights reserved. Database Administration Maturity Model Version 1.1 File: C:\tnc\dba\Tom's White Papers\DBAMM.doc Page 1 Author: Thomas B. Cox This document is the intellectual property of TrueNorth Consulting, Inc., Copyright © 1996, 1998, 1999, all rights reserved. Table of Contents LEVELS OF THE DBA MM (DATABASE ADMINISTRATION MATURITY MODEL)............................................................................3 DIFFERENCES BETWEEN DATA ADMINISTRATORS, DBAS, AND DATA ARCHITECTS...............................................3 QUALITATIVE DIFFERENCES BETWEEN TASK AREAS.............................................................................................................................4 Data Architecture .........................................................................................................................................................................4 Data Administration......................................................................................................................................................................4 Database Administration...............................................................................................................................................................4 DATABASE LIFE CYCLE.............................................................................................................................................................6 QUALITATIVE
    [Show full text]
  • Database Administration Fundamentals Topic: Understand Normalization File Name: Dbadminfund SA 4.1
    98-364 D ATABASE A DMINISTRATION F UNDAMENTALS STUDENT ACTIVITY 4.1 MTA Course: Database Administration Fundamentals Topic: Understand normalization File name: DBAdminFund_SA_4.1 Lesson Objective: 4.1: Understand normalization. This objective may include but is not limited to: understanding the reasons for normalization, the five most common levels of normalization, how to normalize a database to third normal form. Content: Create tables as indicated here for each of the first three normalization forms. Start Start fees credit credit fees costs cost Last First Birthday Tuition Sex Subject Room Time Subject2 Room2 Time per hours hours per class1 class2 1 2 hour1 class 1 class 2 hour2 1:00 Social 6:00 Holt Holly 10/5/1990 10000 F English Hall A 4576c 480 700 120 4 5 140 PM Studies PM 3:00 Social 6:00 Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140 PM Studies PM 98-364 D ATABASE A DMINISTRATION F UNDAMENTALS 3:00 Social 6:00 Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140 PM Studies PM Social 6:00 1:00 Jacobsen Lola 8/7/1997 9000 F 4576c English Hall A 700 480 140 5 4 120 Studies PM PM 1:00 4:00 Higa Sidney 11/21/2000 12000 F English Hall A Math 2354c 480 1404 120 4 6 234 PM PM 1:00 4:00 Johnson Brian 4/15/1989 500 M English Hall A Math 2354c 1404 1701 234 6 3 567 PM PM 3:00 Social 6:00 Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140 PM Studies PM 2:00 Social 6:00 Bentley Sean 2/17/1990 350 M Science Hall B 4576c 1701 700 567 3 5 140 PM Studies PM Social 6:00 3:00 Price Jeff 10/5/1990 2000 M 4576c CIS Hall 12 700 600 140 5 5 150 Studies PM PM 3:00 Social 6:00 Raheem Michael 6/18/1990 4000 M CIS Hall 12 4576c 600 700 150 5 5 140 PM Studies PM Social 6:00 3:00 Ashton Chris 1/1/1951 50 M 4576c CIS Hall 12 480 1404 120 4 6 234 Studies PM PM 98-364 D ATABASE A DMINISTRATION F UNDAMENTALS Use the First Normal Form (1NF) with the previous table.
    [Show full text]
  • Ddl) Lesson 1
    LESSON 1 . 4 98-364 Database Administration Fundamentals Understand Data Definition Language (DDL) LESSON 1 . 4 98-364 Database Administration Fundamentals Lesson Overview 1.4 Understand data definition language (DDL) In this lesson, you will review: . DDL—DML relationship . DDL . Schema . CREATE . ALTER . DROP LESSON 1 . 4 98-364 Database Administration Fundamentals DDL—DML Relationship DML . Data Manipulation Language. (DML) In a database management system (DBMS), a language that is used to insert data in, update, and query a database. DMLs are often capable of performing mathematical and statistical calculations that facilitate generating reports. Acronym: DML. DML is used to manipulate the data of a database. In lesson review 1.3, you can find more details on DML. LESSON 1 . 4 98-364 Database Administration Fundamentals DDL . Data Definition Language (DDL) A language that defines all attributes and properties of a database, especially record layouts, field definitions, key fields, file locations, and storage strategy. Acronym: DDL. DDL is used to create the framework for the database, the schema of the database, or both. DDL works at the table level of the database. LESSON 1 . 4 98-364 Database Administration Fundamentals Schema . Schema A description of a database to a DBMS in the language provided by the DBMS. A schema defines aspects of the database, such as attributes (fields) and domains and parameters of the attributes. Schemas are generally defined as using commands from a DDL supported by the database system. LESSON 1 . 4 98-364 Database Administration Fundamentals CREATE . There are two forms of the CREATE statement. This statement creates a database called students.
    [Show full text]
  • Sql Server Dba Responsibilities & Implications of Integration
    ▲ E-Guide SQL SERVER DBA RESPONSIBILITIES & IMPLICATIONS OF INTEGRATION SearchSQLServer SQL SERVER DBA RESPONSIBILITIES & IMPLICATIONS OF INTEGRATION Home Defining Half a Dozen Daily SQL Server DBA Responsibilities In-Memory SQL Server: The Implica- tions of Integration ATABASE MANAGEMENT” MAY sound like one “D responsibility to the uninitiated, but those who are more familiar know it’s just an umbrella term. Read on to explore six du- ties that are the building blocks of effective SQL Server administration. PAGE 2 OF 15 SPONSORED BY SQL SERVER DBA RESPONSIBILITIES & IMPLICATIONS OF INTEGRATION DEFINING HALF A DOZEN DAILY SQL SERVER DBA RESPONSIBILITIES Basit Farooq Home Defining Half a Dozen SQL Server database administration can be a complex and stressful job. Daily SQL Server DBA Responsibilities Database administrators’ responsibilities cover the performance, integrity and security of business data and SQL Server databases. To fulfill their duties In-Memory SQL Server: The Implica- and to make business data available to its users, database administrators have tions of Integration to perform routine DBA checks on their SQL Servers to monitor their status. So, what critical aspects of SQL Server should all DBAs include in their daily checklist? Here are six daily DBA responsibilities that every SQL Server manager should perform. PAGE 3 OF 15 SPONSORED BY SQL SERVER DBA RESPONSIBILITIES & IMPLICATIONS OF INTEGRATION VERIFY ALL SQL SERVER INSTANCES ARE UP Check the connectivity of each SQL Server on the network, and make sure all SQL Server instances are up. Ensure that all databases hosted on SQL Server instances are online. In addition to this, validate the storage of database data Home on the hard disk, which can be done by running the Database Consistency Defining Half a Dozen Checker (DBCC) CHECKDBcommand against each database on every SQL Daily SQL Server DBA Responsibilities Server instance.
    [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]
  • SQL Database Administrator
    ORION COMMUNICATIONS, INC. Job Description JOB TITLE: SQL Database Administrator Reports To: Orion Operations Manager Exempt POSITION SUMMARY: The SQL Database Administration is responsible for the implementation, configuration, maintenance, and performance of critical SQL Server RDBMS systems, to ensure the availability and consistent performance of the Orion Workforce Management PLUS applications. This is a “hands-on” position requiring solid technical skills, as well as excellent interpersonal and communication skills. This position is responsible for the development and sustainment of the SQL Server Warehouse, ensuring its operational readiness (security, health and performance), executing data loads, and performing data modeling in support of multiple development teams. The data warehouse supports an enterprise application suite of program management tools. This position must be capable of working independently and collaboratively. POSITION ACTIVITIES Core duties and responsibilities include the following. Other duties may be assigned. • Manage SQL Server databases through multiple product lifecycle environments, from development to mission-critical production systems. • Configure and maintain database servers and processes, including monitoring of system health and performance, to ensure high levels of performance, availability, and security. • Apply data modeling techniques to ensure development and implementation support efforts meet integration and performance expectations • Independently analyze, solve, and correct issues in real time, providing problem resolution end-to-end. • Refine and automate regular processes, track issues, and document changes • Assist developers with complex query tuning and schema refinement. • Provide 24x7 support for critical production systems. • Perform scheduled maintenance and support release deployment activities after hours. • Share domain and technical expertise, providing technical mentorship and cross-training to other peers and team members.
    [Show full text]
  • Database Administration Fundamentals Topic: Master Summary, Part 1 File Name: Dbadminfund SA 6.1.1
    98-364 D ATABASE A DMINISTRATION F UNDAMENTALS STUDENT ACTIVITY 6.1.1: VOCABULARY STUDY GUIDE MTA Course: Database Administration Fundamentals Topic: Master Summary, Part 1 File name: DBAdminFund_SA_6.1.1 Lesson Objective: 6.1: Master review of the Database Administration Fundamentals review lessons. Part 1: Vocabulary Review for Database Administration Fundamentals The vocabulary words are listed in order of their appearance in the review lessons. Some words will have more than one definition. The definition is dependent on the words’ use within the lesson. For example, the word table can mean a group of row and columns or the heart of a database, and both definitions are correct in this course, depending on the context. 1. Understanding Core Database Concepts 1.1. Understand how data is stored in tables. This objective may include but is not limited to: understanding what a table is and how it relates to the data that will be stored in the database; columns/fields, rows/records. field—a location in a record in which a particular type of data is stored. column—a group of items that are listed vertically in a table. row—a group of items that are listed horizontally in a table. table—a data structure characterized by rows and columns, with data occupying or potentially occupying each cell formed by a row-column intersection. record—a data structure that is a collection of fields (elements), each with its own name and type. A group of fields across one row. variable—the name (label) given to data, or in a database.
    [Show full text]
  • Database Administration Fundamentals Review
    MICROSOFT TECHNOLOGY ASSOCIATE Student Study Guide EXAM 98-364 Database Administration Fundamentals Preparing forfor MTA CCertiertifi ccationation MICROSOFT TECHNOLOGYTEECHNOLOGYCHNOLOGY AASSOCIATESSOCIATE (MTA)((MTAMTAA) STUDENTSTUDENT STUDYSTUUDYDY GUIDEGUIDE FORFOR DEVELOPERSDEVELOPERS 98-364 Database Administration Fundamentals Authors Peggy Fisher (Web Development and Database Administration). Patricia Phillips (Lead Author and Project Manager). Patricia taught Peggy teaches computer science at a rural high school in central, computer science for 20 years in Janesville, Wisconsin. She served Pennsylvania. Indian Valley High School offers courses in on Microsoft’s National K-12 Faculty Advisory Board and edited programming (C#, VB, and Java for the AP course), and Web design the Microsoft MainFunction website for technology teachers for (Expression Web, HTML, JavaScript, and CSS). Peggy worked for a two years. For the past fi ve years she has worked with Microsoft large insurance company outside Philadelphia, Pennsylvania, prior in a variety of roles related to K-12 curriculum development and to leaving the corporate world to join the fi eld of education. She has pilot programs including Expression Studio web design and XNA been at IVHS for the past eight years and truly enjoys her new career. game development. In her role as an author and editor, Patricia Peggy also teaches part-time at Pennsylvania State University in the wrote several articles and a student workbook on topics including Continuing Education program. Her goal in teaching is to instill the computer science, web design, and computational thinking. She is love of learning so that her students will graduate and become life- currently the editor of the Computer Science Teachers Association long learners.
    [Show full text]