diff --git a/src/tsdb/src/tsdbCommit.c b/src/tsdb/src/tsdbCommit.c
index 24ac32d9a10e5ee2944aa6cf4d3502f6af6efca8..19de40bad09b3d726c539ece82e6864d571b5090 100644
--- a/src/tsdb/src/tsdbCommit.c
+++ b/src/tsdb/src/tsdbCommit.c
@@ -13,13 +13,6 @@
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-#include
-
#include "tchecksum.h"
#include "tscompression.h"
#include "tsdbMain.h"
diff --git a/src/tsdb/src/tsdbFile.c b/src/tsdb/src/tsdbFile.c
index 4ce77c6d9c9ecef2deb112ad9d9ce56039f27d02..903f794c06c38140b444ddf2f2f8191cd62df763 100644
--- a/src/tsdb/src/tsdbFile.c
+++ b/src/tsdb/src/tsdbFile.c
@@ -13,11 +13,7 @@
* along with this program. If not, see .
*/
#define _DEFAULT_SOURCE
-#include
-#include
-#include
#include
-#include
#define TAOS_RANDOM_FILE_FAIL_TEST
diff --git a/src/tsdb/src/tsdbMain.c b/src/tsdb/src/tsdbMain.c
index 0974b00041cf53be2a757d9521391b87548d760c..2074ff8ba5104e86cd5356dbcf5c71b79391139f 100644
--- a/src/tsdb/src/tsdbMain.c
+++ b/src/tsdb/src/tsdbMain.c
@@ -12,11 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-
// no test file errors here
#include "tsdbMain.h"
#include "os.h"
diff --git a/src/tsdb/src/tsdbMemTable.c b/src/tsdb/src/tsdbMemTable.c
index a87378e60579acb54db67475adbbe587bf4afbe2..2f7e92c35bdd579ead715666fedca2c8c015201d 100644
--- a/src/tsdb/src/tsdbMemTable.c
+++ b/src/tsdb/src/tsdbMemTable.c
@@ -12,9 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include
-#include
-
#include "tsdb.h"
#include "tsdbMain.h"
diff --git a/src/tsdb/src/tsdbMeta.c b/src/tsdb/src/tsdbMeta.c
index c832772d25cecb2adc850de7a77d767f2a02633e..36d29deca4849b278b5163511a705d5e79376b79 100644
--- a/src/tsdb/src/tsdbMeta.c
+++ b/src/tsdb/src/tsdbMeta.c
@@ -12,7 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include
#include "hash.h"
#include "taosdef.h"
#include "tchecksum.h"
diff --git a/src/tsdb/src/tsdbRead.c b/src/tsdb/src/tsdbRead.c
index 6ffd79e6cc11a574ce4bd32733abe1b10606d0d8..5e521ed98d46906f960a69f300d06fc563bfaacc 100644
--- a/src/tsdb/src/tsdbRead.c
+++ b/src/tsdb/src/tsdbRead.c
@@ -12,8 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include
-
#include "os.h"
#include "tulog.h"
#include "talgo.h"
diff --git a/src/tsdb/src/tsdbReadUtil.c b/src/tsdb/src/tsdbReadUtil.c
index ec3309eb13d7a9164bf9fdeec0ed10b2bb03564e..cfa8167496b3b1fe2a3979f154b2a4314d78fc70 100644
--- a/src/tsdb/src/tsdbReadUtil.c
+++ b/src/tsdb/src/tsdbReadUtil.c
@@ -12,12 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include
-#include
-#include
-#include
-#include
-
#include "tchecksum.h"
#include "tdataformat.h"
#include "tscompression.h"
diff --git a/src/tsdb/src/tsdbUtil.c b/src/tsdb/src/tsdbUtil.c
index e18b9be570971fbc3b8cc7c2ae92702425d00127..b8c03453f8b1a889e5ff88097e27ff111ceac3fa 100644
--- a/src/tsdb/src/tsdbUtil.c
+++ b/src/tsdb/src/tsdbUtil.c
@@ -12,9 +12,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
-#include "libgen.h"
-#include "stdio.h"
-
#include "tsdbMain.h"