Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > Database
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

Database Database problems or need to ask a question? maybe something to do with sql injections or a database software question. Database topics cover MySQL, PostgreSQL, Oracle, SQL Server or anything else related to databases.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2007, 7:38 PM   #1
G
 
G's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default table/database design question

Hi,

I have table/db I need to create that has a rectangle structure even
when normalized, but the difficulty is that the rows can have a large
number of column - over the max of what mysql can handle. If I put the
data in vertical format I lose a lot of functionality. If I split the
tables into n number of tables and keep the data on the horizontal it make
for some combersomeness. I'm sure this is a common problem but I have
never need more that 5-20 columns per table.

any input on this is greatly appreciated!

I also am considering writing code that may compress/decompress the
columns into say a blob, but this again leaves me in the cold, with out
the power of sql...


Gary
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 05-31-2007, 7:38 PM   #2
Dr.Tulip
 
Dr.Tulip's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default table/database design question

Hi G,
I don't quite understand the question, the table length is defined by you
just like in C/C++ programming. You can have one cell handling as many
character as you wanted. The text will be wrapping around when displaying
it. Please take a look at my sample to see if this is what you are trying to
do:

http://67.171.3.18/isapi.dll?Query=U...OM+Suppli ers

Main page:
http://67.171.3.18/websql.htm

If my server is not on, then try again later.

Dr. 2-lips



"G" <nospam@nospam.org> wrote in message
newsan.2005.03.31.00.55.12.50577@nospam.org...
: Hi,
:
: I have table/db I need to create that has a rectangle structure even
: when normalized, but the difficulty is that the rows can have a large
: number of column - over the max of what mysql can handle. If I put the
: data in vertical format I lose a lot of functionality. If I split the
: tables into n number of tables and keep the data on the horizontal it make
: for some combersomeness. I'm sure this is a common problem but I have
: never need more that 5-20 columns per table.
:
: any input on this is greatly appreciated!
:
: I also am considering writing code that may compress/decompress the
: columns into say a blob, but this again leaves me in the cold, with out
: the power of sql...
:
:
: Gary


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-31-2007, 7:38 PM   #3
G
 
G's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default table/database design question

Maybe I wasn't clear. I was referring to the number of columns mysql will
allow you to define per table. which i think is around 3000+/- . my
data is genetic data for individuals in a study/project. they tell
me that one individual could have up 4500 markers. i could have the
markers defined like:

id marker geneticpiece1 geneticpiece2
....
id marker geneticpieceN geneticpieceN
....

or

id marker1 gene1 gene2 marker2 gene1 gene2 ....
id marker1 gene1 ....

the latter format, although not complete normalized yet is more
appealing. I can do sorts/selects with more ease than the former
way. i could not access your site will try later. hope this helps
explain my question.

the application is web based and having selects that return a large row
of genetic data is partly what i was aiming for and also keeping it as
relational as possible for ease of maintainance..

g.

On Wed, 30 Mar 2005 20:01:03 -0800, Dr.Tulip wrote:

> Hi G,
> I don't quite understand the question, the table length is defined by you
> just like in C/C++ programming. You can have one cell handling as many
> character as you wanted. The text will be wrapping around when displaying
> it. Please take a look at my sample to see if this is what you are trying to
> do:
>
> http://67.171.3.18/isapi.dll?Query=U...OM+Suppli ers
>
> Main page:
> http://67.171.3.18/websql.htm
>
> If my server is not on, then try again later.
>
> Dr. 2-lips
>
>
>
> "G" <nospam@nospam.org> wrote in message
> newsan.2005.03.31.00.55.12.50577@nospam.org...
> : Hi,
> :
> : I have table/db I need to create that has a rectangle structure even
> : when normalized, but the difficulty is that the rows can have a large
> : number of column - over the max of what mysql can handle. If I put the
> : data in vertical format I lose a lot of functionality. If I split the
> : tables into n number of tables and keep the data on the horizontal it make
> : for some combersomeness. I'm sure this is a common problem but I have
> : never need more that 5-20 columns per table.
> :
> : any input on this is greatly appreciated!
> :
> : I also am considering writing code that may compress/decompress the
> : columns into say a blob, but this again leaves me in the cold, with out
> : the power of sql...
> :
> :
> : Gary


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-31-2007, 7:38 PM   #4
Dr.Tulip
 
