473,396 Members | 2,057 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,396 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 1113

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...
4
by: ...vagrahb | last post by:
Hi, I have the following structure struct Format { char x; unsigned char a; unsigned char b; unsigned char c; char y;
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.