dbTalk Databases Forums  

New index structure?

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss New index structure? in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yves Weißig
 
Posts: n/a

Default New index structure? - 02-01-2011 , 03:16 AM






Hi MySQL-developers,

I am trying to find information on how to implement a new index
structure in MySQL, e.g. a bitmap index instead of a B-Tree. Is it
possible? If so, how to proceed?

Thanks a lot for the answers!

Greets, Yves

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
  #2  
Old   
Peter Volk
 
Posts: n/a

Default Re: New index structure? - 02-01-2011 , 02:37 PM






Hi Yves,

indexes are implemented on storage engine level. So the first thing is
to find out what storage engine you want to modify. Most simplest is
probably myisam. You can find the code in /storage/myisam/ For me it was
the most simplest to look at the functions that handle key lookups from
the SE handler. The files in the myisam directory are very well named
and easy to hack.

Good luck!

Cheers,
Peter

Am 01.02.2011 10:16, schrieb Yves Weißig:
Quote:
Hi MySQL-developers,

I am trying to find information on how to implement a new index
structure in MySQL, e.g. a bitmap index instead of a B-Tree. Is it
possible? If so, how to proceed?

Thanks a lot for the answers!

Greets, Yves

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
  #3  
Old   
Andrew Armstrong
 
Posts: n/a

Default RE: New index structure? - 02-01-2011 , 04:44 PM



You may be interested in this WL entry to implement bitmap indexes:
http://forge.mysql.com/worklog/task.php?id=1524

- Andrew

-----Original Message-----
From: Peter Volk [mailtoeter (AT) ddengine (DOT) org]
Sent: Wednesday, 2 February 2011 7:37 AM
To: internals (AT) lists (DOT) mysql.com; weissig (AT) rbg (DOT) informatik.tu-darmstadt.de
Subject: Re: New index structure?

Hi Yves,

indexes are implemented on storage engine level. So the first thing is
to find out what storage engine you want to modify. Most simplest is
probably myisam. You can find the code in /storage/myisam/ For me it was
the most simplest to look at the functions that handle key lookups from
the SE handler. The files in the myisam directory are very well named
and easy to hack.

Good luck!

Cheers,
Peter

Am 01.02.2011 10:16, schrieb Yves Weißig:
Quote:
Hi MySQL-developers,

I am trying to find information on how to implement a new index
structure in MySQL, e.g. a bitmap index instead of a B-Tree. Is it
possible? If so, how to proceed?

Thanks a lot for the answers!

Greets, Yves

--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:
http://lists.mysql.com/internals?uns...h (DOT) com.au



--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
  #4  
Old   
Yves Weißig
 
Posts: n/a

Default Re: New index structure? - 02-02-2011 , 06:50 AM



Thanks for the answers!

Am 01.02.2011 23:44, schrieb Andrew Armstrong:
Quote:
You may be interested in this WL entry to implement bitmap indexes:
http://forge.mysql.com/worklog/task.php?id=1524

- Andrew

-----Original Message-----
From: Peter Volk [mailtoeter (AT) ddengine (DOT) org]
Sent: Wednesday, 2 February 2011 7:37 AM
To: internals (AT) lists (DOT) mysql.com; weissig (AT) rbg (DOT) informatik.tu-darmstadt.de
Subject: Re: New index structure?

Hi Yves,

indexes are implemented on storage engine level. So the first thing is
to find out what storage engine you want to modify. Most simplest is
probably myisam. You can find the code in /storage/myisam/ For me it was
the most simplest to look at the functions that handle key lookups from
the SE handler. The files in the myisam directory are very well named
and easy to hack.

Good luck!

Cheers,
Peter

Am 01.02.2011 10:16, schrieb Yves Weißig:
Hi MySQL-developers,

I am trying to find information on how to implement a new index
structure in MySQL, e.g. a bitmap index instead of a B-Tree. Is it
possible? If so, how to proceed?

Thanks a lot for the answers!

Greets, Yves


--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.