# SQLCipher performance

**URL:** <https://discuss.zetetic.net/t/sqlcipher-performance/3617>\
**Category:** SQLCipher\
**Created:** [April 23, 2019, 3:16pm UTC](https://discuss.zetetic.net/t/sqlcipher-performance/3617 "2019-04-23T15:16:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [April 25, 2019, 1:11pm UTC](https://discuss.zetetic.net/t/sqlcipher-performance/3617/4 "2019-04-25T13:11:17Z")

</div>

Hi @Rustam_Navoyan

We are happy to hear you were able to resolve the issue.

> [@Rustam\_Navoyan](#):
>
> Isn’t it a good idea to execute this command before running my query and then turn that on?

Are you suggesting toggling the `cipher_memory_security` option off and then on? It should have no ill effect. If you know you will return a large dataset, you can consider the option of specifying a custom cursor window allocation to see if it improves performance as well. Finally, you may also wish to review our general [performance guidance](https://discuss.zetetic.net/t/sqlcipher-performance/14) as well.

---

_[View the full topic](https://discuss.zetetic.net/t/sqlcipher-performance/3617)._
