Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread Divesh Kamra
SELECT...ORDER BY (new PK) -- This would make the INSERT part >> fast, but the SELECT part would be slow. ("You can't win") >> >> Your task is all about disk hits. By understanding what MySQL has to do, >> you can 'predict' whether a plan wil

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread Jay Ess
On 2013-06-27 01:27, nixofortune wrote: Now importing with Keys in place. It takes longer, much longer but at least the server is working and customers do not complaint. Schema design is awful, agree. I try to understand the process so will redesign it soon, but any suggestions are welcome. I'

RE: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread Rick James
at are the SELECTs that will benefit from them? (Sometimes discussing this can lead to fewer/better INDEXes. Often it leads to suggesting Summary Table(s).) > -Original Message- > From: Johan De Meersman [mailto:vegiv...@tuxera.be] > Sent: Wednesday, June 26, 2013 11:46 AM > To

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread nixofortune
--Original Message- From: Johan De Meersman [mailto:vegiv...@tuxera.be] Sent: Wednesday, June 26, 2013 11:46 AM To: li...@netrogenic.com; Jay Ess; mysql@lists.mysql.com Subject: Re: space gone after MyISAM REPAIR TABLE You can't actually move innodb tables around until 5.6 where you have trans

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread hsv
2013/06/26 17:31 +0100, nixofortune ALTER TABLE `new_innodb` ADD KEY `idx1` (`col1`,`col2`), ADD KEY `idx2` (`col1`,`col2`,`col3`); Is it really seemly for one index to be a leading part of another? (or maybe I am really thinking of something else) -- MySQL General Mailing Li

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread Johan De Meersman
You can't actually move innodb tables around until 5.6 where you have transpotable tablespaces. I suggest having a good hard look at pt-online-schema-change or whatsitcalled. Jay Ess wrote: >On 2013-06-26 18:31, nixofortune wrote: >> What would be the best way to convert BIG MyISAM table into I

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread nixofortune
bably got 'sort' because of this being big enough: "myisam_sort_buffer_size = 526M" -Original Message- From: nixofortune [mailto:nixofort...@gmail.com] Sent: Monday, June 24, 2013 12:35 PM To: mysql@lists.mysql.com Subject: Re: space gone after MyISAM REPAIR TABLE

Re: space gone after MyISAM REPAIR TABLE

2013-06-26 Thread Jay Ess
On 2013-06-26 18:31, nixofortune wrote: > What would be the best way to convert BIG MyISAM table into InnoDB? We do not > have SLAVE. I would do it on another computer. Then copy the table to the server and then add the data that has been added from the original table. And/or i would experiment w

RE: space gone after MyISAM REPAIR TABLE

2013-06-25 Thread Rick James
7; because of this being big enough: "myisam_sort_buffer_size = 526M" > -Original Message- > From: nixofortune [mailto:nixofort...@gmail.com] > Sent: Monday, June 24, 2013 12:35 PM > To: mysql@lists.mysql.com > Subject: Re: space gone after MyISAM REPAIR TABLE > > O

Re: space gone after MyISAM REPAIR TABLE

2013-06-24 Thread nixofortune
On 24/06/13 19:57, Reindl Harald wrote: Am 24.06.2013 18:47, schrieb Johan De Meersman: - Original Message - From: "nixofortune" Hi guys, any suggestions? I just repaired 90G MyISAM table with REPAIR TABLE command. the space on the hard drive gone down from 165 Gig to 70 Gig. I under

Re: space gone after MyISAM REPAIR TABLE

2013-06-24 Thread Johan De Meersman
Oops, totally missed that, thanks. Reindl Harald wrote: > > >Am 24.06.2013 18:47, schrieb Johan De Meersman: >> - Original Message - >>> From: "nixofortune" >>> >>> Hi guys, >>> any suggestions? I just repaired 90G MyISAM table with REPAIR TABLE >>> command. the space on the hard drive g

Re: space gone after MyISAM REPAIR TABLE

2013-06-24 Thread Reindl Harald
Am 24.06.2013 18:47, schrieb Johan De Meersman: > - Original Message - >> From: "nixofortune" >> >> Hi guys, >> any suggestions? I just repaired 90G MyISAM table with REPAIR TABLE >> command. the space on the hard drive gone down from 165 Gig to 70 >> Gig. I understand that during repair

