Максим Грамин КРОК. В поисках идеального инструмента

Size: px
Start display at page:

Download "Максим Грамин КРОК. В поисках идеального инструмента"

Transcription

1 Максим Грамин КРОК В поисках идеального инструмента

2 Disclaimer Личное мнение на личном опыте

3 Немного о себе

4 Немного о себе

5 Немного о себе

6 Немного о себе

7 Немного о себе

8 Одинаковые проблемы Версионность метаданных Версионность данных Совместная разработка Выбор инструментов

9 Что будет в докладе Анамнез средств разработки БД Поиск путей решения Анализ одного из вариантов

10 Чего не будет 100%-го готового решения «Silver Bullet» Рекламы Антирекламы

11 Основные инструменты разработки БД Version Control Dump tools Migration tools CLI GUI IDE

12 Version Control

13 Version Control Кто удалил мой индекс...??

14 Version Control Необходимо использовать

15 Version Control Необходимо использовать Сложно

16 Version Control Необходимо использовать Сложно Все используют по разному

17 Version Control Необходимо использовать Сложно Все используют по разному только инкремент (миграции) снапшот БД на дату на уровне модели (ORM, db designer etc)

18 Version Control Необходимо использовать Сложно Все используют по разному Где-то вообще не используют

19

20

21

22

23

24

25

26

27

28 Проблемы Не все используют Не все используют правильно Не понятно как правильно

29 DB Dump Tools

30 Dump tools pg_dump mysqldump dbms_datapump, export/import cqlsh - describe schema

31 Dump tools Мощный и крутой инструмент

32 Dump tools Мощный и крутой инструмент Администрирование

33 Dump tools Мощный и крутой инструмент Администрирование Разработка

34 Dump tools Я думал дамп с прода будет поменьше!!

35 Command Line Utilities psql sqlplus mysql cqlsh mongo shell

36 Migration tools Liquibase Flyway Phinx Cassandra Migration

37 GUI IDE

38 Кнопка просмотра плана запроса должна быть где то здесь!.

39 GUI IDE

40 GUI IDE

41 GUI IDE

42 pgadmin DevCenter dbforge MySQL Workbanch Robomongo Navicat phpmyadmin Neo4j browser Toad IBExpert HareDB HeidiSQL SQL Developer PLSQL Developer Dbeaver

43 SQL, *QL, JDBC, ODBC, ADO.NET, OCI, etc GUI IDE

44 SQL (DML, DDL, DCL, TCL) SQL, *QL, JDBC, ODBC, ADO.NET, OCI, etc GUI IDE

45

46 Проблемы «All inclusive»

47 Проблемы «All inclusive» Вторичность кода

48 Проблемы «All inclusive» Вторичность кода Платные/закрытые

49 Проблемы «All inclusive» Вторичность кода Платные/закрытые Расширяемость

50 Проблемы «All inclusive» Вторичность кода Платные/закрытые Расширяемость Интеграция

51 Проблемы «All inclusive» Интеграция Вторичность кода Платформозависимость Платные/закрытые Расширяемость

52 Проблемы «All inclusive» Интеграция Вторичность кода Платформозависимость Платные/закрытые Много Расширяемость

53 Итого «Polyglot Persistence» «Лихие 90-е» «Импортозамещение»

54 «критикуешь предлагай»

55 Как бы он мог выглядеть??

56 Как бы он мог выглядеть?? Полностью конфигурируемый Прозрачный (transparent) Любой flow (code first, db first, model first)

57 «EVERYTHING AS A CODE»

58 «Everything as a Code»

59 «Everything as a Code»

60 «Everything as a Code»

61 «Everything as a Code»

62 «Everything as a Code»

63 И причем тут базы данных?

64 «Everything as a Code»

65 «Everything as a Code» Исходный код объектов БД

66 «Everything as a Code» Исходный код объектов БД Код манипуляции объектами БД

67 «Everything as a Code» Исходный код объектов БД Код манипуляции объектами БД Структура

68 «Everything as a Code» Исходный код объектов БД Код манипуляции объектами БД Структура Шаблоны

69 «Everything as a Code». SQL. Postgresql select, from where and and t.table_schema as "schema" t.table_name as "table" information_schema.tables t t.table_type = 'BASE TABLE' t.table_schema like '$schema' t.table_name like '$table'

70 «Everything as a Code». SQL. Oracle select, from where and t.owner as "schema" t.table_name as "table" all_tables t t.owner like '$schema' t.table_name like '$table'

71 «Everything as a Code». SQL. Cassandra select, from where and keyspace_name as "schema" columnfamily_name as "table" system.schema_columnfamilies keyspace_name = '$schema' columnfamily_name = '$table'

72 «Everything as a Code». SQL alter table persons add column (age number); alter table persons disable all triggers; drop table persons; exec dbms_stats.gather_stats('hr', 'persons');

73 «Everything as a Code». SQL alter database open read only; alter system flush buffer_cache; alter tablespace users offline; alter session set sql_trace = true;

