Re: [Maria-developers] c4de76aeff8: MDEV-17554 Auto-create new partition for system versioned tables with history partitioned by INTERVAL/LIMIT

2021-04-12 Thread Ian Gilfillan
Responding to the portion of the thread extracted below, "INSERT, INSERT 
.. SELECT don't increment partitions" is not meaningless, but both 
"INSERT, INSERT .. SELECT don't increment the number of partitions" and 
"INSERT, INSERT .. SELECT don't auto-create partitions" are better.


It comes down to emphasis. Is the emphasis on the automatic creation, or 
on the increase in the number? From what I can understand of the topic, 
the emphasis most rests on automatic creation, so I'd go with "INSERT, 
INSERT .. SELECT don't auto-create partitions"





+--echo # INSERT, INSERT .. SELECT don't increment partitions

it's not really "increment", better say "don't auto-create"



Actually I like "increment" more. "Auto-create" overcomplicates phrases:

--echo # Increment from 3 to 5
--echo # Increment from 3 to 6, manual names, LOCK TABLES
--echo # Multiple increments in single command
Besides "increment" is correct because PARTITIONS number is incremented.

Sure.
"Increment the number of partitions", this is fine.
"Auto create partitions" is also fine.
"Increment partitions" is meaningless.

It is obvious from the context that we are talking about the number,
not partitions themselves. Treat "partitions" as PARTITIONS keyword
and the increment is attached to a number right next to it. That's
quite a sense, isn't it?

No, I think it's a meaningless combination of words.
But let's ask native speakers, shall we?


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers Unconference, New York

2019-02-10 Thread Ian Gilfillan
A final reminder about the MariaDB Developers Unconference taking place 
23 - 24 February in New York, just before OpenWorks.


We're almost at capacity, so if you haven't signed up yet, please do so 
soon. Details about where to sign up and how to suggest sessions are at 
https://mariadb.org/2019-developers-unconference-new-york/


Hope to see you there!


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] eq_range_index_dives_limit

2019-02-01 Thread Ian Gilfillan
I see the eq_range_index_dive_limit default has been set to 10 in 
10.4.3. I see some different EXPLAIN results in the commit, but I don't 
see any notes on why or how 10 was chosen over any other value. MySQL 
increased the default to 200 from MySQL 5.7.4, based it seems on some 
community feedback that 10 was too low, for example: 
https://www.facebook.com/notes/mysql-at-facebook/eq_range_index_dive_limit-system-variable-in-mysql-56/10151533648715933. 
What was the thinking behind choosing 10 as the new default?


On 2018/10/12 12:58, Sergey Petrunia wrote:

Hello,

So, MDEV-16934 introduced eq_range_index_dives_limit into 10.2.8 and 10.3.0.

The default was set to 0 (which means no limit) in order to not introduce
optimizer behavior change into stable versions.

The question is: should 10.4 also have 0 by default or we can set it to some
finite limit? MySQL's default value is 10.

BR
  Sergei



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Documenting is needed: MDEV-16991 Rounding vs truncation for TIME, DATETIME, TIMESTAMP

2018-11-26 Thread Ian Gilfillan

On 2018/11/26 13:32, Alexander Barkov wrote:



Should developers create related documentation tasks to MDEVs
that need attention from the documentation team?




Yes, please do.


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Documenting is needed: MDEV-16991 Rounding vs truncation for TIME, DATETIME, TIMESTAMP

2018-11-26 Thread Ian Gilfillan
Thanks for the alert - I've added this to JIRA: 
https://jira.mariadb.org/browse/MDEV-17836


Ideally all issues that require documentation updates should have a 
related documentation task - at the moment there are still numerous 
changes that are only picked up afterwards.


On 2018/11/26 13:17, Alexander Barkov wrote:

Hi Kenneth, all,

I've pushed MDEV-16991.

Can you please document this new feature.

Thanks!




___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers Unconference

2018-11-19 Thread Ian Gilfillan
The MariaDB Developer Unconference is taking place in New York 23-24 
Feb, just before OpenWorks: 
https://mariadb.org/2019-developers-unconference-new-york/


Please sign up on the Meetup page: 
https://www.meetup.com/MariaDB-Developers/events/256385430/ - security 
is very tight at the building, so everyone needs to be signed up in 
advance to be given access. There's a cap on the attendance, so don't 
delay too long.


If you want to suggest a session, the spreadsheet is open for proposals.

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] [beginner] how can I assign an existing ticket to myself?

2018-10-12 Thread Ian Gilfillan
The best way is to write a comment in the ticket, stating that you are 
interested in working on it and some details, and requesting that it be 
assigned to you.


On 11/10/2018 16:41, Takashi Sasaki wrote:

Hello,

I wanted to contribute something to MariaDB, so I signed up to Jira,
but how can I assign an existing ticket to myself?


[programming experience]:
I have been programming for over 10 years but recently using Java,
Python, Node.js at work and C ++ is a little played a few years ago.

[knowledge of the MariaDB source]
I just started reading the code recently and I am almost an amateur.

[how much you know about using MySQL/MariaDB]
I use MySQL for WordPress backend as a user and I use Oracle for work,
so I have knowledge of general RDBMS,
but I do not have deep knowledge specific to the products.

Thanks,
Takashi Sasaki



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers Unconference in June

2018-05-03 Thread Ian Gilfillan

Hi

