GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is it possible to cut a MySQL table in half? (https://gfy.com/showthread.php?t=564101)

Rhesus 01-15-2006 02:24 PM

Is it possible to cut a MySQL table in half?
 
Any experts?

s9ann0 01-15-2006 04:09 PM

from top to bottom or left to right ?

mrthumbs 01-15-2006 04:10 PM

delete half of the records!

Mr Pheer 01-15-2006 04:18 PM

yes its possible with the MySQL table saw

pornguy 01-15-2006 04:26 PM

Or you can use the MSQL Jigsaw. Hand held of course.

MattO 01-15-2006 04:26 PM

print it out and use scissors

Matt 26z 01-15-2006 04:30 PM

Count the number of rows. If there is 1000. Put 500 in one table and the other 500 in another.

drama 01-15-2006 04:39 PM

its better to find out what your root problem is rather than start creating multiple tables but incase you're wondering you can have multiple tables which are the same and MERGE. If you're not sure what i mean by "MERGE" then you got some homework to start doing

mikesouth 01-15-2006 05:16 PM

If your database design is correct, cutting your table in half will make it wrong. If your design is incorrect cutting it in half wont make it right

determine what your real problem is first.

email me if I can help

Rhesus 01-15-2006 05:47 PM

No (root) problems here. And yes, I know what merge means ;-)

Of course you can just select, load into a new table and delete the old records (which is what I've done), I was just wondering if there's a set of queries to do this more easily.

Thanks for the comments!


All times are GMT -7. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123