• DBA Life - DBA Rants

    The Seasons of a DBA

    As busy as I am these days, I am seeing a light at the end of the tunnel, (no, it’s not a train!)  We have a new DBA training that is doing bang up job and I do believe there is some lull in the demands of our busy season. As a database administrator, I’m happiest when I have a number of demanding tasks, along with mysteries to challenge me that often, the business isn’t even aware of the level of importance it is to having resolved until I’ve implemented the resolution and they have reaped the benefits.  I have two solid…

  • Oracle

    When RMAN Cloning Goes Bad…

    One of the options for cloning an environment with limited disk space  involves creating a parameters file for the RMAN clone memory script to run that contains the “skip tablespace” feature.  This allows the DBA to retain a working list of tablespaces that contain data that isn’t required in development/test or for other cloning purposes when performing the actual clone. startup auxiliary nomount; run { allocate auxiliary channel c1 device type disk; …so on and so forth for all the channels desired… duplicate target database to SKIP TABLESPACE USERS,TBL_DATA1,TBL_INDX1,….; } This can also be extremely helpful in environments where disk…

  • DBA Life - DBA Rants

    Building Right or Build Twice- That is the Question…

    This question seems to pop into my mind consistently over the years as a DBA.  I’m a “build it right or don’t build it at all” kind of DBA, but due to my gift for finding problems and fixing them, I find myself more and more often performing the second build on processes/procedures/designs, which I often would like to avoid.  I went through this repeatedly at a previous shop and it’s still fresh in my mind, even today… Don’t get me wrong-  I think it’s a noble cause when you first come into a new shop and it’s either been neglected or didn’t…

  • Oracle

    Simple Reporting Without Materialized Views

    A common initial resolution to reporting requirements without a reporting database is to utilize materialized views.  Unfortunately, the cost to refresh these views can be extremely expensive on a database, especially if it’s an OLTP that rarely has a lull in activity. A lesser known feature of Oracle’s is the Change Data Capture, (a.k.a CDC http://download.oracle.com/docs/cd/B10500_01/server.920/a96520/cdc.htm ) The CDC process utilizes a materizalized view log on a source table with a destination copy of the source table that can be kept insync with the original in any interval chosen.  The result is often a much lighter footprint than an mview refresh,…

  • Oracle

    Transactional and Reporting

    In my years as an Oracle and SQL Server DBA and the many technical environments I’ve worked in, there’s almost always one database in each place that is a hybrid of OLTP and OLAP.  A highly transactional database that also has reporting requirements, but no separate reporting database.  This type of database is pretty much a guaranteed challenge for any DBA.   On one hand, the DBA has demands of the application demanding micro-second response time for completion of transactions.  On the other, he or she has users wanting information about the data resulting from all those transactions.  A DBA’s best course for successfully taming these types of hybrid environments…

  • DBA Life

    RMOUG 2011 Abstract Started

    I’ve started working on my abstract to submit for RMOUG 2011.  I want to present on some of the CBO challenges I’ve taken on in the last year with large data sets.   There are a number of tricks that could be very useful to others in how to manipulate the CBO to work with tables over 100G in size.  Many of these tricks were requirements in areas where there have been small design flaws that “confused” the CBO and are very challenging for any DBA. I would also like to go into the steps I take to ensure that I am completely…

  • Oracle

    Parallel with 11G

    Sigh….IF I could only live in “Uncle Larry’s” perfect database world where I have more control over what choices are made from the conception of the database’s life and know exactly what goals a development group has vs. Oracle. How much easier a DBA’s life would be if we could just say, “Sorry, Oracle’s new feature would work well only if you completely redesign the logic of your process in code A, B and C of our main systems that have naturally grown in complexity over the years.  Of course, you don’t mind adjusting all priorities for the next six…

  • DBA Life

    DBA Crushes

    A little off technical topic and (hopefully) in good humor, I want to talk about DBA crushes.  Most techies have them, but as a female DBA, I can refer to them as “crushes” without anyone taking too much offense to the term, (hey, I’m after these guys for their technically brilliant minds, mind you!)   I’m sure some folks may bristle with the term, but we do have a tendency to follow certain “super stars” in the technical world like most people follow rock stars in the real world! I’ve read DBA and Developer, consistently gush over Tom Kyte and Jonathan…

  • DBA Life

    Link to RMOUG Presentation/Papers

    Oblivious as I am at times, just realized how difficult it might be for anyone looking for my RMOUG presentation and white paper! Here’s the links to my uploaded docs, instead of just having them in comments in a post! 🙂 http://docs.google.com/fileview?id=0B8JpTBjeGkOsMzk1NzBjYjAtOWE5ZS00ZGMzLWFkMDMtMDExNDI4ZjgzZWI5&hl=en http://docs.google.com/fileview?id=0B8JpTBjeGkOsN2RmYTcyNWMtMjkzZi00MTQ2LTk1NWUtMzg0MDAzZjgyMjRk&hl=en Thanks, Kellyn

  • Oracle

    OEM OC4J False Down/Timeouts

    After upgrading to 10.2.0.5 on Linux, our Oracle Enterprise Manager would report intermittently that the OC4J was down- Target Name=EnterpriseManager0.serve3r Target type=Oracle Application Server Host=mtlincoln Occurred At=March 12, 2010 3:09:52 PM MDT Message=The application server instance is down Severity=Critical Acknowledged=No Notification Rule Name=Application Server Availability and Critical States Notification Rule Owner=SYSMAN If you immediately checked the status of the OEM, all responses reported acceptable- ./opmnctl status Processes in Instance: EnterpriseManager0.serv3r ——————-+——————–+———+——— ias-component                 | process-type              |pid | status ——————-+——————–+———+——— HTTP_Server                   | HTTP_Server           | 25823 | Alive LogLoader                        | logloaderd                |   N/A | Down dcm-daemon                     | dcm-daemon            |   N/A | Down OC4J                                | Home                      |   25822 | Alive…

  • Oracle

    New Temp Tablespace Group

    I know I owe a few folks a blog on temp tablespace groups-  THANK YOU for your patience, I know these last couple months I’ve been way too busy and haven’t been able to allocate the time I would have liked here… Temp tablespace groups ROCK–  plain and simple..  This is a feature I have been working with extensively and have seen great performance improvement with in my datawarehouse environments when implemented correctly.  My main focus has been striping temp tablespace groups across fusion I/O cards, but the improvement moving from a standard temp tablespace to a temp tablespace group on standard hardware shows significant improvement…

  • Oracle

    Balance to Protect and Utilize Unique I/O Fusion Card Data

    Let’s say you have a database that everything can be recreated just by re-running a process and no nightly backups are required-  the database would be quicker to recreate from the backup running on it’s source database than restoring from a nightly backup or taking the performance hit of doing so.  Let’s say you have three tablespaces that are on I/O fusion cards that aren’t protected by hardware mirroring and losing these three could be more of a challenge than the business would like to have.  What options could you come up with to protect those tablespaces? Oracle Streams? CTAS…

  • Oracle

    ORA-02050 Remote DB in Doubt? How About Gone for Years??

    Interesting Issue… I was working on an interrupted distributed, (remote) transaction that I’d come across in one of our smaller reporting systems and attempting to rerun since 2008 against a decommissioned database, (yes, I said 2008…) This is a very “sublime” issue, as Oracle thinks it’s just taking care of a problem behind the scenes, but, like I said, this database no longer existed and was taken down while this remote process was running. The problem consisted of three databases, the reporting database, we’ll call REPRT_1, the current production warehouse, PROD_1 and the older production base, PROD_X Oracle keeps submitting…

  • DBA Life

    RMOUG 2010

    I attended, (and presented) at RMOUG this year and although it wasn’t as much of a “class reunion” as I expect, (seeing everyone that I’ve worked with at previous companies) I still did meet up with some previous coworkers and met some really great new DBA’s and Developers. It may just have been me, but I decided with the recession, attendance was down and I just need to help and promote it more along with everyone else! 🙂 My presentation was on parallel execution and no one seemed to notice it was my first presentation- which is a good sign.…

  • Oracle

    Dealing with Bind Variable Peeking

    Tanel Poder had a great post about bind variable peeking, http://blog.tanelpoder.com/2010/02/02/bind-variable-peeking-execution-plan-inefficiency/  I run into this exact issue more often than I would like to and have found a few tricks to refrain it from happening in code that is “vulnerable” to the situation. Truthfully, there isn’t much you can do when Oracle has gone in and performed a bind peek and chosen a poor example to peek on.  As a DBA, you simply know there is an issue when the explain plan states that the CBO has determined the cost is exceptionally low to perform a nested loop on a…

  • Oracle

    When Parallel is Wrong

    The Lead Developer and I have been working very, very hard on tuning the main process that produces much of the revenue for our company. The tuning exercise has been very successful but we’ve run into some challenging on the pre-processing that occurs for each week to build the mart that the newly tuned process runs on afterwards. Due to this, I’ve been granted some time to monitor the build process a little closer than previously and although I have a lot of tuning to do, some of the largest challenges comes in the form of queries that the analysts…

  • DBA Rants

    RMOUG Deadbeat

    Do you ever get that feeling that something just isn’t right, but you have no experience to go on and you’re just too busy to check up on it?  I thought it was a bit strange that there wasn’t more communication between the RMOUG management and speakers, but it’s my first time as a presenter, so I decided I was being too high maintenance and didn’t follow up, just checking the site periodically for anything that may pertain to persenters. so this morning I noticed that I hadn’t received an email from someone in my Yahoo account and decided maybe…

  • DBA Life - DBA Rants

    To Patch or Not to Patch, that is the Question…

    I’ve found myself “whining” in the middle of an Oracle Freelist email conversations in regards to patching-  or the actual need to patch. As a DBA, I have a love/hate relationship with patching.  I love that if there is a bug in a version of Oracle, I can simply log into Metalink, (or My Oracle Support or MOS, what else are we calling it these days? :)) look up the error, verify with the documentation or with Oracle’s support and apply the patch-  Yay me! Why am I hatin’ on the patch?  My strong feelings are towards the CPU and PSU patching. …