A reminder about the next MariaDB Developers Unconference, which will be 
held in Tampera, Finland, from 26 June to 29 June.


This will be a four-day event; the first day focusing on new 
contributors, the 2nd and 3rd the regular Unconference sessions and 
discussions, and the 4th day on getting patches reviewed and 
implemented, taking advantage of the chance to have in-person 
discussions. Details, as well as where to register and how to suggest 
sessions, are at 
https://mariadb.org/2018-2-developers-unconference-in-finland/


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Developers Unconference in New York

2018-02-16 Thread Ian Gilfillan
A final reminder about the Developers Unconference happening in New York 
on Sat 24 and Sun 25 February, just before M|18.

https://mariadb.org/2018-mariadb-developers-unconference/

Please sign up on the Meetup page if you are going to be attending:
https://www.meetup.com/MariaDB-Developers/events/244375856/

Hope to see you there!

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Wording suggestion?

2018-01-30 Thread Ian Gilfillan
simultaneous_assignment would be my choice; as you say it's the most 
accurate, if a little long.


 30/01/2018 13:24, Sergei Golubchik wrote:

Hi, Russell!

On Jan 29, Russell J.T. Dyer wrote:

Is this mode related only to UPDATE and this feature?  If so, maybe it
could be something like one of these:

update_static
update_stasis
update_isolation

These would focus on the fact that it's related just to UPDATE and that the
values held in a state temporarily, or in isolation of each other.


Sorry, I should've said earlier.

It's not only for update. There is a patch to fix SELECT ... INTO, and I
suppose we'll have "simultaneous assignment" behavior everywhere
eventually.

So, I'm leaning towards either simultaneous_assignment or
simultaneous_set as mode names. The first is more exact, but it's rather
long (sql_mode names range from 3 to 26 characters, and this one is 23).
The second (with 16) fits right in the middle of the range, length-wise.
But there's no SET keyword in SELECT ... INTO.
On the other hand, there's no ASSIGNMENT keyword anywhere either :)

Regards,
Sergei
Chief Architect MariaDB
and secur...@mariadb.org





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] 2nd 2017 Developers Unconference

2017-09-11 Thread Ian Gilfillan
The dates for the Developers Unconference in Shenzhen, China, are coming 
up fast.


This is our first official event in Asia, and will be held from 13 
November - 17 November.


13 November - new contributor day
14-15 November - traditional developers unconference
16-17 November - patch days

As always, it's free to attend, and open to anyone interested in MariaDB 
development.


Details are at 
https://mariadb.org/2017-2-developers-unconference-and-related-events-shenzhen/
and signup on the Meetup page: 
https://www.meetup.com/MariaDB-Developers/events/241873269/


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] RFC: new replication feature "per-engine mysql.gtid_slave pos"

2017-07-11 Thread Ian Gilfillan
In order to document this properly (and in response to 
https://jira.mariadb.org/browse/MDEV-13236) , I want to clarify a few 
things:


As I understand it:
* the variable is dynamic, so changes becomes effective immediately
* tables are created immediately whenever a transaction is seen from a 
specified engine (listed in the variable)
* the manual creation of the tables was an initial design suggestion, 
and there should be no need to ever create a table manually.


I don't have 10.3.1 running yet to test, but some questions:
* what happens if slave threads are not stopped before changing the 
variable? Just delay the creation of the table, or can something 
unpleasant happen from a table being created in the middle of something?
* what happens if a storage engine is later removed from the variable? 
If the table still exists, I presume the existence of the table takes 
priority and the table is still used - the variable is just used to 
check the existence of a table and create it if needs be, not determine 
its use?
* what benefit does the variable being empty (the default) provide? I 
saw the comment about the principle of least surprise, but in what way 
could it being populated and the tables existing be negative? In other 
words, why would one not simply recommend setting this immediately?
* If there is a benefit to it being empty (and therefore no multiple 
tables created), will there be a mechanism to remove a table beyond 
manually deleting?



On 03/07/2017 15:15, Kristian Nielsen wrote:

I have now pushed the code to 10.3. It should appear in an upcoming MariaDB
10.3.1 release, IIUC.

Following the discussion so far, the default for --gtid-pos-auto-engines is
currently empty. It can be easily changed later (eg. to
innodb,tokudb,rocksdb) simply by changing the default value in
sql/mysqld.cc. The code will allow this default setting even if eg. tokudb
or rocksdb is not enabled.

(There might be a need to adjust a couple test cases that specially
manipulates mysql.gtid_slave_pos in devious ways).

Let me know in case of any problems or if there are comments/questions.

  - Kristian.




___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers (Un)Conference

2017-03-24 Thread Ian Gilfillan

Hi

The schedule for the MariaDB Developers (Un)Conference (to be held in 
New York, April 9 and 10) is being fleshed out, so this is a last call 
to add or vote for any sessions. You can update the spreadsheet directly:

https://docs.google.com/spreadsheets/d/1mUFk5gd0fd6amjxGhb7hG1xRHQdh-9qxavp5BC5uHlY/edit?usp=sharing

Please remember to register on the Meetup page if you're coming - our 
hosts BNY Mellon need a list of everyone attending in advance:

https://www.meetup.com/MariaDB-Developers/events/234702611/

The MySQL New York Meetup group is also hosting an event on the evening 
of April 10 - see the details at:

https://www.meetup.com/EffectiveMySQL/

Announcement:
https://mariadb.org/2017-developers-meetup-new-york/
___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] MDEV-7145

