Proc SQL Vs. Pass-Thru SQL on DB2® Or How I Found a Day

Total Page:16

File Type:pdf, Size:1020Kb

Proc SQL Vs. Pass-Thru SQL on DB2® Or How I Found a Day NESUG 15 Beginning Tutorials Proc SQL vs. Pass-Thru SQL on DB2® Or How I Found a Day Jeffrey S. Cohen, American Education Services/PHEAA Abstract When extracting data from multiple tables, you must employ Join conditions to avoid a Cartesian product, Many people use Proc SQL to query DB2 where each row from table one will be joined with databases yet ignore the Pass-thru ability of this each row in table two. A Join condition will tell the Proc. This paper will compare the Proc SQL of DBMS how to match the rows of the two tables. Consider the above example, only now we want the SAS® and Pass-thru SQL on the same 30 million- color of the person's car as well: row table to highlight the time and resource Select A.Name, savings that Pass-through SQL can give. A.Age, A.City, Overview B.Color From Table_Demographics A Inner Join One of the most useful features of SAS software is Table_Cars B on its ability to read data in almost any form or A.Name = B.Name storage medium from multiple data sets. When Where A.Age < 30 and accessing data from a Database Management (A.City = 'Syracuse' or System (DBMS) such as DB2, the SQL procedure A.State = 'Maine') is required. Like many SAS procedures there are a Notice that when selecting multiple columns a variety of options available, some greatly comma must separate them. Also notice that the impacting performance. We will examine three table Table_Demographics is given the pseudonym techniques to use when joining three tables with of A and the table Table_Cars is given the Proc SQL and the results on performance. pseudonym of B. These tell the DBMS which table the columns come from. SQL Basics Data Description To extract data from DB2 tables, SQL is the preferred method. SQL uses a minimum of two The data for this exercise comes from three DB2 clauses: the Select clause and the From Clause. The tables in a data warehouse. The first table, (DCA), Select clause lists the columns or variables that you holds all transactional data and totals approximately want in the final data set or result set. The From 29 million rows. The second table, (DCB), houses clause tells DB2 what tables the data is coming from. application information and totals approximately 3 A third clause that is useful is the Where clause, million rows. The third table, (DCC), houses claim similar to the If statement in a data step. In the information and contains just under 1 million rows. Where clause, you list the conditions, separated by The keys, used to join the tables, common to the and or or. To illustrate this concept consider the DCA and DCB tables are the borrower ID (AF-APL- following example: ID), the borrower ID suffix (AF-APL-ID-SFX) and the timestamp (LF-CRT-DTS-DCB) for the DCB Select Name, table. The keys common to the DCB and the DCC Age, are the user who created the record (BF-USR-CRT- City, DCC) and the timestamp (BF-CRT-DTS-DCC) for From Table_Demographics the DCC table. The assignment is to select 18 Where Age < 30 and columns from the DCB, 2 from the DCC and 15 from (City = 'Syracuse' or the DCA. State = 'Maine') Proc SQL This example will produce a data set with three variables consisting of people who are under 30 and live either in Syracuse or Maine. Using SAS's Proc SQL, the query is structured to create a table by selecting the columns from the Join of the three tables. "The SQL Query Optimizer must choose between the following to join the tables: 1 NESUG 15 Beginning Tutorials S Sorting the tables and performing a NOTE: PROCEDURE SQL used: match merge. real time 16:14:16.15 S Accessing the rows of one table cpu time 15:57:57.26 sequentially, and fetching the matching rows from the other table via an index This query ran on an IBM AIX SP2 system with SAS on that table. V8.1. You can see from the log, the query's S Loading the rows of the smaller table performance was poor, taking almost 16 hours of into memory and processing the rows of CPU time to complete. the other table sequentially."1 Proc SQL with DBKEY Since SAS cannot read DB2 indexes without assistance and the tables are too big to fit into One method of speeding up the query is to force Proc memory, the only option is to sort the tables and SQL to use the DB2 index. This is accomplished by perform a match merge. The query and results look using the DBKey option in the From clause. In the like this: DBKey option, the key columns from the table on the right are listed. The From clause of the previous 1 The SAS System query looked like this after the change: NOTE: Copyright (c) 1999-2000 by SAS Institute Inc., Cary, NC, USA. from mydb.dcb_claim a left outer join 6 libname mydb db2 database=mydbase mydb.dcc_clpkg (dbkey=(bf_crt_dts_dcc user=XXXXXXXX using=XXXXXXXX bf_usr_crt_dcc)) b on 7 owner=mydb; a.bf_crt_dts_dcc = b.bf_crt_dts_dcc and a.bf_usr_crt_dcc = b.bf_usr_crt_dcc and NOTE: Libref MYDB was successfully assigned as follows: a.lc_sta_dcb in ('03','04') inner join Engine: DB2 mydb.dca_activity (dbkey=(af_apl_id af_apl_id_sfx Physical Name: mydbase lf_crt_dts_dcb)) c on a.af_apl_id = c.af_apl_id and 17 proc sql; a.af_apl_id_sfx = c.af_apl_id_sfx and 18 CREATE table EXPORT AS a.lf_crt_dts_dcb = c.lf_crt_dts_dcb 19 select a.af_apl_id 20 ,a.af_apl_id_sfx The new query returned these results: 21 ,a.lf_crt_dts_dcb 22 ,a.bf_ssn 6 libname mydb db2 database=mydbase user=xxxxxxxx 51 ,c.LC_TRX_TYP using=XXXXXXXX 52 ,c.LD_TRX_EFF 7 owner=mydb; 53 ,c.lc_rco NOTE: Libref MYDB was successfully assigned as follows: 54 from mydb.dcb_claim a Engine: DB2 55 left outer join Physical Name: mydbase 56 mydb.dcc_clpkg b 57 on 58 a.bf_crt_dts_dcc = b.bf_crt_dts_dcc 17 proc sql; 59 and a.bf_usr_crt_dcc = b.bf_usr_crt_dcc 18 CREATE table EXPORT AS 60 and a.lc_sta_dcb in ('03','04') 19 select a.af_apl_id 61 inner join 20 ,a.af_apl_id_sfx 62 mydb.dca_activity c 21 ,a.lf_crt_dts_dcb 63 on 22 ,a.bf_ssn 64 a.af_apl_id = c.AF_APL_ID 23 ,a.lc_sta_dcb 65 AND a.af_apl_id_sfx = 24 ,a.lc_aux_sta c.AF_APL_ID_SFX 25 ,a.lc_pcl_rea 66 AND a.lf_crt_dts_dcb = 52 ,c.LD_TRX_EFF 67 53 ,c.lc_rco 76 or c.la_apl_int ^= 0))); 54 from mydb.dcb_claim a NOTE: Table WORK.EXPORT created, with 27035622 55 left outer join rows and 35 columns. 56 mydb.dcc_clpkg(dbkey=(bf_crt_dts_dcc bf_usr_crt_dcc)) b 77 QUIT; 57 on 58 a.bf_crt_dts_dcc = b.bf_crt_dts_dcc 59 and a.bf_usr_crt_dcc = b.bf_usr_crt_dcc 2 NESUG 15 Beginning Tutorials 60 and a.lc_sta_dcb in ('03','04') and passwords to the database. The next two 61 inner join statements are standard Proc SQL Create Table and 62 mydb.dca_activity(dbkey=(af_apl_id Select statements. The asterisk in the Select af_apl_id_sfx lf_crt_dts_dcb)) c statement tells SAS to put all the columns sent from 63 on the DBMS into the result table. The From statement 64 a.af_apl_id = c.AF_APL_ID tells SAS where to get the data, in this case from the 65 AND a.af_apl_id_sfx = connection to DB2. Within the parentheses are the c.AF_APL_ID_SFX SQL statements that the DBMS will execute, in the 66 AND a.lf_crt_dts_dcb = standard Select, From, Where format. The Macro c.LF_CRT_DTS_DCB variables in the %PUT statement will write any error 76 or c.la_apl_int ^= 0))); codes and messages, sent by the DBMS, to your SAS NOTE: Table WORK.EXPORT created, with 27035622 log. Without these statements, you will not know rows and 35 columns. why your query did not execute. The final two statements disconnect you from the database and exit 77 QUIT; the interface. NOTE: PROCEDURE SQL used: real time 9:59:12.67 When you submit the query in this format, the cpu time 1:05:18.00 following results: As you can see the inclusion of the Dbkey option reduced the CPU time dramatically from almost 16 1 The SAS System hours to a little over one hour. The real time, while NOTE: Copyright (c) 1999-2001 by SAS Institute Inc., still high at 10 hours, decreased 6 hours. Further Cary, NC, USA. time and performance savings are still possible. NOTE: SAS (r) Proprietary Software Release 8.1 (TS1M0) Licensed to PA HIGHER EDUCATION ASSISTANCE Pass-Thru SQL AGENCY NOTE: This session is executing on the AIX 4.3 platform. As you can see in the first two examples, it was necessary to code libname statements to point SAS to the proper database. Using SAS/ACCESS, it is NOTE: SAS initialization used: possible to pass the entire SQL statement to the real time 1.32 seconds DBMS for processing. This method allows the cpu time 0.02 seconds DBMS to determine the best optimization methods to execute. Using SQL pass-thru coding allows DB2 to use its indexes and key structures to join the tables in 12 proc sql; the most efficient fashion. 13 connect to db2(database=mydbase user=XXXXXXX using=XXXXXXXX); To code a pass-thru statement, the SQL statements in 14 CREATE table EXPORT AS traditional SQL appears inside a shell similar to this: 15 select * 16 from connection to db2( Proc SQL; 17 select a.bf_ssn Connect to DB2( Database=mydb); 18 ,a.lc_pcl_rea Create table Test as 21 ,a.la_clm_pri Select * 44 ,c.LD_TRX_EFF From Connection to db2( 45 ,c.lc_rco Select ……. 46 from mydb.dcb_claim a From ……… 47 left outer join Where …….); 48 mydb.dcc_clpkg b %PUT &SQLXRC &SQLXMSG 49 on Disconnect from DB2; 50 a.bf_crt_dts_dcc = b.bf_crt_dts_dcc Quit; 67 and (c.la_apl_pri ^= 0 68 or c.la_apl_int ^= 0)))); You can break the code into several statements.
Recommended publications
  • Netezza EOL: IBM IAS Is a Flawed Upgrade Path Netezza EOL: IBM IAS Is a Flawed Upgrade Path
    Author: Marc Staimer WHITE PAPER Netezza EOL: What You’re Not Being Told About IBM IAS Is a Flawed Upgrade Path Database as a Service (DBaaS) WHITE PAPER • Netezza EOL: IBM IAS Is a Flawed Upgrade Path Netezza EOL: IBM IAS Is a Flawed Upgrade Path Executive Summary It is a common technology vendor fallacy to compare their systems with their competitors by focusing on the features, functions, and specifications they have, but the other guy doesn’t. Vendors ignore the opposite while touting hardware specs that mean little. It doesn’t matter if those features, functions, and specifications provide anything meaningfully empirical to the business applications that rely on the system. It only matters if it demonstrates an advantage on paper. This is called specsmanship. It’s similar to starting an argument with proof points. The specs, features, and functions are proof points that the system can solve specific operational problems. They are the “what” that solves the problem or problems. They mean nothing by themselves. Specsmanship is defined by Wikipedia as: “inappropriate use of specifications or measurement results to establish supposed superiority of one entity over another, generally when no such superiority exists.” It’s the frequent ineffective sales process utilized by IBM. A textbook example of this is IBM’s attempt to move their Netezza users to the IBM Integrated Analytics System (IIAS). IBM is compelling their users to move away from Netezza. In the fall of 2017, IBM announced to the Enzee community (Netezza users) that they can no longer purchase or upgrade PureData System for Analytics (the most recent IBM name for its Netezza appliances), and it will end-of-life all support next year.
    [Show full text]
  • SAP Database Administration with IBM
    André Faustmann, Michael Greulich, André Siegling, Benjamin Wegner, and Ronny Zimmerman SAP® Database Administration with IBM® DB2® Bonn Boston Contents at a Glance 1 Introduction ............................................................................ 19 2 SAP System Landscapes ......................................................... 25 3 Basics and Architecture of the IBM DB2 for LUW Database ................................................................................. 71 4 Lifecycle ................................................................................. 233 5 Administration Tools Inside and Outside the SAP System .... 327 6 Backup, Restore, and Recovery .............................................. 463 7 Monitoring DB2 SAP Systems with SAP Solution Manager .................................................................................. 575 8 SAP NetWeaver Business Warehouse and IBM DB2 for LUW .................................................................................. 647 9 Common Problems and Their Solutions for DB2 Administrators ........................................................................ 697 Contents Foreword .................................................................................... 15 Acknowledgments ....................................................................... 17 1 Introduction ................................................................. 19 1.1 Who This Book Is For .................................................... 21 1.2 Focus of This Book .......................................................
    [Show full text]
  • IBM DB2 for Z/OS: the Database for Gaining a Competitive Advantage!
    Why You Should Read This Book Tom Ramey, Director, DB2 for z/OS IBM Silicon Valley Laboratory “This book is a ‘must read’ for Enterprise customers and contains a wealth of valuable information! “It is clear that there is a technology paradigm shift underway, and this is opening enormous opportunities for companies in all industries. Adoption of Cloud, Mobile, and Analytics promises to revolutionize the way we do business and will add value to a company’s business processes across all functions from sales, marketing, procurement, manufacturing and finance. “IT will play a significant role enabling this shift. Read this book and find out how to integrate the heart of your infrastructure, DB2 for z/OS, with new technologies in order to maximize your investment and drive new value for your customers.” Located at IBM’s Silicon Valley Laboratory, Tom is the director of IBM’s premiere relational database management system. His responsibilities include Architecture, Development, Service, and Customer Support for DB2. He leads development labs in the United States, Germany, and China. Tom works closely with IBM’s largest clients to ensure that DB2 for z/OS continues as the leading solution for modern applications, encompassing OLTP to mobile to analytics. At the same time he continues an uncompromising focus on meeting the needs of the most demanding operational environments on Earth, through DB2’s industry- leading performance, availability, scaling, and security capabilities. IBM DB2 for z/OS: The Database for Gaining a Competitive Advantage! Shantan Kethireddy Jane Man Surekha Parekh Pallavi Priyadarshini Maryela Weihrauch MC Press Online, LLC Boise, ID 83703 USA IBM DB2 for z/OS: The Database for Gaining a Competitive Advantage! Shantan Kethireddy, Jane Man, Surekha Parekh, Pallavi Priyadarshini, and Maryela Weihrauch First Edition First Printing—October 2015 © Copyright 2015 IBM.
    [Show full text]
  • Developing Embedded SQL Applications
    IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 Note Before using this information and the product it supports, read the general information under Appendix B, “Notices,” on page 209. Edition Notice This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. You can order IBM publications online or through your local IBM representative. v To order publications online, go to the IBM Publications Center at http://www.ibm.com/shop/publications/ order v To find your local IBM representative, go to the IBM Directory of Worldwide Contacts at http://www.ibm.com/ planetwide/ To order DB2 publications from DB2 Marketing and Sales in the United States or Canada, call 1-800-IBM-4YOU (426-4968). When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright IBM Corporation 1993, 2012. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Chapter 1. Introduction to embedded Include files for COBOL embedded SQL SQL................1 applications .............29 Embedding SQL statements
    [Show full text]
  • Toad for IBM DB2 Release Notes
    Toad for IBM DB2 7.1.x Release Notes Monday, November 18, 2019 Contents About Toad for IBM DB2 1 New Features 1 System Requirements 2 Resolved Issues and Enhancements 4 Known Issues 4 Third Party Known Issues 6 Getting Started 7 Toad for DB2 Editions 7 Product Licensing 8 Globalization 8 About Us 9 Copyright 9 About Toad for IBM DB2 With Toad, developers and database administrators can use a familiar, proven tool to manage databases. Toad empowers developers and administrators, of varying skill levels, to rapidly create and execute queries, automate database object management, and develop SQL more efficiently. Toad also provides utilities to compare, extract and search for objects, manage projects, import/export data and administer the database, while increasing your productivity and delivering access to an active user community. Toad for IBM DB2 7.1.2 is a patch release with new features, security enhancements and resolved issues. New Features In Toad for IBM DB2 7.1 the following new features were implemented: Security and Installation Enhancements For this release of Toad for IBM DB2 we have provided internal security adjustments. We have revised a list of third party components in use according to their known and potential vulnerabilities. Toad uses only reliable and safe components by third party vendors. See the list of third party components in Toad for IBM DB2the help file, section About Us | Third Party Components. Our Toad installers are now based on the Wix Toolset , which improves user experience and performance of the installation process. See Resolved Issues for more enhancements and resolved issues in this release of Toad for IBM DB2.
    [Show full text]
  • DB2 Database Facilities Management …
    IBM Jay.Manaloto Search Submit IBM Profiles Communities Apps Share Wikis This Wiki Search IBM TRIRIGA Following Actions Wiki Actions TRIRIGA Wiki Home You are in: IBM TRIRIGA > IBM TRIRIGA Application Platform > Performance > Best Practices for System Performance > Database specific considerations > DB2 database Facilities Management … Facilities Maintenance DB2 database Like | Updated December 4, 2019 by Jay.Manaloto | Tags: db2, db2_database, db2_performance, db2_tuning, performance, reserve_performance, system_performance Add or Environmental & Ener… remove tags Real Estate Management Edit Page Actions Capital Project Manag… CAD Integrator-Publis… IBM TRIRIGA Connect… IBM TRIRIGA Anywhere IBM TRIRIGA Applicati… Best Practices for System Performance. Support Matrix 5 Database Server Tuning and Maintenance (continued) Hints and Tips Installing < Back to Table of Contents Admin Console 5 Database Server Tuning and Maintenance (continued) 5.3 IBM DB2 Database (was 5.6) Builder Tools 5.3.1 IBM DB2 Database Server Tuning (was 5.2) a. DB2 Automatic Buffer Pool Size and Auto Extends (was 5.5.5) Connector for Busin… b. DB2 Diagnostic Log (was 5.5.6) 5.3.2 IBM DB2 Application Platform Indexes (was 5.4.2.a) Connector for Esri GIS 5.3.3 Reserve Indexes for DB2 (was 5.4.2.d) Document Manager 5.3.4 Lease Indexes for DB2 5.3.5 Internal Lease Benchmark Findings Extended Formula a. Performance Benchmark Index Objectives b. Performance Environments Gantt Scheduler b.1 Data-Load Hardware Environment b.2 Multi-User Benchmark Test Environment Globalization b.3 Software Environment Group Object b.4 Key Configurations b.4.1 IBM DB2 Database Server Label Manager b.4.2 IBM WebSphere Application Server b.4.3 Operating System Licensing b.4.4 IBM TRIRIGA Platform c.
    [Show full text]
  • IBM DB2 Database (Was 5.6) Builder Tools 5.3.1 IBM DB2 Database Server Tuning (Was 5.2) A
    IBM Jay.Manaloto Search Submit IBM Profiles Communities Apps Share Wikis This Wiki Search IBM TRIRIGA Following Actions Wiki Actions TRIRIGA Wiki Home You are in: IBM TRIRIGA > IBM TRIRIGA Application Platform > Performance > Best Practices for System Performance > Database specific considerations > DB2 database Facilities Management … Facilities Maintenance DB2 database Like | Updated December 4, 2019 by Jay.Manaloto | Tags: db2, db2_database, db2_performance, db2_tuning, performance, reserve_performance, system_performance Add or Environmental & Ener… remove tags Real Estate Management Edit Page Actions Capital Project Manag… CAD Integrator-Publis… IBM TRIRIGA Connect… IBM TRIRIGA Anywhere IBM TRIRIGA Applicati… Best Practices for System Performance. Support Matrix 5 Database Server Tuning and Maintenance (continued) Hints and Tips Installing < Back to Table of Contents Admin Console 5 Database Server Tuning and Maintenance (continued) 5.3 IBM DB2 Database (was 5.6) Builder Tools 5.3.1 IBM DB2 Database Server Tuning (was 5.2) a. DB2 Automatic Buffer Pool Size and Auto Extends (was 5.5.5) Connector for Busin… b. DB2 Diagnostic Log (was 5.5.6) 5.3.2 IBM DB2 Application Platform Indexes (was 5.4.2.a) Connector for Esri GIS 5.3.3 Reserve Indexes for DB2 (was 5.4.2.d) Document Manager 5.3.4 Lease Indexes for DB2 5.3.5 Internal Lease Benchmark Findings Extended Formula a. Performance Benchmark Index Objectives b. Performance Environments Gantt Scheduler b.1 Data-Load Hardware Environment b.2 Multi-User Benchmark Test Environment Globalization b.3 Software Environment Group Object b.4 Key Configurations b.4.1 IBM DB2 Database Server Label Manager b.4.2 IBM WebSphere Application Server b.4.3 Operating System Licensing b.4.4 IBM TRIRIGA Platform c.
    [Show full text]
  • A Survey: Security Perspectives of ORACLE and IBM-DB2 Databases
    International Journal of Scientific and Research Publications, Volume 3, Issue 1, January 2013 1 ISSN 2250-3153 A Survey: Security Perspectives of ORACLE and IBM- DB2 Databases Lavanya Pamulaparty*, T. Praveen Kumar**, P. Vijaya Babu Varma** * Associate Professor and Head of CSE, Methodist College of Engineering. & Technology. ** Assistant Professor, Dept. of CSE, Methodist College of Engineering. & Technology. *** Assistant Professor, Dept. of CSE, Methodist College of Engineering & Technology. Abstract- As storage of data plays an integral part of databases, independent assurance of the security built into DB2. Whereas security issues becomes major concerns. Relational databases Oracle has undergone multiple evaluations of its database, IBM hold a significant portion of data stored in software, therefore has failed to have independent experts formally evaluate DB2, today’s database purchase decisions revolve around how secure making it difficult to qualify their assertions about their security the product is. This paper provides a categorical feature implementations. Oracle’s business model is to secure products comparison between Oracle9i Database (Oracle) and IBM DB2 out-of-the-box, and IBM’s is to make customers pay to secure Universal Database (DB2), in addition to examining features the products they purchase. This divergence in approach provided in the SecureWay product line from Tivoli, an IBM demonstrates the value of security to these database competitors subsidiary [7]. It explores the impact of IBM’s and Oracle’s and the resulting security built-in to their customers’ security models on users seeking to protect their critical deployments [7]. information systems and contrasts IBM’s strategy of building security outside of the DB2 database against Oracle’s strategy of securing information in the database server[6].In addition to the II.
    [Show full text]
  • Z/OS Basics Preface
    Contents Preface . iii How this course is organized . iii How each topic is organized . iv Part 1. Introduction to z/OS and the mainframe environment Chapter 1. Introduction to the new mainframe . 3 1.1 The new mainframe. 4 1.2 The S/360: A turning point in mainframe history . 4 1.3 An evolving architecture . 5 1.4 Mainframes in our midst . 6 1.5 What is a mainframe? . 7 1.6 Who uses mainframe computers?. 10 1.7 Factors contributing to mainframe use . 11 1.8 Typical mainframe workloads . 14 1.9 Roles in the mainframe world . 21 1.10 z/OS and other mainframe operating systems . 27 1.11 Summary . 29 Chapter 2. z/OS overview. 31 2.1 What is an operating system? . 32 2.2 Overview of z/OS facilities. 32 2.3 What is z/OS? . 34 2.4 Virtual storage and other mainframe concepts . 39 2.5 What is workload management? . 57 2.6 I/O and data management. 60 2.7 Supervising the execution of work in the system . 60 2.8 Defining characteristics of z/OS . 68 2.9 Licensed programs for z/OS . 69 2.10 Middleware for z/OS . 70 2.11 A brief comparison of z/OS and UNIX. 71 2.12 Summary . 73 Chapter 3. TSO/E, ISPF, and UNIX: Interactive facilities of z/OS . 75 3.1 How do we interact with z/OS? . 76 3.2 TSO overview . 76 3.3 ISPF overview . 80 3.4 z/OS UNIX interactive interfaces. 99 3.5 Summary .
    [Show full text]
  • DB2 Spatial Extender User's Guide and Reference
    IBM® DB2® Spatial Extender User’s Guide and Reference Ve r s i o n 8 SC27-1226-00 IBM® DB2® Spatial Extender User’s Guide and Reference Ve r s i o n 8 SC27-1226-00 Before using this information and the product it supports, be sure to read the general information under Notices. This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. You can order IBM publications online or through your local IBM representative. v To order publications online, go to the IBM Publications Center at www.ibm.com/shop/publications/order v To find your local IBM representative, go to the IBM Directory of Worldwide Contacts at www.ibm.com/planetwide To order DB2 publications from DB2 Marketing and Sales in the United States or Canada, call 1-800-IBM-4YOU (426-4968). When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 1998 - 2002. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Part 1. Introduction........1 System requirements for installing Spatial Extender............28 Chapter 1. About DB2 Spatial Extender . 3 Installing DB2 Spatial Extender for Windows ............30 The purpose of DB2 Spatial Extender ....3 Installing DB2 Spatial Extender for AIX .
    [Show full text]
  • Developing PHP Applications for IBM Database Servers
    Front cover Developing PHP Applications for IBM Data Servers Develop and deploy Web solutions using PHP and IBM data servers See PHP with DB2, Informix IDS, and Cloudscape examples Port PHP applications from MySQL to DB2 Whei-Jen Chen Holger Kirstein Daniel Krook Kiran H Nair Piotr Pietrzak ibm.com/redbooks International Technical Support Organization Developing PHP Applications for IBM Data Servers May 2006 SG24-7218-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xi. First Edition (May 2006) This edition applies to DB2 UDB Version 8.2, Informix IDS Version 10, PHP Versions 4 and 5, Apache 1.3, and Apache 2. © Copyright International Business Machines Corporation 2006. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . vii Tables . ix Notices . xi Trademarks . xii Preface . xiii The team that wrote this redbook. xiii Acknowledgement. xv Become a published author . xvi Comments welcome. xvi Chapter 1. Technology overview . 1 1.1 Web application environment . 2 1.1.1 Web application advantages . 2 1.1.2 Web application challenges . 3 1.1.3 The state of the Web application world . 4 1.1.4 Web application components . 4 1.2 IBM data servers . 5 1.2.1 DB2 data server . 5 1.2.2 Informix database server family . 8 1.2.3 Cloudscape . 10 1.3 HTTP Servers . 11 1.3.1 Apache HTTP Server . 12 1.3.2 IBM HTTP Server . 15 1.3.3 Which Web server do I choose? .
    [Show full text]
  • Database Administration Guide for SAP on IBM Db2 for Linux, UNIX, and Windows Company
    Administration Guide | PUBLIC Document Version: 2.5 – 2021-09-23 Database Administration Guide for SAP on IBM Db2 for Linux, UNIX, and Windows 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 Introduction................................................................7 1.1 Document History............................................................ 8 1.2 Naming Conventions..........................................................10 2 Administration Tools and Tasks.................................................12 2.1 Administration Tools..........................................................12 2.2 Administration Tasks..........................................................13 3 Architectural Overview.......................................................16 3.1 SAP Application Server for ABAP.................................................16 3.2 SAP Application Server for Java..................................................17 3.3 Db2 Components............................................................18 3.4 Db2 Client Connectivity........................................................19 4 User Management and Security................................................ 21 4.1 SAP System Users and Groups...................................................21 Access Authorizations for Db2 Directories and Database-Related Files....................25 4.2 Role-Based Security Concept for Database Users..................................... 27 Database Roles for
    [Show full text]