Re: space gone after MyISAM REPAIR TABLE

2013-06-24 Thread Johan De Meersman
- Original Message - > From: "nixofortune" > > Hi guys, > any suggestions? I just repaired 90G MyISAM table with REPAIR TABLE > command. the space on the hard drive gone down from 165 Gig to 70 > Gig. I understand that during repair process MySQL creates temp file and > remove it after th

Re: space usage

2006-07-07 Thread Barry
Martin Jespersen schrieb: Does anyone havea clue of how mysql optimizes empty fields and how query speed is affected? Why don't you read the part in the mysql documentation about the opimization? what will be better for queryspeed/size: adding them with NULL using NULL as default or with N

Re: Space is filling up

2004-07-12 Thread gerald_clark
Harald Fuchs wrote: In article <[EMAIL PROTECTED]>, gerald_clark <[EMAIL PROTECTED]> writes: Asif Iqbal wrote: Jack Coxen wrote: If you database contains time-based data you could age out old records. I only need to keep data for 6 months so I run a nightly script to delete any

Re: Space is filling up

2004-07-09 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, gerald_clark <[EMAIL PROTECTED]> writes: > Asif Iqbal wrote: >> Jack Coxen wrote: >> >>> If you database contains time-based data you could age out old records. I >>> only need to keep data for 6 months so I run a nightly script to delete any >>> records more tha

Re: Space is filling up

2004-07-09 Thread gerald_clark
Asif Iqbal wrote: Jack Coxen wrote: If you database contains time-based data you could age out old records. I only need to keep data for 6 months so I run a nightly script to delete any records more than 6 months old. And before anyone asks...yes, I also run another script to ANALYZE/OPTIMIZE

Re: Space is filling up