Dr.Tulip's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default table/database design question

You should be able to expand your database size. This could be done through
your administration tools. One thing you can do to find out if you have
reached the maximum database size, is to look at the actual db file size.
I don't know about MySql limit, but I can tell you this with Microsoft SQL
server, if your db file size is over or close to 10gb then you are reaching
the maximum for that table. You can still chain the database together but I
never find any need to reach the maximum any how.

Here is the spec of SQL 7.0 small Business model:
------------

SQL Server Small Business Server Edition
SQL Server 7.0, Small Business Server Edition ships on the same compact disk
with Microsoft Small Business Server version 4.5. It is not available as a
stand-alone product. It is designed for installation on servers running Small
Business Server 4.5. SQL Server 7.0 Small Business Server Edition is limited
to 10 GB of storage per database, a single processor, fifty concurrent
queries, and ships with a full complement of graphical administration tools.

---------------


Dr. 2-lips.

"G" <nospam@nospam.org> wrote in message
newsan.2005.03.31.04.44.36.820769@nospam.org...
: Maybe I wasn't clear. I was referring to the number of columns mysql will
: allow you to define per table. which i think is around 3000+/- . my
: data is genetic data for individuals in a study/project. they tell
: me that one individual could have up 4500 markers. i could have the
: markers defined like:
:
: id marker geneticpiece1 geneticpiece2
: ...
: id marker geneticpieceN geneticpieceN
: ...
:
: or
:
: id marker1 gene1 gene2 marker2 gene1 gene2 ....
: id marker1 gene1 ....
:
: the latter format, although not complete normalized yet is more
: appealing. I can do sorts/selects with more ease than the former
: way. i could not access your site will try later. hope this helps
: explain my question.
:
: the application is web based and having selects that return a large row
: of genetic data is partly what i was aiming for and also keeping it as
: relational as possible for ease of maintainance..
:
: g.
:
: On Wed, 30 Mar 2005 20:01:03 -0800, Dr.Tulip wrote:
:
: > Hi G,
: > I don't quite understand the question, the table length is defined by you
: > just like in C/C++ programming. You can have one cell handling as many
: > character as you wanted. The text will be wrapping around when
displaying
: > it. Please take a look at my sample to see if this is what you are
trying to
: > do:
: >
: > http://67.171.3.18/isapi.dll?Query=U...OM+Suppli ers
: >
: > Main page:
: > http://67.171.3.18/websql.htm
: >
: > If my server is not on, then try again later.
: >
: > Dr. 2-lips
: >
: >
: >
: > "G" <nospam@nospam.org> wrote in message
: > newsan.2005.03.31.00.55.12.50577@nospam.org...
: > : Hi,
: > :
: > : I have table/db I need to create that has a rectangle structure even
: > : when normalized, but the difficulty is that the rows can have a large
: > : number of column - over the max of what mysql can handle. If I put the
: > : data in vertical format I lose a lot of functionality. If I split the
: > : tables into n number of tables and keep the data on the horizontal it
make
: > : for some combersomeness. I'm sure this is a common problem but I have
: > : never need more that 5-20 columns per table.
: > :
: > : any input on this is greatly appreciated!
: > :
: > : I also am considering writing code that may compress/decompress the
: > : columns into say a blob, but this again leaves me in the cold, with out
: > : the power of sql...
: > :
: > :
: > : Gary
:


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 05-31-2007, 7:38 PM   #5
G
 
G's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default table/database design question

i'm more of an opensrc guy, but thanks for the input. mysql does have
a 3k limit on column number. i'll probably just do a more vertical
table on this data, instead of horizontal. thanks, g.

On Wed, 30 Mar 2005 22:29:54 -0800, Dr.Tulip wrote:

