©1985-2006 All rights reserved. U.S. 1.800.423.1394 International +1.505.338.4188 Tech Support +1.505.345.5021

Slides:



Advertisements
Similar presentations
9 Creating and Managing Tables. Objectives After completing this lesson, you should be able to do the following: Describe the main database objects Create.
Advertisements

Data Definition Language (DDL)
CC SQL Utilities.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Module 12: Auditing SQL Server Environments
Dr. Kalpakis CMSC 661, Principles of Database Systems Representing Data Elements [12]
Data - Information - Knowledge
Introduction to Structured Query Language (SQL)
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Object-Oriented Application Development Using VB.NET 1 Chapter 13 Introduction to Data Access Classes and Persistence.
Organizing Data & Information
A Guide to Oracle9i1 Advanced SQL And PL/SQL Topics Chapter 9.
Chapter 14 The Second Component: The Database.
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Chapter 9 Database Management
Introduction To Databases IDIA 618 Fall 2014 Bridget M. Blodgett.
Course 6421A Module 7: Installing, Configuring, and Troubleshooting the Network Policy Server Role Service Presentation: 60 minutes Lab: 60 minutes Module.
CHAPTER 11 Large Objects. Need for Large Objects Data type to store objects that contain large amount of text, log, image, video, or audio data. Most.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Agenda Journalling More Embedded SQL. Journalling.
CHP - 9 File Structures. INTRODUCTION In some of the previous chapters, we have discussed representations of and operations on data structures. These.
1 © All rights reserved. U.S International Tech Support
Module 3: Managing Database Files. Overview Introduction to Data Structures Creating Databases Managing Databases Placing Database Files and Logs Optimizing.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
CSC271 Database Systems Lecture # 4.
Simple Database.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Database Basics   Describe the basic organization of a database.   Summarize advantage to using database software.   Define GIGO, and explain how.
MySQL. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The main subsystems in MySQL architecture The different storage.
© All rights reserved. U.S International Tech Support
© Logicalis Group Using DB2/400 effectively. Data integrity facilities Traditional iSeries database usage Applications are responsible for data integrity.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Cleansing Ola Ekdahl IT Mentors 9/12/08.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
STATE MANAGEMENT.  Web Applications are based on stateless HTTP protocol which does not retain any information about user requests  The concept of state.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
1 Biometric Databases. 2 Overview Problems associated with Biometric databases Some practical solutions Some existing DBMS.
Advanced Web 2012 Lecture 3 Sean Costain What is a Database? Sean Costain 2012 A database is a structured way of dealing with structured information.
© All rights reserved. U.S International Tech Support
Chapter 9: Advanced SQL and PL/SQL Guide to Oracle 10g.
© BASIS International Ltd. All rights reserved. U.S. Sales: Worldwide Sales:
© BASIS International Ltd. All rights reserved. U.S. Sales: Worldwide Sales:
Sql DDL queries CS 260 Database Systems.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
CIS 250 Advanced Computer Applications Database Management Systems.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Unit-8 Introduction Of MySql. Types of table in PHP MySQL supports various of table types or storage engines to allow you to optimize your database. The.
Database Systems, 8 th Edition SQL Performance Tuning Evaluated from client perspective –Most current relational DBMSs perform automatic query optimization.
Python’s Standard Library Part II Dennis Tran. Output Formatting The repr module provides a version of repr() customized for abbreviated displays of large.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
SQL Basics Review Reviewing what we’ve learned so far…….
Fundamentals of DBMS Notes-1.
ISC440: Web Programming 2 Server-side Scripting PHP 3
DATABASE MANAGEMENT SYSTEM
MANAGING DATA RESOURCES
ESRM 250/CFR 520 Autumn 2009 Phil Hurvitz
Presentation transcript:

© All rights reserved. U.S International Tech Support DBMS: Direct-Access and SQL File Types Nico Spence, Chief Marketing Officer Nick Decker, Engineering Supervisor BASIS International Ltd.

© All rights reserved. U.S International Tech Support Overview ► BASIS DBMS Direct-result-set navigation and maintenance SQL-result-set navigation and maintenance ► New DBMS Objects BBjFileInfo BBjOpenFileInfo ► IOLISTS vs. Templates ► Extended File Types ► DBMS Deployment Options

© All rights reserved. U.S International Tech Support New DBMS Objects ► BBjFileInfo Object Provides object-oriented way to access file information traditionally retrieved from the FID() and FIN() Associated with an open channel, so it provides a dynamic view of the file (methods always return current information) Retrieve information such as  Filename  Filesize  Filetype  Key information  Record information

© All rights reserved. U.S International Tech Support BBjFileInfo Demonstration

© All rights reserved. U.S International Tech Support BBjOpenFileInfo ► Programmatic access to opened file information Advisory Locking Extracted File name Locked Open Type Read Only User ID String Host Name Force Close Documentation Link

© All rights reserved. U.S International Tech Support BBjOpenFileInfo Demonstration

© All rights reserved. U.S International Tech Support Extracted Record Demonstration

© All rights reserved. U.S International Tech Support IOLISTS ► IOLISTs - legacy style of input with drawbacks Code using IOLISTs is less legible and more difficult to maintain 0100 IOLIST A$,B[ALL],C$,D,IOL= IOLIST E$,F,G$ IOLISTs are significantly slower than string templates