74 «Everything as a Code». Структура <type name="schema"> <type name="table"> <type name="column"/> <type name="pk"/> <type name="index"/> </type> <type name="view"/> <type name="procedure"/> </type>

75 «Everything as a Code». Структура <type name="schema"> <type name="table"> <type name="column"/> <type name="pk"/> <type name="index"/> </type> <type name="view"/> <type name="procedure"/> </type>

76 «Everything as a Code». Структура <type name="schema"> <type name="table"> <type name="column"/> <type name="pk"/> <type name="index"/> </type> <type name="view"/> <type name="procedure"/> </type>

77 «Everything as a Code». Files <database_1> <schema_1> <table_1> <ddl.sql> <pk.sql> <indexes.sql> <data.sql> <test_data.sql> <views> <table_1_vw.sql> <procedues> <get_all_data_prc.sql>...

78 «Everything as a Code». Шаблоны

79 «Everything as a Code». Rest

80 «Everything as a Code». Rest Объекты БД как ресурсы Человекопонятный Простая интеграция Расширяемый Прозрачное кеширование

81 JDBC URI REST API

82 JDBC URI REST API

83 JDBC URI REST API

84 JDBC URI REST API

85 JDBC URI REST API

86 JDBC URI REST API

87 REST API JDBC URI REST API

88 JDBC URI REST API

89 URI schema

90 URI schema type/resource_path method

91 URI schema type/resource_path method

92 URI schema type/resource_path method schema

93 URI schema type/resource_path method schema table

94 URI schema type/resource_path method schema table idx

95 URI schema type/resource_path method schema table idx etc

96 URI schema type/resource_path method schema table idx etc

97 URI schema type/resource_path method schema table idx etc /hr

98 URI schema type/resource_path method schema table idx etc /hr /hr.persons

99 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx

100 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc

101 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc

102 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc -X GET

103 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc -X GET -X POST

104 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc -X GET -X POST -X DELETE

105 URI schema type/resource_path method schema table idx etc /hr /hr.persons /hr.persons.prs_idx etc -X GET -X POST -X DELETE etc

106 curl X GET api/index/bookings.tickets*.*_idx select,, from where and and i.schemaname as "schema" i.tablename as "table" i.indexname as "index" pg_catalog.pg_indexes i i.schemaname like 'bookings' i.tablename like 'tickets%' i.indexname like '%_idx'

107 curl X GET api/index/bookings.tickets*.*_idx select,, from where and and i.schemaname as "schema" i.tablename as "table" i.indexname as "index" pg_catalog.pg_indexes i i.schemaname like 'bookings' i.tablename like 'tickets%' i.indexname like '%_idx'

108 curl X GET api/index/bookings.tickets*.*_idx select,, from where and and i.schemaname as "schema" i.tablename as "table" i.indexname as "index" pg_catalog.pg_indexes i i.schemaname like 'bookings' i.tablename like 'tickets%' i.indexname like '%_idx'

109 curl X GET api/index/bookings.tickets*.*_idx select,, from where and and i.schemaname as "schema" i.tablename as "table" i.indexname as "index" pg_catalog.pg_indexes i i.schemaname like 'bookings' i.tablename like 'tickets%' i.indexname like '%_idx'

110 curl X GET api/index/bookings.tickets*.*_idx select,, from where and and i.schemaname as "schema" i.tablename as "table" i.indexname as "index" pg_catalog.pg_indexes i i.schemaname like 'bookings' i.tablename like 'tickets%' i.indexname like '%_idx'

111 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

112 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

113 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

114 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

115 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

116 GET index/bookings.tickets*.*_idx <bookings> <tables> <tickets> <indexes> <ticket_no_idx.sql> <ticket_passid_idx.sql> <ticket_bookref_idx.sql> <ticket_flights> <indexes> <tcktflights_no_idx.sql> <tcktflights_flid_idx.sql> <idx_tcktflights_no.sql>...

117 Шаблоны

