473,386 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

structure choice advice db of fixed format spreadsheets

I'm wanting to convert/import an ancient, custom coded (in c) language
database into mysql. I understand the mechanics of the process on
both sides, but I need advice on the performance ramifications.
Essentially the database is a core record with some identifying info
and a very large spreadsheet of line by line data; as well as some
relational hooks into other, more typical tables. The problem is that
I'd like to know whether to maintain this current, basic structure
which would create a bunch of typical tables, and one table with the
large line data as a single "field" that I cook in the client app; or
whether I should do a more typical relational method letting each line
of the "spreadsheet" be a record in a table keyed on the record id of
the core table. Switching it to this method would gain the benefit
that a record that only has 20 line items would take up much less
space, and a record with 1500 line items wouldn't have to be split
between two records (yes, icky).

The scale I'm working on is about 20,000 core records; and each core
record having an associated sheet of data 800 lines long. The other
relational tables are between 30k and 50k in number of records. FWIW,
it was originally built this way, in c, because speed was considered
absolutely paramount and it was first run on an 80286 with 1 meg of
ram.

I guess the basic question is, what kind of speed penalty am I going
to pay in laying that core record out in a more rational, relational
way, using mysql.

[If important, I'll be using the mysql that is installed with
slackware 10.0; clients will be custom coded in C++ for windows and
linux.]
Jul 20 '05 #1
0 1176

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: Adrian Parker | last post by:
I'm using the code below in my project. When I print all of these fixed length string variables, one per line, they strings in questions do not properly pad with 0s. strQuantity prints as " ...
5
by: kazack | last post by:
I am a little confused with code I am looking at. My c++ book does not go into passing a structure to a function so I pulled out a c book which does. and I do not understand the prototype verses...
0
by: rwwff | last post by:
I'm wanting to convert/import an ancient, custom coded (in c) language database into mysql. I understand the mechanics of the process on both sides, but I need advice on the performance...
5
by: deancoo | last post by:
Being fairly new to STL, I'm looking for a little advice on which container to use. Let me set up the scenario for you to consider. Suppose you're trying to model a hotel. The hotel has a fixed...
1
by: deko | last post by:
DoCmd.CopyObject copies data, but I only need structure. I'm trying to clone several tables in my Access 2003 mdb. The goal is to link to a series of Excel spreadsheets and then run various...
13
by: - Steve - | last post by:
I've been given a school assignment and while everything else is easy there's one topic I'm completley lost on. I've been given an ASCII file that looks like this. During start-up, the program...
11
by: Mannequin* | last post by:
Hi all, I'm working on a quick program to bring the Bible into memory from a text file. Anyway, I have three questions to ask. First, is my implementation of malloc () correct in the program to...
10
by: David Fort | last post by:
Hi, I'm upgrading a VB6 app to VB.net and I'm having a problem with a call to a function provided in a DLL. The function takes the address of a structure which it will fill in with values. I...
11
by: Lance | last post by:
Hi all, I've got a some structures defined as ////// <StructLayout(LayoutKind.Sequential)Public Structure GM_LayerInfo_t Public mDescription As String Public mNativeRect As GM_Rectangle_t...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.