2004-07-08 Thread Asif Iqbal
ebrt.err -rw-rw1 mysqlmysql 3 Nov 21 2003 webrt.pid Thanks for all the help > Jack > > > -Original Message- > From: Asif Iqbal [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 07, 2004 2:07 PM > To: gerald_clark > Cc: [EMAIL PROTEC

RE: Space is filling up

2004-07-08 Thread Jack Coxen
x27; Cc: [EMAIL PROTECTED] Subject: Re: Space is filling up Jack Coxen wrote: > If you database contains time-based data you could age out old > records. I only need to keep data for 6 months so I run a nightly > script to delete any records more than 6 months old. And before >

Re: Space is filling up

2004-07-07 Thread gerald_clark
does he even have enough disk space to optimize tables? Jack -Original Message- From: Asif Iqbal [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 2:07 PM To: gerald_clark Cc: [EMAIL PROTECTED] Subject: Re: Space is filling up gerald_clark wrote: > What about getting a bigger dr

Re: Space is filling up

2004-07-07 Thread Justin Swanhart
--- Asif Iqbal <[EMAIL PROTECTED]> wrote: > gerald_clark wrote: > > What about getting a bigger drive? > > I guess that would be my only option eh? > If any of your data can be considered "history" data that is never modified, you could create compressed myISAM tables for that data, removing it

RE: Space is filling up

2004-07-07 Thread Jack Coxen
Message- From: Asif Iqbal [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 2:07 PM To: gerald_clark Cc: [EMAIL PROTECTED] Subject: Re: Space is filling up gerald_clark wrote: > What about getting a bigger drive? I guess that would be my only option eh? > > Asif Iqbal wrote: >

Re: Space is filling up

2004-07-07 Thread Asif Iqbal
gerald_clark wrote: > What about getting a bigger drive? I guess that would be my only option eh? > > Asif Iqbal wrote: > > >Hi All > > > >My mysql data dir is filled up to 95% and only 345M left. > > > >Here is the dir looks like > > > >1.9Gibdata1 > >3.1Gibdata2 > >3.0Kib_arch_log

Re: Space is filling up

2004-07-07 Thread gerald_clark
What about getting a bigger drive? Asif Iqbal wrote: Hi All My mysql data dir is filled up to 95% and only 345M left. Here is the dir looks like 1.9Gibdata1 3.1Gibdata2 3.0Kib_arch_log_02 3.0Kib_arch_log_04 25K ib_arch_log_00 65M rt3 67K webrt.err

Re: Space Column

2004-01-12 Thread Roger Baklund
* [EMAIL PROTECTED] > I am beginning in mysql, and I do not obtain to create a table > with a space column. > some friend could help me? > > mysql> CREATE TABLE g1 (p1 GEOMETRY); > Error 1064 : The error message got lost in the mail. Beware that spatial support is introduced in mysql version 4.1,

Re: Space Column

2004-01-12 Thread robert_rowe
Just enclose the column name in backticks (upper left key on your keyboard just below ESC). Be warned that if you do this you will ALWAYS have to refer to this column using the backticks. It would be MUCH better to remove the space from the name. You might consider using an underscore instead.

RE: space

2001-07-30 Thread David Patton
ln -s /home/dbname /var/lib/mysql/dbname chown mysql:mysql /home/dbname -Original Message- From: Brian Thompson [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: space I have my /var/ partition set to 400mb, but I need about 4 gigs for a mysql

Re: space

2001-07-29 Thread Jeremy Zawodny
On Sun, Jul 29, 2001 at 03:10:14PM -0700, Vincent Janelle wrote: > > But configuring mysql to point to a diff directory is just better > administration. Unfortunately, it only gets you so far. What if you want to spread your data across several physical disks (without hardware/software RAID)? O

Re: space

2001-07-29 Thread Vincent Janelle
- Original Message - From: "Jeremy Zawodny" <[EMAIL PROTECTED]> To: "Vincent Janelle" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 29, 2001 2:47 PM Subject: Re: space > On Sun, Jul 29, 2001 at 02:21:43PM -0700, Vincent Janelle wrote: >

Re: space

2001-07-29 Thread Don Read
On 29-Jul-2001 Vincent Janelle wrote: > Uh, don't symlink. That'll just cause massive amounts of issues later on if > you have to deal with performance (added syscalls to check to valid > symlinks). For extremely small values of massive. 'real_data_home' is resolved once at server startup in my

Re: space

2001-07-29 Thread Jeremy Zawodny
On Sun, Jul 29, 2001 at 02:21:43PM -0700, Vincent Janelle wrote: > > Uh, don't symlink. That'll just cause massive amounts of issues > later on if you have to deal with performance (added syscalls to > check to valid symlinks). Doesn't that apply to the time that a table is opened? If tables ar

Re: space

2001-07-29 Thread Vincent Janelle
these into my.cnf and avoid the symlink overhead. - Original Message - From: "Don Read" <[EMAIL PROTECTED]> To: "Brian Thompson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 29, 2001 2:08 PM Subject: RE: space > > On 29-Jul-2001 Bria

RE: space

2001-07-29 Thread Don Read
On 29-Jul-2001 Brian Thompson wrote: > I have my /var/ partition set to 400mb, but I need about 4 gigs for a mysql > database im setting up > > how can I relocate the data files in the users /home directory, or how can I > fix this? > Assume the datadir is /var/db/mysql make a backup shutdow

Re: space in column name and table name, standard?.

2001-05-03 Thread Van
Rolf Hopkins wrote: > > While you can use space in column names, it is not a very good idea as some > systems can't handle spaces. Your just begging for trouble if you do use > space. Better to use underscores instead. > > - Original Message - > From: "Mohamad Ilhami" <[EMAIL PROTECTED]

Re: space in column name and table name, standard?.

2001-05-03 Thread Rolf Hopkins
While you can use space in column names, it is not a very good idea as some systems can't handle spaces. Your just begging for trouble if you do use space. Better to use underscores instead. - Original Message - From: "Mohamad Ilhami" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Fri

Re: Space problem?

2001-02-09 Thread Gerald L. Clark
Wyatt James wrote: > > I am getting a misleading error message saying "duplicate key 127 at key 1" when >trying to add an item to a table. There is no duplicate (I downloaded then uploaded >to a new table and get the same error). The unique key is a smallint(4) with >auto-increment. Is there s