2016-10-17 Thread Ian Gilfillan

Thanks - I'm away until the 22nd, will add it the KB when I get back.


On 16/10/2016 23:58, Kristian Nielsen wrote:

Re: https://jira.mariadb.org/browse/MDEV-7145



Delayed replication (a feature shipped in MySQL 5.6) has been a MariaDB


I have now pushed this into 10.2.

Ian, I have written some text for documentation below. Do you want to
integrate this with the existing documentation? I'm thinking you have a
better overview of what needs to be updated in other pages? Else, let me
know if you want me to put it into the documentation myself, or if you need
something more from me.

I still have the 10.1-based tree on my github, if someone wants to test it
out and 10.1 is more convenient than 10.2:

  https://github.com/knielsen/server/commits/mdev7145

 - Kristian.




___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers Meetup

2016-08-10 Thread Ian Gilfillan
A reminder that the MariaDB Developers Meetup will be taking place from 
the 6th to the 8th of October in Amsterdam.


Please feel welcome to attend, sign up on the Meetup Group, as well to 
propose a topic, or vote for an existing topic.

Details at https://mariadb.org/2016-mariadb-developers-meetup/

A reminder too that the Developers Meetup is taking place just after 
Percona Live Amsterdam (3-5th October), and that the Foundation has 
arranged a discount for anyone wanting to attend that event as well.





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] MariaDB Developers Meetup

2016-07-01 Thread Ian Gilfillan
The MariaDB Developers Meetup will be taking place from the 6th to the 
8th of October in Amsterdam.

https://mariadb.org/2016-mariadb-developers-meetup/

Details of where to sign up, and where to suggest topics for the meetup 
are on that page. Please feel free to suggest topic you're interested in 
presenting, as well as topics you'd like to see covered.


The meetup is scheduled to be just after Percona Live, which also takes 
place in Amsterdam from the 3rd to the 5th. The Foundation has arranged 
a discount so that anyone signing up for the MariaDB Developers Meetup 
and that also wants to attend Percona Live will receive a discount for 
that event (the Developers Meetup has no charge). Percona Live are also 
looking for talks or sessions, so if you have a topic that would be of 
interest to the broader community, feel free to submit it at 
https://www.percona.com/live/plam16/program


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Documentation for new features

2015-12-21 Thread Ian Gilfillan
Hi

I quite often find out about a new feature after release, either by
looking through the changelog and commits, or because someone points out
it's missing from the documentation.

It's time-consuming trying to keep track of every change, and I miss
things (especially in non-default plugins etc), so it'd be better if
everyone can remember the need for documentation when adding new
features/variables or changes in behaviour.

Each task of this sort in JIRA could have a related documentation
subtask. You can add to the knowledgebase directly (don't worry about
bad English, I will fix), email me with details, or at least alert me
about an impending change.

thanks,
ian


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Moving from Launchpad lists to something else... ?

2015-11-25 Thread Ian Gilfillan

On 25/11/2015 15:59, Otto Kekäläinen wrote:

Hello!

No decision about this has yet been made. I reviewed the thread and
Discourse seems to have most support.
Is here 1 or even better 2 persons who would like to volunteer?
Discourse looks good, but wouldn't it make more sense if self-hosting to 
use something that runs on MariaDB? Discourse requires PostgreSQL, and 
has no plans to support MariaDB. Finding volunteers to support 
PostgreSQL on the MariaDB mailing list might not be so easy :)


Mailman released a new version last week, their second 3.x release.


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] On the issue of Seconds_behind_master and Parallel Replication

2015-11-16 Thread Ian Gilfillan

On 14/11/2015 11:44, Kristian Nielsen wrote:

Ian, do you have enough information from this thread that you could update
the docs in the knowledgebase accordingly?

Thanks, yes, I will update the documentation around the release time.

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Virtual columns and 'mysqldump' (and similar)

2015-11-05 Thread Ian Gilfillan


06/11/2015 07:51, Peter Laursen wrote:
I reported this bug report to Oracle: 
http://bugs.mysql.com/bug.php?id=79148


It is almost the same in MariaDB - but the error message is different, see

SELECT VERSION(); -- 10.1.2-MariaDB-log

CREATE TABLE `vc_test`.`t1`(
  `id` INT NOT NULL,
  `id3` INT AS ( id*3 ) VIRTUAL
);

INSERT INTO `vc_test`.`t1` VALUES (1,3);
-- retruns: Error Code: 1906 - The value specified for computed column 
'id3' in table 't1' ignored


SELECT * FROM t1;
-- returns empty set


So here the error message is that "value is ignored" (not that it is 
"not allowed").  It looks to me like somebody in MariaDB actually 
identified the problem, but forgot to finish things.


The statement should succeed (maybe raise a warning), and the 
"specified value should be ignored" as the error message says, but 
what it in reality is not.


What say?


In 10.1.8, the above returns:
SELECT * FROM t1;
++--+
| id | id3  |
++--+
|  1 |3 |
++--+


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Virtual columns and 'mysqldump' (and similar)

2015-11-05 Thread Ian Gilfillan

The insert statement returns a warning:

INSERT INTO `test`.`t1` VALUES (1,3);
Query OK, 1 row affected, 1 warning (0.07 sec)

Warning (Code 1906): The value specified for computed column 'id3' in 
table 't1' ignored



