MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
Monty 727491b72a Added test cases for preceding test
This includes all test changes from
"Changing all cost calculation to be given in milliseconds"
and forwards.

Some of the things that caused changes in the result files:

- As part of fixing tests, I added 'echo' to some comments to be able to
  easier find out where things where wrong.
- MATERIALIZED has now a higher cost compared to X than before. Because
  of this some MATERIALIZED types have changed to DEPENDEND SUBQUERY.
  - Some test cases that required MATERIALIZED to repeat a bug was
    changed by adding more rows to force MATERIALIZED to happen.
- 'Filtered' in SHOW EXPLAIN has in many case changed from 100.00 to
  something smaller. This is because now filtered also takes into
  account the smallest possible ref access and filters, even if they
  where not used. Another reason for 'Filtered' being smaller is that
  we now also take into account implicit filtering done for subqueries
  using FIRSTMATCH.
  (main.subselect_no_exists_to_in)
  This is caluculated in best_access_path() and stored in records_out.
- Table orders has changed because more accurate costs.
- 'index' and 'ALL' for small tables has changed to use 'range' or
   'ref' because of optimizer_scan_setup_cost.
- index can be changed to 'range' as 'range' optimizer assumes we don't
  have to read the blocks from disk that range optimizer has already read.
  This can be confusing in the case where there is no obvious where clause
  but instead there is a hidden 'key_column > NULL' added by the optimizer.
  (main.subselect_no_exists_to_in)
- Scan on primary clustered key does not report 'Using Index' anymore
  (It's a table scan, not an index scan).
- For derived tables, the number of rows is now 100 instead of 2,
  which can be seen in EXPLAIN.
- More tests have "Using index for group by" as the cost of this
  optimization is now more correct (lower).
- A primary key could be preferred for a normal key, even if it would
  access more rows, as it's faster to do 1 lokoup and 3 'index_next' on a
  clustered primary key than one lookup trough a secondary.
  (main.stat_tables_innodb)

Notes:

- There was a 4.7% more calls to best_extension_by_limited_search() in
  the main.greedy_optimizer test.  However examining the test results
  it looked that the plans where slightly better (eq_ref where more
  chained together) so I assume this is ok.
- I have verified a few test cases where there was notable/unexpected
  changes in the plan and in all cases the new optimizer plans where
  faster.  (main.greedy_optimizer and some others)
2023-02-03 00:00:35 +03:00
.github PR template: rebase to earliest maintained version 2023-01-20 15:06:51 +02:00
BUILD Merge 10.8 into 10.9 2022-12-13 18:24:51 +02:00
client Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
cmake Merge 10.10 into 10.11 2023-01-24 15:17:39 +02:00
dbug Merge branch '10.6' into 10.7 2022-08-10 13:12:32 +02:00
debian Merge 10.11 into 11.0 2023-01-13 12:33:12 +02:00
Docs Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
extra Merge 10.11 into 11.0 2023-01-25 10:17:54 +02:00
include Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
libmariadb@12bd1d5511 Merge 10.5 into 10.6 2023-01-17 20:02:29 +02:00
libmysqld Merge 10.9 into 10.10 2022-12-14 08:57:39 +02:00
libservices MDEV-12933 sort out the compression library chaos 2021-10-27 15:55:14 +02:00
man MDEV-26548: replace .mysql_history with .mariadb_history 2023-01-24 20:22:23 +11:00
mysql-test Added test cases for preceding test 2023-02-03 00:00:35 +03:00
mysys Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
mysys_ssl MDEV-27778 md5 in FIPS crashes with OpenSSL 3.0.0 2022-07-04 12:49:11 +02:00
plugin Merge 10.11 into 11.0 2023-01-25 10:17:54 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts Updated convert-debug-for-diff 2023-01-30 15:22:21 +02:00
sql Added test cases for preceding test 2023-02-03 00:00:35 +03:00
sql-bench MDEV-24854: Change innodb_flush_method=O_DIRECT by default 2021-02-20 11:58:58 +02:00
sql-common MDEV-28910 remove the 5.5.5- version hack 2023-01-25 15:40:32 +01:00
storage Added test cases for preceding test 2023-02-03 00:00:35 +03:00
strings Merge 10.10 into 10.11 2023-01-11 11:13:56 +02:00
support-files Merge branch '10.10' into 10.11 2022-12-15 10:32:58 +11:00
tests Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
tpool Merge 10.10 into 10.11 2022-09-07 10:14:41 +03:00
unittest Merge 10.9 into 10.10 2022-12-07 09:49:38 +02:00
vio Merge branch '10.5' into 10.6 2022-11-02 14:33:20 +01:00
win Merge 10.7 into 10.8 2023-01-13 11:11:04 +02:00
wsrep-lib@f8ff2cfdd4 Merge 10.4 into 10.5 2022-11-30 13:10:52 +02:00
zlib zlib: remove redundant and generated files 2022-07-26 16:46:27 +02:00
.clang-format Merge 10.4 into 10.5 2019-12-27 21:17:16 +02:00
.gitattributes Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
.gitignore MDEV-22659: Create one single unified and optimal logrotate config 2022-10-27 10:28:14 +11:00
.gitlab-ci.yml Merge 10.7 into 10.8 2023-01-10 14:42:50 +02:00
.gitmodules Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
appveyor.yml Merge 10.5 into 10.6 2022-07-27 17:52:37 +03:00
BUILD-CMAKE Minor spelling fixes in code comments, docs and output 2018-01-12 16:49:02 +02:00
CMakeLists.txt Use MariaDB as the project name in CMakeLists.txt (fix) 2023-01-17 13:53:06 +11:00
config.h.cmake Merge 10.6 into 10.7 2022-10-13 10:05:29 +03:00
configure.cmake Merge 10.6 into 10.7 2022-10-13 10:05:29 +03:00
CONTRIBUTING.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
COPYING Update FSF Address 2019-05-11 21:29:06 +03:00
CREDITS Update sponsors 2023-01-16 10:23:22 +11:00
INSTALL-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
INSTALL-WIN-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
KNOWN_BUGS.txt Changed some MySQL names in messages to MariaDB 2018-12-09 20:49:05 +02:00
README.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION Change maturity 2023-01-20 19:31:41 +01:00

Code status:

  • Appveyor CI status ci.appveyor.com

MariaDB: The open source relational database

MariaDB was designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation and the MariaDB Corporation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Corporation, the MariaDB Foundation and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at:

https://mariadb.org

https://mariadb.com/kb/en/

https://mariadb.com/kb/en/mariadb-vs-mysql-features/

https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

https://mariadb.com/kb/en/new-and-old-releases/

Help

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss, MariaDB's Zulip instance, https://mariadb.zulipchat.com/

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip. From 8:00 to 10:00 UTC on Mondays, and 10:00 to 12:00 UTC on Thursdays, anyone can ask any questions theyd like, and a live developer will be available to assist.

New contributors can ask questions any time, but we will provide immediate feedback during that interval.

Licensing


NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING file. Third party license information can be found in the THIRDPARTY file.


Bug Reports

Bug and/or error reports regarding MariaDB should be submitted at: https://jira.mariadb.org

For reporting security vulnerabilities see: https://mariadb.org/about/security-policy/

The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server