- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
We get even better performance. Our system is a custom-built RAID-11. You see it goes to 11. Most systems just go to 10. Our's is one better, RAID-11.
Admin
This may have simply been a very old DBA.
I have a "database optimization" textbook from the 70s or early 80s. It goes into great detail on how to organize block access from disk. I'm sure this was important before caching, modern RAID design, modern file io, and modern RDMSes.
It's funny, but a predictable result of old knowledge not translating well.
Admin
Actually the Morans are a well known criminal family in Australia. As far as I'm aware they're not known for the DB administration skills.
But then, perhaps that was the previous poster's point.
Admin
Admin
Admin
Clearly the above comment can be added to the 'feck off' list. I manage and use 500Gb databases daily and a well chosen index and sensible query approaches mean we can keep a 100 user team happy day in, day out, and have done for the last 5 years. Maybe next year (if we start to see performane problems) we can hire a smart-arse to screw it up for us, or we can diseminate systems across SOA.
Too many times have I worked with arrogant pricks who (truly) think I am an idiot, THEY are the idiots (for example one said both Java and C# were crap and Powerbuilder was the future... I mean ffs... ARG!!! squared)
If you want to disappear up your own crack I guess 'tuning' is the way forward. The rest of us understand weaknesses on a given platform and hence play to the platform's strengths.
Now, feck off you know-it-all numb-nut useless gits, you couldn't program your way out of an Excel representation of a clock.
GrrRrrrrrrrrrrRrrrrrrRRrrrrrrrrrrrrrr
Admin
Why don't you just make the RAID-10 louder?
Admin
With almost 2 million profiles, ____ S e e k I n t e r r a c i a l [DOT] c o m ___, the Interracial dating site, is the best source of dating profiles for Interracial Singles. JOIn for free now!!
Admin
[quote user="dkf"][quote user="BradC"]RAID-10 on dedicated LUNs = happy users, happy DBAs RAID-5 on shared LUNs = unhappy users, unhappy DBAs[/quote]I thought that DBAs were only happy when they made users and developers miserable?[/quote
That's what we want you to think. Win!
Admin
Admin
The problem is these days you don't have a clue what logical sectors correspond to the inside or outside tracks... most modern file systems no longer try to optimize layout for placing stuff in certain tracks and just try to keep stuff contiguous while minimizing seeks, I imagine databases do the same.
Admin
Academics FREQUENTLY make terrible awful horrible programmers, because they don't program... it's not that they are incapable, they lack experience, which is what you REALLY need to write good code.
Admin
Y'all can quit commenting now. This guy (gal?) wins.
Admin
Are you talking about computer science or software engineering (or whatever)? They are not the same thing... computer science is where you make up an algorithm and prove that it's correct/bounds on runtime/space or that it's optimal under some assumptions, and I mean prove, mathematical truth... That's Computer Science. (sometimes they will go into does the big O bound really get you anything with real life sized workloads, like for example a simple binary heap usually beats binomial heaps in practice because you need a REALLY big heap for the asymptotic behavior to dominate because a binary heap is just so simple and relatively friendly to hardware that the "past a certain point" and "within a constant factor" become extremely relevant)
There is also lots of CS research done that has no real world applications because the assumptions that the proof started with do not hold in real life (for example atomic primitives there are some we have in hardware, and some we don't, lots of academic articles about wait free algorithms that depend on atomic primitives that don't exist in the real world, so the algorithm isn't actually wait free in real life and so is probably not actually useful)
Software Engineering is an area where you can get away with snakeoil and bull (but people who actually want to write good software and know what they are doing will hate you)
Admin
Of course not, when you put it like that.
Admin
And linear velocity is what matters for throughput, however your operating system probably doesn't actually know much about the drive geometry these days...
Admin
Why?
They aren't broken, perform adequately, and are not at risk of break-in, why fix what ain't broke?
Admin
I understand that you don't want to ridicule this DBA by name. But his article was published in a trade magazine. People may be reading it and trying to apply his foolishness. Maybe you owe to your readers to identify this guy?
"Names or it didn't happen."
Admin
And then the single drive failed and the sysadmin was fired.
The end.
Admin
P.S. Alex, the captcha I got is easy to OCR. Nice contrast ratio and almost no distortion. Needs dirt, or at least some minimum distortion settings.
Admin
You know, this isn't common on embedded systems
Admin
Admin
And RAID-5 on shared LUNs = happy financial officers
Admin
Wow, that is f(#@)$ screwed up.
You know how I increase MY database access time? I upgrade my server from 2GB of RAM to 32GB, build the app 64-bit, and let the row cache pull every damn table into RAM except for the largest two.
And if that's not enough, you know what I do then? I RAID two freakin' 128GB SSD drives and serve the data off that.
What with the cost of SSD drives, all the fancy partition schemes in the world can go right into the toilet, beginning THIS YEAR.
Admin
It's 'moron', not 'moran', you fucking retard.
Admin
Cut down on your coffee, man. You're missing the fact that it's an in-joke.
(Sheesh, what a moran)
Admin
I had the pleasure of working with a certified DBA, who only had experience with MSSQL. Upon encountering our PostgreSQl db, he was shocked to find that we built our queries by actually understanding serial query language, and not using a GUI interface. The lead programmer tasked him with writing a simple query - it took him a week and he did it wrong. The DBA in question still works for that co. , although he does a simple data-capturing job now, for the same salary. Lesson learned: don't work for Americans, or NGO's.
Admin
There's a subtle difference between RAID 1+0 and RAID 0+1 which has to do with cache. Years ago, the cache for 0+1 wasn't quite up to what is now RAID 1+0. It's much better now. I didn't say I'd prefer 0+1 over 1+0. Go back about 15 years or so and check out how it worked (badly) with Oracle, 0+1 works much better in case of disk failures than it did then. Resilvering is much less a killer. HTH!
Admin
Admin
I'm not a "certified DBA" but in my experience:
use partitions for limiting space used by a specific thing, not for performance - they cause lots of unnecessary seeking. Also possibly slightly useful for limiting the effects of fragmentation.
use striping for performance, not concatenation
use mirroring (or RAID 5/6) for safety
use different physical drives for different things (if possible on separate controllers, but that isn't always financially feasible)
So, given 6 drives I'd have done:
-No special partitioning on 3/4/5/6. If 1+2 used for system + logs, possibly have two partitions to separate those roles.
Also, have lots of RAM (don't want any paging) and a nice big BBWC.
Admin
Google has thousands of computers, petabytes of data and all he uses is desktop grade hardware with SATA disks. No SAN, No SCSI, No relational databases
It really shows all the DB gurus (and sysadmin gurus!!) stuff in different light...
Admin
Ignoring for the moment that it's been 15 years since you could actually get a drive to write to a specific physical part of the hard drive, the fastest read time is not from the outer rings. The fastest read time will be from wherever the read head spends most of its time. Given that the drive controller tries to have the head scan the requested sectors from inside to outside and then back, the read head will spend about 50% more time in the center of the platter than towards either the inside or the outside. So if you could control where the physical data is located (which you can't) you would want it towards the center.
Admin
No, it's moran, returd.
Admin
So RAID-10 is twice as good as RAID-5 then?
Admin
Well, none of this would be an issue if they just used an embedded system without a file system...
...I'm just sayin'.
Admin
If not, then you must have been out of touch with how hard drives are actually implemented. As in two decades or more out of touch.
Modern hard drives maintain an almost constant linear recording density over the medium. Thus the data rate from the outermost cylinder will be ~2x higher than from the innermost cylinder. It'd only be constant if the drive would vary its speed of rotation with head position, and that would be a killer to implement and quite pointless, too! Exercise to the reader: assuming that a 10k @ outermost track, 3.5" drive is continuously seeking between innermost and outermost tracks with a 10ms seek time, calculate the power required to keep the platter spinning up and down as needed ;)
Only the common optical drives (CD, DVD) maintain constant linear velocity of the medium (up to a point) and thus have a fixed data rate on the outer half of the drive or so. The innermost part of the spiral has such a short equivalent circumference that the medium would be mechanically overloaded if it was spun up fast enough to saturate the data bandwidth of the read channel. Thus CD/DVD drives relatively suck when accessing data close to the spindle -- they have to maintain linear velocity lower than on the outer tracks of the disc.
Thus, when you are mastering for CD/DVD and the disc is not full, it actually helps to put your data into a subdirectory, add a padding file to the root directory, and make sure the image generators orders data of the root directory before all other files.
Admin
So if you represent latency in terms of lost data bandwidth -- a reasonable way to look at it -- then yes, the latency does go up as you go farther out on the drive.
Latency is really a problem of robbing you of data bandwidth, so knowing that a certain seek costs you lost opportunity to transfer X megabytes of data transfer makes it easier to reason about.
Cheers!
Admin
Admin
spoken like a true DBA.
Admin
Admin
Because he has no wooden table on which to photograph it.
Admin
I do hope the opportunity to get as many people as possible to write to said trade magazine explaining how bad an idea the arrangement was. You shouldn't let something like that lie if you can (correctly) belittle it anonymously...
Admin
A Government Agency I once worked at required your email name to be the first letter of your first name, followed by your last name.
Miguel Orona was
morona@____.gov
Admin
Computer Science. Maybe it's just because it's a younger field, but CS people can't seem to write scientific papers for shit. I'm guessing most CS graduate programs don't include courses on how to actually write a scientific paper. We worked on a collaboration with a CS research at a major university. When we got the first draft of their paper, our VP initially wanted all references to us removed because it was so embarrassingly badly written. We eventually whipped it into an almost passable state, but I'm still slightly embarrassed that my name ended up on it.
Admin
Thanks to SAN virtualization, that's not even so much the case anymore.
Admin
I think it's selecting parts of words ("odious", in your case), since I was given "appellatio".
Admin
Admin
TRWTF is that there was no test environment in which the DBA's partitioning theories could be tested before the production servers were changed.
Admin
The original DBA was wrong and arrogant. But putting redundant log files and control files on the same physical array isn't what I would consider "making it work". If this is a real time transaction system then he has just put his company at risk for real dollars, and he doesn't have a clue. And neither will anyone else because he was dishonest about it.
Absolutely fire Paul. If he wasn't so spineless they could have argued it out until all of the requirements were properly considered and addressed.
Admin
This must be the DBA that decided to change careers...