On 06/11/2015 08:09, Peter Laursen wrote:
OK, I should have upgraded. But I am currently travelling an with a 
small laptop only and an Internet connectivity not fit for downloads 
(call it a bad excuse if you want! :-) )


So it actually INSERTS. That is nice. But does it return an error or 
warning or nothing? It should not be an error IMO as various clients 
would 'abort on error' and flood its log with error messages.


-- Peter

On Fri, Nov 6, 2015 at 11:32 AM, Ian Gilfillan <i...@mariadb.org 
<mailto:i...@mariadb.org>> wrote:



06/11/2015 07:51, Peter Laursen wrote:

I reported this bug report to Oracle:
http://bugs.mysql.com/bug.php?id=79148

It is almost the same in MariaDB - but the error message is
different, see

SELECT VERSION(); -- 10.1.2-MariaDB-log

CREATE TABLE `vc_test`.`t1`(
  `id` INT NOT NULL,
  `id3` INT AS ( id*3 ) VIRTUAL
);

INSERT INTO `vc_test`.`t1` VALUES (1,3);
-- retruns: Error Code: 1906 - The value specified for
computed column 'id3' in table 't1' ignored

SELECT * FROM t1;
-- returns empty set


So here the error message is that "value is ignored" (not that
it is "not allowed").  It looks to me like somebody in MariaDB
actually identified the problem, but forgot to finish things.

The statement should succeed (maybe raise a warning), and the
"specified value should be ignored" as the error message says,
but what it in reality is not.

What say?


In 10.1.8, the above returns:
SELECT * FROM t1;
++--+
| id | id3  |
++--+
|  1 |3 |
++--+



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] On the issue of Seconds_behind_master and Parallel Replication

2015-10-15 Thread Ian Gilfillan
From a user's perspective, I like the idea of introducing the change 
for both parallel and non-parallel in 10.1.


On 15/10/2015 08:16, Kristian Nielsen wrote:

It was brought to my attention an issue with parallel replication and the
Seconds_Behind_Master field of SHOW SLAVE STATUS. I have a possible patch
for this, but I wanted to discuss it on the list, as it changes semantics
compared to the non-parallel case.

Each binlog event contains a timestamp (**) of when the event was created on
the master. Whenever the slave SQL thread reads an event from the relay log,
it updates the value of Seconds_Behind_Master to the difference between the
slave's current time and the event's timestamp.

Now in parallel replication, the SQL thread can read a large number of
events from the relay log and queue them in-memory for the worker threads.
So a small value of Seconds_Behind_Master means only that recent events have
been queued - it might still be a long time before the worker threads have
had time to actually execute all the queued events. Apparently the problem
is (justified) user confusion about this queuing delay not being reflected
in Seconds_Behind_Master.

The same problem actually exists in the non-parallel case. In case of a
large transaction, the Seconds_Behind_Master can be small even though there
is still a large amount of execution time remaining for the transaction to
complete on the slave. However, in the non-parallel case, at most one
transaction can be involved. In the parallel case, the problem is amplified
by the potential of thousands of queued transactions awaiting execution.

So how to solve it? Attached is a patch that implements one possible
solution: the Seconds_Behind_Master is only updated after a transaction
commits, with the timestamp of the commit events. This seems more intuitive
anyway. But it does introduce a semantic difference between the non-parallel
and parallel behaviour for Seconds_Behind_Master. The value will in general
be larger on a parallel slave than on a non-parallel slave, for the same
actual slave lag.

Monty suggested changing the behaviour also for non-parallel mode - letting
Seconds_Behind_Master reflect only events actually committed, not just read
from the relay log. This would introduce an incompatible behaviour for
Seconds_Behind_Master, but could perhaps be done for 10.1, if desired. Doing
it in stable 10.0 would be more drastic.

So any opinions on this?

  - Should Seconds_Behind_Master be changed as per above in parallel
replication (from 10.0 on)?

  - If not, any suggestion for another semantics for Seconds_Behind_Master in
parallel replication?

  - If so, should the change to Seconds_Behind_Master also be done in the
non-parallel case in 10.1? What about 10.0?

  - Any comments on the patch?




___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] [Commits] 95a99d8: MDEV-8303; Dumping buffer pool noisy in the logs.

2015-06-20 Thread Ian Gilfillan

This has now been added to the documentation :)

On 20/06/2015 09:46, Daniel Black wrote:


Will only get used if documented:

https://mariadb.com/kb/en/mariadb/xtradbinnodb-server-system-variables/ +
https://mariadb.com/kb/en/mariadb/server-system-variables/

- On 18 Jun, 2015, at 6:45 PM, Jan Lindström jan.lindst...@mariadb.com 
wrote:


revision-id: 95a99d8dd96be43369d5be9cc23735a1ce86674a
parent(s): b94eaff8d90a60b9dea3b5b68fbde3d35563127b
committer: Jan Lindström
branch nick: 10.1-encryption
timestamp: 2015-06-18 08:38:33 +0300
message:

MDEV-8303; Dumping buffer pool noisy in the logs.

Added new dynamic configuration variable innodb_buf_dump_status_frequency
to configure how often buffer pool dump status is printed in the logs.
A number between [0, 100] that tells how oftern buffer pool dump status
in percentages should be printed. E.g. 10 means that buffer pool dump
status is printed when every 10% of number of buffer pool pages are
dumped. Default is 0 (only start and end status is printed).



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] MariaDB Debian deprecation policy

