|
Saturday, January 1, 2011
Tuesday, December 28, 2010
Delphix deals before the end of year
1) Super fast provision – three clicks and a few minutes to stand up a fully functional, point-in-time 10g/11g database copy/clone
2) Storage savings - a new database copy basically only consists of some pointers and the space it takes for private redo and temp
Sunday, December 19, 2010
New Oracle Monitor - what language would you use?
- easy to install
- quick to program
- have interactive graphics
- run fast
- web enabled
- C
- SQL*Plus
- PL/SQL
- perl
- python
- tcl/tk
- ruby(on rails)
- Java fat client
- Java web app (with Flex)
- Delphi
- Visual Basic
- Apex
- ksh(bash/sh/csh) with AWK
- HTML5
Tuesday, December 7, 2010
Solaris AWK still broken after all these years

- awk -vVAR=value
- if ( $0 ~ "string" )
- gsub , sub
VAR="'"$VAR"'"Point 2, the if construct can be gotten around a bit less elegantly with /string/ { ...STARTUP NOMOUNT pfile='/mnt/provision/redo2a/datafile/initredo2a.ora.provision'CREATE CONTROLFILE REUSE SET DATABASE "redo2a" RESETLOGS ARCHIVELOG MAXLOGFILES $MAXLOGFILES MAXLOGMEMBERS $MAXLOGMEMBERS MAXDATAFILES $MAXDATAFILES MAXINSTANCES $MAXINSTANCES MAXLOGHISTORY $MAXLOGHISTORYLOGFILE GROUP 1('/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/redo01.log','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/redo01a.log') SIZE 52428800,GROUP 2('/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/redo02.log','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/redo02a.log') SIZE 52428800,GROUP 3('/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/redo03.log') SIZE 52428800DATAFILE '/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/system01.dbf','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/undotbs01.dbf','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/sysaux01.dbf','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/users01.dbf','/mnt/provision/redo2a/datafile/opt/oracle/oradata/homer/t1.dbf'$CHARACTER_SET;cat ${MNTDIR}/doCreateControlFile.sh | \
awk -vNREDO="$NREDO" '
BEGIN {
output="on"
members="off"
nlogs=0
last="no"
}
{
# members
if ( $0 ~ "GROUP" ) { members="on" ; nlogs=0}
# output
if ( $0 ~ NREDO ) { last="yes" }
if ( $0 ~ "DATAFILE" ) { output="on" }
if ( $0 ~ "SIZE" ) { members="off" ; nlogs=0}
if ( output == "on" ) {
nlogs++
gsub(/,/,"")
}
if ( nlogs < last ="=" last = "no" output="off"> /tmp/redo2.$$cat ${MNTDIR}/doCreateControlFile.sh | \
awk '
BEGIN {
output="on"
members="off"
nlogs=0
last="no"
size="no"
NREDO="'"$NREDO"'"
}
/DATAFILE/ { output="on" } # turn output back on
/SIZE/ { members="off" ; nlogs=0; size="yes"} # end of group members
/GROUP/ { members="on" ; nlogs=-1 } # start counting group members
{ if ( index($0,NREDO) ) last="yes" } # reach the maximum of redo logs to recreate
{
if ( output == "on" ) {
str=$0
if ( members == "on" ) { # we are in the log member section
nlogs++ # count members
i=index(str,","); # get rid of comma at end of line
if ( i > 0 ) {
str=substr(str,0,i-1)
}
}
if ( nlogs < size ="=" last ="=" str="$0" i="index(str,"> 0 ) {
str=substr(str,0,i-1)
}
last = "no"
output="off" # we reach max # of redo logs, turn output off till we see DATAFILE
}
}
print str
}
}
}
{ size = "no" }
' > /tmp/redo2.$$
Thursday, December 2, 2010
Job Openings for Oracle experts
Tuesday, November 23, 2010
NFS and IO testing : Bonnie++
- dd
- iozone
- bonnie++
- orion
OK, have to create "orion.lun" with either my lun locations or my file locations. I put in file locations:$ orion -run simple -testname orionORION: ORacle IO Numbers -- Version 11.1.0.7.0orion_20101123_1503rwbase_read_luncfg: SlfFopen error on orion.lunorion_parse_args: rwbase_read_luncfg failed
$ cat orion.lun/tmp/system01.dbf
$ orion -run simple -testname orionORION: ORacle IO Numbers -- Version 11.1.0.7.0orion_20101123_1508Test will take approximately 9 minutesLarger caches may take longerorion_spawn: skgpspawn failed: Error category: 27155, Detail: 2orion_main: orion_spawn failedNon test error occurredOrion exitingIllegal instruction(coredump)
$ truss -f orion -run simple -testname orion...700502: execve("orion", 0x0FFFFFFFFFFBF2D0, 0x0FFFFFFFFFFFFB30) Err#2 ENOENT
$ orion -run simple -testname orionORION: ORacle IO Numbers -- Version 11.1.0.7.0orion_20101123_1510Test will take approximately 9 minutesLarger caches may take longerstorax_skgfr_openfiles: File identification failed on /kyle/system01.dbfOER 27054: please look up error in Oracle documentationAdditional information: 6rwbase_lio_init_luns: lun_openvols failedrwbase_rwluns: rwbase_lio_init_luns failedorion_thread_main: rw_luns failedNon test error occurredOrion exiting
$ makemake: 1254-002 Cannot find a rule to create target bon_io.o from dependencies.Stop.
%.o: %.cpp %.h bonnie.h port.h$(CXX) -c $<
That worked. Test results coming$ for i in *cpp; doname=`echo $i | sed -e 's/.cpp//'`echo "g++ -c $name.cpp $name.h bonnie.h port.h"done > makeo$ sh makeo$ make
Thursday, November 11, 2010
Virtual Conference on Oracle Performance!
Systematic Oracle SQL Optimization virtual conference:
- The speakers are: Cary Millsap, Jonathan Lewis, Kerry Osborne and Tanel Poder
- The conference takes place on 18. and 19. November ( 2 x 0.5 days )
- The time of the conference sessions is: 08:00am - 12:00pm Pacific Standard Time (PST) on both days
- For this inaugural event we have a special launch price of 475 USD per attendee!
Wednesday, October 27, 2010
SVG and OEM on windows 64 bit
http://www.delphix.com/resources.php?tab =product-demo
Tuesday, October 26, 2010
ASHMON on 64bit Oracle 11gR2
Wednesday, September 29, 2010
Oracle on VMware webinar tomorrow (Sept 30)
It's an interactive Q&A webinar with Dave Welch the main guy at VMware's booth at Oracle Open World last week. Dave is pro VMware as one might imagine.
If you have any burning questions about VMware and Oracle and/or positive/negative experiences with Oracle on VMware, drop me a line and I'll try and get your content, questions and feedback into the webinar. (during the webinar questions can be posted in the online chat)
The current list of questions center around performance overhead on VMware, Oracle's attitude toward supporting VMware, whether RAC is appropriate and/or supported on VMware and how VMware compares to Oracle's VM server.
Thursday, September 23, 2010
Oracle Closed World Presentations Downloads
Wednesday, September 22, 2010
DB Optimizer vs OEM
Oracle Closed World: last minute additions Exadata any MySQL talks
Tuesday, September 21, 2010
Oracle Closed World: last day with Kevin Closson as well as Gwen Shapira
Monday, September 20, 2010
Oracle Closed World 1:30-2:30 Sept 20, 2010 I'll be speaking
Database Performance Made Easy Through Graphics
Average Active Sessions (AAS) Formulas, Interpreting Load Charts and Visual SQL Tuning (VST)
Kyle begins his presentation with a discussion of the use of sample data to create Active Sessions History (ASH). But ASH is dense, multidimensional data, which makes it difficult to analyze. Fortunately, ASH can be simplified using a metric called Average Active Sessions (AAS). AAS shows the load on the database and allows you to drill down with precision and clarity into the cause of each bottleneck.
Most often, bottlenecks are caused by poor-performing SQL statements. For analyzing suboptimal SQL statements, Kyle will show you how to lay out the query graphically in a Visual SQL Tuning (VST) diagram. Through the VST, you’ll learn how to quickly visualize any coding errors in the query, discover flaws in the underlying database schema, and most importantly, find the best execution path through the query.
Oracle Closed World : Lots of hacking and undocumented stuff! , 30 minutes and counting !
Secret Oracle Closed World Presentation
Arup Nanda on RAC - live from Oracle Closed World
Oracle Closed World live, now!
Monday, September 20: 1PM to 4PM
Of special interest, check out Tanel's presentation, available on podcast, on Oracle Secret internals, called "Lots of hacking and undocumented stuff!", more info here http://tech.e2sn.com/secret
1-2 PM: Keynote Speaker Arup Nanda
Cache Fusion Demystified
Cache Fusion the fundamental to performance in RAC by reducing the need to go to disk for the data and getting it from the memory of another instance directly. But it is also a source of a lot of mystery, myths and misconceptions.
Full Abstract
2-3 PM: Keynote Speaker Tanel Poder
This session doesn't have any slides, but Tanel will show you lots of (undocumented) ways to hack Oracle instead. Some of this stuff is actually useful, some is more fun ;-) Topics will range from how to read systemstate dumps, how to perform in-memory conditional tracing and how to trace a single SQL etc as time permits! More on Tanel's thought leadership here: http://tech.e2sn.com and his blog http://blog.tanelpoder.com
Full Abstract
3-4 PM: Keynote Speaker Riyaj Shamsudeen will present on RAC Advanced Trouble Shooting.http://orainternals.wordpress.com
Also on the Agenda for Monday:
Karl Arao will spend 5 to 10 minutes on each of the following topics:
Graphing the AAS with Perfsheet a la Enterprise Manager
http://karlarao.wordpress.com/2010/07/25/graphing-the-aas-with-perfsheet-a-la-enterprise-manager/
Linear Regression with AAS
http://karlarao.tiddlyspot.com/#r2project
____________________________________________________________________________________
Tuesday, September 21: 1PM to 4PM
1:30 - 2:30 PM: Keynote Speaker Kyle Hailey
Database Performance Made Easy Through Graphics
Average Active Sessions (AAS) Formulas, Interpreting Load Charts and Visual SQL Tuning (VST)
Full Abstract
Also on the Agenda for Tuesday:
Martin Nash will present a 5-Minute presentation "Helping MOS to Help Me", which is about diagnosing the cause of an ORA-600 error and then working around the error until a patch is available/applied. Obviously it's not applicable to every ORA-600, but the approach to identifying the source of the problem is Martin feels is worth sharing.http://oraganism.wordpress.com/author/martinpaulnash/
Arjen Visser will present a 5-Minute presentation on how to use DBvisit to implement a standby database without Data Guard. When using Oracle Standard Edition and Standard Edition One, Data Guard is not available. Dbvisit can be used as an alternative to implement and managing standby databases to ensure complete protection for your primary database. This is a quick overview of the Dbvisit solution. http://blog.dbvisit.com
OPEN MIC - 5-MINUTES-OF-FAME AND 5-MINTUES-OF-HELP
_____________________________________________________________________________________
Wednesday, September 22: 1PM to 4PM
AWARDS!
3PM - 4PM Keynote Speaker Kevin Closson will present on SMT and Flash
Also on the Agenda for Wednesday:
Gwen Shapira will talk convincingly about webscale, /dev/null
