lawgon ([info]lawgon) wrote,
@ 2005-11-24 15:35:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
why i hate mysql
My fault really - have this bad habit of believing everything i am told and trusting everyone. It was around 1996 when i needed a db backend for an application. The only thing available was mysql - postgres was broken at the time. I didnt know sql - wasnt even aware that there was such a language. Anyway started using mysql and reading the manual. A good part of the manual spent time explaining why things like foreign keys, views, transactions, subqueries and triggers are a bad idea. Only a clueless moron would want a rdbms to have such useless features which can easily be handled in the scripting language itself. I believed it and wasted 4 years writing huge amounts of extra code to do by myself what the rdbms is supposed to do. I then discovered postgres - it had been fixed and had all the above useless thingies. But even then, due to 4 years experience with mysql, i still found i was writing a lot of unnecessary code out of habit - and its very difficult to get out of bad habits. When i finally got thinking in sql i hired a freelancer to do part of a project - he was supposed to be competent in sql. I gave him the basic schema and set him to work. A few days before the deadline, after most of the data was entered, i found that he had written the postgres sql in a mysqlish way - thousands of records containing garbage. Had to work upto 20 hours a day for three days to set things right. And cursed mysql on the hour every hour for about 60 hours. Even now, there are still legacy elements of mysql thinking in my sql thinking.

Someone said its practically impossible to teach programming to a person who has learnt basic as his first language. The same thing applies doubled for teaching sql to a person brought up on a diet of mysql. I hear that mysql has now decided that all those useless thingies are now needed and has bolted them onto their app - i shudder to think of the mess that has been created.



(Post a new comment)


[info]bluesmoon
2005-11-25 05:07 am UTC (link)
Now imagine someone coming in from the Oracle world and writing SQL without transactions.

(Reply to this) (Thread)


[info]lawgon
2005-11-25 05:43 am UTC (link)
maybe i am limited - unable to imagine such a scenario. Why would anyone with more than an ounce of common sense want to write sql without transactions?

(Reply to this) (Parent)

No Mysql No Cry
(Anonymous)
2005-12-01 06:38 am UTC (link)
You are abs correct on this account as I myself have gone through the same state and got my ass kicked in couple of interviews because of my Mysql coloured view of SQL/RDBMS . Though I have improved my SQL off late but still old habits die hard :( . In a way Mysql is BASIC of DBMS .Once you imbibe it's way it hard to leave them

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…