2015-05-07 Thread Ian Gilfillan
I think the dates listed at https://wiki.debian.org/LTS should be used 
as guidelines.

Squeeze LTS will be supported until Feb 2016.


On 06/05/2015 21:08, Otto Kekäläinen wrote:

Hello!

2015-05-06 21:42 GMT+03:00 Daniel Bartholomew db...@mariadb.com:

On the MariaDB Deprecation Policy page we list planned deprecation
dates for most of the platforms we build on.

https://mariadb.com/kb/en/mariadb/deprecation-policy/

The various Debian releases we build for are listed, but there are no
deprecation dates.

According to https://www.debian.org/releases/ with the release of
Debian 8 Jessie both Squeeze and Wheezy are now obsolete.

Should we deprecate both of them and stop providing builds? Or should
we just deprecate Squeeze?

There are people maintaining so called LTS updates for both Squeeze and Wheezy.

It all depends on what we want to promise to the users. Maybe the
sensible policy would be to support the two latest Debian releases? Or
just the latest Debian release + 6 months of transition between
versions?

Anyway I think that at least squeeze builds are ok to drop and move
all those resources into Jessie builds and QA.

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] [Maria-discuss] Enabling feedback pluging for MariaDB 10.1.4

2015-03-12 Thread Ian Gilfillan
I understand that the statistics would have some meaning, and understand 
that there's no actual data being sent, etc.


However, enabling the feedback plugin by default IS going to create a 
whole lot of negative publicity for MariaDB. Is the limited data the 
feedback plugin provides worthwhile? Look at the similar situation with 
Ubuntu/Canonical. No matter how much they argued there was no real risk, 
they suffered a huge amount of negative publicity and eventually 
reversed the decision.


You can argue that the data passed in that case was far more invasive 
and that they're unrelated, but there WILL be people who have a valid 
reason to be upset that their IP etc. has been unknowingly passed on, 
and saying that you should have switched it off or you shouldn't have 
been using a beta version is not a valid response after the fact. And 
then there will be even more people who have no reason to be upset, but 
will be anyway.


Why go through this pain? Rather use this as an opportunity to create a 
thorough survey (which can provide far more detailed and useful 
information than the plugin running on a beta version) and engage 
constructively with the community. The survey has other benefits too, as 
pointed out elsewhere in the thread - raising awareness of lesser-known 
features, and just spreading the survey will be marketing for MariaDB.


And by all means, give people an option to enable the plugin on 
installation, as long as it defaults to off.


ian

On 10/03/2015 13:54, Sergei Golubchik wrote:

A survey is a pretty good idea, thanks!

It may not provide a much better (as in representative sample) statistics,
but it will surely tell the users about the features.





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Interest in Contributing to MariaDB and participation in GSoC 2015

2015-02-11 Thread Ian Gilfillan
Seeing as there's already discussion starting, and already tasks labeled 
gsoc2015 in Jira, I've created the GSoC 2015 page on the Knowledge Base 
- https://mariadb.com/kb/en/mariadb/google-summer-of-code-2015/


Feel free to add details there.

ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Renaming Virtual Columns to Computed Columns

2015-01-19 Thread Ian Gilfillan
There was a suggestion on the docs mailing list that we rename Virtual 
Columns to Computed Columns. I think it makes sense, but before we 
implement I want to make sure everyone is happy with the change, so am 
repeating it here as not everyone follows docs.


Currently, we use the term Virtual Columns (see 
https://mariadb.com/kb/en/mariadb/documentation/sql-structure-and-commands/sql-commands/data-definition/create/virtual-columns/).


Oracle uses this term, while MS SQL and Firebird use the term Computed 
Columns to describe similar functionality.


MariaDB's virtual column implementation has both persistent and virtual 
attributes. Talking of virtual virtual and persistent virtual can be 
confusing. Oracle's implementation, to my knowledge, only has virtual 
virtual, while MS SQL's Computed Columns offers both persistent 
(persisted in their case) and virtual.


I think Computed is a slightly more descriptive term, and avoids the 
ambiguity of persistent virtual and virtual virtual. The MariaDB 
error messages already use the term computed, for example Constant 
expression in computed column function is not allowed.


Unless anyone has a good reason to prefer the term virtual, we're going 
to rather use the term computed column in the docs. The article will 
still mention virtual column as an alternative etc, but computed will be 
the preferred term.


ian







___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Renaming Virtual Columns to Computed Columns

2015-01-19 Thread Ian Gilfillan

On 01/19/2015 03:50 PM, Peter Laursen wrote:
1) As regards terminology, IMHO it would be logical if 'computed' is 
used as the upperlevel term. sublevel'  terms would be 'virtual' 
and 'persistent' (ie. a 'computed' column may be either 'virtual' or 
'persistent').


Yes, that's right.

2) It is not clear to me if this also proposes a change to DDL syntax 
used since MariaDB 5.2  or if it is only a discussion for docs. etc.??


No, the syntax would remain the same.

3) Oracle has published a MySQL 5.7 'labs' build with a similar 
feature. It would be nice if some coordination could happen!  :-)


Thanks, wasn't aware of this. MySQL seems to be referring to these as 
generated columns at the moment, which is also a good term, perhaps 
even better, as it's already part of the MariaDB syntax.


ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] CONNECT system variables

