jump to navigation

Summary of Activities Carried Out during GSoC 2008 August 18, 2008

Posted by taufiqaalam 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:

  1. Installed cygwin and learnt some basic stuff regarding cygwin. Have never really used cygwin before.

  2. 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.

  3. Learnt how to use bazaar which has more functionality than bkclient

  4. Downloaded the mysql source code and built it on Windows as well as Linux.

  5. Learnt how to debug the mysql source on Windows using Visual Studio

  6. Learnt how to debug the mysql source on Linux using gdb and ddd with gdb

  7. Installed mysql on ubuntu as well as Fedora Operating Systems.

  8. Learnt more about the Linux kernel, threads as used by mysql and other general stuff related with mysql.

Non-technical things:

  1. 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.

  2. Internet Relay Chat . I am new to IRC too.

  3. Blogging.

GSoc Week 9 August 18, 2008

Posted by taufiqaalam in Introduction.
add a comment

Week 9 (21st – 28th July)

Key Accomplishments Last Week

  1. Read about the mysql Benchmarking suite and the importance of this suite for mysql.
  2. Covered the chapter on Debugging in “Expert Mysql” by Charles A.Bell.
  3. The chapter on debugging helped me to get to speed to debug mysql source code on Windows using Visual Studio
  4. I also practiced debugging mysql on Linux using ddd and gdb.
  5. 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.

(more…)

Coding Phase 1 Week 8 July 24, 2008

Posted by taufiqaalam 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 taufiqaalam 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 taufiqaalam in Uncategorized.
add a comment

Week 5 (23rd – 30th June)

Key Accomplishments Last Week

  1. Got Brian’s feedback regarding rearranger.c and discussed how to proceed further.

  2. 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.

  3. 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.

(more…)

Coding Phase 1 Week 4 July 2, 2008

Posted by taufiqaalam 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.

(more…)

Coding phase 1 week 3 June 22, 2008

Posted by taufiqaalam 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.

(more…)

Coding phase 1 Week 2 June 15, 2008

Posted by taufiqaalam in Uncategorized.
add a comment

Week 2(2nd June – 9th June)

KEY ACCOMPLISHMENTS LAST WEEK

  1. Switched from Windows to Ubuntu and learnt a few linux commands that will help me while coding for mysql in the long run.
  2. 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.

(more…)

Coding phase 1 Week 1 June 15, 2008

Posted by taufiqaalam in Uncategorized.
1 comment so far

Week 1 (26th May – 2nd June)

KEY ACCOMPLISHMENTS LAST WEEK

(more…)

Coding Phase1 Week 0 May 26, 2008

Posted by taufiqaalam in Uncategorized.
add a comment

Key Accomplishments

  1. Opened mysql slap and went through the code
  2. Read through and attempted a few tutorials http://blogs.techrepublic.com.com/howdoi/?p=133
  3. Ran through a few basic tutorials regarding mysql development
  4. Learnt about bitclient and the method of committing the patches into the main release.
  5. Installed cygwin and obtained the latest 5.1 source distribution. (more…)
Follow

Get every new post delivered to your Inbox.