Summary of Activities Carried Out during GSoC 2008 August 18, 2008
Posted by taufiqmysql in Introduction.add a comment
For me, GSOC was a learning experience. I feel that I’ve learned more
from doing this than I have over the course of all my university
classes. So for me, the things that I’ve learned break down as
follows:
Technical things:
-
Installed cygwin and learnt some basic stuff regarding cygwin. Have never really used cygwin before.
-
Learnt how to use bkclient for downloading mysql source code which was replaced by bazaar in the middle of GSOC. Again I have never realy used a distributed version control system.
-
Learnt how to use bazaar which has more functionality than bkclient
-
Downloaded the mysql source code and built it on Windows as well as Linux.
-
Learnt how to debug the mysql source on Windows using Visual Studio
-
Learnt how to debug the mysql source on Linux using gdb and ddd with gdb
-
Installed mysql on ubuntu as well as Fedora Operating Systems.
-
Learnt more about the Linux kernel, threads as used by mysql and other general stuff related with mysql.
Non-technical things:
-
Not all geeky people are boring to interact with. In fact I had the chance to interact and got to know some of the most interesting people at mysql, Google as well as all other GSoC 2008 students from all ovcr the world.
-
Internet Relay Chat . I am new to IRC too.
-
Blogging.
GSoc Week 9 August 18, 2008
Posted by taufiqmysql in Introduction.add a comment
Week 9 (21st – 28th July)
Key Accomplishments Last Week
- Read about the mysql Benchmarking suite and the importance of this suite for mysql.
- Covered the chapter on Debugging in “Expert Mysql” by Charles A.Bell.
- The chapter on debugging helped me to get to speed to debug mysql source code on Windows using Visual Studio
- I also practiced debugging mysql on Linux using ddd and gdb.
- P.S. I would like to thank Brian, Collin and Leslie for their patience and support. If God wills, I should start some serious hacking very soon.
Coding Phase 1 Week 8 July 24, 2008
Posted by taufiqmysql in GSoc 2008.add a comment
Week 7+8 (7th – 21st July)
Key Accomplishments Last Week
1. Went through the Internals Guided Tour at http://forge.mysql.com/wiki/MySQL_Internals_Guided_Tour completely
2. Covered the first two chapters of “Expert Mysql” by Charles A.Bell which took me into the internals of mysql source code, mysql testing and benchmarking.
3. Created a page dedicated to mysql internals at http://taufiqmysql.wordpress.com/mysql-internals/
4. Gained a more detailed view of the benchmarking and mysql test suites thanks to the “expert Mysql” book by Aprèss.
5. Learnt how to created a sample test file and how to execute the test case.
Key Tasks that stalled last Week
None
Key Concerns
1. Time – “Ars longa vita brevis”
Tasks for the Coming Week
1. Have a look at supersmack and mybench, two other benchmarking and load generation tools similar to mysqlslap. This will give me some more insight into benchmarking tools
2. Open up mysqlslap again and learn it comprehensively by running as many features as possible.
Coding phase 1 week 6 July 10, 2008
Posted by taufiqmysql in Introduction.add a comment
Week 6 (30th June – 7th July 2008 )
Key Accomplishments Last Week
1. Implemented a feature to rearranger.c to allow it to accept multiple input files (as requested by Brian). There are a few problems with this feature, however, and I plan on rectifying them soon.
2. Learnt some basics of Lua.
3. Learnt a bit about the ddd.
4. Started learning about the internals of mysql and bought a book, “Expert MySQL” by Charles A. Bell. I already have a fair idea about the working of mysqlslap. Once I get a good grasp of the ddd debugger I should be able to understand mysqlslap more thoroughly.
Key Tasks that stalled last Week
None
Key Concerns
The upcoming midterm evaluation gives me a sense of urgency in my work. On looking back, I feel I have given my best but it could definitely have been better. Hope that the best things that I had planned for is yet to come. I will need another week to get really comfortable with the internals of mysql and implement my plans.
Tasks for the Coming Week
1. Learn the ddd debugger to successfully trace the mysql code.
2. Learn more about the internals of mysql.
3. Run mysqlslap 6.0 as much as possible with as many features as are available and record the output.
Coding Phase 1 Week 5 July 2, 2008
Posted by taufiqmysql in Uncategorized.add a comment
Week 5 (23rd – 30th June)
Key Accomplishments Last Week
-
Got Brian’s feedback regarding rearranger.c and discussed how to proceed further.
-
Successfully overcame all errors one by one, obtained while building mysql from source on Ubuntu and understood the process more clearly. I had done this a few weeks back but since I have not done any hard-core stuff on Linux before, it took some time again.
-
Understood clearly the steps involved in installing mysql and created a help page at http://taufiqmysql.wordpress.com/47/ for the common errors found while installing.
Coding Phase 1 Week 4 July 2, 2008
Posted by taufiqmysql in Uncategorized.add a comment
Week 4(16th June – 23rd June)
Key Accomplishments Last Week
1) With reference to the article on http://krow.livejournal.com/483041.html I created a program that rearranges the output of mysqlslap and named it ‘rearranger.c’.
2) Also added some interesting options to ‘rearranger’ to accept command line input and to rearrange virtually any row or column on any type of csv file.
3) Registered myself for MysqlUniversity.
Coding phase 1 week 3 June 22, 2008
Posted by taufiqmysql in Uncategorized.add a comment
Week 3(9th June – 16th June)
Key Accomplishments Last Week
1) Successfully went through the complete presentation on http://forge.mysql.com/wiki/How_to_Build_MySQL_on_Windows/Presentation
2) Successfully built mysql from source by following the instructions http://forge.mysql.com/wiki/MySQL_Internals_Guided_Tour.
3) Resolved all errors that arose from steps 1) and 2) on my system.In the process I gained plenty of insight into the internal working of mysql and ubuntu.
4) Mysqlslap is written in the C API. Hence I began to read about the C API for writing client programs to access the mysql database.
Coding phase 1 Week 2 June 15, 2008
Posted by taufiqmysql in Uncategorized.add a comment
Week 2(2nd June – 9th June)
KEY ACCOMPLISHMENTS LAST WEEK
- Switched from Windows to Ubuntu and learnt a few linux commands that will help me while coding for mysql in the long run.
- Installed VS2005 Express and created the mysql.sln project file to view the complete mysql coding. However the build failed … The cl compiler was not available.
Coding phase 1 Week 1 June 15, 2008
Posted by taufiqmysql in Uncategorized.1 comment so far
Week 1 (26th May – 2nd June)
KEY ACCOMPLISHMENTS LAST WEEK
- My friend Abdullah (mail id: abdullah.ak2002@gmail.com), who is collaborating with me and giving me a helping hand for my GSoc project met my mentor Brian Aker in the India Shock Tour 2008. link : http://in.sun.com/sunnews/events/2008/mysql/
- Ran through the mysql slap code with Brian Aker and obtained tips from him as well as learnt some more about the “Exciting Requirements” for mysqlslap.
- We are currently reviewing various options for extending mysqlslap
- Initially we had thought of adding some functions to mysqlslap
- Brian Aker gave us a few suggestions with respect to developing an interpreter for mysqlslap. (Thank you Brian J).
- Working on feasibility and time needed for the various ideas thought up so far.
- Browsed through the blog archives of Brian Aker for articles on mysqlslap and found the following useful articles (since December 28th 2005)
(more…)
Coding Phase1 Week 0 May 26, 2008
Posted by taufiqmysql in Uncategorized.add a comment
Key Accomplishments
- Opened mysql slap and went through the code
- Read through and attempted a few tutorials http://blogs.techrepublic.com.com/howdoi/?p=133
- Ran through a few basic tutorials regarding mysql development
- Learnt about bitclient and the method of committing the patches into the main release.
- Installed cygwin and obtained the latest 5.1 source distribution. (more…)