# Database export incongruent size

**URL:** <https://community.influxdata.com/t/database-export-incongruent-size/34807>\
**Category:** Systems\
**Created:** [July 3, 2024, 4:35am UTC](https://community.influxdata.com/t/database-export-incongruent-size/34807 "2024-07-03T04:35:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fraldom73](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@fraldom73](https://community.influxdata.com/u/fraldom73)\
**Post date:** [July 3, 2024, 4:35am UTC](https://community.influxdata.com/t/database-export-incongruent-size/34807/1 "2024-07-03T04:35:01Z")

</div>

Hello, I would like to export my DB in order to migrate it from influx V1 to V2.  
my data/influxdb folder contains:  
4.1G data  
12K meta  
55M wal

but after the export

```auto
influx_inspect export -database db -retention autogen -out /data/exports/influxdb -lponly -datadir /data/influxdb -waldir /data/influxdb/wal

```

in the export folder I have a 61MB file  
61M influxdb

how is it possible?

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [July 8, 2024, 8:02pm UTC](https://community.influxdata.com/t/database-export-incongruent-size/34807/2 "2024-07-08T20:02:05Z")

</div>

Hello @fraldom73  
The [`export`](https://docs.influxdata.com/influxdb/v1/tools/influx_inspect/#export) exports raw data from a shard in InfluxDB line protocol format. InfluxDB V1 uses a highly efficient storage engine that compresses time-series data. When you export the data, its exported in a more readable, less compressed format, (line protocol) which usually should be larger you’re right. But if its not very much data then it could be smaller because the export command might export data in a more efficient format, stripping away metadata and storage overhead that isn’t necessary for the raw data? I’m not sure though this does seem odd.
