没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
System Administration Guide: Volume 1
Sybase IQ
15.1
DOCUMENT ID: DC00170-01-1510-01
LAST REVISED: July 2009
Copyright © 2009 by Sybase, Inc. All rights reserved.
This publication pertains to Sybase 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.
To order additional documents, U.S. and Canadian customers should call Customer Fulfillment at (800) 685-8225, fax (617) 229-9845.
Customers in other countries with a U.S. license agreement may contact Customer Fulfillment via the above fax number. All other
international customers should contact their Sybase subsidiary or local distributor. 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 Sybase, Inc.
Sybase trademarks can be viewed at
the Sybase trademarks page at http://www.sybase.com/detail?id=1011207. Sybase and the marks listed
are trademarks of Sybase, Inc. ® indicates registration in the United States of America.
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. 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.
Sybase, Inc., One Sybase Drive, Dublin, CA 94568.
Contents
System Administration Guide: Volume 1 iii
About This Book ........................................................................................................................ xvii
CHAPTER 1 Overview of Sybase IQ System Administration ........................... 1
Introduction to Sybase IQ................................................................. 2
Tools for system administration........................................................ 3
The database server ........................................................................ 4
Configurable tablespaces................................................................. 4
Dbspaces, dbfiles, and stores ................................................... 4
SQL Anywhere and Sybase IQ ........................................................ 5
Security overview ............................................................................. 5
Types of users........................................................................... 5
Granting permissions ................................................................ 6
Concurrent operations...................................................................... 6
Multiplex capability ........................................................................... 7
Stored procedures............................................................................ 7
Sybase IQ stored procedures.................................................... 7
Catalog stored procedures ........................................................ 8
System tables and views.................................................................. 8
Commands and functions ................................................................ 9
Types of SQL statements.......................................................... 9
Functions................................................................................... 9
Message logging ............................................................................ 10
Version information in the message log .................................. 11
Collation information in the message log ................................ 12
Connection information in the message log ............................ 12
Insert notifications in the message log .................................... 13
Message log file management ................................................ 13
The utility database ........................................................................ 17
Managing very large databases ..................................................... 18
Managing memory use............................................................ 18
Managing data loads ............................................................... 18
Managing processing threads ................................................. 19
Managing disk space............................................................... 19
Intermediate versioning ........................................................... 20
Contents
iv
Sybase IQ
Creating databases ................................................................. 20
Creating indexes ..................................................................... 20
Optimizing queries................................................................... 21
Schema design........................................................................ 21
UNION ALL views ................................................................... 21
CHAPTER 2 Running Sybase IQ........................................................................ 23
Starting the database server .......................................................... 23
Starting servers with the startup utility..................................... 24
Starting servers with Sybase Central ...................................... 26
Starting servers from the Windows Start menu....................... 28
Restarting servers when the Windows host is restarted ......... 29
Running the server as a Windows service ..................................... 29
Using command-line switches........................................................ 29
Naming the server and databases .......................................... 31
Controlling performance and memory from the command line 33
Controlling permissions from the command line ..................... 37
Setting a maximum catalog page size..................................... 39
Setting up a client/server environment.................................... 39
Starting a server in forced recovery mode .............................. 41
Starting a server from DBISQL................................................ 42
Starting multiple servers or clients on the same machine....... 42
Monitoring server activity ............................................................... 43
Stopping the database server ........................................................ 47
When to stop and restart the server........................................ 47
How to stop the server ............................................................ 47
Who can stop the server ......................................................... 50
Shutting down operating system sessions .............................. 50
Starting and stopping databases.................................................... 51
Database startup guidelines.................................................... 51
Stopping a database ............................................................... 52
Starting the iqdemo database ........................................................ 53
Starting and stopping Sybase Central............................................ 53
CHAPTER 3 Sybase IQ Connections................................................................. 55
Introduction to connections ............................................................ 56
How connections are established............................................ 56
How connection parameters work........................................... 58
Connection parameters are passed as connection strings ..... 59
Saving connection parameters in ODBC data sources........... 59
Connecting from Sybase Central or Interactive SQL ..................... 60
Opening the Connect dialog.................................................... 61
Specifying a driver for your connection ................................... 62
Contents
System Administration Guide: Volume 1 v
Working with the Connect dialog............................................. 62
Connection shortcuts in Sybase Central ........................................ 63
Creating server objects ........................................................... 63
Creating connection profiles.................................................... 64
Simple connection examples ......................................................... 64
Connecting to the sample database from Sybase Central or
DBISQL ............................................................................ 65
Connecting to a database on your own machine from Sybase
Central or Sybase IQ........................................................ 66
Connecting to other databases from DBISQL......................... 67
Connecting using command line utilities ................................. 68
Connecting to an embedded database ................................... 70
Connecting using a data source.............................................. 72
Using default connection parameters...................................... 73
Connecting from Sybase IQ utilities ........................................ 74
Working with ODBC data sources.................................................. 74
Where data sources are held .................................................. 75
Creating and editing ODBC data sources...................................... 75
Configuring ODBC data sources............................................. 78
Using file data sources................................................................... 83
Using ODBC data sources on UNIX .............................................. 84
Connecting to a database using OLE DB ...................................... 85
OLE DB providers ................................................................... 86
Connecting from ADO ............................................................. 87
Connection parameters.................................................................. 88
Connection parameter tips ...................................................... 88
How Sybase IQ makes connections .............................................. 89
Steps in establishing a connection.......................................... 89
Locating the interface library ................................................... 90
Assembling a list of connection parameters............................ 91
Locating a server..................................................................... 92
Locating the database............................................................. 94
Interactive SQL connections ................................................... 95
Connecting from other databases .................................................. 95
Avoiding port number conflicts on UNIX systems ................... 96
Testing that a server can be found................................................. 96
Using an integrated login ............................................................... 97
Using integrated logins............................................................ 98
Security concerns: unrestricted database access ................. 101
Setting temporary public options for added security ............. 103
Network aspects of integrated logins .................................... 103
Creating a default integrated login user ................................ 104
Disconnecting and dropping connections .................................... 104
Connection logging ...................................................................... 105
剩余643页未读,继续阅读
资源评论
啤酒大灰狼
- 粉丝: 0
- 资源: 32
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功