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

  • SEARCH
  • Home
  • 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 99449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:23:23+00:00 2026-05-11T00:23:23+00:00

Does it make sense to use SQL Server Compact for a desktop application? How

  • 0

Does it make sense to use SQL Server Compact for a desktop application?

  • How much data can it handle?
  • Is it possible to use it with multiple users? What are the constraints?
  • What happens when database files are broken? Is it possible to programmatically recover or would it be easy to solve the problem remotely?
  • 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. 2026-05-11T00:23:23+00:00Added an answer on May 11, 2026 at 12:23 am

    I certainly would (and do). SQL Compact (SQLCE) has a distinct advantage in some scenarios. Now it’s in no way meant to be a replacement for SQL Server. It doesn’t scale, it isn’t made to run thousands of concurrent connections, it’s not designed for reporting services, etc, etc.

    But it has a tiny footprint. Installing is a matter of just copying over DLLs. Backing it up is a simple file copy. And it can be wicked fast for storage and retrieval if you’re using table direct or BCP. Oh, and it’s free. If you just need a local data store for an app, SQL Server is a pain to deploy and configure. SQLCE is simple. Plus it can play in the same sandbox as a full SQL Server as a replication subscriber (which most other small DBs can’t).

    Edit: Forgot to answer your specific questions:

    • How much data can it handle? In terms of what? DB size? Throughput? Table size? Row size? My experience is that I’ve run the DB out to a a few hundred MB with no issue. I think it can hold 4GB (as of 4.0). Throughput is directly related to how you’re putting data in or taking it out. We’re using it in a solution where we’re capturing 1k rows a second with no problem. You can have 1024 columns and a max row size of 8k.
    • Multiple users? Well it can handle multiple simulataneous connections (as of 3.5), so yes, that should work. I’ve used multiple connections from one user, never from multiple.
    • Broken databases? Define ‘broken’. The engine has a ‘compact and repair’ method. It’s a file like any other – how do you fix a broken executable? I’ve not seen any corruptions in the field, if that’s what you’re asking (well we did on one CE device that had a bad storage card, but that’s not the engine’s fault).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 120k
  • Answers 120k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I don't think there is any builtin way to do… May 12, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer Table cells are the easiest solution. Javascript is an alternative… May 12, 2026 at 12:05 am
  • Editorial Team
    Editorial Team added an answer In theory yes, but in practice probably no. i.e. it… May 12, 2026 at 12:05 am

Related Questions

Does it make sense to use .NET DataSets even in applications that use a
From security reasons, is it worth encrypting user emails before putting them into the
See the code below. If I initialize more than one entity context, then I
There have been similar questions but the answers weren't what I was looking for.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.