JTLS-GO 6.0 PostgreSQL Information

Slides:



Advertisements
Similar presentations
Oracle to MySQL Database Migration SQLWays - Migration Software Presentation Copyright (c) Ispirer Systems Ltd. All Rights Reserved.
Advertisements

DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Database System Concepts and Architecture
IT Project Management, Third Edition Appendix A1 Appendix A: Guide to Using Microsoft Project 2002.
Advantage Data Dictionary. agenda Creating and Managing Data Dictionaries –Tables, Indexes, Fields, and Triggers –Defining Referential Integrity –Defining.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Technical Architectures
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
IS4401 Project Technology Issues. Introduction This seminar covers Databases When to use a Database What Database to use Development Tools Visual Studio.
SaaS, PaaS & TaaS By: Raza Usmani
Passage Three Introduction to Microsoft SQL Server 2000.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
Introduction to Database using Microsoft Access 2013 Part 1 November 4, 2014.
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
SQL Server to MySQL Database Migration SQLWays - Migration Software Presentation March 2009 Copyright (c) Ispirer Systems Ltd.
Oracle8 JDBC Drivers Section 2. Common Features of Oracle JDBC Drivers The server-side and client-side Oracle JDBC drivers provide the same basic functionality.
Database Design for DNN Developers Sebastian Leupold.
Data Administration & Database Administration
4 Copyright © 2009, Oracle. All rights reserved. Designing Mappings with the Oracle Data Integration Enterprise Edition License.
Jordan Bruce I07 – Open Source and IDS Major Canadian Retail Drugstore’s Prescription For Success Tuesday 3 rd October :15 – 16:15.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
OpenACS: Porting Oracle Applications to PostgreSQL Ben Adida
Database Change Management One solution to an often complex problem Kevin Hurwitz Headspring Systems
Chris Wright Senior Systems Engineer, Lucity MOVING TO ONE DATABASE FOR SQL SERVER.
Team Members Team Members Tim Geiger Joe Hunsaker Kevin Kocher David May Advisor Dr. Juliet Hurtig November 8, 2001.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
CS779 Term Project Steve Shoyer Section 5 December 9, 2006 Week 6.
Enterprise Database Systems Introduction to SQL Server Dr. Georgia Garani Dr. Theodoros Mitakos Technological.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Spacewalk + Fedora = 42. What is Spacewalk? A systems management platform designed to provide complete lifecycle management of the operating system and.
Introduction The concept of a web framework originates from the basic idea that every web application obtains its foundations from a similar set of guidelines.
JTLS – Global Operations JTLS-GO
Introduction to Oracle Forms Developer and Oracle Forms Services
Introduction ITEC 420.
Building Enterprise Applications Using Visual Studio®
Databases (CS507) CHAPTER 2.
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Chapter 1 Introduction.
آشنایی با نرم افزار Microsoft Access
By: Raza Usmani SaaS, PaaS & TaaS By: Raza Usmani
What are they? The Package Repository Client is a set of Tcl scripts that are capable of locating, downloading, and installing packages for both Tcl and.
PGT(CS) ,KV JHAGRAKHAND
N-Tier Architecture.
Prepared by: Assistant prof. Aslamzai
Introduction to Oracle Forms Developer and Oracle Forms Services
Introduction to Oracle Forms Developer and Oracle Forms Services
Appendix A: Guide to Using Microsoft Project 2002
Created by Kamila zhakupova
A technical look at new capabilities and features
Chapter 9: The Client/Server Database Environment
Multitier Architecture, MySQL & PHP
PHP / MySQL Introduction
Migrating Oracle Forms Using Oracle Application Express
Database Testing in Azure Cloud
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
DAT381 Team Development with SQL Server 2005
Emerging technologies-
SSDT and Database Project Basics
Developing and testing enterprise Java applications
Dynamic WAN Selection Optimize Your Business & Cloud Networks
Appendix A: Guide to Using Microsoft Project 2002
UFCEUS-20-2 Web Programming
Mark Quirk Head of Technology Developer & Platform Group
Web Application Development Using PHP
Preparing for the Windows 8.1 MCSA
Presentation transcript:

