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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:33:39+00:00 2026-06-10T19:33:39+00:00

I’m trying to turn a huge spreadsheet of data into a database to make

  • 0

I’m trying to turn a huge spreadsheet of data into a database to make data analysis easier, but I’m running into problems with too many columns. I’ve tried my best to learn about normalization, but I’m having a hard time applying it to this use case.

Scenario

We are performing N independent measurements on rectangular blocks. Measurements include:

  • Length (or Measurement 0)
  • Width (or Measurement 1)
  • Height (or Measurement 2)
  • Mass (or Measurement 3)
  • Color (or Measurement 4)
  • …
  • Measurement N

There are over 7000 measurements (complicated blocks)! The measurements have limits. If a block fails one or more measurements, all measurements are repeated to verify. If it fails again, the block is deemed a failure.

The blocks are serialized and there are thousands of them.

Data Source

A huge spreadsheet (table). The fields are: Block Number, Length, Width, Height, Mass, Color, …, Measurement N. Each row represents one test run or execution of all measurements. Since we have a retest policy, there may be multiple rows with results from the same block.

Help!

This source table seems like an intuitive format, but doesn’t seem like the best format for a database. At first I tried to put it in an SQLite database and ran into the 2000 column limit. Yes I could recompile SQLite with more columns or use another database engine, but this sounds like more of a database design issue. Do you have a better design idea?

P.S. Sorry so long, but thanks for reading!

  • 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-10T19:33:40+00:00Added an answer on June 10, 2026 at 7:33 pm

    Sounds like you need a MeasurementType table to hold the names of all measurements and any other information you may want to store about measurements.

    Then you would have a Measurement table referencing both the MeasurementType and the “original” table that your spreadsheet is (i.e. the table left with the Block Number column):

    CREATE TABLE MeasurementType (
        MeasurementTypeId INTEGER PRIMARY KEY AUTOINCREMENT,
        MeasurementType TEXT NOT NULL);
    
    CREATE TABLE OriginalTable (
        OriginalTableId INTEGER PRIMARY KEY AUTOINCREMENT,
        BlockNumber INTEGER NOT NULL);
    
    CREATE TABLE Measurement (
        MeasurementTypeId INTEGER NOT NULL,
        OriginalTableId INTEGER NOT NULL,
        MeasurementValue,
        PRIMARY KEY (MeasurementTypeId, OriginalTableId),
        FOREIGN KEY (MeasurementTypeId) REFERENCES MeasurementType (MeasurementTypeId),
        FOREIGN KEY (OriginalTableId) REFERENCES OriginalTable (OriginalTableId));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am currently running into a problem where an element is coming back from
I want to construct a data frame in an Rcpp function, but when I
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am trying to render a haml file in a javascript response like 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.