Re: [Maria-developers] Partial indexes?

2018-02-03 Thread James Briggs
Hi Jared and Sergei. I've been doing some work with Postgresql, and have learned more abouthow partial indexes are used. It seems partial indexes are a general "design pattern" they use to: 1) have smaller indexes by including less rows2) reduce write-amplification performance issuesas Postgresql

Re: [Maria-developers] Partial indexes?

2017-12-27 Thread James Briggs
Yes, that's another good example of 11.3 where you caneither use a pg partial index, or a pg/mysql unique nullable column with active=true or null.  Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. cass_top: https://github.com/jamesbriggs/cassandr

Re: [Maria-developers] Partial indexes?

2017-12-27 Thread James Briggs
an be accomplished in both pg and MySQL usingNULLs in a unique index, but the pg partial index allows the original data valuesto be used without a NULL work column, so might be slightly more convenient/obvious.)  Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. cas

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

2015-03-10 Thread James Briggs
re, but ISC has no numbers to tell sponsors, etc.)  Thanks, James Briggs. From: Justin Swanhart To: Michael Widenius Cc: MariaDB Developers Sent: Tuesday, March 10, 2015 8:29 PM Subject: Re: [Maria-developers] [Maria-discuss] Enabling feedback pluging for MariaDB 10.1.4 It tells

[Maria-developers] Invisible Indexes and .frm Change?

2014-12-16 Thread James Briggs
ex invisible session) #1 likely means changing the .frm format, which would cause backwardcompatibility issues. Are there any upcoming changes to .frm planned? Any comments or suggestions? Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. cass_top: https://github.com/

Re: [Maria-developers] better execution plan possible with INNER JOIN of mroonga (or whatever storage engine) ? - permute-indexes

2014-12-02 Thread James Briggs
Hi Kazuhiko Shiozaki-san. My permute-indexes tool is handy when doingperformance tuning/optimizer analysis: https://github.com/jamesbriggs/mysql-permute-indexes Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. cass_top: https://github.com/jamesbriggs/cassandra

Re: [Maria-developers] Patch: CREATE [[NO] FORCE] VIEW Options - MCA licence

2014-11-29 Thread James Briggs
Hi Sergei. I signed the MCA in 2013 when I submitted my SHUTDOWN patch.So the licence is the MCA. Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. cass_top: https://github.com/jamesbriggs/cassandra-top From: Sergei Golubchik To: James Briggs Cc: Maria

Re: [Maria-developers] Patch: CREATE [[NO] FORCE] VIEW Links

2014-09-29 Thread James Briggs
are only 50% implemented in MariaDB and need some design effort. Thanks, James Briggs. -- Cassandra/MySQL DBA. Available in San Jose area or remote. ________ From: James Briggs To: Maria-developers Sent: Monday, September 8, 2014 2:52 PM Subject: Patch: CREATE

[Maria-developers] Patch: CREATE VIEW test program

2014-09-08 Thread James Briggs
Hi List. Below is tests/view.pl for testing CREATE VIEW options. It tests several thousand permutations and was used to find MDEV-6709 Thanks, James Briggs. -- Available for MySQL/NoSQL DBA/Programming in San Jose area or remote. tests/view.pl: #!/usr/bin/perl # Program: view.pl # Licence

[Maria-developers] Patch: CREATE [[NO] FORCE] VIEW Options

2014-09-06 Thread James Briggs
email.) - Please take a look at the style, and the 411 comments. Thanks, James Briggs. -- Available for MySQL/NoSQL DBA/Programming in San Jose area or remote. $ cat create_force_view.patch --- ../mariadb-10.1.0/sql/sql_view.h2014-06-27 04:50:36.0 -0700 +++ sql/sql_view.h2014-09-

Re: [Maria-developers] Doubt in bin logging for CREATE VIEW - MDEV-6365

2014-06-19 Thread James Briggs
Hi folks. I created this MDEV based on the "bad news" in my previous comment about create view (actually things are worse than I thought, since implementing the missing options will break user applications and affect replication backward compatibility): (MDEV-6365) CREATE VIEW Ignores RESTRICT/

Re: [Maria-developers] Doubt in bin logging for CREATE VIEW

2014-06-19 Thread James Briggs
years. :) Thanks, James. On Thu, 6/19/14, sriram patil wrote: Subject: Re: [Maria-developers] Doubt in bin logging for CREATE VIEW To: "James Briggs" Cc: "maria-developers@lists.launchpad.net" Date: Thursday, June 19, 2014, 2:46

Re: [Maria-developers] Doubt in bin logging for CREATE VIEW

