Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:32:25+00:00 2026-06-17T12:32:25+00:00

I am using FMDB to access the standard iOS internal SQLite database, with one

  • 0

I am using FMDB to access the standard iOS internal SQLite database, with one db connection shared among multiple threads.

To make it thread safe I’m locking access to the db to one block of code at a time. All works well, although the access to the db is now a bit of a bottleneck, obviously.

My question is: Can I ease this up a bit by allowing simultaneous queries from multiple threads, as long as they are all readonly SELECT statements?

I can’t find an answer anywhere.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:32:27+00:00Added an answer on June 17, 2026 at 12:32 pm

    You cannot use the same connection to execute multiple queries at the same time.

    However, for purely read-only accesses, you can use multiple connections.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building an iOS app using SQLite and fmdb as wrapper. I am
I've made an app in which im using an sqlite database with fmdb wrapper
I have two separate SQLite db files and am using FMDB to access them
I'm using FMDB to create a SQLite database on iPhone. I have a initial.sql
I've created a database for the iphone using sqlite and the fmdb wrapper. The
I have an iPad app that is using a sqlite database using FMDB as
I'm using FMDB for my iPhone App database and i want to create the
I am having trouble UPDATING my database using FMDB . Here's my SQL BOOL
How to display data from SQLite to label using FMDB like this: I would
I heard using sqlite for long data transition from database is not efficient so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.