Hi all,
I have 2 questions regarding performance:
1) I'm building a monitoring system that has to store lots of sensor
data that I 'll have to query from time to time. I have pressure and
temperature. Since we sample every 500 ms we will get lots of data
after some time. Will my performance increase by making 2 tables; one
with pressure and one with temperature? Thus when querying (eg
pressure) mysql will only need to look in the pressure table that
contains half the data opposed to when querying a table that contains
pressure and temperature (and is double the size)?
2) I have read that when querying the server in read mode opposed to
read/write mode you can get a performance increase. Can this be done
with php?
Many thanks in advance
Stijn
I have 2 questions regarding performance:
1) I'm building a monitoring system that has to store lots of sensor
data that I 'll have to query from time to time. I have pressure and
temperature. Since we sample every 500 ms we will get lots of data
after some time. Will my performance increase by making 2 tables; one
with pressure and one with temperature? Thus when querying (eg
pressure) mysql will only need to look in the pressure table that
contains half the data opposed to when querying a table that contains
pressure and temperature (and is double the size)?
2) I have read that when querying the server in read mode opposed to
read/write mode you can get a performance increase. Can this be done
with php?
Many thanks in advance
Stijn
Comment