Mike Ault's thoughts on various topics, Oracle related and not. Note: I reserve the right to delete comments that are not contributing to the overall theme of the BLOG or are insulting or demeaning to anyone. The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer.
Sunday, May 30, 2010
All of those tourists covered with oil...
I am not an expert in oil drilling, capping wells or cleanup, so to tell you the truth I have no clue what should be done, but common sense seems to dictate a few things:
1. If pumping drilling mud into the hole prevents the oil form coming out or reduces it significantly and the mud used is the least toxic, water and bentonite clay based mud, they should be required to keep pumping the mud in until the leak is stopped.
2. The relief wells should be required to be in place before the well can be brought into production.
3. The blow-out preventers and other safety gear should be required to be tested on at least a quarterly basis with a full well shutdown required as a part of the test.
4. Each platform should be required to have in place a floating dam that would contain the projected flow of the well should a blowout occur for a specified minimum amount of time both above and below the water.
5. A main and backup flow preventer (i.e. shutoff device) should be in place before the well is allowed to be in production.
6. All of these requirements should be required to be retrofitted on all existing platforms.
7. The required skimmer and vacuum ships should be on standby within hours of the platforms.
8. The oil companies should be required to provide funding for an independent group of clean-up engineers who will take over a well when an accident occurs who will give priority to stopping the well, not profit.
Will all the above be expensive? Yes! However, it will be less expensive than another disaster of the size we are currently seeing.
Tuesday, May 25, 2010
Selling (Or: How to Self Toot)
I assume at least in the Oracle space that folks have heard my name, seen my books or heard me speak at a conference or on a webcast. Usually this is true, in the Oracle space I have a bit of a shadow, not as much as Tom Kyte or Jonathan Lewis or several others I can think of, but at least many folks in the Oracle Database realm know who I am. But what about in other areas?
I am a fiction writer (of course some would argue that they knew this from my Oracle writings, but let's not go there!) and have three books out there right now, you can see links on the link list on this blog. I also do photography, there is a link off of my website showing some of my work. And, last but not least, I have begun to dabble in handmade jewelry, I also have a link form my website as well as one over on the links list. So I am not just an Oracle person, I have other interests! Unfortunately most people don't realize my other interests exist because of my lack of ability at self tooting....
I guess I need to start tooting a bit more, so if you are reading this you have been officially tooted about my other activities (so if my wife asks please tell her!) Anyway, enjoy the numerous articles, recipes, short stories and such that I have published along with the photographs I have taken while you are gazing i rapture at the jewelry I create (was that a bit over the top?) Anyway, now you know, I am not just a one trick pony...
Friday, May 14, 2010
Leap of Faith
Well this week I did something that I have always wanted to do. It is probably one of those things which require the greatest leap of faith of anything a person can do. It involves trusting, totally at least 2-3 other people who you probably have never met before. One has a very technical and arguably the most critical of the jobs, one literally has your life in their hands and the third (if needed) has both the second persons and your life in their hands.
Let me explain. The first person I am referring to above is an airplane pilot responsible for getting you and the second person off the ground and to an altitude of 14,000 feet. The second is the jump master or instructor who is responsible for making sure you have the harness on correctly and that you are properly attached to their harness. In addition they may (and usually do) pack their own chute, so they can become the third person, the person who packs the most vital part of the equipment, the parachute, so it opens properly.
Yep, I jumped out of a perfectly good airplane at 14,000 feet, then fell for 9,000 feet (over a mile and a half) and then glided down to a not so soft, but definitely safe landing, in short, I had my first tandem skydive. A tandem skydive is when you are attached to an instructor and they do the chute release and guide the chute once it is open. For more money and more training you can do a solo jump which of course means you are responsible for the opening of the chute and the guiding.
Remember that feeling you get in a dream when you fall? That is exactly the sensation you get when you jump out of the door of the plane. Only instead of lasting only a second it lasts several as you reach terminal velocity of between 120-130 MPH and fall to your release height, generally around 5,000 feet. The chute was a slow opening model so rather than jerking you harshly it was more like a quick stopping elevator as it caught the air and allowed us to fly. By the time you are done, your adrenal glands are running on empty.
We swooped and turned and pirouetted in the air as we came down to a “butt” landing. Yep, we landed sitting down with only a small bounce or two. No bruises (at least that I can see) and nothing broken. It was a great experience.
The sky had numerous small white fluffy clouds at about 8,000-9,000 feet so we literally were above the clouds at 14,000 feet when we lept from the plane and drifted down past them. Unfortunately we didn’t go through one but just realizing I was free of any constraints and above the clouds was quite a heady experience.
I don’t know if I will ever do it again, but it was definitely worth doing. Of course now my daughter is saying she would love to do it, so I may have to take her. Of course, that will have to wait a couple of months as she is about 3 months along with my third grand child.
Wednesday, March 17, 2010
Home Again, Home Again
This week I am teaching 1/2 days (09:30-13:30) on Oracle11g new Features for DBAs including release 1 and release 2. It has been interesting as I try to demo live the new features to a class over Webex. So far no one has thrown any virtual tomatoes so I guess it is going great. The class is participating and asking questions. I do feel bad that because of some equipment issues they aren't able to do the labs as planned, but you take what you are given and do the best you can!
After this week I have some down time until 4/18 and Collaborate in Las Vegas. Of course that time includes jury duty and several minor meetings. I hope the weather clears up so I can do a couple of tune-up scuba dives. I am planning on going to Alabama Blue Water for DUI-DOG days again this year weekend after next, and maybe if things work out, take Susan along for her first drysuit adventure. Of course then I will probably have to get her one...
Doing some playing with dbms_resource_manager.calibrate_io if I get something interesting I'll post the results on my TMS blog.
Stay Safe!
Mike
Tuesday, March 02, 2010
It isn't a Job it's an Adventure
I usually try to get to the airport when I travel at least 1, if not 2, hours before I actually need to worry about setting foot on the plane. This allows for problems getting to the airport, problems at the airport and if not problems occur, allows me time to get my traditional travel meal at Houlihans: Buffalo Chicken Strips and a Killian Red, while I wait. However this time this was not to be.
First, I try to travel outside of rush hour, but since this trip was set to leave out at 6:55 pm, I was stuck right in the middle of Atlanta's rush hour. Scratch the chicken and beer. I still arrived at the airport with plenty of time to make the flight, especially since I was not checking luggage. I get to the gate only to be told that the plane was going to be 20-30 minutes late. I grab a Burger King Grilled Chicken and a Sprite as a consolation prize and sit down to wait. 30 minutes comes and goes, however, the representative assures me that I will still make my connection in Denver as "There are only 40 people on the flight, we can board quickly and get there in plenty of time". Famous last words.
Flight time comes and goes and finally the plane arrives. The representative has a sheen of sweat on her forehead but still assures me I can make my connection, then the kicker, mechanical problems. Seems there is an issue with the radio and they need to get a mechanic over to take a look before they can board. Now it is 40+ minutes past the time for boarding and they are already telling many folks that they aren't going to make their connections and offering hotels either in Atlanta or for brave souls, Denver. Seems they still think I may be able to make my connection, but I get in line anyway. A second rep says the flight out of Denver to San Jose has been delayed 20 minutes, I might just make it. Of course then I think about what happens if I get to Denver, rush to the plane only to wave to it as it takes off and I am stuck in Denver overnight. The earliest flight puts me into San Jose at 10:30 the next morning...30 minutes into my presentation time.
I finally make it to the desk. They say maybe I could make it...just as they announce they are ready to board. I am afraid maybe isn't good enough. I ask if they can book me on their partner who has a flight direct to San Francisco Airport with no stops. After a thoughtful glance the representative says "Sure". End of adventure? Not quite!
It seems to do this for some reason she has to print out a copy of my old ticket before the system will allow her to print me a boarding pass for the new flight. She spends 10 minutes looking for ticket stock, then another 30 minutes trying to get the printer to print. Finally I say "Have you tried cycling the printer on and off?" (sometimes you need to rest them on the network if they haven't been used in a while.) She gives me a dubious look like that is just to simple, after all, she has been banging on it, reloading it, and I am sure saying a few sub-vocal swear words that would have curled my hair, and I am an ex-sailor. Anyway, it worked, she prints the old pass and then finally the ticket for the other flight. Now the kicker...she can't find the gate.
Down the way is a representative from the partner airline, I trot on down and she gives the bad news...it is on another concourse, so it is the seemingly mile sprint up the concourse, take the escalator into the bowels of the Earth, get on the train and then reverse the process in the new concourse.
Anyway, they have just started boarding the new flight when I get there. I go up and check in and a miracle, I can upgrade to business class for free! Excellent. I board the flight and relax. A couple of drinks and a relaxing flight later I am in San Francisco. As we taxi in I try to get a hold of the rental car agency to switch my San Jose reservation to a one-way from San Francisco to San Jose. After traversing several menus, it disconnects without me talking to anyone. Fine, I'll just go to the counter. Believe it or not, at the counter everything went fine and I was soon hurtling down 101 towards San Jose. I finally got into my room at 0030 am local time (3:30 my time). After a quick review of the next days presentation I finally fell into bed at about 1 am pacific time.
Who says there isn't anymore adventure?
Mike
Monday, March 01, 2010
Do You Know the Way to San Jose?
I will be presenting on Oracle IO, RamSans and everything in between and will be available for questions, other folks form TMS will be there and present as well so it will be a one-stop place to be for everything you ever wanted to know about RamSan technology!
Well, I have a presentation to complete so I have to go for now. I will post about the Road Show in the TMS event blog tomorrow.
Mike
Thursday, February 25, 2010
Heading Home
So, after 1:45 Susan and I jump back in the car for the 4 hour drive back to Alpharetta. We'll be swinging by Susan's folks and picking up the signed books for Dr. Kuntz (he purchased 10 of my father-in-law's books) and dropping them off on the way home. If anyone is interested in the book, it is called a"A Kick in Your Caduceus" and can be found here. 50% of all proceeds for the book go to Alzheimer's research.
The next stop for conferences and shows is the TMS Roadshow in San Jose. Hope to see you there!
Mike
Friday, February 19, 2010
Making the Best of Both Worlds
Why am I so enthusiastic about this new architecture? In tests, by only switching on this architecture in an existing structure we were able to achieve a 9-10 times performance improvement. Time to execute a test run of 2,000,000 SQL statements dropped from 12 minutes to 1.3 minutes. Latency dropped from 13 ms to less than 1 ms. Here is a link to the entire paper describing this architecture:
http://www.texmemsys.com/files/whitepaper_opera.pdf
While the paper describes an Oracle based architecture, the concepts it describes could be used for any read-intensive application with the use of a disk management system that allows preferred-read mirrors to be utilized.
of course the beauty of this architecture is that it makes use of and accelerates your existing IO subsystem without any changes to the tables and indexes or your application.
Mike
Thursday, February 18, 2010
Ready for Day 2 of RMOUG
Of course in this more generic version of the paper I have reworked the OPERA acronym into "Oracle Performance Enhancing Reliable Architecture" an removed specific references to the RamSan-620 (other than in the pictures) to be able to give this great presentation and not come across as an advertisement which of course is a no-no at almost all Oracle conferences unless you are doing an allowed and sanctioned product presentation. Fear not, whether the paper uses RamSan or SSD the architecture it espouses is just as valid and performance enhancing!
In speaking with some of my contacts here I found out something interesting for you MySQL folks out there. MySQL as it sits right now can only properly utilize about 4 CPUs before not so good things start happening. Well, there should be a new release soon that will properly handle up to 32 CPUs. Looks like Oracle is keeping their word not to interfer with the further advancement of MySQL in the OpenSource environemnt.
Well, I have to pack and then do the normal morning duties so I can meet Lee Miles for breakfast at 6:50 (the showroom floor opens at 07:30) so that is all for now.
Wednesday, February 17, 2010
Day 1 of RMOUG
My first presentation "Going Solid: Determining What in Oracle to Put on Tier Zero" came off without a hitch with lots of interest and great questions. We've seen lots of activity at the booth with many people very curious about the benefits of SSD technology in their environment.
Well, it is off to lunch, I will try to post more later in the day after I see a few presentations.
Mike
Monday, February 15, 2010
A Valentines Day Surprise
So...I published Doc's book, a collection or anecdotes from his 47 years as a country doctor. It started as a roughly printed manuscript that lingered for 10 years in the back of a closet. I scanned it in to my computer and used OCR (optical character recognition) software to recover as much of the text as I could then spent several nights correcting, editing and typing in hand written changes and additions that didn't make it in to a final printing the first time. Doc also painted, scenes for his life, scenes for day to day living. I then added pictures of Doc's paintings where I could find some that were at least tangential to the story being told.
2 years ago Doc was diagnosed with Alzheimer's. Luckily it isn't a severe form...yet. He still recognizes us but his memory stops short of his second great-grandchild, Hannah Marie, my grand daughter. Anyway, to try and do my bit for helping to eliminate this brain stealing disease, half the royalties will be donated to Alzheimer's research and the other half to help cover Doc's future medical and care costs in the future.
Doc wasn't aware (neither was Mary) that I was doing this, Susan, Marie (my oldest daughter) and I did a real good job of keeping it secret. We gave a proof copy to Doc on Valentines day. At first he didn't know what it was, until he recognized his drawing on the cover and saw his name as author! His eyes lit up and he spent then next several minutes paging through, reading here and there and remembering. Mary (his wife of over 50 years) got wide eyed and I think she was about to cry, if you could know Mary you know how much that is saying. Anyway, they both gave their support to making it publicly available.
Here is the books website, have a look!
http://caduceus.scubamage.com
Mike
Friday, February 05, 2010
Loading in Oracle
Now using RAC and going with multiple instances I was able to increase that number as a factor of the number of nodes. However that seems to be a very complex method.
So, anyone out there have some good tips for loading data quickly into Oracle? Currently I am going from a memory cache (filesystem) using external tables directly into an internal table, use of APPEND made no difference since the table is new.
Eventually I would use the table to do a partition swap as soon as the table reaches a specific size and start a new table loading. For right now I just have to maximize the load speed going from an external table to an internal one.
Anyway, I will post more information as I find more.
Mike
Tuesday, January 26, 2010
Going Critical
Of course , real life is seldom if ever reflected in movies or fiction, otherwise these things would be called reality. Criticality is a required state for the nuclear reactor to reach a state of self-sustaining reaction. Essentially it means that the reactor core on average is producing more nuetrons, a little bit over 2 generally, per fission which allows for losses during the fission process (absorption of the nuetrons that doesn't produce fission, or leakage of the neutrons from the core.) A reactor can be sub-critical, where there simply aren't enough nuetrons to sustain a self-perpetuating reaction, critical, where the neutrons produced are just enough to make up for losses, and super critical where the reactor is producing more neutrons than needed to sustain a reaction. The term most of the writers are looking for when they want to portray a problem with a nuclear reaction should be "Oh no! The reator is super-critical!".
So what, you are probably saying, what does this bit of nuclear trivia have to do with regular life? Well, each reaction, if it is to be self sustaining, must reach a critical state. What this critical state for reactions of course varies for the type of reaction. For example, let's say someone sends out a spam email about rutabagas. Rutabagas are not very interesting vegatables, but, if you can get off enough emails to enough people who are interested in rutabagas the email will continue to circulate and take on a life of its own, essentially going critical in the espace.
This notion of critical mass for a successful email campaign of course also carries over to other forms of publicity and all PR shops hope for their campaigns to reach a critical mass of interest where they takes off on their own. Usually once a successful formula for reaching a critical mass in an ad campaign is found, with minor tweaks it can be applied to others. This also known as "going viral".
So, why have I been thinking about this? Well, of course there is my professional life where we hope each new RamSan SSD we launch will reach a critical mass in the storage world, where essentailly word of mouth does our work in selling it for us. Then there is my personal life.
If you have been following my recent posts you know I have been dabbling in self-publishing. Of course anyone who publishes anything wants it to reach a critical mass in its publishing domain, whether it is my technical, Oracle books, or my self-published fiction books, I want them to reach a level of popularity that generates its own publicity and of course, sales!
Well, enough lunch time musings. Be safe and enjoy life!
Mike
Sunday, January 24, 2010
The Puddings in the Proof
Just so everything is in one place here are the links for the various Kindle and Paperback versions:
Quest of the Rune Sword:
Kindle: http://www.amazon.com/dp/B0033WSZH2
Book: https://www.createspace.com/3424929
Ransom of the Phoenix:
Kindle: http://www.amazon.com/dp/B00347AIE4
Book: https://www.createspace.com/3425526
Seeds of Wonder:
Kindle: http://www.amazon.com/dp/B0033WSW7U
Book: https://www.createspace.com/3424266
This journey into self publishing has been enlightening. Some things you need to watch for:
1. Avoid self publishing offerings (SPO) (for the most part) that only have one or two expensive options where they want a load of money up front for formatting, editing and such.
2. Avoid SPO where they want some long period (for example, 7 years) where they own your content. It usually seems these correspond to ones that fall into item 1.
3. Do make sure your content is fully editted, proper spelling, grammer and usage. The first step is no red or green underlinings in WORD then read for word usage.
4. Watch were and where, lose and loose, threw and through, etc.
5. Quote properly
6. Don't publish anything you don't own or have permission on unless you know the fair usage laws and fall well within them.
I could go on, but I believe you get the gist of it.
The ones I have heard good things about are: Createspace, dtp.amazon.com, xlibris, iUniverse and LuLu. I am sure there are more quality ones but this will get you started!
Anyway, take a look at my offerings and enjoy!
Mike
Friday, January 15, 2010
More on Writing
However, since I have been cutting back (yes I know, many have asked when the next Oracle book will be out) I am beginning to get the writing bug again. In addition, I have recently published another book with Texas Memory Systems about the use of SSD technology with Oracle, check it out on the TMS website: RamSan book.
Of course I also used to write fiction as well as technical and I have ground out a couple of short stories and polished off a couple of novels I had sitting around. While I was doing this I found my pile of rejection slips. When someone asks me how to be successful as a writer I tell them to collect enough rejection slips to use as wall paper for a regular size bathroom. Of course some would use them for a different type of bathroom paper.
As you can tell from my previous blog on the 13th, I have gotten tired of rejection and the add of insult to injury of having to wait (sometimes months) for the privilege of being rejected without the benefit of even having been read at times. I have had several times been rejected with letters that used the wrong title for the book, wrong author name and with the manuscript returned in the same box, same rubber band around it and in absolutely pristine condition. Now I didn't check for fingerprints but my guess was it sat in someones read pile for X days and they simply sent it back without a read. Until the invent of print on demand (POD) and ebooks this was the fate of most submissions to mortar and brick publishers.
So I decided to give self publishing a whorl. Looking over many POD publishers most seemed more designed for vanity (oh let me buy 10 copies for friends and relatives and I don't care if it is never marketed) than for actual get it out there publishing. Then I stumbled on CreateSpace and DTP from Amazon. I know you all know what Amazon is, well, they partnered with CreateSpace to provide POD publishing that is actually a real attempt at true publishing. Hence I decided to use both the POD and digital publishing services from Amazon.
Justr as with my foray into jewelry making where I had a bowl of sharks teeth on my desk so I decided to do something with them, I had a collection of short stories (several published in magazines and in two anthologies) and two novel length books just sitting on my hard drive so these have been sacrificed to the POD and ebook effort.
To date the three have made it online to Amazons Kindle store:
Ransom of the Phoenix an action adventure about theft of Nuclear fuel.
Seeds of Wonder a collection of short stories
Quest of the Rune Sword an epic fantasy
Anyway, I'll see how they do. The actual softcover books will be available (with any luck!) sometime next week.
Enjoy!
Mike
Wednesday, January 13, 2010
Don't Pay the Ransom!
Anyway, thought I had better post something! (Thanks for the nudge Nigel)
Believe it or not I do have time for other things (other than Oracle and scuba diving) I also do wire wrapped jewelry (radidjewelry.etsy.com), write fiction (http://www.amazon.com/dp/B0033WSZH2,http://www.amazon.com/dp/B0033WSW7U) and do photography (http://s159.photobucket.com/home/mikerault) as well as play with my grandchildren (2 and counting).
However, I shall endeavor to do a better job keeping up this blog. Once I wrap up my load testing with Oracle I will see what tidbits I can write about.
So thanks loyal readers and whatever you do, don't pay the ransom...I escaped.
Mike
Tuesday, September 15, 2009
Exadata Part Deux
I just watched Larry Ellison’s webcast announcing the new Exadata-2, the Database Machine made for both data warehouse and OLTP systems. The new Exadata contains both DDR3 (about 450 GB) and Flash (around 5.6 TB) cache areas (not SSD) and up to 100 TB of SAS or 336 TB of SATA raw disk capacity in a full rack of 8 DB servers and 14 Exadata-2 cells. Of course formatted and ASM redundancy will eat at least half of that disk capacity or more.
Larry promises 10X at a minimum improvement in speed and response with 1,000,000 IOPS per full rack.
All of this is wonderful news except for one thing, it locks you completely into Oracle technology. The Oracle database, Oracle Linux OS and Oracle SUN hardware. None of this new toy works without special Oracle software and licensing. You can’t run anything else on it but Oracle. It comes preconfigured with Oracle and OS. The cost for a full rack is 1.15 million plus around another million in license fees.
Interesting thing that you could take the 8 DB servers with a normal amount of memory, not the massive 72 GB per server in the Database Machine, 4 RamSan-620’s and 2 RamSan-420’s, a couple of FC switches and some HBAs and get that 1,000,000 random IOPS Flash plus an additional 1,200,000 random IOPS DDR and have 5 TB of Flash, fully redundant, and 512 GB of DDR2 fully redundant and still come in at less than 1.15 million and a lot less on license fees. Shoot, even add in some SATA or SAS drives and use the preferred read technology in 11g ASM or other global filesystems and viola! The same configuration. Nice thing, you can run anything on it. Of course Oracle runs really sweet on this configuration but so will SQLServer, MySQL, BSD, or anything else. It can also run Windows, Linux, or with IBM servers, AIX as well as Solaris’ various flavors.
So you get the same bang, since Oracle11g software will run (with its compression technology, query optimization and partitioning) the only thing you don’t get is the added power requirements of the SAS or SATA drives in the 10 extra Cells needed to get what we get out of 12-U of space.
One other point Larry made was that to expand you just add more servers of more cells. Supposedly in Oracle11gR2 RAC allows this anyway. Now we don’t have fancy software that automatically rebalances the whole storage array, but guess what, Oracle provides ASM for free and it does.
Ok, I will concede one point, the parallel query software at the cell level (10K USD per disk license fee in Exadata-1) will probably result in some queries (who knows, maybe all) running a wee bit faster than without it, but I would love to see a comparison between equal configurations just to see!
Wednesday, June 03, 2009
On Gun Control in the USA

Gun control is a hot button item with liberal democrats and conservative republicans. The desire of the most rabid of the gun control crowd is to remove all guns from everyone except the police and military (and some would take the guns from the police as well!) The conservatives want almost no limits on gun ownership. I believe the reality of the matter should be somewhere in between.
Coming from a long line of hunters (going back to the first Alt’s in
Now, to the meat of the matter, I am a card carrying member of the NRA, does that mean I stand for everything they do? No, of course not. I believe that Americans have the right to keep and bear arms, both for home defense and just in case politicians get too uppity and decide to try to take more power than they need to govern. And I believe that is the reason that the framers of the constitution put the right to arms clause in there, to remind politicians that they aren’t all powerful. Do I think the average citizen should own fully automatic weapons, flame throwers, grenade launchers or Abrams tanks? No, definitely not.
Currently there are some half baked proposals before the Congress and Senate proposing bans on semiautomatic weapons with some fairly liberal definitions of exactly what is a semiautomatic weapon, unfortunately, that definition would not only ban a semi-automatic AK47 with an extended banana clip holding hundreds of rounds, but my son-in-laws 30-06 semiautomatic hunting rifle. Thus, it is a bad bill and should not be passed.
I am all for limits based on cyclic rate of fire and clip size, but not so loosely specified that it can produce a cascade effect onto sporting rifles. In fact, the very weapons that the bill is designed to restrict are already restricted by existing laws. Most of the crimes that the liberals are saying would be curtailed by this new ban were not committed with the semi-automatic rifles they are trying to ban! The one thing that the liberals who propose these bans forget is that criminals don’t follow the law, that is implicit in their being criminals. As countries such as
Why is it that liberals can’t read statistics? The states and cities with the most restrictive bans on guns have the highest crime rates, the ones with the least restrictive tend to have the lowest. When a criminal (who could care less that he is using an illegal hand gun) knows that a home owner or car driver probably won’t be armed because the law forbids it, it makes them an easy target for that criminal. Some states have already made it illegal to defend yourself, allowing criminals injured by homeowners to sue the homeowner for damages! Talk about legal insanity! More people where killed by bad Doctors last year than by guns in the
Remember, it is already illegal to own or sell fully automatic weapons, grenades, rocket launchers and generally illegal for anyone to own anything other than a rifle or handgun that can be used for hunting or sport shooting. By law the guns must be registered. Most states require a permit and a safety course.
I agree that before a person can own a gun they should have to take a gun safety course, not be a felon and be at a responsible age. However, beyond restrictions on fully automatic weapons, ridiculous calibers (bullet sizes) and rocket launchers, if Granny wants a semiautomatic AK47 with a case of ammo, the more power to her!
If gun laws will make us safe then why are the states and cities with the most restrictive gun laws the most unsafe? If laws make us safe then we should have nothing to fear since it is illegal to commit a crime with a gun, it is illegal for felons to own guns and the most dangerous fully-automatic guns are already illegal. Face it, the reason most politicians want guns banned is they are afraid that if they really screw up we will hold them accountable for it, an unarmed population is much easier to control than an armed one.
Thursday, May 28, 2009
Preliminary TPC-C Results
I just wrapped up my series of TPC-C based tests involving the TMS RamSan SSDs and HDD technologies (SSD-Solid State Disk, HDD-Hard Disk Drive.) For those not familiar a TPC-C has 9 tables with related indices and uses 5 basic transactions to compute a number called a tpm-C, essentially a transactions per minute completed for a given size of database and user load. I used a scale factor of 1000, which means that in the WAREHOUSE table of the TPC-C schema I had 1000 entries, the rest of the database is based on multiples of this value. The TPC-C is a benchmark used for OLTP type systems.
There are two basic methods to do a TPC-C test, one with many clients (read thousands) and built in latencies (usually on the order of up to a second per transaction) and the other with few clients and no latencies. In the first methodology in order to achieve tpm-C approaching 100,000 you would need close to 10,000 clients, roughly a 1 client per 10 tpm-C ratio. In the second method you can get to a tpm-C of over 100,000 with as few as 250 clients. Since I was limited as to the number of client boxes I had access to I decided to use the second method and utilized a ramp-up from 5 to 500 clients in increments of 5 using the Benchmark Factory (BMF) tool from Quest to both build, and, repopulate the TPC-C database before each run. Kevin Dalton at Quest supplied me with some custom build scripts for BMF that allowed me to build any or all of the tables simultaneously, this helped immensely with the build and needed rebuilds. The scripts he provided should be available on Toadworld.
The test system consisted of a 4-node RAC cluster with each node having 8-2 GHz CPUs and 16 GB of memory using an Infiniband cross connect running Oracle11g, 11.1.0.7. The storage subsystems consisted of 2-RamSan400’s, a RamSan500 and 6-15 disk racks of 114GB 15K RPM disks. The RamSan400’s were used for Redo logs and Undo and Temporary tablespaces. ATPC-C schema was built on the RamSan500 (which also held the SYSTEM, USERS and SYSAUX tablesapces for both tests) the RamSans where configured with multiple 4Gbps fibre channel lines each in a multipathed configuration. A duplicate TPC-C schema was built on the HDD array which was configured as two groups of 45 disk drives on different 2Gbps fibre channel links and then used as a single diskgroup in ASM with a failure group (essentially RAID10.)
The RamSan based subsystem utilized 20-4Gbps fibre channel links to access the 500,000+ IOPS that the system was capable of delivering. The HDD subsystem utilized the 2-2Gbps links to utilize the 27,000 IOPS the system was capable of delivering. The database was configured using 8K blocks, in a TPC-C the major IO path is single block reads. Using 8K read/write sizes the interfaces for the RamSan subsystem can handle 1,310,720 IOPS, the subsystem for the HDD can handle 64,000. Now before you scream foul, remember that each disk drive can only handle a maximum (and this is being generous) of 300 IOPS each, 90*300=27,000, so the HDD interface is more than enough for the available IOPS.
In the above configuration the impact of Redo logs, Undo segments and temporary tablespace access are essentially eliminated and access times to the SYSTEM, SYSAUX and USER tablespaces minimized, thus we are only looking at the access times for the TPC_C data and indices as the possible variables in the tests.
In the first set of tests the database was run with 1 to 4 servers with 9 GB of DB cache size. The HDD results peaked at 1051 TPS and 55 users. The RamSan results peaked at 3775 TPS and 245 users. The HDD results fell off from 1051 TPS with 55 users to 549 TPS and 15 users going from 4 down to 1 server. The SSD results fell from 3775 TPS and 245 users down to 1778 TPS and 15 users. However, the 1778 TPS seems to be a transitory spike in the SSD data with an actual peak occurring at 1718 TPS and 40 users. From this data, given the choice, you would get better performance from a single, 8-CPU, 16 GB memory server running against a RamSan configuration than you would with a 4-node RAC configuration running against a HDD system by a factor of 1.63.
In the second test the affects of memory starvation on the RAC environment was tested. The DB cache size was ramped down from 9 GB to around 1 GB. The tests showed that the RamSan configuration handles the memory stress better by a performance factor ranging from 3 at the top end at 9 GB total cache size to a huge 7.5 at the low end comparing a 1.05 GB cache on the SSD to a 4.5 GB cache on the HDD run. The HDD run was limited to 4.5 GB at the lower end by time constraints however, as performance would only get worse as the cache was reduced more, further testing was felt to be redundant.
Of course the reason for the wide range between the upper and lower memory results, from a factor of 3 to 7.5 times better performance by the SSD, can be traced to the increase in physical IO that resulted from not being able to cache results and the subsequent increase in db file sequential reads.
The tests show that the SSD array handles reduction in available memory much better than the HD array. Even at a little over 1 GB of total cache area per node for a 4-node RAC environment, the SSD outperformed the HD array at a 9 GB total cache size per node for a 4-node RAC using identical servers and database parameters. Unfortunately due to bugs in the production release of Oracle11g, release 11.1.0.7, we were unable to test the automatic memory management feature of Oracle, the bug limits total SGA size to less than 3-4 gigabytes per server.
A third test involved attempting to defeat the cache fusion logic that assumes that getting data over the interconnect is faster than from the storage subsystem. In our test system the transfer of blocks was taking 3 milliseconds while reading and writing was taking less than 1 millisecond so using a ping (write to disk, read from disk) would theoretically be better performance than using the interconnect to transfer the block. A look at documentation seems to indicate that if you set the gc_files_to_locks parameter then cache fusion is defeated.
In the first run we set the GC_FILE_TO_LOCKS parameter to “1-13:0” which was supposed to turn on fine grain locking (the “0” setting) for files 1 to 13 (all of our datafiles.) Unfortunately this increased the number of cache transfers and caused a decrease in performance.
In the second test we researched the GC_FILES_TO_LOCKS parameter a bit more and found that we shouldn’t have set the parameter for the UNDO tablespaces and, even though the examples showed the “0” setting for setting fine grain locks, we decided to set it to a hard number of locks equal to or greater than the number of blocks in each datafile. The documentation also showed that generally speaking the SYSTEM and SYSAUX tablespaces don’t need as many locks so we decided to set the value to 1000 for those tablespaces. You don’t set the parameter for temporary tablespaces. This led to a new setting of “1-2:1000EACH:7-13:4128768EACH”. Tests with this new setting showed an increase in GC related waits.
The attempts to limit or eliminate cache fusion failed and resulted in poorer performance overall. While we reduced the gc buffer busy acquire waits and in some cases increased the db file sequential reads, the increase in the wait times for the GC related waits offset any gains that were made. All attempts to defeat cache fusion with the use of the gc_files_to_locks parameter were unsuccessful and resulted in poorer performance.
Once the full paper is available I will post a link to the TMS website.
Wednesday, March 18, 2009
More fun with Oracle11g 11.1.0.7
Right out of the gate when I upgraded my 11.1.0.2 environment to 11.1.0.7 I had problems. If you utilize the automated memory management features using MEMORY_MAX_SIZE and MEMORY_TARGET, on 64 bit RedHat Linux you are limited to 3 gigabytes of total SGA, that’s right folks, less than you can get on 32 bit! This was easily mitigated by going back to full manual memory management. So much for the much touted AMM improvements in 11g.
My setup for testing is a 4 node luster using Dell servers with 8 CPUs each and 16 gigabytes of memory per server. I am using Infiniband interconnects on the 4 server cluster. Initially I would get ORA-00600 errors and server reboots if we loaded down the system doing a single user 300 GB TPC-H. For the most part I was able to fix that by relinking the Oracle kernel to use the RDS protocol with Infiniband, however, on some large queries using cross instance parallel query and large amounts of partitioning I still cannot complete a full 22 query TPC-H without at least one of the queries throwing an ORA-00600.
The next test was TPC-C using large numbers of users and cross instance parallel query. Following the example of some recent HP TPC-H runs I attempted to use clustered tables. As long as I used single table clusters, everything seemed to go alright, but as soon as I attempted a dual table hash cluster things went pear-shaped and I had to revert to normal tables. This was a known Oracle bug it seems but hasn’t been made publically available in Metalink. It seems I could load one of the tables in the cluster but then when attempting to load the second table in the 11g cluster it would error.
The next bit of testing involved creating a large table (60,000,000 2K rows) then duplicating the table, doing a select that forced temp usage, doing a self-join with large temp usage and creating a large index. Since I had 8 CPUs I initially started with a DOP of 8 increasing it by 8 as I added in each node up to a maximum of 32. Sometimes this would work, other times parallel query servers would die horrible deaths causing the transaction to fail. Now, for a 16 gig server with 8 CPUs I would expect to be able to get well above a DOP of 8 on a single table. In fact, during the load process the last several iterations use a single instance DOP of 64 with no issues. It seems as soon as I add more than 1 or 2 additional nodes, things start to get wonky (a scientific term meaning “wonky”), parallel query slaves commit suicide at an alarming rate and sometimes entire servers reboot. I reduced to 6 DOP and still see the failures on most runs above a server count of 2.
Of course you must realize from talking with support most of the internal testing and support is done on 32 bit machines. Many times support told me that they can’t test large memories or large databases because of this. Come on Oracle, take some of the interest on your billions in profits and upgrade your support servers! Buy some disk drives! Geesh!
Of course most of my work is done on gear that supports over 100,000 IOPS (actually more than this by several factors) and many beta testers may not have the 500 disk drives to allow for 100,000 IOPS or access to SSD technology to get this type of IO load. Maybe these Oracle11g stability issues only show up at high IO rates. However, with many manufacturers now offering SSD technology (SUN, HP, EMC) to go with their standard disk systems and of course, TMS, Violin, FusionIO and several other SSD vendors offering SSD systems that easily top 100,000 IOPS or more, Oracle better get with it and start doing significant testing in high IOPS situations, or at least, make sure and include the partners who have access to this technology in their betas.
I am not sure what happened with the beta testing of this (11.1.0.7) release, had I been included I would have quickly showed them these bugs as I believe in testing real world database situations. I don’t know whether to look forward to 11gR2 with anticipation or dread (I was not invited into that beta either), if the beta programs are as detailed as they were for 11gR1 we might be in for a rough ride.