2014-08-07 Thread Ian Gilfillan

Hi

I am trying to document the CONNECT system variables at 
https://mariadb.com/kb/en/mariadb/documentation/storage-engines/connect/connect-system-variables/ 
but I can't seem to find much documentation in the code. I managed to 
put something together from Olivier's notes in JIRA for some of them, 
but can anyone help fill in the gaps and send me details on the other 
variables?


thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] [Commits] Rev 4275: MDEV-5867 ALTER TABLE t1 ENGINE=InnoDB keeps bad options when t1 ENGINE is CONNECT

2014-07-08 Thread Ian Gilfillan
I like Jocelyn's solution. The whole situation is quite messy with all 
sorts of edge cases, but this seems to make the best of it. THE SHOW 
CREATE statement will be functional, and the metadata will be displayed 
in a readable form.


On 08/07/2014 14:21, Jocelyn Fournier wrote:



This is easy to do, I've just tried.

It might look confusing, though, the table from connect.alter test would
then be:

   SHOW CREATE TABLE t1;
   Table   Create Table
   t1  CREATE TABLE `t1` (
 `d` char(10) NOT NULL /* `FLAG`=11 */,
 `c` int(11) NOT NULL /* `FLAG`=0 */
   ) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1 /* 
`TABLE_TYPE`=fix `FILE_NAME`='tf1.txt' `ENDING`=1 */




Perhaps something like :

  SHOW CREATE TABLE t1;
  Table   Create Table
  t1  CREATE TABLE `t1` (
`d` char(10) NOT NULL /* `FLAG`=11 */,
`c` int(11) NOT NULL /* `FLAG`=0 */
  ) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=1 /* Ignored 
Options : `TABLE_TYPE`=fix `FILE_NAME`='tf1.txt' `ENDING`=1 */



would be clearer ?

  Jocelyn





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] MDEV-4051 INET6_ATON() and INET6_NTOA()

2014-05-31 Thread Ian Gilfillan

Hi Alexander

I will document these shortly, but please clarify the version.
https://mariadb.atlassian.net/browse/MDEV-4051 states the fix version as 
10.1.0, but I presume this isn't correct. Will they be in 10.0.12?


thanks,
ian

On 30/05/2014 14:28, Alexander Barkov wrote:

Hello Ian,

I have merged these functions from MySQL-5.6 into 10.0:

INET6_ATON()
INET6_NTOA()
IS_IPV4()
IS_IPV4_COMPAT()
IS_IPV4_MAPPED()
IS_IPV6()

Can you please document them?

The corresponding article in the MySQL manual is here:

http://dev.mysql.com/doc/refman/5.6/en/miscellaneous-functions.html

Thanks.






___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] mdev6027 RLIKE: . no longer matching new line (default_regex_flags)

2014-04-23 Thread Ian Gilfillan

On 23/04/2014 09:28, Alexander Barkov wrote:

Jan, can you please update the manual?


Sure, will do. Thanks for the detailed writeup. Which release is this 
variable scheduled to be included in?


It's Ian, not Jan btw, although all comes from one and the same root 
name originally ;)


ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Open Knowledge Base questions

2014-02-16 Thread Ian Gilfillan
There are a few open questions on the Knowledge Base - some have been 
around a while, and it would be great if anyone can answer them:


1) Licensing question about MariaDB and dot net Connector:
https://mariadb.com/kb/en/licencing-of-mariadb-and-mysql-dot-net-connector/

2) Query on whether the MariaDB Java Client can support Java 1.5
https://mariadb.com/kb/en/java-15-and-mariadb-connector/
The answer's presumably no, but a 1-liner on why not would be nice to have

3) Another Java client query:
https://mariadb.com/kb/en/client-for-mysql-zerodatetimebehaviorconverttonull-key/

4) A couple of Galera queries:
https://mariadb.com/kb/en/asynchronous-replication-with-galera-cluster/
https://mariadb.com/kb/en/simple-cluster-two-nodes-error/
https://mariadb.com/kb/en/strange-ssl-messages-in-error-log/

thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Updating OQGRAPH tables

2014-02-07 Thread Ian Gilfillan

Hi

I have been struggling to get OQGRAPH working with MariaDB 10.0.7. The 
system has been hanging and crashing frequently. I will post as bugs if 
I can recreate them, but this question is simply, how can I update the data?


On a new install of MariaDB 10.0.7 and OQGRAPH
- I create the sample tables at 
https://mariadb.com/kb/en/oqgraph-examples/#creating-a-table-with-weight
- I then update the oq2_backing table. The changes reflect on the 
oq2_backing table, not the oq2_graph table:


UPDATE oq2_backing SET weight=4 WHERE origid=2 AND destid=6;

SELECT * FROM oq2_backing;
++++
| origid | destid | weight |
++++
|  1 |  2 |  1 |
|  2 |  3 |  1 |
|  2 |  6 |  4 |
|  3 |  4 |  3 |
|  4 |  5 |  1 |
|  5 |  6 |  2 |
++++


SELECT * FROM oq2_graph;
+---++++--++
| latch | origid | destid | weight | seq  | linkid |
+---++++--++
| NULL  |  1 |  2 |  1 | NULL |   NULL |
| NULL  |  2 |  3 |  1 | NULL |   NULL |
| NULL  |  2 |  6 | 10 | NULL |   NULL |
| NULL  |  3 |  4 |  3 | NULL |   NULL |
| NULL  |  4 |  5 |  1 | NULL |   NULL |
| NULL  |  5 |  6 |  2 | NULL |   NULL |
+---++++--++