2014-06-19 Thread James Briggs
Hi Sriram. The good news ... nice catch, you earned your GSoC salary! The mysql_register_view() has a dozen different ways to fail: - RAM: my_error(ER_OUT_OF_RESOURCES, MYF(0)); - disk: sql_create_definition_file() - name collision - etc. So the create view statement can definitely fail on the

Re: [Maria-developers] [GSoC] Week Four! - sample statements

2014-06-18 Thread James Briggs
Hi Sriram. - I read your new blog and some of the test code. Looks good. - I think you should add a section to the MDEV with examples of what the final syntax will look like for each statement so we can check for standards (ANSI and de facto) and esthetics. Looks correct to me so far though - dro

Re: [Maria-developers] problem with update and myisam

2014-06-17 Thread James Briggs
Hi Roberto. 1) nf is a bigint, so why are you inserting a string value ('-18')? 2) is there some reason you aren't using indexes? 3) after you resolve 1 and 2, do repair table. Thanks, James. On Tue, 6/17/14, Roberto Spadim wrote: Subject: [Maria-d

Re: [Maria-developers] [GSoC] First two weeks into coding! - James' comments

2014-06-02 Thread James Briggs
Hi Sriram. I read your CREATE OR REPLACE DATABASE code and have some comments: 1) I noticed that you directly mysql_rm_db the database before creating it. Please ask your mentor if it would be better to rename it, obtain a successful create status, then delete the old db. Currently, if the disk

Re: [Maria-developers] [GSOC 2014] "CREATE OR REPLACE, CREATE IF NOT EXISTS, and DROP IF EXISTS" Project

2014-03-20 Thread James Briggs
er/ James. On Thu, 3/20/14, sriram patil wrote: Subject: Re: [Maria-developers] [GSOC 2014] "CREATE OR REPLACE, CREATE IF NOT EXISTS, and DROP IF EXISTS" Project To: "James Briggs" Cc: maria-developers@lists.launchpad.net Date: Thursday, March 20, 2014, 5:34 AM H

Re: [Maria-developers] [GSOC 2014] "CREATE OR REPLACE, CREATE IF NOT EXISTS, and DROP IF EXISTS" Project

2014-03-19 Thread James Briggs
Hi Sriram. If you could add "CREATE VIEW … FORCE" too, that would be awesome. See the Oracle Enterprise docs for the behavior: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8004.htm Thanks, James. On Wed, 3/19/14, Sergei Golubchik

Re: [Maria-developers] Developer course

2013-07-04 Thread James Briggs
Hi Roberto. I don't know anything about courses inside Oracle or Mariadb.com. But I googled around and found the following outside resources: - MySQL Internals Manual (online) - Understanding MySQL Internals By Sasha Pachev (O'Reilly) - Peter Z's InnoDB internals lecture videos are online - I wr

Re: [Maria-developers] Debug interface

2013-06-25 Thread James Briggs
Roberto: Also consider using DTrace on the Mac or Solaris, and the oprofile linux module. Later, James. On Tue, 6/25/13, Hartmut Holzgraefe wrote: Subject: Re: [Maria-developers] Debug interface To: maria-developers@lists.launchpad.net Date: Tues

Re: [Maria-developers] RFC: Pausing a query thread

2013-06-24 Thread James Briggs
My understanding is that Rackspace Cloud MySQL uses Virtuozzo to control IO per user. James. On Mon, 6/24/13, Roberto Spadim wrote: Subject: Re: [Maria-developers] RFC: Pausing a query thread To: "Peter Laursen" Cc: "Sergei Golubchik" , "maria-

Re: [Maria-developers] users table - detailed answer

2013-06-18 Thread James Briggs
Hi Roberto. 1) By default, replication applies to mysql.* tables also. GRANTS aredocumented to be immediately be applied without FLUSH PRIVILEGES. 2) Most people just have one or two mysql instances perserver machine for production work. 3) If you would like more detailed answers in the future,

Re: [Maria-developers] Process suggestion for minor issues

2013-06-14 Thread James Briggs
Hi folks. 1) I like the idea of using wontfix for issues that don't make sense to fix, and wishlist for issues that don't have time to fix now. 2) wishlist items would be a good starting point for new contributors to work on. Kind of like "linux kernel janitors", but without the fail, hopefully.

[Maria-developers] Review request: new SHUTDOWN server command

2013-06-13 Thread James Briggs
wn command like WAIT|IMMEDIATE|ABORT. This code is released under the Open Source BSD-new License, according to the MariaDB Contributor Agreement. Thanks, James Briggs. james.bri...@yahoo.com http://www.jebriggs.com/blog/2013/05/patch-to-add-shutdown-statement-to-mysql-mariadb/ --- sql_parse.cc