I have a table with ~1.4 billion records. I want to check how many records are exactly there.
I have a Percona 5.5 server running on Ubuntu 12.04. The server has 80 GB of memory.
The table itself is ~100 GB.
I issue a simple command
Select count(*) from table
I then, monitor the INNODB engine. I get a reading of 35-45,000 reads/second
If my calculations are correct, it will need 9-18 hours just to do this simple command.
I thought that using databases would improve the speed of handling vast amounts of data. Is this realistic? Can I make my server faster?
I used the Percona my.cnf wizard to set all my variables.
Any help would appreciated.
Csaba
I have a Percona 5.5 server running on Ubuntu 12.04. The server has 80 GB of memory.
The table itself is ~100 GB.
I issue a simple command
Select count(*) from table
I then, monitor the INNODB engine. I get a reading of 35-45,000 reads/second
If my calculations are correct, it will need 9-18 hours just to do this simple command.
I thought that using databases would improve the speed of handling vast amounts of data. Is this realistic? Can I make my server faster?
I used the Percona my.cnf wizard to set all my variables.
Any help would appreciated.
Csaba
1CD6A3ARead view up limit trx id 1CD6A3ARead view low limit trx id 1CD6A3ARead view individually stored trx ids:-----------------Main thread process no. 4871, id 140149481813760, state: flushing logNumber of rows inserted 0, updated 8, deleted 0, read 2379223000.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 37559.63 reads/s------------TRANSACTIONS------------Trx id counter 1CD6A3BPurge done for trx's n
Comment