LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

Re: Fwd: myisam - unexpected file size and myisamchk behavior

From:

Jacek Becla <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Fri, 21 Feb 2014 08:50:42 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (35 lines)

FYI... see below.

hmm, so our DC data sets have too many zeros, and we
shouldn't be drawing too many conclusions regarding
database file sizes on disk based on that data.

Jacek



On 02/21/2014 08:05 AM, Sergei Golubchik wrote:>
 > Try 'SHOW TABLE STATUS' in this database. You'll see that 50-column
 > table has a dynamic row format (because of your varbinary column),
 > while others have a fixed row format.
 >
 > That explains, basically, everything. In the fixed row format
 > there are no "record links" at all. Row length is calculated
 > as 4 bytes per int or float, 8 bytes per bigint or double, one
 > bit per NULL-able column, plus one bit as a "deleted row" flag.
 > Which matches exactly the MYD file
 > length, and the row length as shown by 'SHOW TABLE STATUS'.
 >
 > In the dynamic row format (see myisamchk -dvv small50), all numeric
 > columns got "no zeros" flag. So, if the value in the column is exactly
 > 0, it's not stored at all (but instead a special bit in the row header
 > is set). That's why a dynamic row is notably smaller in your
 > case - you apparently have lots of zeros in the table.
 >

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use