l.com
Subject: Re: Which is better
On 8/2/2011 02:41, Adarsh Sharma wrote:
> Dear all,
>
> Just want to know which join is better for querying data faster.
>
> I have 2 tables A ( 70 GB ) & B ( 7 MB )
>
> A has 10 columns & B has 3 columns.Indexes exist on both tables'
On 8/2/2011 02:41, Adarsh Sharma wrote:
Dear all,
Just want to know which join is better for querying data faster.
I have 2 tables A ( 70 GB ) & B ( 7 MB )
A has 10 columns & B has 3 columns.Indexes exist on both tables's ids.
select p.* from table A p, B q where p.id=q.id
or
select p.* fro
h.sha...@orkash.com]
> Sent: Tuesday, August 02, 2011 12:12 PM
> To: mysql@lists.mysql.com
> Subject: Which is better
>
> Dear all,
>
> Just want to know which join is better for querying data faster.
>
> I have 2 tables A ( 70 GB ) & B ( 7 MB )
>
> A has 10 columns &a
I hope the former better.
Test with query plan output, though
Best Rgs,
Shafi AHMED
-Original Message-
From: Adarsh Sharma [mailto:adarsh.sha...@orkash.com]
Sent: Tuesday, August 02, 2011 12:12 PM
To: mysql@lists.mysql.com
Subject: Which is better
Dear all,
Just want to know which
Dear all,
Just want to know which join is better for querying data faster.
I have 2 tables A ( 70 GB ) & B ( 7 MB )
A has 10 columns & B has 3 columns.Indexes exist on both tables's ids.
select p.* from table A p, B q where p.id=q.id
or
select p.* from table B q , A p where q.id=p.id
Thank
At 08:54 AM 7/13/2006, abhishek jain wrote:
Dear Friends,
I was to create a site with quite some heavy mySQL database.
I wanted to know which is better longer rows in a table or two short rows
tables.
When compared in terms of speed etc.
Pl. help me , with this question and any other tip you
y, July 13, 2006 7:54 AM
Subject: which is better long rows in table or two short row tables
Dear Friends,
I was to create a site with quite some heavy mySQL database.
I wanted to know which is better longer rows in a table or two short rows
tables.
When compared in terms of speed etc.
Pl. hel
Dear Friends,
I was to create a site with quite some heavy mySQL database.
I wanted to know which is better longer rows in a table or two short rows
tables.
When compared in terms of speed etc.
Pl. help me , with this question and any other tip you may find can be
useful to me.
Thanks,
Abhishek
>I have an question about the design of a database. What is the best way
>to design tables. Is it better to create many small tables, or create
>fewer big tables. Which of those two options will get the best performance?
If you are asking whether to store the data all in one big table or a bunc
Alex croes said:
> I have an question about the design of a database. What is the best
> way to design tables. Is it better to create many small tables, or
> create fewer big tables. Which of those two options will get the
> best performance?
Don't worry about performance. If performance is real
I have an question about the design of a database. What is the best way
to design tables. Is it better to create many small tables, or create
fewer big tables. Which of those two options will get the best performance?
TIA,
Alex Croes
--
MySQL General Mailing List
For list archives: http://list
* [EMAIL PROTECTED]
> Case A:
...
> This statement would probably be much larger (upto 150 lines) and would
> query one table without additional joins.
>
> Case B:
>
> Here, when a user enters a city, the soundex of it is created and then
> queries a table that contains every city in the db PLUS al
Hi,
May the following sql statement is more efficient.
SELECT * FROM bc_posts WHERE
post_citysoundex IN('A265','A415',.)
Armand
motorpsychkill wrote:
I need to have a user input a city and have MySQL pull up any records with
that city OR nearby cities (within 10 mi). Which of the following
I need to have a user input a city and have MySQL pull up any records with
that city OR nearby cities (within 10 mi). Which of the following would be
the most efficient way to do this:
Case A:
When a user enters a city, an array of nearby cities is created so that an
SQL statement like the follo
Hello.
On Thu, May 23, 2002 at 11:53:49AM -0400, [EMAIL PROTECTED] wrote:
> Hello,
> I'm new to MySql. I plan to switch my Java/JDBC web application to use
> MySql. The application requires transactions so, as I understand it, I need
> the table types to be BDB or InnoDB. Can anyone offer comment
Hello,
I'm new to MySql. I plan to switch my Java/JDBC web application to use
MySql. The application requires transactions so, as I understand it, I need
the table types to be BDB or InnoDB. Can anyone offer comments on which file
type is preferred? Is one more stable than another? Is there a sign
Hi,
I am using my sql CAPI.I am able to access the
database well but there is one performance issue that
came into my mind.
Is it better to have a single query on multiple tables
using joins?
(OR)
Multiple queries without joins on each table,in a
sequential order .
If I use jo
Have you considered using the SET datatype? It would be perfect for your
situation.
- Original Message -
From: "Nino Skilj" <[EMAIL PROTECTED]>
To: "'Tbone'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 7:38
-
> From: Tbone [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 23, 2001 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Table Design -- which is better?
>
>
> Hi,
> How would the data look a like.
> And how about the query's
>
> Greetz Tbone
> ---
The data would be 1's and 0's (on/off)
Nino
-Original Message-
From: Tbone [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Table Design -- which is better?
Hi,
How would the data look a like.
And how about the query'
Hi,
How would the data look a like.
And how about the query's
Greetz Tbone
- Original Message -
From: "Nino Skilj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 12:17 AM
Subject: Table Design -- which is better?
> I have a g
I have a general design question.
Is it better to design one table with 45 columns or to split it into 3
tables with 15 columns each. There would be about 5000 rows in the table and
it would be used more for reading rather than writing.
I'm new to this, is there anything I'm missing?
Thanks,
N
22 matches
Mail list logo