• No results found

Open Source Tools for Oracle DBAs

N/A
N/A
Protected

Academic year: 2021

Share "Open Source Tools for Oracle DBAs"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)

Open Source Tools

for Oracle DBAs

(2)

© Heavyweight Internet Group 2005

Introduction

™ New technology and possibilities ™ Community

™ Exchange of ideas

(3)

A Short History

™ 1992 – First Linux Distro, Oracle v7 ™ 1997 – SCO Comp Lib + Oracle 7.3 ™ 1997 – Oracle releases v8 on Linux ™ 2001 - Mod_plsql, Apache – Oracle AS ™ 2003 – All Oracle products run on Linux

(4)

© Heavyweight Internet Group 2005

System Monitoring

with Nagios

™ various interfaces – browser, pda ™ *nix platforms ™ uses Apache ™ authorization + security ™ Customizable ™ historical data ™ http://nagios.org

(5)

System Monitoring

with Nagios

(6)

© Heavyweight Internet Group 2005

System Monitoring

with Nagios

(7)

Monitoring Files with

Fetchlog

™ Monitor listener.log, alert.log, backup logs, etc ™ Matches regular expressions

™ Bookmarks where you were last in file

™ Specify logfile, bookmarks file, pattern on cmd line ™ Integrates easily with Nagios

(8)

© Heavyweight Internet Group 2005

Version Control with

CVS

™ Win32 or *nix clients

™ Source code, config files, docs ™ Easy setup

™ Multiple repositories

™ Branches, commit, checkout etc. ™ http://www.cvshome.org

(9)

Security

™ Like backups, sometimes ignored at your own peril ™ File permissions

™ Buffer overflows, vulnerability alerts ™ SQL Injection

™ Passwords

™ Spoofing packets, eavesdropping

(10)

© Heavyweight Internet Group 2005

Security

