# reload hdb without restarting

**URL:** <https://forum.kx.com/t/reload-hdb-without-restarting/11113>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [July 13, 2016, 3:12am UTC](https://forum.kx.com/t/reload-hdb-without-restarting/11113 "2016-07-13T03:12:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kefa1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kefa1](https://forum.kx.com/u/kefa1)\
**Post date:** [July 13, 2016, 3:12am UTC](https://forum.kx.com/t/reload-hdb-without-restarting/11113/1 "2016-07-13T03:12:00Z")

</div>

Hi,

Is there a way to reload a hdb without restarting it?

---

<div class="post-metadata">

**Author:** ![andrew\_shortt](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@andrew\_shortt](https://forum.kx.com/u/andrew_shortt)\
**Post date:** [July 13, 2016, 9:38am UTC](https://forum.kx.com/t/reload-hdb-without-restarting/11113/2 "2016-07-13T09:38:00Z")

</div>

Hi,

Yes if you are connected to the HDB itself then you can reload it by running:

q) \l .

This will reload the current directory you are in.

Andrew Shortt

* * *

**From:** [personal-kdbplus@googlegroups.com](mailto:personal-kdbplus@googlegroups.com) \<personal-kdbplus@googlegroups.com\> on behalf of kefa \<keithwong8@gmail.com\>  
**Sent:** 13 July 2016 03:12  
**To:** Kdb+ Personal Developers  
**Subject:** [personal kdb+] reload hdb without restarting  
&nbsp;

Hi,

Is there a way to reload a hdb without restarting it?

–  
Submitted via Google Groups

---

<div class="post-metadata">

**Author:** ![Enoch\_Lam](https://avatars.discourse-cdn.com/v4/letter/e/eada6e/32.png) [@Enoch\_Lam](https://forum.kx.com/u/Enoch_Lam)\
**Post date:** [July 13, 2016, 1:36pm UTC](https://forum.kx.com/t/reload-hdb-without-restarting/11113/3 "2016-07-13T13:36:00Z")

</div>

It doesn’t have to be in the process to reload a HDB: the same “\l .” call be called through a IPC handle. q)// HDB port at 30000 q)hopen 30000 3 q)// handle 3 connects to HDB 30000 q)3"\l .“; reload with a sync call q)-3”\l ."; reload with a sync call