118 Шаблон CREATE TABLE "${table.schema}"."${table.name}"( <#list table.columns as column> "${column.name}" ${column.type} ${column.size}, </#list> ); CREATE TABLE "HR"."EMPLOYEES"( "EMPLOYEE_ID" NUMBER(6,0), "FIRST_NAME" VARCHAR2(20), "LAST_NAME" VARCHAR2(25), " " VARCHAR2(25), "PHONE_NUMBER" VARCHAR2(20), "HIRE_DATE" DATE, "JOB_ID" VARCHAR2(10), "SALARY" NUMBER(8,2));

119 curl X GET table/hr.*/relations select, from join join where s.relname as master_table t.relname as slave_table pg_catalog.pg_constraint c pg_catalog.pg_class s on s.oid = c.confrelid pg_catalog.pg_class t on t.oid = c.conrelid c.contype = 'f' and s.relkind = 'r' digraph DbObjectsRelations { <#list tables as table> "${table.master_table}" -> "${table.slave_table}" </#list> }

120 curl X GET table/hr.*/relations digraph DbObjectsRelations { "aircrafts" -> "flights" "airports" -> "flights" "airports" -> "flights" "aircrafts" -> "seats" "flights" -> "ticket_flights" "tickets" -> "ticket_flights" "bookings" -> "tickets" "ticket_flights" -> "boarding_passes" }

121 curl X POST -H "Accept: image/png" table/hr.*/relations

122

123 «предлагаешь делай»

124 Ядро

125

126 Конфигурации

127

128

129

130 «Reader»

131 «Reader»

132 «Reader» SqlReader GitReader JdbcReader HgReader FileSystemReader SvnReader RestReader etc

133 «Generator»

134 «Generator» PlainTextGenerator FileBaseGenerator SqlGenerator

135 «Aggregator» TextAggregator JsonAggregator XmlAggregator HtmlAggregator ZipAggregator

136

137 Dockerfile FROM mgramin/sql-boot ADD conf conf/postgresql RUN curl

138

139

140

141

142

143 Собственная конфигурация

144

145 Перспективы Language Server Protocol

146 Выводы Everything As a Code Transparency Open Source Community

147 Вопросы? github.com/mgramin/sql-boot

Pl Sql Copy Table From One Schema To Another

Pl Sql Copy Table From One Schema To Another Pl Sql Copy Table From One Schema To Another I know how to do this using MS SQL Server. you want to copy a table from one schema to another, or from one database to another, and keep the same table name.

More information

Database Foundations. 6-4 Data Manipulation Language (DML) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-4 Data Manipulation Language (DML) Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-4 Roadmap You are here Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control

More information

Edition-Based Redefinition

Edition-Based Redefinition Edition-Based Redefinition Janina Patolla Trivadis AG, Basel Basel Baden Bern Brugg Lausanne Zurich Düsseldorf Frankfurt/M. Freiburg i. Br. Hamburg Munich Stuttgart Vienna Introduction Upgrading critical

More information

Copy Data From One Schema To Another In Sql Developer

Copy Data From One Schema To Another In Sql Developer Copy Data From One Schema To Another In Sql Developer The easiest way to copy an entire Oracle table (structure, contents, indexes, to copy a table from one schema to another, or from one database to another,.

More information

Sample Database Table Schemas 11g Release 2 Pdf

Sample Database Table Schemas 11g Release 2 Pdf Sample Database Table Schemas 11g Release 2 Pdf Oracle Database Concepts, 11g Release 2 (11.2). E40540- About Relational Databases. 2-7. Example: CREATE TABLE and ALTER TABLE Statements. Users of Oracle

More information

SQL Commands & Mongo DB New Syllabus

SQL Commands & Mongo DB New Syllabus Chapter 15 : Computer Science Class XI ( As per CBSE Board) SQL Commands & Mongo DB New Syllabus 2018-19 SQL SQL is an acronym of Structured Query Language.It is a standard language developed and used

More information

Data Modeling Diagram Open Source Tool Oracle

Data Modeling Diagram Open Source Tool Oracle Data Modeling Diagram Open Source Tool Oracle Data Model Diagram Visualizer. in the original source tool. Figure 3 of SPARC International, Inc. UNIX is a registered trademark licensed through X/Open. Navicat

More information

Security Benefits of Implementing Database Vault. -Arpita Ghatak

Security Benefits of Implementing Database Vault. -Arpita Ghatak Security Benefits of Implementing Database Vault -Arpita Ghatak Topics to be covered Why Do we need Database Vault? The Benefits Components of Database Vault Oracle Database access control Components Other

More information

1. Data Model, Categories, Schemas and Instances. Outline

1. Data Model, Categories, Schemas and Instances. Outline Chapter 2: Database System Concepts and Architecture Outline Ramez Elmasri, Shamkant B. Navathe(2016) Fundamentals of Database Systems (7th Edition),pearson, isbn 10: 0-13-397077-9;isbn-13:978-0-13-397077-7.

More information

Alter Change Default Schema Oracle Sql Developer

Alter Change Default Schema Oracle Sql Developer Alter Change Default Schema Oracle Sql Developer Set default schema in Oracle Developer Tools in Visual STudio 2013 any other schema's. I can run alter session set current_schema=xxx Browse other questions

More information

ISV Migrating to Oracle9i/10g

ISV Migrating to Oracle9i/10g ISV Migrating to Oracle9i/10g Methodology, Tips & Tricks and Resources Tom Laszewski Technical Director Partner Technical Services Server Technologies Agenda Typical Migration Projects Migration Methodology

More information

Oracle Associate User With Schema Export Full

Oracle Associate User With Schema Export Full Oracle Associate User With Schema Export Full Another way to manage user security is to assign users privileges and roles. You can grant a user unlimited access to all tablespaces of a database with one

More information

Sql Server 2005 Create Script To Copy Database Schema And All The Objects

Sql Server 2005 Create Script To Copy Database Schema And All The Objects Sql Server 2005 Create Script To Copy Database Schema And All The Objects watch the online video course sql server triggers stored procedures and functions sql server 2005 create script to copy database

More information

Manipulating Data. Copyright 2004, Oracle. All rights reserved.

Manipulating Data. Copyright 2004, Oracle. All rights reserved. Manipulating Data Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Describe each data manipulation language (DML) statement

More information

Product Review: James F. Koopmann Pine Horse, Inc. SoftTree s SQL Assistant. Product Review: SoftTree s SQL Assistant

Product Review: James F. Koopmann Pine Horse, Inc. SoftTree s SQL Assistant. Product Review: SoftTree s SQL Assistant Product Review: James F. Koopmann Pine Horse, Inc. SoftTree s SQL Assistant Introduction As much as database vendors would like us to believe that databases are easy to use, databases in fact become more

More information

Mysql Query Browser Export Table Structure

Mysql Query Browser Export Table Structure Mysql Query Browser Export Table Structure such as MySQL Administrator and MySQL Query Browser, allowing you to configure, Default Schema: Enter the name of your database. MySQL Workbench can export a

More information

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course.

Assignment 6. This lab should be performed under the Oracle Linux VM provided in the course. Assignment 6 This assignment includes hands-on exercises in the Oracle VM. It has two Parts. Part 1 is SQL Injection Lab and Part 2 is Encryption Lab. Deliverables You will be submitting evidence that

More information

Schema Management with Flyway

Schema Management with Flyway Schema Management with Flyway Scott Mead scottm@openscg.com Sr. Architect OpenSCG & BigSQL PGConf US 2017 1 Strategies Single File Application Managed (ORM) Migration 2 Single File 3 Single File Easiest

More information

ОБЪЕКТНО- ОРИЕНТИРОВАННОЕ ПРОГРАММИРОВАНИЕ. Лекция 1 / г.

ОБЪЕКТНО- ОРИЕНТИРОВАННОЕ ПРОГРАММИРОВАНИЕ. Лекция 1 / г. ОБЪЕКТНО- ОРИЕНТИРОВАННОЕ ПРОГРАММИРОВАНИЕ Лекция 1 / 04 04.03.2019 г. VIRTUAL DESTRUCTOR class Shape{ int x, y; Shape(int x, int y); ~Shape(){ printf("dtor shape!\n"); class Circle: public Shape{ int

More information

Click to edit H06the title text format

Click to edit H06the title text format Click to edit H06the title text format Click to edit the outline text format Fourth Outline Level Fifth Stefan Outline Level Hummel Sixth IBM Outline Germany Level Competitive Database Migration to Informix

More information

Sql 2008 Copy Tables Structure And Database To Another

Sql 2008 Copy Tables Structure And Database To Another Sql 2008 Copy Tables Structure And Database To Another Copy NAV Database Structure to another Database along with Data in SQL @tablevar table(name varchar(300)) declare @columntablevar table(column_name

More information

Introduction to MySQL. Database Systems

Introduction to MySQL. Database Systems Introduction to MySQL Database Systems 1 Agenda Bureaucracy Database architecture overview Buzzwords SSH Tunneling Intro to MySQL Comments on homework 2 Homework #1 Submission date is on the website..

More information

Relational databases and SQL

Relational databases and SQL Relational databases and SQL Relational Database Management Systems Most serious data storage is in RDBMS Oracle, MySQL, SQL Server, PostgreSQL Why so popular? Based on strong theory, well-understood performance

More information

Карта «Кофейные регионы Эфиопии» Коллеги из Trabocca любезно предоставили нам карту кофейных регионов Эфиопии, за что

Карта «Кофейные регионы Эфиопии» Коллеги из Trabocca любезно предоставили нам карту кофейных регионов Эфиопии, за что 19 Февраля 2019 Карта «Кофейные регионы Эфиопии» Коллеги из Trabocca любезно предоставили нам карту кофейных регионов Эфиопии, за что большое им спасибо! Целью создания карты была ощутимая прослеживаемость

More information

MySQL Introduction. By Prof. B.A.Khivsara

MySQL Introduction. By Prof. B.A.Khivsara MySQL Introduction By Prof. B.A.Khivsara Note: The material to prepare this presentation has been taken from internet and are generated only for students reference and not for commercial use. Outline Design

More information

MongoDB An Overview. 21-Oct Socrates

MongoDB An Overview. 21-Oct Socrates MongoDB An Overview 21-Oct-2016 Socrates Agenda What is NoSQL DB? Types of NoSQL DBs DBMS and MongoDB Comparison Why MongoDB? MongoDB Architecture Storage Engines Data Model Query Language Security Data

More information

BIS Database Management Systems.

BIS Database Management Systems. BIS 512 - Database Management Systems http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database systems concepts Designing and implementing a database application Life of a Query

More information

MIS Database Systems.

MIS Database Systems. MIS 335 - Database Systems http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database systems concepts Designing and implementing a database application Life of a Query in a Database

More information

Data Manipulation Language

Data Manipulation Language Manipulating Data Objectives After completing this lesson, you should be able to do the following: Describe each data manipulation language (DML) statement Insert rows into a table Update rows in a table

More information

Oracle Sql Describe Schema Query To Find Table

Oracle Sql Describe Schema Query To Find Table Oracle Sql Describe Schema Query To Find Table And, notably, Oracle still doesn't support the information schema. Views in the /d (object_name) will describe the schema of the table or view. Not sure how.

More information

Oracle Streams: Step by Step

Oracle Streams: Step by Step Oracle Streams: Step by Step What is Oracle Streams? What is Advanced Queues (AQ)? What is Change Data Capture (CDC)? What is a Logical Change Record (LCR)? How Streams Works How do you configure Streams,

More information

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer, A Access control, 165 granting privileges to users general syntax, GRANT, 170 multiple privileges, 171 PostgreSQL, 166 169 relational databases, 165 REVOKE command, 172 173 SQLite, 166 Aggregate functions

More information

Institute of Aga. Network Database LECTURER NIYAZ M. SALIH

Institute of Aga. Network Database LECTURER NIYAZ M. SALIH 2017 Institute of Aga Network Database LECTURER NIYAZ M. SALIH Database: A Database is a collection of related data organized in a way that data can be easily accessed, managed and updated. Any piece of

More information

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-3 Roadmap You are here Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control

More information

SQL language. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)

SQL language. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) SQL language Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 SQL - Structured Query Language SQL is a computer language for communicating with DBSM Nonprocedural (declarative) language What

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2018

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2018 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2018 CAUTION! *This class is NOT a recitation* We will NOT discuss the course material relevant to the exam and homework assignment We have

More information

How To Change Existing Table Schema In Sql Server 2008

How To Change Existing Table Schema In Sql Server 2008 How To Change Existing Table Schema In Sql Server 2008 Topic Status: Some information in this topic is preview and subject to change Applies to: SQL Server (SQL Server 2008 through current version), Azure

More information

How To Create New Schema In Oracle 10g Using Toad

How To Create New Schema In Oracle 10g Using Toad How To Create New Schema In Oracle 10g Using Toad Chapter 2: Toad Without Code Data Pump is an import/export utility added in Oracle 10g. New Export, Select to create a new export parameter file. The first

More information

New ways to migrate from Oracle

New ways to migrate from Oracle New ways to migrate from Oracle Laurenz Albe laurenz.albe@cybertec.at Cybertec Prague PostgreSQL Developers Day 2018 The problem Database migration consists of several parts: Migration of object definitions

More information

Oracle 1Z Oracle Database 11g SQL Fundamentals I. Download Full Version :

Oracle 1Z Oracle Database 11g SQL Fundamentals I. Download Full Version : Oracle 1Z1-051 Oracle Database 11g SQL Fundamentals I Download Full Version : https://killexams.com/pass4sure/exam-detail/1z1-051 QUESTION: 238 You need to perform these tasks: - Create and assign a MANAGER

More information

Introduction to MySQL. Database Systems

Introduction to MySQL. Database Systems Introduction to MySQL Database Systems 1 Agenda Bureaucracy Database architecture overview SSH Tunneling Intro to MySQL Comments on homework 2 Homework #1 Submission date is on the website.. (No late arrivals

More information

Táblák tartalmának módosítása. Copyright 2004, Oracle. All rights reserved.

Táblák tartalmának módosítása. Copyright 2004, Oracle. All rights reserved. Táblák tartalmának módosítása Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Describe each data manipulation language (DML)

More information

Including Dynamic Images in Your Report

Including Dynamic Images in Your Report Including Dynamic Images in Your Report Purpose This tutorial shows you how to include dynamic images in your report. Time to Complete Approximately 15 minutes Topics This tutorial covers the following

More information

Visual Studio Schema Compare Does Not Support The Specified Database

Visual Studio Schema Compare Does Not Support The Specified Database Visual Studio Schema Compare Does Not Support The Specified Database When you deploy the database project, the schema that you defined in the If the target database does not exist or if you chose to always

More information

Database System Concepts and Architecture

Database System Concepts and Architecture 1 / 14 Data Models and Their Categories History of Data Models Schemas, Instances, and States Three-Schema Architecture Data Independence DBMS Languages and Interfaces Database System Utilities and Tools

More information

How To Create A Simple Database Schema Diagram In Visual Studio 2012 >>>CLICK HERE<<<

How To Create A Simple Database Schema Diagram In Visual Studio 2012 >>>CLICK HERE<<< How To Create A Simple Database Schema Diagram In Visual Studio 2012 engineering. Produce ERD for your database from data definition language. With Visual Paradigm, you can then reverse the DDL file and

More information

Institute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH

Institute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH Institute of Aga 2018 Microsoft SQL Server LECTURER NIYAZ M. SALIH Database: A Database is a collection of related data organized in a way that data can be easily accessed, managed and updated. Any piece

More information

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM ORACLE 12C NEW FEATURE A Resource Guide NOV 1, 2016 TECHGOEASY.COM 1 Oracle 12c New Feature MULTITENANT ARCHITECTURE AND PLUGGABLE DATABASE Why Multitenant Architecture introduced with 12c? Many Oracle

More information

Баум Виталий Sr. SharePoint Developer Conteq

Баум Виталий Sr. SharePoint Developer Conteq Баум Виталий Sr. SharePoint Developer Conteq Office Applications Design Tools SharePoint Описывает схему внешних данных и правила взаимодействия с Office и SharePoint *так же известный как BDC Entity

More information

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-1 Introduction to Oracle Application Express. Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-1 Introduction to Oracle Application Express Roadmap Introduction to Oracle Application Express You are here Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation

More information

DATABASES SQL INFOTEK SOLUTIONS TEAM

DATABASES SQL INFOTEK SOLUTIONS TEAM DATABASES SQL INFOTEK SOLUTIONS TEAM TRAINING@INFOTEK-SOLUTIONS.COM Databases 1. Introduction in databases 2. Relational databases (SQL databases) 3. Database management system (DBMS) 4. Database design

More information

Chapter 13 : Informatics Practices. Class XI ( As per CBSE Board) SQL Commands. New Syllabus Visit : python.mykvs.in for regular updates

Chapter 13 : Informatics Practices. Class XI ( As per CBSE Board) SQL Commands. New Syllabus Visit : python.mykvs.in for regular updates Chapter 13 : Informatics Practices Class XI ( As per CBSE Board) SQL Commands New Syllabus 2018-19 SQL SQL is an acronym of Structured Query Language.It is a standard language developed and used for accessing

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z0-144 Title : Oracle Database 11g: Program with PL/SQL Vendor : Oracle Version : DEMO Get Latest &

More information

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<<

Get Table Schema In Sql Server 2008 To Add Column If Not Exists >>>CLICK HERE<<< Get Table Schema In Sql Server 2008 To Add Column If Not Exists IF NOT EXISTS ( SELECT * FROM sys.columns WHERE object_id = OBJECT_ID(N'(dbo). Also try catch is easily possible to use in sql serverand

More information

G64DBS Database Systems. G64DBS Module. Recommended Textbook. Assessment. Recommended Textbook. Recommended Textbook.

G64DBS Database Systems. G64DBS Module. Recommended Textbook. Assessment. Recommended Textbook. Recommended Textbook. G64DBS Database Systems Tim Brailsford G64DBS Module Lectures Mondays, 3pm in LT2 Fridays, 4pm in LT3 Labs - TBA Will NOT start until approximately Week 4 Wednesdays, 2-4pm in A32 Tim Brailsford (tjb@cs.nott.ac.uk)

More information

Database migration under control.

Database migration under control. Database migration under control. Active Database Software, a company that offers solutions for professional database developers, announces the release of a new version of FlySpeed DB Migrate that enables

More information

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ: Oracle 1z0-146 1z0-146 Oracle Database 11g: Advanced PL/SQL Practice Test Version 1.1 QUESTION NO: 1 Which two types of metadata can be retrieved by using the various procedures in the DBMS_METADATA PL/SQL

More information

DatabaseRESTAPI

DatabaseRESTAPI ORDS DatabaseRESTAPI https://oracle.com/rest Jeff Smith Senior Principal Product Manager Jeff.d.smith@oracle.com @thatjeffsmith Database Tools, Oracle Corp Not just THAT SQLDev Guy I GET ORDS, too! Blogs

More information

Full version is >>> HERE <<<

Full version is >>> HERE <<< how to create a database in netbeans 6.9; create a database in excel youtube; how to create a database with mysql command line; create a database backup job using sql server management studio Full version

More information

Migrating to DB2 Tasks and Tools

Migrating to DB2 Tasks and Tools Migrating to DB2 Tasks and Tools Information Management 2012 IBM Corporation Migration Roadmap 1- Assessment tools accurate rapid Understand the environment to be migrated Estimate effort 2- Database Migration

More information

RMOUG Training Days 2018

RMOUG Training Days 2018 RMOUG Training Days 2018 Pini Dibask Product Manager for Database Tools February 22 nd, 2018 Oracle Database Locking Mechanism Demystified About the Speaker Pini Dibask, Product Manager for Database Tools,

More information

T-sql Check If Index Exists Information_schema

T-sql Check If Index Exists Information_schema T-sql Check If Index Exists Information_schema Is there another way to check if table/column exists in SQL Server? indexes won't pick them up, causing it to use the Clustered Index whenever a new column

More information

Mysql Workbench Restore No Database Selected

Mysql Workbench Restore No Database Selected Mysql Workbench Restore No Database Selected Connection to CloudBees database using MySQL Workbench How to create a function using ERROR 1046 (3D000) at line 22: No database selected In workbench, when

More information

Postgres for Developers

Postgres for Developers Postgres for Developers Look what cool things you can do! By Peter Eisentraut & Bruce Momjian 1 Why Postgres Is Cool Object-relational Developed by engineers Open-source development 2 Transactions DDL

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

Today Learning outcomes LO2

Today Learning outcomes LO2 2015 2016 Phil Smith Today Learning outcomes LO2 On successful completion of this unit you will: 1. Be able to design and implement relational database systems. 2. Requirements. 3. User Interface. I am

More information

Course Details Duration: 3 days Starting time: 9.00 am Finishing time: 4.30 pm Lunch and refreshments are provided.

Course Details Duration: 3 days Starting time: 9.00 am Finishing time: 4.30 pm Lunch and refreshments are provided. Database Administration with PostgreSQL Introduction This is a 3 day intensive course in skills and methods for PostgreSQL. Course Details Duration: 3 days Starting time: 9.00 am Finishing time: 4.30 pm

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2-1 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2-1 Chapter 2 Database System Concepts and Architecture Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Outline Data Models and Their Categories

More information

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS

Oral Questions and Answers (DBMS LAB) Questions & Answers- DBMS Questions & Answers- DBMS https://career.guru99.com/top-50-database-interview-questions/ 1) Define Database. A prearranged collection of figures known as data is called database. 2) What is DBMS? Database

More information

Monitoring and Resolving Lock Conflicts. Copyright 2004, Oracle. All rights reserved.

Monitoring and Resolving Lock Conflicts. Copyright 2004, Oracle. All rights reserved. Monitoring and Resolving Lock Conflicts Objectives After completing this lesson you should be able to do the following: Detect and resolve lock conflicts Manage deadlocks Locks Prevent multiple sessions

More information

Database System Concepts and Architecture

Database System Concepts and Architecture CHAPTER 2 Database System Concepts and Architecture Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 2-2 Outline Data Models and Their Categories History of Data Models Schemas, Instances, and

More information

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps:// IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://www.certqueen.com Exam : 1Z0-146 Title : Oracle database 11g:advanced pl/sql Version : Demo 1 / 9 1.The database instance was

More information

Introduction. Performance

Introduction. Performance Table of Contents Introduction 3 Performance 3 Multiple Storage Engines and Query Optimization 4 Transactional Support 4 Referential Integrity 5 Procedural Language Support 5 Support for Triggers 5 Supported

More information

Bonus Content. Glossary

Bonus Content. Glossary Bonus Content Glossary ActiveX control: A reusable software component that can be added to an application, reducing development time in the process. ActiveX is a Microsoft technology; ActiveX components

More information

Série n 6 Bis : Ateliers SQL Data Modeler (Oracle)

Série n 6 Bis : Ateliers SQL Data Modeler (Oracle) Série n 6 Bis : Ateliers SQL Data Modeler (Oracle) Getting started with data Modeler Adding a Table to An Existing Database Purpose This tutorial shows you how to add a table to an existing database using

More information

Persistence Performance Tips

Persistence Performance Tips Persistence Performance Tips Dan Bunker Training Overview Persistence Performance Overview Database Performance Tips JPA Performance Tips Spring JDBC Performance Tips Other Tips Prerequisites Java 6+,

More information

Creating Other Schema Objects

Creating Other Schema Objects Creating Other Schema Objects Objectives After completing this lesson, you should be able to do the following: Create simple and complex views Retrieve data from views Database Objects Object Table View

More information

Sql Server 2008 Query Table Schema Name In

Sql Server 2008 Query Table Schema Name In Sql Server 2008 Query Table Schema Name In Stored Procedures How to get the Stored Procedure's returnd table's structure in SQl Server SELECT p.name, OBJECT_NAME(OBject_ID) 'ProductionLog', p.parameter_id.

More information

CS313D: ADVANCED PROGRAMMING LANGUAGE

CS313D: ADVANCED PROGRAMMING LANGUAGE CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 11: Connection to Databases Lecture Contents 2 What is a database? Relational databases Cases study: A Books Database Querying

More information

Mysql Using Php Script

Mysql Using Php Script How To Create Database Schema Diagram In Mysql Using Php Script You can create database in two ways, by executing a simple SQL query or by using forward engineering in MySQL workbench. The Database tool

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

Database Programming with SQL

Database Programming with SQL Database Programming with SQL 13-1 Objectives In this lesson, you will learn to: List and categorize the main database objects Review a table structure Describe how schema objects are used by the Oracle

More information

Mysql Workbench Import Sql No Database. Selected >>>CLICK HERE<<<

Mysql Workbench Import Sql No Database. Selected >>>CLICK HERE<<< Mysql Workbench Import Sql No Database Selected Mar 14, 2015. I tried several Versions of Workbench, with 6.2.5 it was possible again to Export my databases. ERROR 1046 (3D000) at line 22: No database

More information

Tools for Oracle Oracle Tutorials 2013 Przemyslaw Radowiecki CERN IT-DB

Tools for Oracle Oracle Tutorials 2013 Przemyslaw Radowiecki CERN IT-DB Tools for Oracle Oracle Tutorials 2013 Przemyslaw Radowiecki CERN IT-DB Plan Oracle SQL*Plus installation & configuration usage examples Golden Benthic Oracle SQL Developer CERN Session Manager 23/04/2013

More information

Sample Question Paper

Sample Question Paper Sample Question Paper Marks : 70 Time:3 Hour Q.1) Attempt any FIVE of the following. a) List any four applications of DBMS. b) State the four database users. c) Define normalization. Enlist its type. d)

More information

Course Overview. Copyright 2010, Oracle and/or its affiliates. All rights reserved.

Course Overview. Copyright 2010, Oracle and/or its affiliates. All rights reserved. Course Overview Course Objectives After completing this course, you should be able to do the following: Manage application navigation by using hierarchical lists with images, database-driven navigation,

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time

A Unit of SequelGate Innovative Technologies Pvt. Ltd. All Training Sessions are Completely Practical & Real-time SQL Basics & PL-SQL Complete Practical & Real-time Training Sessions A Unit of SequelGate Innovative Technologies Pvt. Ltd. ISO Certified Training Institute Microsoft Certified Partner Training Highlights

More information

USER GUIDE Azure Factory

USER GUIDE Azure Factory 2011 USER GUIDE Azure Factory Contents Setting up a Windows Azure Account... 2 Setting up your Server... 3 Creating a Database... 4 Manage the Database... 6 Generating the Azure Factory Project... 9 Publishing

More information

IT360: Applied Database Systems. SQL: Structured Query Language DDL and DML (w/o SELECT) (Chapter 7 in Kroenke) SQL: Data Definition Language

IT360: Applied Database Systems. SQL: Structured Query Language DDL and DML (w/o SELECT) (Chapter 7 in Kroenke) SQL: Data Definition Language IT360: Applied Database Systems SQL: Structured Query Language DDL and DML (w/o SELECT) (Chapter 7 in Kroenke) 1 Goals SQL: Data Definition Language CREATE ALTER DROP SQL: Data Manipulation Language INSERT

More information

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content:

Course Outline. MySQL Database Administration & Design. Course Description: Pre-requisites: Course Content: MySQL Database Administration & Design Course Description: MySQL is the open source community's most popular Relational Database Management System (RDBMS) offering, and is a key part of LAMP - Linux, Apache,

More information

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved.

Using DDL Statements to Create and Manage Tables. Copyright 2004, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables Copyright 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Categorize the main database

More information

Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion

Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion IN5290 Ethical Hacking Lecture 7: Web hacking 3, SQL injection, Xpath injection, Server side template injection, File inclusion Universitetet i Oslo Laszlo Erdödi Lecture Overview What is SQL injection

More information

Accelerate MySQL for Demanding OLAP and OLTP Use Cases with Apache Ignite. Peter Zaitsev, Denis Magda Santa Clara, California April 25th, 2017

Accelerate MySQL for Demanding OLAP and OLTP Use Cases with Apache Ignite. Peter Zaitsev, Denis Magda Santa Clara, California April 25th, 2017 Accelerate MySQL for Demanding OLAP and OLTP Use Cases with Apache Ignite Peter Zaitsev, Denis Magda Santa Clara, California April 25th, 2017 About the Presentation Problems Existing Solutions Denis Magda

More information

Building Database-Centric Web Applications Using. Oracle HTML DB

Building Database-Centric Web Applications Using. Oracle HTML DB Building Database-Centric Web Applications Using Oracle HTML DB Wayne Abbott Practice Manager, Oracle University Session Objectives Overview of Oracle HTML DB Identify advantages of Oracle HTML DB for

More information

Nina Popova, St.Petersburg Polytechnic University Liudmila Devel, St.Petersburg University of Culture.

Nina Popova, St.Petersburg Polytechnic University Liudmila Devel, St.Petersburg University of Culture. Nina Popova, St.Petersburg Polytechnic University ninavaspo@mail.ru Liudmila Devel, St.Petersburg University of Culture miladevel@gmail.com Content and Language integrated learning is a dual-focused educational

More information

Using Relational Databases for Digital Research

Using Relational Databases for Digital Research Using Relational Databases for Digital Research Definition (using a) relational database is a way of recording information in a structure that maximizes efficiency by separating information into different

More information

Tools for Oracle Databases

Tools for Oracle Databases Database Tutorials 2017 Tools for Oracle Databases Andrei Dumitru / IT-DB Oracle Account Management Oracle SQL*Plus Benthic Golden Oracle SQL Developer CERN Session Manager Oracle Enterprise Manager CERN

More information

Data Base Concepts. Course Guide 2

Data Base Concepts. Course Guide 2 MS Access Chapter 1 Data Base Concepts Course Guide 2 Data Base Concepts Data The term data is often used to distinguish binary machine-readable information from textual human-readable information. For

More information

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV http://www.tutorialspoint.com HIBERNATE MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Hibernate Framework. You can download these sample mock tests

More information