vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   My Vbulletin is using INNODB and MyISAM at the same time. Is this normal ? (https://vborg.vbsupport.ru/showthread.php?t=154086)

mihai11 08-02-2007 06:55 AM

My Vbulletin is using INNODB and MyISAM at the same time. Is this normal ?
 
1 Attachment(s)
Hi,

I just checked to see what database engine my tables are using. To my suprise, not all tables were powered by INNODB, some of them are using MyISAM. Why would VBulletin use both database engines at the same time ?

Note: There also seems to be another type of database-engine called "MEMORY". Most likely, this means that the tables of this type are kept in memory at all times. See the attached image.

Is there a problem with my setup ?

Regards,
Razvan

Adrian Schneider 08-02-2007 06:58 AM

Yes it's normal.

InnoDB is the new default, but MyISAM is used for FULLTEXT searching.

The session table is stored in memory so it is fast - it is accessed the most.

mihai11 08-02-2007 07:46 AM

Quote:

Originally Posted by SirAdrian (Post 1307835)
InnoDB is the new default, but MyISAM is used for FULLTEXT searching.

Thanks. It's good to know that everything is OK.

FULLTEXT searching can only be used with MyISAM ? I thought that INNODB is a more advanced db engine (more advanced than MyISAM).

El_Muerte 08-02-2007 08:14 AM

the session tables explicitly uses memory
all others use the default table format.

yes, only MyISAM has FULLTEXT
InnoDB is more advanced in many ways, it's more SQL92 and supports various other extra features. FULLTEXT is a MySQL hack, and they only added it to their own table type.

weinstoc 08-04-2008 01:30 PM

None of our tables are INNODB. I asked about converting some of them for performance reasons (we are experiencing occasionally locking-related slowdowns) and was told by support:
I have seen InnoDB tables cause a lot of problems with vB, so I strongly suggest that you do not make that change.


So which is correct? INNODB or not?

Chuck

nexialys 08-04-2008 01:56 PM

vBulletin check if your MySQL server can handle these types properly -- on installation ... so maybe you will need to check with your webmaster which type is better if you want to convert them...

weinstoc 08-04-2008 02:05 PM

Our server has supported INNODB for years. That should not be the issue.

The real question is: why does vbulletin recommend against using INNODB? What are the problems they've seen? Have any of you who have converted seen them as well?

Chuck

Opserty 08-04-2008 02:20 PM

Quote:

why does vbulletin recommend against using INNODB?
The best people to answer that would be the developers, you may be better off asking on vBulletin.com with questions regarding default functionality.

SnapOff Racing 08-04-2008 04:29 PM

Did vBulletin switch to using InnoDB as the default now because I swear older versions used MyISAM as the default engine for almost all tables.

nexialys 08-04-2008 05:46 PM

the system is not switched to it... the installer detect your database and flip some tables for the best interest of performances... that's all...

SnapOff Racing 08-04-2008 08:00 PM

Quote:

Originally Posted by nexialys (Post 1591304)
the system is not switched to it... the installer detect your database and flip some tables for the best interest of performances... that's all...

Well I'm the installer and I never flipped any tables around. :confused:

Spank 08-04-2008 08:08 PM

Quote:

Originally Posted by SnapOff Racing (Post 1591398)
Well I'm the installer and I never flipped any tables around. :confused:

Lol, the installer program that installs vbulletin to your server.

SnapOff Racing 08-04-2008 08:29 PM

Quote:

Originally Posted by Spank (Post 1591402)
Lol, the installer program that installs vbulletin to your server.

Oh hahaha. Well let me ask you this then. I just did a fresh install of vb 3.7.2 and about 98% of the tables are all InnoDB. Now as time passes how did they get changed? From upgrades or something? Which is better to run MyISAM or InnoDB?

Marco van Herwaarden 08-05-2008 08:09 AM

There has been no change AFAIK in the recommended storage engine. Unless i missed something we still do recommend MyIsam as storage engine.

Tabes will be created by vBulletin using the default storage engine as set for the database. A few tables that need a specific storage type (some HEAP/In memory tables, and some forced to MyIsam) and will always be created using that storage engine, regardless of the database default.

PS The only thing that changed is that newer MySQL versions (on some Ooperting Systems) now use InnoDB as default for a database unless specified otherwise.

SnapOff Racing 08-05-2008 07:21 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1591714)
There has been no change AFAIK in the recommended storage engine. Unless i missed something we still do recommend MyIsam as storage engine.

Tabes will be created by vBulletin using the default storage engine as set for the database. A few tables that need a specific storage type (some HEAP/In memory tables, and some forced to MyIsam) and will always be created using that storage engine, regardless of the database default.

PS The only thing that changed is that newer MySQL versions (on some Ooperting Systems) now use InnoDB as default for a database unless specified otherwise.

When you install vbulletin doesn't it specify which engine each table is supposed to use? So when I install a fresh copy of vb it is specifying to use InnoDB and not MyISAM

Adrian Schneider 08-05-2008 07:50 PM

It specifies MyISAM for post content tables.
It specifies MEMORY for the session table.

The rest use your database's default storage engine.

SnapOff Racing 08-06-2008 01:16 AM

Quote:

Originally Posted by SirAdrian (Post 1592144)
It specifies MyISAM for post content tables.
It specifies MEMORY for the session table.

The rest use your database's default storage engine.

Excellent, thank you for clearing that up :)

Marco van Herwaarden 08-06-2008 06:19 AM

And that was exactly the same as what i have posted. ;)

Adrian Schneider 08-07-2008 03:20 AM

And what I wrote in post #2. It's fine though - It can be confusing.

mihai11 08-07-2008 04:12 AM

Quote:

Originally Posted by SirAdrian (Post 1593096)
And what I wrote in post #2. It's fine though - It can be confusing.

  1. But some people said that MyISAM is faster. In this case, is there any point in converting to MyISAM from InnoDB (in order to gain some speed) ?

  2. If MyISAM is faster, why doesn't the default install specify what storage engine to use for each table ? Why let the user configuration decide (depending on MySql version) when the developers could have just used MyISAM as a default ? (not using the database default)


All times are GMT. The time now is 11:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01634 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete