Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#37815 - 07/16/02 02:57 PM What is the "MUL" key in MySQL?
Anonymous
Unregistered

Howdy,

What does "MUL" mean in MySQL for the key?

How does it get created when the create procedure doesn't state this?

I see that it has something to do with it being "indexed", but what does it mean/do?

I'm guessing maybe "multiple" instances?

Any insight would be appreciated...

Thanks, Bill
Top
#37816 - 07/16/02 05:53 PM Re: What is the "MUL" key in MySQL?
Anonymous
Unregistered

Where is it you are finding that "MUL"??

I don't find that in the online docs anywhere??

Edit: This explains it

Regards,

Brett Harris
Infopop Corporation
Top
#37817 - 07/17/02 10:11 AM Re: What is the "MUL" key in MySQL?
Anonymous
Unregistered

It's not from the documentation...this is a question from which I see in the actual MySQL table structure.

Here is a snipped of the w3t_Posts table to show you:

<pre>
[PRE]

mysql> describe w3t_Posts ;
+--------------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+----------------+
| B_Board | varchar(100) | | MUL | | |
| B_Number | int(11) unsigned | | PRI | NULL | auto_increment |
| B_Parent | int(11) unsigned | | MUL | 0 | |
| B_Main | int(11) unsigned | | MUL | 0 | |
| B_Posted | int(11) unsigned | | MUL | 0 | |
| B_Last_Post | int(11) unsigned | | | 0 | |
| B_Username | varchar(30) | | MUL | | |
| B_IP | varchar(60) | YES | | NULL | |
| B_Subject | text | YES | | NULL | |
| B_Body | text | YES | | NULL | |
| B_Mail | int(1) unsigned | YES | | NULL | |
| B_File | varchar(100) | YES | | NULL | |
| B_Kept | char(1) | | | | |
| B_Status | char(1) | | MUL | | |
| B_Approved | char(3) | | MUL | yes | |
| B_Picture | varchar(100) | YES | | NULL | |
| B_Icon | varchar(30) | YES | | NULL | |
| B_Color | varchar(10) | YES | | NULL | |
| B_Reged | char(1) | YES | | y | |
| B_UTitle | varchar(50) | YES | | NULL | |
| B_Counter | int(9) unsigned | YES | | 0 | |
| B_Sticky | int(11) unsigned | YES | | NULL | |
| B_Replies | int(4) unsigned | YES | | 0 | |
| B_Poll | varchar(200) | YES | | NULL | |
| B_ParentUser | varchar(20) | YES | | NULL | |
| B_UStatus | char(1) | YES | | NULL | |
| B_Topic | int(1) unsigned | | | 0 | |
| B_Convert | varchar(10) | YES | | markup | |
| B_Signature | text | YES | | NULL | |
| B_LastEdit | int(9) unsigned | YES | | NULL | |
| B_LastEditBy | varchar(64) | YES | | NULL | |
| B_PosterId | int(9) unsigned | | MUL | 0 | |
| B_Rating | varchar(5) | YES | | 0 | |
| B_Rates | int(4) | YES | | 0 | |
| B_RealRating | int(1) | YES | | NULL | |
+--------------+------------------+------+-----+---------+----------------+
35 rows in set (0.00 sec)
[/PRE]
</pre>

I used this table as the example because it has the most instances of the "MUL" key in it, although others do too.

Cheers, Bill
Top
#37818 - 07/17/02 07:36 PM Re: What is the "MUL" key in MySQL?
Anonymous
Unregistered

My best guess is that these are the indicies created by the configuration scripts as they look like this:

quote:

// The Posts Table ###################

$index1 = "w3t_Posts"."index1";
$index2 = "w3t_Posts"."index2";
$index3 = "w3t_Posts"."index3";
$index4 = "w3t_Posts"."index4";
$index5 = "w3t_Posts"."index5";
$index6 = "w3t_Posts"."index6";
$index7 = "w3t_Posts"."index7";
$index8 = "w3t_Posts"."index8";
$index9 = "w3t_Posts"."index9";
$index10= "w3t_Posts"."index10";
$indexes = "";
if ($config['dbtype'] == "mysql") {
$indexes = ", INDEX $index1 (B_Parent,B_Board),
INDEX $index2 (B_Number, B_Board), INDEX $index3 (B_Main, B_Board),
INDEX $index4 (B_Status,B_Board),
INDEX $index6 (B_Board),
INDEX $index7 (B_Approved,B_Board),
INDEX $index8 (B_Posted, B_Board),
INDEX $index10 (B_Board(10),B_Topic),
INDEX ID_ndx(B_PosterId),
INDEX poster_ndx(B_Username)
";

So - I presume that MUL is for Multiple columns - if this were version 6.0.2 I suspect that the Key you would see on the B_username column would be called poster_ndx

Does that help? Again, I am not 100% certain and I am dredging MySQL books for the answers.

Regards,

Brett Harris
Infopop Corporation
Top
#37819 - 07/17/02 07:58 PM Re: What is the "MUL" key in MySQL?
Anonymous
Unregistered

FWIW, I would agree with Brett.

However, all I could find was:
http://www.mysql.com/doc/M/u/Multiple-column_indexes.html

Graeme

Moderator: UBB6 How Do I?

NOTE: Any email requests for support will be ignored.

"The ships hung in the sky in much the same way that bricks don't." --Douglas Adams
Top
#37820 - 07/18/02 08:36 AM Re: What is the "MUL" key in MySQL?
Anonymous
Unregistered

Thanks for the insight...

I will have a look at the URL too

Also, I figured out that the Quote is what I was looking for [Eek!] , I was trying to use PRE

Cheers, Bill
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image