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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:58:40+00:00 2026-05-25T12:58:40+00:00

I am connecting to a SQL Server database with the Android device. Yes I

  • 0

I am connecting to a SQL Server database with the Android device. Yes I know not very advisable but everything works fine except … well it’s slow.

Here is what I do:

  • open conection
  • download table by table the data I need from the server database (with a connector I found online)
  • insert table by table into sqlite

I only select what I need; there are about 12 tables and some have like 300 items

Then I send some data to the server database (the select from 2 tables)

How could I make the thing work faster without using web services? (if possible)

If I do use web services will it be faster?

Thanks a lot in advance

PS: I know there are the risks about accessing the DB that way they are not relevant in this case.

  • 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-05-25T12:58:41+00:00Added an answer on May 25, 2026 at 12:58 pm

    Do you really need to replicate the same schema on Android? Try to narrow it down to only the essential data, and maybe create a new ‘light’ schema for the Android app. Do not use select *, only get the columns you need. Even with this, the first sync will probably be relatively slow. After you sync once, you can only get the newest items, so it should go faster.

    If you want to use a webservice, you will have to rethink your model: instead of syncing tables with rows, you will work with entities (customers, orders, etc.). If you transfer the same amount of data, a webservice won’t be faster, it can even be slower. The benefits of a webservice are that you don’t have to know the exact schema on the server, so you don’t need to change your app if it is changed (as long as it has all the data you need, of course); and that thinking in terms of a service will make you only use the data you need, making the whole interaction faster. And, it works over the Web, of course, so it will work with proxies, NAT, and what not.

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

Sidebar

Related Questions

i have multiple users connecting to sql-server-2008 database. i would like to know whether
I built a .NET ASMX web service connecting to an SQL Server database. There
I am having difficulty connecting my java code to sql server database. I can
i want to practice connecting from asp.net to a sql server database. i have
Currently we have a hybrid ASP/PHP setup connecting to a SQL Server 2005 database.
We have a SQL Server 2005 database, and currently all our users are connecting
I am successfully connecting to my sql 2008 server hosted on winhost.com. But I
I am connecting to a SQL Server database via LINQ in my ASP.NET application
Consider a Winforms app connecting to a SQL Server 2008 database and running a
I am running ASP.NET connecting to a SQL Server 2005 database. Currently all my

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.