# Write confirmation (Question)

**URL:** <https://forum.tiledb.com/t/write-confirmation-question/305>\
**Category:** Uncategorized\
**Created:** [February 18, 2021, 8:07pm UTC](https://forum.tiledb.com/t/write-confirmation-question/305 "2021-02-18T20:07:53Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![gsr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/gsr/32/124_2.png) [@gsr](https://forum.tiledb.com/u/gsr)\
**Post date:** [March 9, 2021, 2:14am UTC](https://forum.tiledb.com/t/write-confirmation-question/305/14 "2021-03-09T02:14:08Z")

</div>

Hi Stavros,

Since multiple people are actively using it, I couldn’t change to do consolidation during processes from a single machine. What I’m doing is, regularly I’m running consolidation script. However it is taking incredibly long (over 8 hours it only could do 120 consolidation loops as below). What I’m doing is

```
import tiledb
for i in range(1000):
    print(i)
    config = tiledb.Config({'sm.consolidation.step_min_frags':2,'sm.consolidation.step_max_frags':20,'sm.consolidation.steps':1})
    ctx = tiledb.Ctx(config)
    table_name='example.tldb'
    tiledb.consolidate(table_name, ctx=ctx)
    tiledb.vacuum(table_name)

```

Is it in accordance with your suggestion? Is there any other way to make it faster? The reason why I can’t just let it run without a loop when db is idle is my kernel died with 64 GB RAM, that’s why I’m doing in such a loop. I would appreciate if you can show any pointer

---

_[View the full topic](https://forum.tiledb.com/t/write-confirmation-question/305)._
