CERN IT Department CH-1211 Geneva 23 Switzerland www.cern.ch/i t Mariusz Piorkowski, Dr. Andrea Valassi, Sebastien Ponce, Zbigniew Baranowski, Jose Carlos.

Slides:



Advertisements
Similar presentations
ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
Advertisements

IcePro Source Code Management Source code analysis Runtime analysis Application deployment Source code generation Multi sites Click ! IcePro.
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Data Base. Objective Become familiar with database terminology. Create a project to display data for a single database table. Use a DataGrid control.
Presentation Heading – font Arial
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1.
Advantage Data Dictionary. agenda Creating and Managing Data Dictionaries –Tables, Indexes, Fields, and Triggers –Defining Referential Integrity –Defining.
Lesson One: The Beginning Chapter 2: Processing Learning Processing Daniel Shiffman Presentation by Donald W. Smith Graphics from built-in help reference.
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
A Guide to Oracle9i1 Advanced SQL And PL/SQL Topics Chapter 9.
Oracle SQL*plus John Ortiz. Lecture 10SQL: Overview2 Overview  SQL: Structured Query Language, pronounced S. Q. L. or sequel.  A standard language for.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
 Pages made using data in a database  Use scripting languages  Use of RDMS  Look and feel by templates, CSS  High scaling  Admin pages as back end.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
1 Tuning PL/SQL procedures using DBMS_PROFILER 20-August 2009 Tim Gorman Evergreen Database Technologies, Inc. Northern California Oracle.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
Easy HTML DB. Michael Cunningham Developer/Database Administrator.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Oracle for Software Developers. What is a relational database? Data is represented as a set of two- dimensional tables. (rows and columns) One or more.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
Benefits of PL/SQL. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –List and explain the benefits of PL/SQL –List.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
® IBM Software Group © 2012 IBM Corporation OPTIM Data Studio – Jon Sayles, IBM/Rational November, 2012.
Oracle9 i JDeveloper for Database Developers and DBAs Brian Fry Principal Product Manager Oracle JDeveloper Oracle Corporation.
Introduction to NS2 -Network Simulator- -Prepared by Changyong Jung.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Scalable Game Development William Roberts Senior Game Engineer
1 Client/Server Databases and the Oracle Relational Database.
Data Management Console Synonym Editor
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
CIS-NG CASREP Information System Next Generation Shawn Baugh Amy Ramirez Amy Lee Alex Sanin Sam Avanessians.
MySQL Getting Started BCIS 3680 Enterprise Programming.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Presented by: K.AMARNATH Ht.no:10841f0045 Guided by: T.Suneetha.
2nd year Computer Science & Engineer
Mobile Device Development
SQLcl: A Modern Command Line Interface to the Oracle Database
Oracle Tools for SQL Server?
Forms Concepts Triggers Fired when Internal/External events occur
Introduction to PL/SQL
PHP / MySQL Introduction
Using SQL Developer.
Using JDeveloper.
8 6 MySQL Special Topics A Guide to MySQL.
Presentation transcript:

CERN IT Department CH-1211 Geneva 23 Switzerland t Mariusz Piorkowski, Dr. Andrea Valassi, Sebastien Ponce, Zbigniew Baranowski, Jose Carlos Luna Duran, Rostislav Titov Oracle Tools and Bindings with languages

CERN IT Department CH-1211 Geneva 23 Switzerland t Agenda Oracle DB administrative tools – Me Java – Rostislav OCI – Andrea OCCI – Sebastien Perl – Jose Carlos Luna Python – Zbigniew Oracle Tools and Bindings with languages - 2

CERN IT Department CH-1211 Geneva 23 Switzerland t Oracle DB administrative tools Agenda How to install and configure it? How they work? How efficiently we can use them? –Tips & hints, Examples DB administrative tools - 3

CERN IT Department CH-1211 Geneva 23 Switzerland t DB administrative tools What tools: PL/SQL Developer, SQL Developer, Golden 6.0, SQLPLUS – rlwrap, … DB administrative tools - 4