JTLS-GO 6.0 PostgreSQL Information Zafer AKTAN ROLANDS & ASSOCIATES Corporation 1

Introduction PostgreSQL is a powerful, open source object-relational database system. It has more than 30 years of active development and a proven architecture. It runs on all major operating systems, including Linux and Windows. It is fully ACID compliant to ensure data integrity. PostgreSQL has full support for foreign keys, joins, views, triggers, functions and stored procedures (in version 11 release). It includes most SQL:2011 data types (as of the version 11 release). It has native programming interfaces for C/C++, Java, .Net, Python, Perl, ODBC, among others and its own PL/pgSQL. It supports spatial data (PostGIS) and binary large objects. ROLANDS & ASSOCIATES Corporation Sept. 2019 2

Introduction (continued) The PostgreSQL license gives users the freedom to use, modify and distribute PostgreSQL in any form they like, open or closed source. PostgreSQL is also a development platform upon which to develop in-house, web, or commercial software products that require a capable, powerful RDBMS. Today, PostgreSQL has a DISA STIG available allowing it be deployed in secure environments (https://public.cyber.mil/stigs/downloads/?_dl_facet_stigs=app- security%2Cdatabase) ROLANDS & ASSOCIATES Corporation Sept. 2019 3

Oracle RDBMS Utilization in JTLS-GO 5.1 We currently utilize Oracle RDBMS in two separate segments in JTLS-GO 5.1: To support JTLS-GO scenario building process, using the Database Development System (DDS), prior to the GAME start. To support Scenario Data Repository (SDR) clients, such as After-Action Review (AAR) client, during the GAME execution. ROLANDS & ASSOCIATES Corporation Sept. 2019 4

JTLS-GO Database Development System (DDS) ROLANDS & ASSOCIATES Corporation Sept. 2019 5

JTLS-GO Scenario Data Repository (SDR) Clients ROLANDS & ASSOCIATES Corporation Sept. 2019 6

Oracle Express Edition (XE) Limitations For JTLS-GO SDR Clients The freely available Oracle Express Edition (also known as 11gR2 XE) allows 11Gb of user data and is currently sufficient in supporting the JTLS-GO scenario building process with DDS. However, the 11Gb of user data limitation of the free Oracle XE, is not sufficient for utilizing the JTLS-GO SDR clients, primary the AAR client. To support the AAR client, the Oracle Standard Edition TWO (SE2) version should be used instead.   Oracle Standard Edition TWO (SE2) license can be expensive (especially on virtualized environments). PostgreSQL is an excellent alternative to Oracle for both JTLS-GO 6.0 DDS and SDR applications. ROLANDS & ASSOCIATES Corporation Sept. 2019 7

Oracle to PostgreSQL Migrations The official technical term in database literature from moving from one database server product to another is called "migration". The cost is the most obvious reason and also the benefit of migrating from Oracle RDBMS to PostgreSQL. The PostgreSQL License, which is like a combination of BSD and MIT open source licenses, gives users the freedom to use, modify and distribute. Most commercial relational databases are including newer Enterprise Level features in their high-end products only, including Oracle. Increasing popularity of the Cloud and virtualization technologies, in support of Platform as a Service (PaaS) or Infrastructure as a Service (IaaS) software deployments, also brought different licensing challenges, especially when it comes to Oracle Software. ROLANDS & ASSOCIATES Corporation Sept. 2019 8

Some Benefits of Migrating to PostgreSQL The most obvious benefit of migrating to PostgreSQL is cost. The ability to create technical solutions based on need not licensing. Avoid deploy things sub-optimally to save money on licenses instead of the right technical solution. The case when moving your applications to virtualized servers and to Cloud based services. Updating to newer hardware because the newer servers all have more occupied sockets and cores than the previous generation. ROLANDS & ASSOCIATES Corporation Sept. 2019 9

Oracle to PostgreSQL Migration Challenges for JTLS-GO 5.1 to 6.0 The SDC and OEC database tables are mutually exclusive and with no relationships and no other specific database objects other than the tables. The AARC tables have some child fields to a generic Object Lookup table, has some sequences, couple triggers, etc. Also, the bitmap indexes (a capability only available in the Enterprise Edition of Oracle RDBMS) can be replaced with similar capability in PostgreSQL. The Oracle Pro*C code is the most challenging part of the SDR migration from Oracle to PostgreSQL - given there is no Pro*C in PostgreSQL. However, there is a way to write embedded SQL statements in C code, which needs to be investigated and implemented for SDC, OEC and AARC client programs. PostgreSQL provides an extensive C Language API to write embedded SQL with C programs. ROLANDS & ASSOCIATES Corporation Sept. 2019 10

Oracle to PostgreSQL Migration Challenges for JTLS-GO 5.1 to 6.0 (Continued) The JTLS-GO Database Development System (DDS) will be the most challenging part of the Oracle to PostgreSQL migration project, given that our database schema has become more and more complex (since version 4.0 of JTLS). We do have stored procedures, for renaming, for populating certain child tables. We do have flashback version queries, utilized heavily by the GlassFish middle tier API's which are the foundation of data synchronization among DDSC's. We need to find an alternative solution applicable when PostgreSQL is used. We do have custom database triggers to support populating and managing dynamic lookup tables such as the UNIT table or the TARGET tables. We do have custom triggers in conjunction with custom stored procedures to support the renaming of the named primary key column values - such as unit names, aircraft class names, etc. ROLANDS & ASSOCIATES Corporation Sept. 2019 11

Oracle to PostgreSQL Migration Challenges for JTLS-GO 5.1 to 6.0 (Continued) We do have custom triggers to manage other Foreign Key (FK) related checks, etc. in our DDS database schema. In addition to all the custom database objects in our DDS Oracle database schema, we do have Oracle imposed restrictions such as not being able to have "ON UPDATE CASCADE" keys – which does not exist in Oracle but does exist in PostgreSQL database, which will allow us to do the renaming in a different way, and by doing so - impacting our existing stored procedures, triggers, etc. We also do have many shell scripts that utilizes Oracle database specific utilities, such as sqlplus and SQL*Loader which allows us to load ascii JTLS-GO scenario data files into related Oracle database tables. All of those scripts need to be revisited, modified to accommodate PostgreSQL database server related alternatives. ROLANDS & ASSOCIATES Corporation Sept. 2019 12

Oracle to PostgreSQL Migration Challenges for JTLS-GO 5.1 to 6.0 (Continued) Some of the capabilities in our Java code such as parsing the tnsnames.ora file, which would not exist under PostgreSQL implementation, needs to be modified as well. All the GlassFish related API's need to be revisited to ensure that they do work against the PostgreSQL database. Our scenario data modification process from an older JTLS-GO version to the current JTLS-GO version, also needs to be modified based on the new PostgreSQL requirements / restrictions, instead of the legacy use of Oracle. Using a tool like ora2pg (http://ora2pg.darold.net/index.html) significantly helped us during the migration. ROLANDS & ASSOCIATES Corporation Sept. 2019 13

(A project by AWS PostgreSQL Team) PostgreSQL by BigSQL (A project by AWS PostgreSQL Team) A true container Open Source solution developed and maintained by a team of AWS employees. PostgreSQL 11.5 (or higher 11 version) client environment will be included under the JTLS-GO 6.0 version Installation is much simpler compared to the repository based alternatives.      python -c "$(curl -fsSL https://s3.amazonaws.com/pgcentral/install.py)" 100 % pure PostgreSQL with no 3rd party software. Detailed information available from http://www.bigsql.org/ Installation details and demo will be available at our Simulation Center. ROLANDS & ASSOCIATES Corporation Sept. 2019 14

Questions ROLANDS & ASSOCIATES Corporation Sept. 2019 15 15