© All rights reserved. U.S International Tech Support String Templates ► String templates – modern input style with advantages Describes a record in a file or SQL result set  Field name  Data type (character, numeric, etc.)  Fixed or variable length  Terminators, padding characters

© All rights reserved. U.S International Tech Support String Templates ► String templates (continued) Easy access to fields Required for SQL and SELECT verb access Significantly faster than IOLISTs Code is more legible and easier to maintain Can be retrieved via  SQL  GET TABLE INFO  Text area in VKEYED File

© All rights reserved. U.S International Tech Support Extended File Types ► XKEYED files ► JKEYED files ► VKEYED files ► ESQL Files

© All rights reserved. U.S International Tech Support XKEYED File Type ► BBj offers more file types XKEYED files  Unlimited number of keys  Unlimited number of key segments  Unlimited key length  Smaller than MKEYED files  Faster record iteration

© All rights reserved. U.S International Tech Support XKEYED Demonstration

© All rights reserved. U.S International Tech Support XKEYED Demonstration

© All rights reserved. U.S International Tech Support JKEYED File Type ► BBj offers more file types (continued) JKEYED Files (Journaled Files)  All file modifications are: ♦ Atomic – all operations completely succeed or completely fail ♦ Logged to automatically restore a potentially corrupt file to its last known good state

© All rights reserved. U.S International Tech Support JKEYED File Type ► BBj offers more file types (continued) JKEYED Files (Journaled Files)  Transaction Tracking ♦ Allows the programmer to define a set of operations on multiple files to be treated as a single operation ♦ Allows programmer to commit or rollback the entire operation

© All rights reserved. U.S International Tech Support JKEYED File Type ► BBj offers more file types (continued) JKEYED Files (Journaled Files)  True variable length records ♦ Perfect for BLOBs (Binary Large Objects) to store - Images - Audio - Video - Complete documents

© All rights reserved. U.S International Tech Support VKEYED File Type ► BBj offers more file types (continued) VKEYED Files  True variable length records ♦ Reduced disk usage ♦ Perfect for BLOBs (Binary Large Objects) to store - Images - Audio - Video - Complete documents

© All rights reserved. U.S International Tech Support VKEYED File Type ► BBj offers more file types (continued) VKEYED Files (continued)  Dynamic keys - add, remove, and change keys  Named keys - reduce maintenance coding  Text area - write string templates in the header

© All rights reserved. U.S International Tech Support VKEYED File Type ► BBj offers more file types (continued) VKEYED Files (continued) REM Create a VKEYED file REM 64 is the expected average record size erase p_file$,err=*next vkeyed p_file$,[1:1:6],[2:1:3],[3:1:2:"D"],0,64

© All rights reserved. U.S International Tech Support VKEYED Details Demonstration

© All rights reserved. U.S International Tech Support BBjFileInfo ► BBjFileInfo Object (continued) Special VKEYED functionality  Add keys  Remove keys  Change existing keys  Set key names  Set associated text

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types

© All rights reserved. U.S International Tech Support VKEYED File Size Demonstration

© All rights reserved. U.S International Tech Support VKEYED File Speed Consideration ► Disk Speed ► Network Speed ► File structure ► Differences measured in milliseconds

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types ► BBj offers more file types (continued) ESQL Files  Exclusively for SQL access; not a BBj file  Created via SQL ‘Create Table’ syntax ♦ Configured in the Database Properties section of the Enterprise Manager

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types ► BBj offers more file types (continued) ESQL File Features  Contains dictionary information in the file  Supports variable length records  Supports dynamic index creation  Offers true SQL data types ♦ Numeric values with a precision and scale ♦ Dates & Timestamps - Stored as a native type - No longer require mapping to a column extension

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types ► BBj offers more file types (continued) ESQL File Features (continued)  Optimizations ♦ Performance gains - Faster inserts - Faster data retrieval ♦ Able to read a single column instead of always reading a whole row - No longer byte array based

© All rights reserved. U.S International Tech Support BASIS DBMS – New File Types ► BBj offers more file types (continued) ESQL File Features (continued)  Future enhancement possibilities include ♦ Identity columns (auto increment) ♦ Column and row constraints - Foreign key relations - Not NULL constraint - Default values ♦ Optional Case-Sensitivity ♦ Support for advanced ALTER TABLE syntax

© All rights reserved. U.S International Tech Support ESQL Demonstration

© All rights reserved. U.S International Tech Support BBj File Type Comparisons

© All rights reserved. U.S International Tech Support DBMS Deployment Options ► Single-tier Thin Client Interpreter DBMS ► Two-tier Fat Client on different machines DMS on separate machine ► Three-tier Thin Client on different machines and the Interpreters running on the same machine with the DBMS Thin Client of different machines connecting to a centralized interpreter server that connects to a separate DBMS server

© All rights reserved. U.S International Tech Support DBMS Redundant Deployment Options ► Load-balanced interpreter servers connecting to: Storage area network SAN connected to RAID High-availability servers Highly Recoverable File System Journaled File System

© All rights reserved. U.S International Tech Support Summary ► BASIS DBMS Direct-result-set navigation and maintenance SQL-result-set navigation and maintenance ► New DBMS Objects BBjFileInfo BBjOpenFileInfo ► IOLISTS vs. Templates ► Extended File Types ► DBMS Deployment Options