™ Integrit (http://integrit.sourceforge.net/)

o creates checksums on files on initial run o monitor ORACLE_HOME directories

o check for changes, patches, relinking, deleted files o great for auditing

(11)

Security

™ Burp Intruder (http://portswigger.net/proxy/)

o Audit applications for SQL Injection

o Run various tests against web-based applications o Hijacking

(12)

© Heavyweight Internet Group 2005

Security

™ NMap

scan servers for open ports

(13)

Security

™ Pete Finnigan’s site

o default password checker o password cracker

o grants + privs checking o filesystem vulnerabilities o various probes + scanners

(14)

© Heavyweight Internet Group 2005

Real Application

Clusters

™ RedHat’s GFS vs OCFS

™ CentOS for RedHat Distros w/o Support ™ XenSource.com – free VMWare

(15)

Real Application

Clusters

™ oss.oracle.com

o endpoint – firewire disk emulation o OCFS test, tools etc

o watchdog driver patches o libaio – async I/O

o ASMLib – automatic storage manager

o compatability – for unsupported Linux distros o NIC failover

(16)

© Heavyweight Internet Group 2005

Tuning Tools

™ Orasrp (http://oracledba.ru/orasrp/)

o session resource profiler, monitoring, tracing sessions

™ DBTop (http://www.scaleabilities.com/tools.shtml)

o Java tool, provides TOP like interface to the database o resource intensive, but interactive

(17)

Tuning Tools

™ SQLGotcha (

http://www.marcel-jan.nl/oracle/scripts/oracle_script_sqlgotcha.html) o helps you trace a session in Oracle, by tracking

down sid & serial# for you

™ Iometer (http://www.iometer.org/)

o Linux, Win32, Netware, Solaris o stress testing

(18)

© Heavyweight Internet Group 2005

User Interface Tools

™ rlwrap (http://utopia.knoware.nl/~hlub/uck/rlwrap/)

o provides command completion, history for applications which use the readline() call

™ gqlplus (http://gqlplus.sourceforge.net/) o SQL*Plus replacement ™ phporaadmin (http://phporaadmin.sourceforge.net/) o based on phpMyAdmin ™ yasql (http://yasql.sourceforge.net/) o SQL*Plus replacement

(19)

Developer Tools

™ orace (http://orace.sourceforge.net/)

o Oracle Code Editor, color editing, debugging

™ hammerora (http://hammerora.sourceforge.net/)

o stress test your database o perform TPC-C benchmarks o 8i, 9i, 10g

(20)

© Heavyweight Internet Group 2005

Developer Tools

™ schemadiff (http://sourceforge.net/projects/schemadiff/)

o compare two schemas in a database o Perl, DBI, Oracle::DDL library

™ TOra (http://sourceforge.net/projects/tora/)

o toolkit for Oracle

o PL/SQL debugger, editor o color editing

(21)

Developer Tools

™ LOG4PLSQL (http://log4plsql.sourceforge.net/)

o uses autonomous transaction o log debug messages to files

o no rollback, exception interruption of messages

™ utPLSQL (http://utplsql.sourceforge.net/)

o Steve Feuerstein’s unit testing framework

™ ProDBA (http://prodba.sourceforge.net/)

(22)

© Heavyweight Internet Group 2005

Miscellaneous Tools

™ OraRep (http://www.izzysoft.de/?topic=oracle)

o generate nice HTML formatted reports o HTML reports from statspack

™ m2o.pl

(http://www.pythian.com/news/papers/m2o.html) o script to migrate from MySQL to Oracle

(23)

Open Source

Databases

™ MySQL (http://www.mysql.com/)

triggers, stored procs, views, ACID in v5.x

™ MaxDB (http://www.mysql.com/products/maxdb/)

MySQL for SAP implementations

™ Firebird (http://firebird.sourceforge.net/)

based on Interbase, runs on Win32, Linux, HPUX, Solaris, FreeBSD

(24)

© Heavyweight Internet Group 2005

Open Source

Databases

™ Postgres (http://www.postgresql.org/)

triggers, views, stored procs, ACID

(25)

Open Source

Databases

™ Unlikely to follow the Linux path to ubiquity ™ Follow a different history

™ Most clients who are using MySQL want to switch to Oracle ™ VLDB + Data Warehousing features very limited

™ Backup, Standby, HA are non-trivial

(26)

© Heavyweight Internet Group 2005

Open Source

Software

Repositories

™ http://sourceforge.net

o cvs, downloads, homepages, forums etc

™ http://freshmeat.net

o best repository of Open Source software o search by keywords, categories

o sort by popularity, relevance

o links to homepage, contact developers o license details

(27)

Misc. Scripts + Tools

™ Pete Finnigan (http://petefinnigan.com) ™ Tom Kyte (http://asktom.oracle.com) ™ Miracle (http://www.miracleas.dk/) ™ OakTable (http://oaktable.net)

™ http://www.trivadis.ch/e/knowhow/downloads/index.

(28)

© Heavyweight Internet Group 2005

Various Lists

™ Oracle-L (http://www.freelists.org/webpage/oracle-l) ™ Lazy DBA (http://www.lazydba.com/)

™ usenet: comp.databases.oracle.server ™ usenet: comp.databases.oracle.misc

(29)

Recommended

Weblogs

™ AMIS Tech Corner (http://technology.amis.nl/blog/) ™ David Aldridge (http://oraclesponge.blogspot.com/)

™ Niall Litchfield (http://www.niall.litchfield.dial.pipex.com/) ™ Mark Rittman (http://www.rittman.net/)

(30)

© Heavyweight Internet Group 2005

Recommended

Weblogs

™ Oracle + Open Source (http://oracleopensource.com) ™ Pete Finnigan

(31)

Contact Us

™ Heavyweight Internet Group ™ <[email protected]>

™ http://iheavy.com ™ p 646 827 9877

References

Related documents

Itu mah pasti ada, karena mereka beda dari punk yang lain karena band polisi tidur itu suka membuat perbedaan dan itu yang menjadi daya tarik.. (I1P1W1J24)-

The first audit of the NRGL as a trustworthy digital repository using the toolkit and methodology of DRAMBORA (Digital Repository Audit Method Based on Risk Assessment) was

Designing Blended Courses   “…place the right activities in their most appropriate environment.” (B rown, 2001).. What You Need to Know to Design a

Source: 2010 Independent Oracle User Group Data Security Report.. 70% System users can read/tamper data stored in database files or storage 76% Cannot prevent DBAs

In this process multiple tools are needed: an editor to write the code, a project manager to organize files and settings, a compiler or assembler to convert the source code to

(2015).Farm to fork: Cairo’s food supply and distribution during the Mamluk sultanate (1250-1517) [Master’s thesis, the American University in Cairo].. AUC

This tool for a digital analytics tools provide business intelligence software provides more info about what you have entered an open source version?. Visualizations and open

Chapter 3 investigated the effects of wetland enhancement techniques on larval pike survival, and described differences in the overall physical environments, zooplankton