Administration: Multiplex SAP Sybase IQ Multiplex SAP Sybase IQ ... SAP Sybase IQ Multiplex Architecture ... IQ multiplex can be configured easily using an

  • View
    266

  • Download
    12

Embed Size (px)

Text of Administration: Multiplex SAP Sybase IQ Multiplex SAP Sybase IQ ... SAP Sybase IQ Multiplex...

  • Administration: Multiplex

    SAP Sybase IQ 16.0

  • DOCUMENT ID: DC01839-01-1600-01LAST REVISED: February 2013Copyright 2013 by Sybase, Inc. All rights reserved.This publication pertains to Sybase software and to any subsequent release until otherwise indicated in new editions ortechnical notes. Information in this document is subject to change without notice. The software described herein is furnishedunder 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 priorwritten permission of Sybase, Inc.Sybase trademarks can be viewed at the Sybase trademarks page at http://www.sybase.com/detail?id=1011207. Sybase andthe marks listed are trademarks of Sybase, Inc. indicates registration in the United States of America.SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registeredtrademarks of SAP AG in Germany and in several other countries all over the world.Java and all Java-based marks are trademarks or registered trademarks of Oracle and/or its affiliates in the U.S. and othercountries.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 areassociated.Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.Sybase, Inc., One Sybase Drive, Dublin, CA 94568.

    http://www.sybase.com/detail?id=1011207

  • Contents

    Multiplex Overview ................................................................1Audience .........................................................................1Introduction to SAP Sybase IQ Multiplex ........................1SAP Sybase IQ Multiplex Architecture ...........................2

    Multiplex Architecture Diagram ..............................2Data Storage ..........................................................3Multiplex Configuration ..........................................4Files on Shared Disk Arrays ..................................6Communication Infrastructure ................................7

    Create Multiplex Servers .....................................................11Planning the Configuration ...........................................11

    Multiplex Storage Requirements ..........................11Main Store Requirements ....................................12Hardware Requirements ......................................12Java External Environment in a Multiplex ............13Multiplex Planning Worksheet ..............................13

    Converting Databases to Multiplex ...............................14Multiplex Database Files ......................................16

    Manage Multiplex Servers ...................................................17Multiplex System Privileges ..........................................17

    ACCESS SERVER LS System Privilege .............17MANAGE MULTIPLEX System Privilege .............17DBO System Role in a Multiplex Environment .....18

    Starting Multiplex Servers .............................................18Checking Server Status in Interactive SQL ..........18

    Adding Multiplex Servers ..............................................19Adding a Temporary Dbfile ..................................20Including or Excluding Servers ............................21Designating a Failover Node ................................21

    Dropping Multiplex Servers ...........................................21Reclaiming Free List ............................................22

    Administration: Multiplex iii

  • Altering Multiplex Servers .............................................22Changing Host and Port ......................................23Changing Server Roles ........................................23Changing the Database File Path ........................23Renaming Multiplex Servers ................................23

    Synchronizing Servers ..................................................24Multiplex Login Management ........................................24

    Counting User Connections .................................25High Availability .............................................................25

    Reader Node Failure ............................................25Writer Node Failure ..............................................25Coordinator Failure ..............................................26SAN or Shared Disk Failure .................................29

    Manage Transactions ..........................................................31DML Commands ...........................................................31

    Global DML Commands ......................................31Table Data Scope ................................................32

    DDL Commands ...........................................................32DDL Command Scope .........................................32Role Restriction ...................................................34Dbspace Updates in Multiplex .............................35Global Transaction Resiliency ..............................42

    Troubleshoot Transactions ............................................43Communication Failure or Coordinator Failure

    and Restart During Global Transaction ...........43Coordinator Failover and Global Transactions .....45Dynamic Collisions ..............................................45

    Manage Resources Through Logical Servers ...................47Logical Servers Overview .............................................47

    Effective Logical Server Configuration .................48Coordinator as a Logical Server Member ............48Logical Servers and Simplex Configurations .......48

    Use Built-in Logical Servers ..........................................49ALL Logical Server ..............................................50AUTO Logical Server ...........................................50

    Contents

    iv SAP Sybase IQ

  • COORDINATOR Logical Server ..........................50NONE Logical Server .......................................... 51OPEN Logical Server ...........................................51SERVER Logical Server ......................................52

    Creating a Logical Server .............................................52Commenting on Logical Servers .........................53

    Altering a Logical Server ............................................. 53Dropping a Logical Server ............................................54

    Results of Dropping Logical Servers ................... 54Connecting to a Logical Server .....................................54Configure Logical Server Policies .................................56

    Altering Root Logical Server Policy ..................... 56Manage Logical Server Membership ............................57

    Logical Server Assignment Inheritance ...............58Lock-down Prevention ......................................... 58Changing Logical Server Assignments ................58Removing Logical Server Assignments ...............59Node Membership Overlap ..................................59

    Redirecting Logins ........................................................59Disabling Login Redirection ..........................................60Login Policies ................................................................61

    Modifying the Root Login Policy ...........................62Creating a New Login Policy ................................62Modifying an Existing Login Policy .......................63Displaying a List of Users Assigned a Login

    Policy ...............................................................63Deleting a Login Policy ........................................ 64Assigning a Login Policy When Creating a New

    User .................................................................64Assigning a Login Policy to an Existing User .......65

    Distributed Query Processing ............................................67Leader and Worker Nodes ............................................68Query Portions ..............................................................68Distributed Query Performance ....................................69

    Back Up and Restore ...........................................................71

    Contents

    Administration: Multiplex v

  • Checking Database Consistency ..................................71Backup Requirements ..................................................71Backing Up Multiplex Databases ..................................72Before You Restore .......................................................72Restoring IQ Store Data When Restoring Database in

    a Different Location ..................................................73Restoring IQ Store Data When Restoring the

    Database in the Same Location ...............................75Selective Restore Operations in a Multiplex

    Environment .............................................................76Restoring Read-only Backups for a Coordinator

    .........................................................................76Multiplex Reference .............................................................79

    SQL Statements ...........................................................79ALTER LOGICAL SERVER Statement ................79ALTER LOGIN POLICY Statement ......................80ALTER LS POLICY Statement .............................87ALTER MULTIPLEX RENAME Statement ..........

Recommended

View more >