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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:54:01+00:00 2026-05-10T22:54:01+00:00

I have a SQL Mobile database with one table. It has several columns with

  • 0

I have a SQL Mobile database with one table. It has several columns with useful, often queried data and one column that stores a relatively large string per record (1000+ characters) that is not queried often.

Imagine this fake schema, the ‘lifeStory’ field is the large one.

table1 String firstName String lastName String address String lifeStory 

A representative query would be

SELECT firstName, lastName, address FROM table1 WHERE firstName = :p1 

Does anyone know of any performance concerns leaving that large, infrequently queried column in this table?

  • 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-10T22:54:02+00:00Added an answer on May 10, 2026 at 10:54 pm

    Using VS2005 (c#) and SQLServerCE libriaries I can tell you that it does affect performance but I cannot truly answer why. Furthermore, it’s actually the length of the data in that column that negatively impacts performance rather than the column itself.

    Doing some performance testing of my own on a project for work I ran into a similar scenario just one extra column.

    table1  c1 NVARCHAR (20) c2 NVARCHAR (20) c3 NVARCHAR (20) c4 NVARCHAR (20)  c5 NVARCHAR (4000) //maximum allowed and fully populated for testing purposes 

    If you run…

    select c1, c2, c3, c4 From table1 

    …it takes roughly 1560 milliseconds.

    If you create two tables, pulling the large column out (and providing a foreign key to relate the two, naturally) and run the same query on the first table, it takes roughly 660 milliseconds.

    Lastly, other tests have shown me that it’s not the number of columns but rather the size of the data in each row. i.e. 5 columns, 2 chars wide == 2 columns, 5 chars wide. Also, be sure to run these on your mobile device. You can unit test these but due to the significantly greater horsepower on my PC I found the timing difference to be 10-20 milliseconds rather than the nearly 1000 milliseconds illustrated above.

    Why? This is just a guess but…

    In the mobile world the DBMS just can’t be the same; it’s not an enterprise database. Under the covers I bet they are still performing the OLEDB ‘seeks.’

    Overall, in the mobile space I’ve learned design my DB’s not to be the most ‘normalized’ but rather to support the most frequent use case. Good luck!

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

Sidebar

Ask A Question

Stats

  • Questions 123k
  • Answers 123k
  • 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 To me, doing it by hand is an advantage. You… May 12, 2026 at 1:09 am
  • Editorial Team
    Editorial Team added an answer The way Facebook does this is pretty interesting. A common… May 12, 2026 at 1:09 am
  • Editorial Team
    Editorial Team added an answer You can use the DataKeyNames property on the Gridview. gridView.DataKeyNames… May 12, 2026 at 1:09 am

Related Questions

OK - I have worded this search 40 different ways and I seem to
What is currently the best solution for WPF applications which are meant to be
I have a mobile app that writes to a SQL Server CE database on
I have the option of either using WCF or Microsoft Sync Framework for my

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.