Coder Social home page Coder Social logo

teotikalki / crate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crate/crate

0.0 2.0 0.0 61.84 MB

CrateDB: The fast, scalable, easy to use SQL database with native full text search

Home Page: https://crate.io

License: Other

Java 98.80% Batchfile 0.03% Shell 0.07% Python 0.64% ANTLR 0.26% Groovy 0.19%

crate's Introduction

Crate

CRATEDB: Put data to work. Simply.

CrateDB allows to query and compute data with SQL in real time by providing a distributed aggregation engine, native search and super simple scalability.

https://crate.io

image

image

image

Features include

Familiar SQL syntax:

select * from users;
insert into users (name) values ('Arthur');

Semi-structured data:

create table demo (
    name string,
    obj object (dynamic) as (
        age int
    ),
    tags array (string)
);
insert into demo (name, obj, tags) values
    ('Trillian',
     {age = 39, gender='female'}, // Note that gender wasn't defined in the schema!
     ['mathematician', 'astrophysicist']);
select * from demo where obj['gender'] = 'female';
select * from demo where 'mathematician'= any (tags);

High availability, resiliency, and scalability in a distributed design:

create table t (string name)
clustered into 5 shards with (number_of_replicas = 1); // this is actually the default!
select count(*) from sys.nodes;
select table_name, count(*) from sys.shards group by 1;

Powerful Lucene based full-text search:

select title from wikipedia where match((title 1.5, text 1.0), 'Hitchhiker')

Getting Started

Get CrateDB

There are many ways to install CrateDB. The fastest way to try it out is just one command-line:

bash -c "$(curl -L try.crate.io)"

Or with docker:

docker pull crate && docker run -p 4200:4200 crate

Visit our getting started page to see all available download and install options.

Use CrateDB

CrateDB includes an Administration UI that is available under http://localhost:4200/admin/.

It also ships with a CLI called crash that can be used to run queries in a shell.

Next steps

Start some more server to form a cluster and take a look at the documentation to learn more.

Especially the crate introduction is a great place to start learning more.

Are you a Developer?

Clone the repository:

git clone https://github.com/crate/crate.git
cd crate
git submodule update --init

And build it with gradle:

./gradlew compileJava

Develop in IntelliJ:

./gradlew idea

Run tests:

./gradlew test

Refer to DEVELOP.rst and CONTRIBUTING.rst for further information.

Help & Contact

Do you have any questions? Or suggestions? We would be very happy to help you. So, feel free to to contact us on Slack.

Or for further information and official contact please visit https://crate.io/.

crate's People

Contributors

adrpar avatar aelesbao avatar amotl avatar andreidan avatar aslanbakirov avatar autophagy avatar bquenin avatar burnes avatar celaus avatar chaudum avatar dobe avatar gmrodrigues avatar jodok avatar kovrus avatar lukasender avatar m-kharbat avatar matriv avatar mfussenegger avatar msbt avatar ngeevarghese avatar oyvholm avatar pustovit avatar quodt avatar richfitz avatar rtreffer avatar senchi avatar seut avatar spanktar avatar wallner avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.