MySQL Forums
Forum List  »  Spanish

Re: ¿Qué opción da mejor rendimiento?
Posted by: Diego Medina
Date: February 20, 2008 06:35PM

en general es bueno dividir en varias tablas pero verticalment, no horizontalmente.

A lo que me refiero es, si tenes una table que tiene:

username
password
activo
edad
primer nombre
apellido
telefono
direccion
ciudad


seria mejor tener por lo menos dos tables, una va a tener solamente
username
password
activo
userid
y la otra va a tener la otra information. y tambien una columna userid para que luego puedas hacer joins si es necesario.

no se cual sera el termino en espanol, pero en ingles es sharding, lo puedes buscar en google para ver mas information al respecto.

Diego Medina
Web Developer
http://www.fmpwizard.com

P.S. Please read this post if you are going to post code

Options: ReplyQuote


Subject
Views
Written By
Posted
2308
February 20, 2008 05:36PM
Re: ¿Qué opción da mejor rendimiento?
1633
February 20, 2008 06:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.