How can I make changes that reflect on the table?

thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] get is now a reserved word in mariadb 10 ?

2013-11-21 Thread Ian Gilfillan

Hi Jocelyn

Is there a specific KB entry for MariaDB 10.0.6 reserved words ? (I 
only see an entry for 5.5 here : 
https://mariadb.com/kb/en/reserved-words/ )


There isn't yet an entry for 10.0 reserved words in the Knowledge Base, 
but I will look at adding the details to the page you mentioned shortly.


thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Open Questions in the Knowledge Base

2013-11-19 Thread Ian Gilfillan

There are quite a few unanswered questions in the Knowledge Base
https://mariadb.com/kb/en/+questions/

If anyone knowledgeable in those areas can help answer some of these, 
even just a request for more info, that would be great :)


thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] alter online table documentation

2013-08-26 Thread Ian Gilfillan

Hi Roberto

The page you linked is from the SQL-99 book, and is not specific to 
MariaDB. You were looking for:

https://kb.askmonty.org/en/alter-table/
which does (very) briefly mention ALTER ONLINE TABLE

There's been quite a bit of confusion about the SQL-99 book. It should 
have some prominent text at the top of each page mentioning that the 
content is about the SQL-99 standard, and not specifically MariaDB.


On 26/08/2013 06:43, Roberto Spadim wrote:

Hi guys, i was searching alter online docs, at mariadb
https://kb.askmonty.org/en/alter-table-statement/

but didn't found anything, could we add ?

thanks!




___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] alter online table documentation

2013-08-26 Thread Ian Gilfillan
A link from the SQL-99 page to the MariaDB docs would be great, but I'm 
hoping we can get this inserted automatically, rather than having to do 
it page-by-page :)


The docs are licenced CC-BY-SA/GNU FDL - see 
https://kb.askmonty.org/en/legal/ for details.


You're most welcome to contribute - just create an account and start 
editing. There's mailing list specifically for documentation issues - 
maria-docs - https://launchpad.net/~maria-docs so any issues and 
suggestions should best be sent there.


On 26/08/2013 13:05, Roberto Spadim wrote:


hi Ian! Hu nice to know that it have the sql99 and mariadb docs, 
maybe we could add a MARIADB syntax topic, i openned the main page of 
knowledge, and clicked the first sql docs i found, a link there should 
be nice, and at each sql99 command a link to mariadb sql command 
syntax could be added
Is the docs open source? How could i help with these docs? What mail 
list should i send doubts about docs? Devel, discuss, anyother?


Thanks

Em 26/08/2013 04:49, Ian Gilfillan launch...@greenman.co.za 
mailto:launch...@greenman.co.za escreveu:


Hi Roberto

The page you linked is from the SQL-99 book, and is not specific
to MariaDB. You were looking for:
https://kb.askmonty.org/en/alter-table/
which does (very) briefly mention ALTER ONLINE TABLE

There's been quite a bit of confusion about the SQL-99 book. It
should have some prominent text at the top of each page mentioning
that the content is about the SQL-99 standard, and not
specifically MariaDB.

On 26/08/2013 06:43, Roberto Spadim wrote:

Hi guys, i was searching alter online docs, at mariadb
https://kb.askmonty.org/en/alter-table-statement/

but didn't found anything, could we add ?

thanks!



___
Mailing list: https://launchpad.net/~maria-developers
https://launchpad.net/%7Emaria-developers
Post to : maria-developers@lists.launchpad.net
mailto:maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
https://launchpad.net/%7Emaria-developers
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Additional documentation for GTID

2013-08-23 Thread Ian Gilfillan

Hi Kristian

Sure, will do.

ian

On 23/08/2013 14:11, Kristian Nielsen wrote:

Hi Daniel, Ian,

I have implemented a new system variable for global transaction ID and pushed
it into 10.0-base (so it should appear in 10.0.5 I suppose).

I have written some text for documenting the new variable, appended below.

Can one of you help me get this text into the Knowledgebase with proper
formatting and cross-referencing across relevant pages?

  - Kristian.

---

Variable: gtid_binlog_state
Scope: global
Dynamic: Yes
Type: String

The variable gtid_binlog_state holds the internal state of the binlog. The
state consists of the last GTID ever logged to the binary log for every
combination of domain_id and server_id. This information is used by the master
to determine whether a given GTID has been logged to the binlog in the past,
even if it has later been deleted due to binlog purge. For each domain_id, the
last entry in @@gtid_binlog_state is the last GTID logged into binlog,
ie. this is the value that appears in @@gtid_binlog_pos.

Normally this internal state is not needed by users, as @@gtid_binlog_pos is
more useful in most cases. The main usage of @@gtid_binlog_state is to restore
the state of the binlog after RESET MASTER (or equivalently if the binlog
files are lost). If the value of @@gtid_binlog_state is saved before RESET
MASTER and restored afterwards, the master will retain information about past
history, same as if PURGE BINARY LOGS had been used (of course the actual
events in the binary logs are still deleted).

Note that to set the value of @@gtid_binlog_state, the binary log must be
empty, that is it must not contain any GTID events and the previous value of
@@gtid_binlog_state must be the empty string. If not, then RESET MASTER must
be used first to erase the binary log first.

