In the environment of Internet of Things,a large number of sensors generate huge amounts of data. Usually these generated data needs to be stored in the database to support data analyses and various applications later. Due to insert these huge amounts of sensor data into the database,it will lead to serious performance bottleneck of synchronous writing fragment data in the corresponding storage system and seriously decrease the performance of database system. This paper presents a High-Performance Inexpensive Flash Cache Queue for Database of Internet of Things named as IFCQD (Inexpensive Flash Cache Queue for Database). By taking full advantage of the high speed property of the flash storage device based on USB 30,IFCQD can significantly optimize the performance on inserting mass data into the database and ensure the collected data that can be synchronously wrote into disk without any data lose. Base on the feature of the flash storage,this paper use the Double Index Method to improve the performance of the cache queue. Experiments show that IFCQD can significantly improve the performance of data acquisition system within the environment of Internet of Things.