> You should be able to expand your database size. This could be done through
> your administration tools. One thing you can do to find out if you have
> reached the maximum database size, is to look at the actual db file size.
> I don't know about MySql limit, but I can tell you this with Microsoft SQL
> server, if your db file size is over or close to 10gb then you are reaching
> the maximum for that table. You can still chain the database together but I
> never find any need to reach the maximum any how.
>
> Here is the spec of SQL 7.0 small Business model:
> ------------
>
> SQL Server Small Business Server Edition
> SQL Server 7.0, Small Business Server Edition ships on the same compact disk
> with Microsoft Small Business Server version 4.5. It is not available as a
> stand-alone product. It is designed for installation on servers running Small
> Business Server 4.5. SQL Server 7.0 Small Business Server Edition is limited
> to 10 GB of storage per database, a single processor, fifty concurrent
> queries, and ships with a full complement of graphical administration tools.
>
> ---------------
>
>
> Dr. 2-lips.
>
> "G" <nospam@nospam.org> wrote in message
> newsan.2005.03.31.04.44.36.820769@nospam.org...
> : Maybe I wasn't clear. I was referring to the number of columns mysql will
> : allow you to define per table. which i think is around 3000+/- . my
> : data is genetic data for individuals in a study/project. they tell
> : me that one individual could have up 4500 markers. i could have the
> : markers defined like:
> :
> : id marker geneticpiece1 geneticpiece2
> : ...
> : id marker geneticpieceN geneticpieceN
> : ...
> :
> : or
> :
> : id marker1 gene1 gene2 marker2 gene1 gene2 ....
> : id marker1 gene1 ....
> :
> : the latter format, although not complete normalized yet is more
> : appealing. I can do sorts/selects with more ease than the former
> : way. i could not access your site will try later. hope this helps
> : explain my question.
> :
> : the application is web based and having selects that return a large row
> : of genetic data is partly what i was aiming for and also keeping it as
> : relational as possible for ease of maintainance..
> :
> : g.
> :
> : On Wed, 30 Mar 2005 20:01:03 -0800, Dr.Tulip wrote:
> :
> : > Hi G,
> : > I don't quite understand the question, the table length is defined by you
> : > just like in C/C++ programming. You can have one cell handling as many
> : > character as you wanted. The text will be wrapping around when
> displaying
> : > it. Please take a look at my sample to see if this is what you are
> trying to
> : > do:
> : >
> : > http://67.171.3.18/isapi.dll?Query=U...OM+Suppli ers
> : >
> : > Main page:
> : > http://67.171.3.18/websql.htm
> : >
> : > If my server is not on, then try again later.
> : >
> : > Dr. 2-lips
> : >
> : >
> : >
> : > "G" <nospam@nospam.org> wrote in message
> : > newsan.2005.03.31.00.55.12.50577@nospam.org...
> : > : Hi,
> : > :
> : > : I have table/db I need to create that has a rectangle structure even
> : > : when normalized, but the difficulty is that the rows can have a large
> : > : number of column - over the max of what mysql can handle. If I put the
> : > : data in vertical format I lose a lot of functionality. If I split the
> : > : tables into n number of tables and keep the data on the horizontal it
> make
> : > : for some combersomeness. I'm sure this is a common problem but I have
> : > : never need more that 5-20 columns per table.
> : > :
> : > : any input on this is greatly appreciated!
> : > :
> : > : I also am considering writing code that may compress/decompress the
> : > : columns into say a blob, but this again leaves me in the cold, with out
> : > : the power of sql...
> : > :
> : > :
> : > : Gary
> :


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problem creating a new Table in SQL database, Dr.Tulip Database 0 05-31-2007 7:38 PM
[PEPr] Database::FlatFile Database deleted Ali Fazelzade Pear 0 05-20-2007 6:41 PM
Table aliases fireshark Database 5 07-16-2006 5:59 AM
Table Problem! Working on complex design! Klaas_Koopman HTML 18 03-21-2006 3:21 PM


Featured Websites




All times are GMT +1. The time now is 11:06 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98