For completeness, note that setting @@gtid_binlog_state internally executes a
RESET MASTER. This is normally not noticable as it can only be changed when
the binlog is empty of GTID events. However, if executed eg. immediately after
upgrading to MariaDB 10, it is possible that the binlog is non-empty but
without any GTID events, in which case all such events will be deleted, just
as if RESET MASTER had been run.





___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] COT() function

2013-08-01 Thread Ian Gilfillan

Hi

SELECT COT(0) returns:

ERROR 1690 (22003): DOUBLE value is out of range in 'cot(0)'

in both MariaDB 10 and 5.5, but in MySQL 5.1 it returns NULL.

I can't find a changelog reference to this, but I see it's still 
documented as returning NULL in MySQL 5.5 (I don't have this to test 
on). Is this a MariaDB-specific change? When did this change in 
behaviour happen?


thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Reserved words

2013-07-11 Thread Ian Gilfillan
How can one find a definitive list of reserved words for a particular 
version? The comments in sql/lex.h say that that's a list of all 
reserved words and functions, but it appears to contain some words that 
are neither (such as ACTION).


SELECT * FROM mysql.help_keyword also lists ACTION

ACTION is listed in the MYSQL docs as an example of  one of the keywords 
that MySQL permits because many people previously used them


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Open Questions in the knowledgebase

2013-05-31 Thread Ian Gilfillan
I've been cleaning up the questions on the knowledgebase, but there are 
still a few open ones that need a response. If anyone can help, please 
pay a visit. Here are the ones still needing feedback:


Multiple error logs: https://kb.askmonty.org/en/multiple-err-logs/
Query optimizer: 
https://kb.askmonty.org/en/does-the-query-optimize-a-low-cardinality-index-prefix-range-search/
Strange SSL messages: 
https://kb.askmonty.org/en/strange-ssl-messages-in-error-log/
Multi-source replication and time zones: 
https://kb.askmonty.org/en/time-zones-multi-source-replication/


And of course, the old faithful, when will it be released (10.x as 
stable) -

https://kb.askmonty.org/en/release-date-for-10x-stable-version/

Also, a comment asking for specifics on JSON implementation going 
forward: https://kb.askmonty.org/en/column_json/


thanks,
ian


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] Empty_queries vs Com_empty_queries

2013-05-17 Thread Ian Gilfillan
I'm documenting the status variables at the moment, and have a question 
about Empty_queries vs Com_empty_queries.


Com_empty_queries is not incremented when an empty result is returned, 
and appears to be incremented only when an empty query is sent to the 
server, eg:


mysql --comments -e '-- sql comment'

Empty_queries appears to match the empty queries returned with SHOW 
USER_STATISTICS. It increments each time a query is performed that 
returns an empty result.


Currently the documentation on the user statistics page at 
https://kb.askmonty.org/en/user-statistics/ says that EMPTY_QUERIES (and 
therefore the Empty_queries status variable) is The number of times 
this user's connections sent empty queries to the server, which would 
describe Com_empty_queries rather than Empty_queries, and would need to 
be corrected.


The documentation on https://kb.askmonty.org/en/server-status-variables/ 
is what I've just written based on the above.


Have I understood this correctly, or is there something else to it?

thanks,
ian


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Maria-developers] Documentation about GTID

2013-05-07 Thread Ian Gilfillan

Thanks Kristian, very thorough docs! I've formatted and added to the
knowledgebase (incorporating Arjen's suggestion) at
https://kb.askmonty.org/en/global-transaction-id/

I'll fan out the changes to other affected articles (syntax, server
variables, replication) during the week.

On 06/05/2013 15:55, Kristian Nielsen wrote:

Giuseppe, here (attached) is my first stab at documentation for MariaDB
GTID. Thanks for prodding me to get this done, even if it was a very gentle
prodding :-)

Daniel, do you think you can get these formatted properly and included in some
appropriate place in the Knowledgebase? And feel free to fix any problems you
find in the text on the way, of course.

I will then make sure to keep this updated as the code progresses.

This is just a first stab, I am sure there is much that is incomplete and I
will work to extend it as needed (comments welcome if anything is found
missing).


___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] bulk_insert_buffer_size query

2013-04-01 Thread Ian Gilfillan

Hi

Does the bulk insert optimization used for MyISAM tables - the cache 
determined by the bulk_insert_buffer_size system variable - also apply 
to Aria (or any other) tables in the same way?


thanks,
ian

___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp


[Maria-developers] read_buffer_size query

2013-03-22 Thread Ian Gilfillan

Hi

I'm working on adding complete descriptions to the knowledgebase for all 
the server variables right now, and have a query on the read_buffer_size 
variable. The default in my MariaDB 10.0.1 seems to be 2097152, but it's 
listed on the MySQL docs with a default of 131072. I can't find a 
mention in the changelogs of this having changed - can anyone tell me in 
which version the change in default happened?


Also, in the MySQL documentation, this variable is described as applying 
to MyISAM tables, while in the only short description on the 
Knowledgebase I can find, at 
https://kb.askmonty.org/en/mysqld-options-full-list/, it's described 
more generally, not specifically mentioning MyISAM. Does this variable 
apply to other storage engines as well now (Aria?), or still only MyISAM?


thanks,
ian gilfillan



___
Mailing list: https://launchpad.net/~maria-developers
Post to : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp