IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Here we go again
MySQL could not handle simple correlated sub-queries.
Let me rephrase that.
MySQL SUCKS as handling simple correlated sub-queries. Turned what should be a 3 second query into 3 minutes.

So I tried postgresql.
And found it was generally faster in all my particular query cases, and handled the subqueries without problem.

One difference in MySQL's favor was size of data loaded. MySQL is much more efficient, taking far less space on disk. But I don't care about that.

But, on yet another hand, postgresql is STILL too slow.

I can thankfully state that M$ is simply not an option, but anything that runs on Linux (and I can afford, the cheaper the better) can be. Including (drum roll please) SAP-DB, Informix (it went open source, right? Hmm, gotta start googling) and pretty much anything else I can come up with a Perl interface to talk to.

Oh, how I miss Oracle. But even if I spend a couple of months working around not having Oracle, it'll still be FAR cheaper than paying for Oracle.
New Did you use what version of MySQL.
I told you to use 5.1.

There are specific enhancements in MySQL in 5.1

And exactly what kinds of setting were you using?

If you have lotsa memory... let it use it.

If you have drives that blaze... tweak it stop batching/buffering, if you have both... tell it to use more.

And if you didn;t try 5.1, you missed much.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New No you didn't
You said:

Try the pre v6 stuff first, its pure gold.

and

use MySQL v.latest.(stable or devel) or use pre v6 stuff

I did V5.0 1st.
When I tried 5.1, I got into some lib dependancy issues. It's certainly not in stable, which is a bit scary.

If you are telling me there is significant speeds on query, then I'll try again. But if you are referring to all the new whizbang features (and yes, there are LOTS) that I don't care about, then I'll pass.
Expand Edited by crazy Oct. 18, 2007, 11:29:40 PM EDT
New This is the 5.1 list of enchancements
[link|http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html|http://dev.mysql.com...sql-nutshell.html]

The only thing referenced is the partitioning and that doesn't help the initial poor SQL optimization for the straight selects of smallish tables.

I think I'm expecting too much since I have my Oracle experience.
New MySQL has lots of ah incompleteness in it's optimizer.
It's mostly recent stuff, so they clearly have more work to do there.

Sub-selects is one area like that. I remember my web developers practically drooling over sub-selects when we finally upgraded the production databases. Turns out they are way too slow for many things. If you can restructure it as an Inner Join (even with a temporary table), it will be a lot faster. Like hundreds of times faster.

Wade.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

New I have a tough time restructuring
We are creating a generic table driven GUI (Web 2.0 Goodness) front end. The tables can vary tremendously on the backend. So multi stage selects with temp table are right out, since we would have define some type of templating language to drive the query creation, which I want to avoid.
New Fair enough.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

New Sigh... Didn't look too deeply into Firebird, didja?
[link|http://www.janus-software.com/fb_fyracle.html|Fyracle: Oracle-mode Firebird].

There, that's the last I'll care about your problems, you fucking ingrate.


   [link|mailto:MyUserId@MyISP.CountryCode|Christian R. Conrad]
(I live in Finland, and my e-mail in-box is at the Saunalahti company.)
Ah, the Germans: Masters of Convoluted Simplification. — [link|http://www.thetruthaboutcars.com/?p=1603|Jehovah]
New Sigh - This time it's an option
So yes, I'll be happy to.
Thanks for mentioning it.
New Ehh, you never CARED!
If you cared, you'd tell me what the bulk loading tool for Firebird is. I don't see one in the docs or the utilities that I have.
     Hey Greg! Database choice time - (crazy) - (40)
         PICK? /me dux -NT - (boxley) - (1)
             You can't duck low enough. </CLUB> -NT - (crazy)
         Firebird? - (CRConrad)
         Well, I've got a new religion lately... - (folkert) - (21)
             Hmm, are they repeating Oracle's error: TOO MUCH "tweakage"? -NT - (CRConrad)
             :-O - (static)
             Oh and here is the MySQL Proxy page - (folkert)
             Ok, playing with 5.0 - (crazy) - (14)
                 Some things are still slow in MySQL. - (static) - (13)
                     Oh yeah - I forgot about that - (crazy) - (12)
                         I saw an Oracle guy do a Bit Of Learning... - (static) - (11)
                             You teased me - (crazy)
                             On the other hand, maybe those MySQL people - (crazy) - (9)
                                 OT have you looked at hadoop? - (boxley) - (5)
                                     Nope - (crazy)
                                     /me rubs eyes - (imqwerky) - (3)
                                         You might have read it, but it's not what it said. -NT - (CRConrad) - (2)
                                             I'm aware of that now - (imqwerky) - (1)
                                                 Ah. Forgot to get your head out, hadya? - (CRConrad)
                                 Interesting. - (static) - (2)
                                     "It's a bit of extra work" - not that much - (crazy) - (1)
                                         Ah. I see. Wouldn't suit my use. :-) -NT - (static)
             You play with partitioning yet? - (crazy) - (2)
                 Nevermind - needed key() -NT - (crazy) - (1)
                     Unusable - (crazy)
         Rare updates, mostly reads? - (admin) - (4)
             Still need SQL access - (crazy) - (3)
                 there is a sql like addon for berkley I dont care for it tho -NT - (boxley)
                 "Guide to Oracle Berkeley DB for SQL Developers": - (CRConrad) - (1)
                     I'm sorry, you must have thought I wote (new thread) - (crazy)
         Here we go again - (crazy) - (9)
             Did you use what version of MySQL. - (folkert) - (2)
                 No you didn't - (crazy) - (1)
                     This is the 5.1 list of enchancements - (crazy)
             MySQL has lots of ah incompleteness in it's optimizer. - (static) - (2)
                 I have a tough time restructuring - (crazy) - (1)
                     Fair enough. -NT - (static)
             Sigh... Didn't look too deeply into Firebird, didja? - (CRConrad) - (2)
                 Sigh - This time it's an option - (crazy)
                 Ehh, you never CARED! - (crazy)

I made you eggs. Straight from my womb to your plate!
178 ms