Ask a Question related to MySQL, Design and Development.
-
howachen@gmail.com #1
Put `text` column in another table?
Hi,
usually, use of a single table is recommended for performance as only
one seek time is required. However, when a table include many columns
with `text` field, should we also do this?
Should be separate the `text` fields in another table, and link them up
using a key?
Which method is better for performance?
Thanks.
howachen@gmail.com Guest
-
Two-column text inside one-column text box?
Hello everybody, I'm working on a small size book with a one-column text box threaded through the whole thing. There are some short lists that I'd... -
add column to table with sql
Does anyone know the SQL syntax to add a column to an existing Access table? -
Table -- Floating Column Bar
Does anyone know if there is a way to have your columns of a table float? i have a table with 7 columns and about 500 rows. after you get halfway... -
Insert into <table w/ text column> select distinct ...
Ok, so it makes sense: create table #myTable (myColumn varchar(10), textColumn text) insert into #myTable select distinct someValue, ''... -
select from drop list to fill table column with text -- HOW ?
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state... -
Jerry Stuckle #2
Re: Put `text` column in another table?
[email]howachen@gmail.com[/email] wrote:
It depends on a lot of factors. Number of columns, size of the data in> Hi,
>
> usually, use of a single table is recommended for performance as only
> one seek time is required. However, when a table include many columns
> with `text` field, should we also do this?
>
> Should be separate the `text` fields in another table, and link them up
> using a key?
>
> Which method is better for performance?
>
> Thanks.
>
those columns, frequency of which you're accessing columns and probably
30 other things I can't think of right now. It's totally impossible to
provide a general rule.
For instance - at least in MySQL - if you have a column containing 1K of
text (average) and you need it on a 75% of your requests, you *probably*
want it in the same table. But if that column contains 1M of text
(average) and you only need it on 2% of your requests, you probably want
it in a different table.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
[email]jstucklex@attglobal.net[/email]
==================
Jerry Stuckle Guest



Reply With Quote

