# "There can be a slight delay before new or changed records are visible to queries"

**URL:** https://community.pinecone.io/t/there-can-be-a-slight-delay-before-new-or-changed-records-are-visible-to-queries/4912
**Category:** Support
**Tags:** serverless
**Created:** [March 19, 2024, 9:38pm UTC](https://community.pinecone.io/t/there-can-be-a-slight-delay-before-new-or-changed-records-are-visible-to-queries/4912 "2024-03-19T21:38:08Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![jesse](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/jesse/32/1658_2.png) [@jesse](https://community.pinecone.io/u/jesse)
#### Post date: [November 15, 2024, 7:21pm UTC](https://community.pinecone.io/t/there-can-be-a-slight-delay-before-new-or-changed-records-are-visible-to-queries/4912/16 "2024-11-15T19:21:25Z")

</div>

Hi @dom1. Welcome to the Pinecone forum!

Pinecone is an eventually consistent database, so there’s always going to be some amount of time between when you add records and when those records can be queried. Check out our [Serverless architecture documentation](https://docs.pinecone.io/reference/architecture/serverless-architecture#write-path) to learn more about what’s happening during that delay. In general, a new record should be available within seconds due to the freshness layer, which ensures that data is available before it has been fully indexed. How long are the delays you’re seeing?

If it’s essential for your use case to lock reads (queries) until you can ensure data is available, we recommend either [fetching by the ID of the record](https://docs.pinecone.io/guides/data/fetch-data) or [comparing the LSN of the write to the LSN of a query](https://docs.pinecone.io/guides/data/data-freshness/check-data-freshness#check-the-log-sequence-number). Every operation gets an LSN (log sequence number), and they are monotonically increasing, so as soon as the LSN of the query is higher than the LSN of the write, your data is available.

I hope that helps. Please let me know.

Best wishes,  
Jesse

---

_[View the full topic](https://community.pinecone.io/t/there-can-be-a-slight-delay-before-new-or-changed-records-are-visible-to-queries/4912)._
