Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/65.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql InnoDB在大型数据库上处理具有多连接权限的select STATTION有多好?_Mysql_Innodb_Myisam - Fatal编程技术网

Mysql InnoDB在大型数据库上处理具有多连接权限的select STATTION有多好?

Mysql InnoDB在大型数据库上处理具有多连接权限的select STATTION有多好?,mysql,innodb,myisam,Mysql,Innodb,Myisam,我正在为一个大量使用的应用程序设计一个大型数据库。该应用程序将有许多插图/更新进行销售时,但我会有更多的选择。我将使用多(3-6)个内部联接来执行许多select语句 innoDB将如何处理这些复杂的select语句。我还将在select中使用lots OFDATETIME子句作为过滤器 那么对于这样一个应用程序来说,InnoDB会比MyIsam更好吗?或者我应该坚持还是用老的MyIsam方法 这是select语句的一个示例 SELECT act.subject, act.attempt

我正在为一个大量使用的应用程序设计一个大型数据库。该应用程序将有许多插图/更新进行销售时,但我会有更多的选择。我将使用多(3-6)个内部联接来执行许多select语句

innoDB将如何处理这些复杂的select语句。我还将在select中使用lots OFDATETIME子句作为过滤器

那么对于这样一个应用程序来说,InnoDB会比MyIsam更好吗?或者我应该坚持还是用老的MyIsam方法

这是select语句的一个示例

    SELECT act.subject, act.attempts, in.industry_name, zn.zone_name, cc.code_id, DATE_FORMAT(act.due_on, "%m-%d-%Y %T") AS due_on FROM activities AS act
    INNER JOIN industries AS in ON in.industry_id = act.industry_id
    INNER JOIN zones AS zn ON zn.zone_id = act.zone_id
    INNER JOIN call_codes AS cc ON cc.code_id = act.code_id
    WHERE act.due_on BETWEEN (CURRDATE() + ' 00:00:00')  AND (CURRDATE() + ' 23:59:59')
    ORDER BY act.due_on

**This is a summery of fields description**
The following field's  type are CHAR(50)
act.subject
in.industry_name
zn.zone_name

the following field's type are INT(10) unsigned and they are all foreign keys
cc.code_id
in.industry_id
zn.zone_id

the following field's type are INT(10) unsigned and they all are indexed
act.industry_id
act.zone_id
act.code_id


this field is a date time
act.due_on

我还应该注意到,我的活动表有300万条记录。此外,我还将使用COUNT()、MAX()、MIX()、SUM()、AVG()、CASE编写大量的报告,当某些数据的另一端…取决于您的主键是什么,是否有外键?信息太少,说不出话来。为什么不在决定之前对你的应用程序进行单元测试呢?请再次查看我的帖子,因为我在我的应用程序中经常使用的一个查询示例中添加了更多详细信息。它将是主要的select语句之一。您是否使用像php这样的服务器端?是的,我使用的是php/MySql