PL/SQL Developer What is PL/SQL Developer? PL/SQL Developer is an Integrated Development Environment that is specifically targeted at the development. PL/SQL Developer has its focus on PL/SQL development. But don’t underestimate the possibilities of the SQL Command Window. DB administrative tools - 5

PL/SQL Developer - installation DB administrative tools - 6 System requirements PL/SQL Developer will run on: – Windows all release so far, – Mac OS – is not supported - but you can run on Virtual Machine like CrossOver more installation info: CrossOver –Linux – not support as well - but on a Linux box you can use Wine – more info: linux.htmlhttp://johanlouwers.blogspot.fr/2008/09/plsql-developer-on- linux.html The supported Oracle Server versions are 7.x, 8.x, 8i, 9i, 10g and 11g on any platform. To connect to an Oracle database, PL/SQL Developer requires a 32-bit SQL*Net, Net 8, Net 9, Net 10 or Net 11 version, in other hand it require Oracle Instant Client (32-bit)

PL/SQL Developer - installation Easy installation? – steps (for Windows) 1) Download PL/SQL Developer (9.0.6) from DFS: G:\Applications\AllroundAutomations 2) Run the setup, 3) Download Oracle Instant Client 32-bit version from Oracle site, 4) Unpack it under C:\ProgramFiles\InstantClient, 5) Create directories C:\ProgramFiles\InstantClient\network\admin, 6) Create or past inside above directory tnsnames.ora file, 7) Launch PL/SQL Developer, DB administrative tools - 7

PL/SQL Developer – first start up If you started PL/SQL Developer without connecting to DFS, go to: Tools > Preferences > Oracle / Connection you can select the Oracle Home with the correct TNSNAMES.ORA file. DB administrative tools - 8 tnsnames.ora file directory OCI.dll library location

PL/SQL Developer – first start up PL/SQL Developer - setup at CERN We don’t need to create additional network/admin directories inside InstantClient directory. Instead of that we can specify location of tnsnames.ora file on DFS: G:\Applications\Oracle\ADMIN\tnsnames.ora G:\Applications\Oracle\ADMIN\tnsnames.ora tnsnames.ora file will be always up to date DB administrative tools - 9

PL/SQL Developer – first start up Main window DB administrative tools - 10 New Window New Connection Execute (F8)

PL/SQL Developer SQL Window - Develop, run, test, tune etc… DB administrative tools - 11

PL/SQL Developer SQL Window – Single query window DB administrative tools - 12

PL/SQL Developer SQL Window – Run multiple SQL statements DB administrative tools - 13

PL/SQL Developer SQL Window – Create a graph based on the result DB administrative tools - 14

PL/SQL Developer SQL Window – Export query results DB administrative tools - 15

PL/SQL Developer SQL Window – Previous or Next SQL query DB administrative tools - 16

PL/SQL Developer Command Window DB administrative tools - 17

PL/SQL Developer Command Window – SQL *Plus like environment DB administrative tools - 18

PL/SQL Developer Command Window – Built in script editor DB administrative tools - 19

PL/SQL Developer Program Window - Multi-level undo & redo, - Bookmarks - Block indent & unindent - Powerful find & replace with reqular expressions - A macro recorder and library - Column editing - Split editing - And more… DB administrative tools - 20

PL/SQL Developer Program Window DB administrative tools - 21

PL/SQL Developer Test/Debug Window DB administrative tools - 22

PL/SQL Developer Test Window -Debug your program -Show values of variables -Set breakpoints -Unconditionally -Use Condition -Use Message -Don’t Break -Use Pass Count DB administrative tools - 23

PL/SQL Developer Table editor – create table directly by predefine interface DB administrative tools - 24

PL/SQL Developer Table editor -Define table -Define columns -Define constraints -Define indexes -Etc… DB administrative tools - 25

PL/SQL Developer Table editor – get the SQL script Save SQL to file … Copy SQL to clipboard Open in command window DB administrative tools - 26

PL/SQL Developer Diagram Window DB administrative tools - 27

PL/SQL Developer Diagram Window -Create diagrams by dragging objects -Setting automatic foreign key relations -Show and hide specific items DB administrative tools - 28

PL/SQL Developer – Tips & Tricks Tips & Tricks -Drag a table, view or procedure to a SQL or Program Window, -Right click on any database-object anywhere, -Change the hotkeys to fit your needs, -Place frequently used connect strings in the log-in pop-list, DB administrative tools - 29

PL/SQL Developer – Other features Export User Objects Compare User Objects in two schemas Event Monitor (monitor messages sent to pipes) Sessions overview Export/Import tables –SQL Inserts –Oracle export format –PL/SQL Developer dump format More info: DB administrative tools - 30

SQL Developer DB administrative tools - 31 What is Oracle SQL Developer? - Oracle SQL Developer is a free graphical tool for database development. Using SQL Developer, you can browse database objects, run SQL statements and SQL scripts, and edit and debug PL/SQL statements. -Free download from Oracle website: System requirements -SQL Developer can connect to any Oracle Database version and later and runs on Windows, Linux, and Mac OSX.

SQL Developer Advantages No need to install anything, simple unzip downloaded package and software is ready to use, Portable – copy unzipped files on flash drive and you can use it on any PC, You can connect in parallel to several different databases, NOT NECESSERY, SPECIALLY WHEN YOU MISSED TEST DATABASE WITH PRODUCTION … DB administrative tools - 32

SQL Developer First connection New DB connection DB administrative tools - 33

SQL Developer Main window DB administrative tools - 34

SQL Developer Run a query DB administrative tools - 35

SQL Developer Generate explain plan (F10) – really handy to optimize SQL queries DB administrative tools - 36

SQL Developer SQL Tuning Advisor (Ctrl+F12) – written recommendations how improve SQL statement DB administrative tools - 37

SQL Developer Query Builder DB administrative tools - 38

SQL Developer Edit objects DB administrative tools - 39

SQL Developer Export results – interesting option Publish to APEX DB administrative tools - 40

SQL Developer Publish to APEX DB administrative tools - 41

SQL Developer DB administrative tools - 42 Extensions

SQL Developer Extensions – e.g. Insider (live monitoring) DB administrative tools - 43

SQL Developer Much more features like: -Reports, -DBA tools, -you can create your own database, -Data modeler, -Browser, -Migration wizard -Enables the migration of third party database on to Oracle -etc… More info: DB administrative tools - 44

Benthic - Golden 6.x Golden 6.x - Is much more simpler tools that two previous one but still quite handy for SQL statements. System requirements - Golden is available only for Windows, however the same like for PL/SQL Developer we can use workaround to install it on MacOS and Linux, - Oracle Instant Client 32-bit is necessary. DB administrative tools - 45

Benthic - Golden 6.x Installation steps - Copy the Instant Client dll's to C:\Oracle - Put C:\Oracle at the beginning of PATH system variable, - Copy tnsnames.ora to C:\Oracle - Add the system variable TNS_ADMIN with a value of C:\Oracle - Set the OCI DLL field of Golden's Login Options window to "C:\Oracle\oci.dll" (you will have to restart Golden after setting this value).

Benthic - Golden 6.x Login DB administrative tools - 47

Benthic - Golden 6.x Main window – simple view but sometimes is exactly what we need DB administrative tools - 48

Benthic - Golden 6.x Simple query building DB administrative tools - 49

Benthic - Golden 6.x DBMS Output window (F10) - for PL/SQL scripts DB administrative tools - 50

Benthic - Golden 6.x More info: DB administrative tools - 51

Cherry on the cake DB administrative tools - 52 rlwrap - is a 'readline wrapper', a small utility that uses the GNU readline library to allow the editing of keyboard input for any command.

rlwrap Finally something only on Linux - rlwrap compiles and runs on most Unix(-like) systems, including cygwin Installation gunzip rlwrap*.gz tar -xvf rlwrap*.tar cd rlwrap*./configure make make check make install DB administrative tools - 53

rlwrap Usage – together with SQL*Plus or RMAN

Questions?