[MDEV-15299] install_spider.sql is not available on MariaDB 10.2.12 Created: 2018-02-13  Updated: 2018-02-14  Resolved: 2018-02-14

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Affects Version/s: 10.2.12
Fix Version/s: N/A

Type: Bug Priority: Blocker
Reporter: Dermot Brereton Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Ubuntu 14.04.5 LTS



 Description   

install_spider.sql is not available in the directory_ /usr/share/mysql/_ or in any directory on the host.

find / -name install_spider.sql

Please advise as I wish to install it to implement sharding.



 Comments   
Comment by Elena Stepanova [ 2018-02-13 ]

Which exact package did you install? The script is present in mariadb-plugin-spider_10.2.12+maria-trusty_amd64.deb as far as I can see.

Comment by Dermot Brereton [ 2018-02-13 ]

I installed MariaDB 10.2.12 from the apt repository;
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.heanet.ie/mirrors/mariadb/repo/10.2/ubuntu xenial main'

apt-get install mariadb-server

install_spider.sql was not installed.

Could you please confirm if I need to install it separately ?

Comment by Elena Stepanova [ 2018-02-13 ]

Well, naturally, if you only installed mariadb-server, the spider engine itself wasn't installed, and neither were any scripts associated with it. Spider comes in a separate package.

Comment by Dermot Brereton [ 2018-02-13 ]

What is the URL link to the package you listed above?

Comment by Juha Pyy [ 2018-02-14 ]

Dermot, if you're not aware, you can find packages with apt-cache:

sudo apt-cache search mariadb spider
mariadb-plugin-spider - Spider storage engine for MariaDB
mariadb-plugin-spider-dbgsym - Debug symbols for mariadb-plugin-spider

Thus, the package you want to install is called "mariadb-plugin-spider".

Since you are using Ubuntu 14.04 (trusty), you should also use the respective repo (your add-apt-repository command points to xenial which is a newer release), unless you have a good reason to use a repo from newer release.

sudo add-apt-repository -r 'deb [arch=amd64,i386,ppc64el] http://ftp.heanet.ie/mirrors/mariadb/repo/10.2/ubuntu xenial main'  # remove xenial repo
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.heanet.ie/mirrors/mariadb/repo/10.2/ubuntu trusty main'  # add trusty repo

Comment by Dermot Brereton [ 2018-02-14 ]

Thanks Juha. The spider engine is successfully installed.

Could you please confirm if it is prudent to use sharding with the spider engine in a Production database as the MariaDB doc. state that the latest spider engine version is a "gamma" release.
https://mariadb.com/kb/en/library/spider-storage-engine-overview/

Comment by Juha Pyy [ 2018-02-14 ]

I don't have any experience with the spider engine so can't comment on that myself. (to be honest, this was the first time I even looked up what it is)
Maybe you should ask on the mailing list?

Comment by Dermot Brereton [ 2018-02-14 ]

Hello Juha I appreciate your feedback on "spider" and support in resolving this ticket.

Generated at Thu Feb 08 08:20:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.