Showing entries 13261 to 13270 of 44102
« 10 Newer Entries | 10 Older Entries »
Representing Sex In Databases

The MySQL Reference Manual advises:


Use a CREATE TABLE statement to specify the layout of your table:
mysql> CREATE TABLE pet (name VARCHAR(20), owner VARCHAR(20),
-> species VARCHAR(20), sex CHAR(1), birth DATE, death DATE);
...
Several types of values can be chosen to represent sex in animal records, such as 'm' and 'f', or perhaps 'male' and 'female'. It is simplest to use the single characters 'm' and 'f'.

I will supplement that with this post about representing sex (gender) in people records. I have to consider the name, the possible values, the data type, and the constraints. It won't be simplest.

Should the column name be 'sex'?

First consider …

[Read more]
Comment on Getting MySQL Cluster compiled & Installed by Jesse

Crap… ok. Looking at the notes – it’s fixed in mysql 5.6.13, but cluster 7.3.2 comes with 5.6.11.
I’m not knowledgable about compiling… so I’m only going to take 1 stab at extracting 5.6.13 source into the mysql-cluster-gpl-7.3.2 directory – then try to compile it.
Otherwise I’ll be doing 7.3.0! 🙂

Comment on Getting MySQL Cluster compiled & Installed by markswarbrick

aha you beat me to it.. i tried 7.3.2 and it wouldn’t compile.. so am assuming it would need a similar patch applied..

Comment on Getting MySQL Cluster compiled & Installed by Jesse

Nevermind! Found it.
http://bugs.mysql.com/bug.php?id=62769

Comment on Getting MySQL Cluster compiled & Installed by Jesse

The file ID for the patch is 17637. Do you know the bug number? I’m wondering if it is fixed in 7.3.2

QA and bug fixing for OQGraph

Just mentioning it here because hard work deserves to be recognised and mentioned: Andrew McDonnell is doing an awesomely good job of testing, understanding and fixing bugs in OQGraph... which is no mean feat because the core of the code is based on the Boost Graph Library which isn't a trivial C++ library.

Relevance of regression test failures on exotic platforms

Back in my days at MySQL we had a lot of issues with test failures. We had lots of platforms, and would try to run and maintain our regression test suite on all of them. I remember spending days investigating issues on some obscure OS (Mac OS, mainly, Windows was taken care of) or hardware (little-endian, mainly) .
With Tarantool, we never got to do that. We do run buidls on lots of platforms, and someone always screams when they break, since we only run builds on platforms which are in actual use. And they do break, so it's a lot of hassle. But we haven't had time to maintain the regression tests on some of these platforms. Ugly? Yes. Yet we know which systems people use in production, and do take care of these. This set is much more narrow than the set of systems which people play with.
And also, we don't pay attention to test failures caused by, essentially, bad tests. If a test fails once in a while on a busy box, well, this is kind …

[Read more]
Relevance of regression test failures on exotic platforms

Back in my days at MySQL we had a lot of issues with test failures. We had lots of platforms, and would try to run and maintain our regression test suite on all of them. I remember spending days investigating issues on some obscure OS (Mac OS, mainly, Windows was taken care of) or hardware (little-endian, mainly) .
With Tarantool, we never got to do that. We do run buidls on lots of platforms, and someone always screams when they break, since we only run builds on platforms which are in actual use. And they do break, so it's a lot of hassle. But we haven't had time to maintain the regression tests on some of these platforms. Ugly? Yes. Yet we know which systems people use in production, and do take care of these. This set is much more narrow than the set of systems which people play with.
And also, we don't pay attention to test failures caused by, essentially, bad tests. If a test fails once in a while on a busy box, well, this is kind …

[Read more]
5 reasons why MySQL replication lag is flapping between 0 and XXXXX

Working day to day with Percona Remote DBA customers, we have been facing an issue from time to time when MySQL replication lag is flapping between 0 and XXXXX constantly – i.e. Seconds_Behind_Master is 0 for a few secs, then it’s like 6287 or 25341, again 0 and so on. I would like to note the 5 different scenarios and symptoms of this – some are obvious and some are not really.

1. Duplicate server-ids on two or more slaves.

Symptoms: MySQL error log on a slave shows the slave thread is connecting/disconnecting from a master constantly.
Solution: check whether all nodes in the replication have unique server-ids.

2. Dual-master setup, “log_slave_updates” enabled, server-ids changed.

Scenario: you stop MySQL on the first master, then you stop the second one. …

[Read more]
Re: MySQL Enterprise Backup 3.9.0 – An Insight

InnoDB does not support export/import of individual partitions and hence MEB selective backup does not support it

Showing entries 13261 to 13270 of 44102
« 10 Newer Entries | 10 Older Entries »