# Space use when dealing with tags

**URL:** <https://community.influxdata.com/t/space-use-when-dealing-with-tags/9488>\
**Category:** Store\
**Tags:** influxdb\
**Created:** [April 18, 2019, 10:13am UTC](https://community.influxdata.com/t/space-use-when-dealing-with-tags/9488 "2019-04-18T10:13:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sampler](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/sampler/32/2891_2.png) [@sampler](https://community.influxdata.com/u/sampler)\
**Post date:** [April 18, 2019, 10:13am UTC](https://community.influxdata.com/t/space-use-when-dealing-with-tags/9488/1 "2019-04-18T10:13:55Z")

</div>

I got a dilemma over dealing with tags.

Let’s say I write a huge number points into same measurement. How does the use of tags affect space use and performance: all points are stored without tag VERSUS all points are stored under a singe tag (= 100% high cardinality)?

Currently we put tag just under first point written and the following are without tags but that is due to optimization of API payload.

Thanks.

---

<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:** [April 18, 2019, 7:20pm UTC](https://community.influxdata.com/t/space-use-when-dealing-with-tags/9488/2 "2019-04-18T19:20:07Z")

</div>

Hello @sampler,  
Great question. I recommend checking out this [documentation](https://docs.influxdata.com/influxdb/v1.7/concepts/glossary/#seriescardinality) about dependent tags and how the use of tags can decrease cardinality.

---

<div class="post-metadata">

**Author:** ![sampler](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/sampler/32/2891_2.png) [@sampler](https://community.influxdata.com/u/sampler)\
**Post date:** [April 19, 2019, 2:53pm UTC](https://community.influxdata.com/t/space-use-when-dealing-with-tags/9488/3 "2019-04-19T14:53:53Z")

</div>

Thank you for reply but I’m afraid I can’t find exact answer to my question.

Example  
I have a data series of 100000 values and timestamps. I have two options:  
a) insert data and add a constant tag to each point (same tag for all points)  
b) insert data without the tag

Cardinality is ideal but i doubt the footprint is same in both cases?
