MySQL Forums
Forum List  »  Partitioning

Re: table partitioning AWS MySQL - InnoDB
Posted by: Ra Nala
Date: September 11, 2017 08:02AM

Hi Grøvlen ,

My DB - MySQL - InnoDB version is 5.7.11, please check the results when i ran it. at this point of time count(*) is taken less time but generally it will take 10 mins.

i should use nearly 40 columns in my reports, report generation is taking long time with 20 columns of

size for my table is (fact_02 = 4025.69 )Size in MB


SELECT n_rows FROM mysql.innodb_table_stats WHERE table_name='fact_02'
go
select count(*) from fact_02

n_rows
---------
828825

1 record(s) selected [Fetch MetaData: 0/ms] [Fetch Data: 0/ms]

[Executed: 9/11/17 1:51:01 PM GMT ] [Execution: 234/ms]

count(*)
-----------
1050000

1 record(s) selected [Fetch MetaData: 0/ms] [Fetch Data: 0/ms]

[Executed: 9/11/17 1:51:02 PM GMT ] [Execution: 67576/ms]


Thanks,
Ra na la

Options: ReplyQuote


Subject
Views
Written By
Posted
265
September 09, 2017 05:21AM
Re: table partitioning AWS MySQL - InnoDB
191
September 11, 2017 08:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.