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 9194873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:30:54+00:00 2026-06-17T21:30:54+00:00

I have a sqlite database with 73 MB when i’m running my application from

  • 0

I have a sqlite database with 73 MB when i’m running my application from hard disk it’s first query is fast,but when i run my application form DVD first query take about 30 sec to run.

so i want to ask what’s exactly happening when my app run form DVD?

can i improve database first query speed with spiting database to some small parts?

this is my query:

var SQlQuery = string.Format("SELECT ContentText FROM TblBookContent " +
                  "WHERE (BookID = {0}) AND (BookContentIndex={1}) Limit 1", bookid, BookContentIndex);
            string ConString = string.Format("Data Source={0}{1}.s3db;Version = 3;",
                CFAddress.ADatabase, DBName.BooksDB);

            using (SQLiteConnection connection = new SQLiteConnection(ConString))
            {
                connection.Open();
                using (SQLiteCommand command = new SQLiteCommand(SQlQuery, connection))
                {
                    using (SQLiteDataReader reader = command.ExecuteReader())
                    {
                        while (reader.Read())
                        {
                            CHtmlDesign.HtmlFile = reader["ContentText"].ToString();
                        }
                    }
                }
                connection.Close();
            }
  • 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-17T21:30:55+00:00Added an answer on June 17, 2026 at 9:30 pm

    I would guess it is more to do with the seek time on a DVD drive than anything else. CDs and DVDs have quite a slow seek time compared to a hard disk (HDD spin at 5000+ RPM, database servers will often be fitted with HDDs that spin above 11000RPM) while CDs and DVDs spin much slower and at variable speeds (maybe around 250 to 500RPM for CDs and 600 to 1300RPM for DVDs)

    Those RPMs partially determine the seek time because if you need data on another part of the disk you have to speed up or slow down to the correct speed the rotation and wait for the part of the disk you want to arrive back at the read head. And if you don’t move the read head to the part of the disk in time you have to wait for another rotation.

    CDs and DVDs are very good at linear access (such as audio or video recordings) but are bad at random access because of the time taken to find the information you need.

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

Sidebar

Related Questions

I have created sqlite database. I add this sqlite file in my application but
I have a sqlite database that I did not create myself but from a
I have an sqlite database I want to distribute with my application. It's about
I have an SQLite database in my application. When I go to check if
I have an SQLite database file exported from Scraperwiki with .sqlite file extension. How
I have a SQLite database setup for my android application and I have it
I have used sqlite database in some of my iphone applications but as you
I have an sqlite database I am writing and reading from. Most of the
I have a sqlite database. I am able to query it and get a
I have a SQLite database that I am creating in my iOS application. A

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.