- Getting started
- First steps
- Installation
- Getting to know Tarantool
- Configuring a cluster [1 minute]
- Creating a data schema [2 minutes]
- Writing data [5 minutes]
- Setting up HTTP API [2 minutes]
- Looking at the data [1 minute]
- Scaling the cluster [1 minute]
- Checking how sharding works [1 minute]
- Disconnecting a shard for a while [1 minute]
- See also
- Connecting to the cluster
- Updating the data schema
- Writing code in a cluster application
- What’s next?
- Basic Tarantool tutorial
- Connecting from your favorite language
- Creating your first Tarantool Cartridge application
- First steps
- Data model
- CRUD operations
- Examples
- box.schema.space.create()
- space_object:alter()
- space_object:auto_increment()
- space_object:bsize()
- space_object:count()
- space_object:create_index()
- space_object:delete()
- space_object:drop()
- space_object:format()
- space_object:frommap()
- space_object:get()
- space_object:insert()
- space_object:len()
- space_object:on_replace()
- space_object:before_replace()
- space_object:pairs()
- space_object:put()
- space_object:rename()
- space_object:replace() / put()
- space_object:run_triggers()
- space_object:select()
- space_object:truncate()
- space_object:update()
- space_object:upsert()
- space_object:user_defined()
- box.space.create_check_constraint()
- space_object:enabled
- space_object:field_count
- space_object.id
- space_object.index
- box.space._cluster
- box.space._func
- box.space._index
- box.space._vindex
- box.space._priv
- box.space._vpriv
- box.space._schema
- box.space._sequence
- box.space._sequence_data
- box.space._space
- box.space._vspace
- box.space._user
- box.space._vuser
- box.space._ck_constraint
- box.space._collation
- box.space._vcollation
- System space views
- box.space._session_settings
- Indexes
- Transactions
- Streams
- Access control
- Triggers
- Sharding
- Cluster on Cartridge
- Overview
- Developer’s guide
- Introduction
- Installing Tarantool Cartridge
- Creating a project
- Cluster roles
- Using the built-in HTTP server
- Implementing authorization in the web interface
- Application versioning
- Using .cartridge.ignore files
- Failover architecture
- Configuring instances
- Deploying an application
- Starting/stopping instances
- Error handling guidelines
- Cluster instance lifecycle
- Administrator’s guide
- Troubleshooting
- Problems with replica
- Editing clusterwide configuration in WebUI returns an error
- An instance is stuck in the ConnectingFullmesh state upon restart
- I want to run an instance with a new advertise_uri
- The cluster is doomed, I’ve edited the config manually. How do I reload it?
- Repairing cluster using Cartridge CLI repair command
- Cartridge API
- Module cartridge
- Module cartridge.auth
- Module cartridge.roles
- Module cartridge.issues
- Module cartridge.argparse
- Module cartridge.twophase
- Module cartridge.failover
- Functions
- Local Functions
- schedule_clear ()
- schedule_add ()
- _get_appointments_disabled_mode ()
- _get_appointments_eventual_mode ()
- _get_appointments_stateful_mode ()
- accept_appointments (replicaset_uuid)
- fencing_check ()
- failover_loop ()
- cfg ()
- get_active_leaders ()
- is_leader ()
- is_rw ()
- is_vclockkeeper ()
- is_paused ()
- consistency_needed ()
- force_inconsistency (replicaset_uuid)
- wait_consistency (replicaset_uuid)
- Module cartridge.topology
- Module cartridge.clusterwide-config
- Module cartridge.rpc
- Module cartridge.tar
- Module cartridge.pool
- Module cartridge.upload
- Module cartridge.confapplier
- Module cartridge.remote-control
- Module cartridge.service-registry
- Module custom-role
- Module cartridge.lua-api.stat
- Module cartridge.lua-api.boxinfo
- Module cartridge.lua-api.get-topology
- Module cartridge.lua-api.edit-topology
- Module cartridge.lua-api.topology
- Module cartridge.lua-api.failover
- Module cartridge.lua-api.vshard
- Module cartridge.lua-api.deprecated
- Class cartridge.test-helpers.cluster
- Functions
- Cluster:new (object)
- Cluster:server (alias)
- Cluster:server_by_role (role_name)
- Cluster:servers_by_role (role_name)
- Cluster:apply_topology ()
- Cluster:start ()
- Cluster:stop ()
- Cluster:join_server (server)
- Cluster:wait_until_healthy (server)
- Cluster:upload_config (config, opts)
- Cluster:download_config ()
- Cluster:retrying (config, fn[, …])
- Tables
- Local Functions
- Functions
- Class cartridge.test-helpers.server
- Class cartridge.test-helpers.etcd
- Class cartridge.test-helpers.stateboard
- Cartridge CLI
- Cartridge Kubernetes guide
- Changelog
- [Unreleased]
- [2.7.4] - 2021-04-11
- [2.7.3] - 2021-10-27
- [2.7.2] - 2021-10-08
- [2.7.1] - 2021-08-18
- [2.7.0] - 2021-08-10
- [2.6.0] - 2021-04-26
- [2.5.1] - 2021-03-24
- [2.5.0] - 2021-03-05
- [2.4.0] - 2020-12-29
- [2.3.0] - 2020-08-26
- [2.2.0] - 2020-06-23
- [2.1.2] - 2020-04-24
- [2.1.1] - 2020-04-20
- [2.1.0] - 2020-04-16
- [2.0.2] - 2020-03-17
- [2.0.1] - 2020-01-15
- [2.0.0] - 2019-12-27
- [1.2.0] - 2019-10-21
- [1.1.0] - 2019-09-24
- [1.0.0] - 2019-08-29
- [0.10.0] - 2019-08-01
- [0.9.2] - 2019-07-12
- [0.9.1] - 2019-07-10
- [0.9.0] - 2019-07-02
- [0.8.0] - 2019-05-20
- [0.7.0] - 2019-04-05
- [0.6.3] - 2019-02-08
- [0.6.2] - 2019-02-07
- [0.6.1] - 2019-02-05
- [0.6.0] - 2019-01-30
- [0.5.1] - 2018-12-12
- [0.5.0] - 2018-12-11
- [0.4.0] - 2018-11-27
- [0.3] - 2018-10-30
- [0.2] - 2018-10-01
- [0.1] - 2018-09-25
- Application server
- Launching an application
- Creating an application
- Installing a module
- Contributing a module
- Reloading a module
- LuaJIT memory profiler
- LuaJIT getmetrics
- misc.getmetrics()
- getmetrics table values
- getmetrics C API
- Example with gc_strnum, strhash_miss, and strhash_hit
- Example with gc_allocated and gc_freed
- Example with gc_allocated and a space optimization
- gc_steps_atomic and gc_steps_propagate
- Example with jit_trace_num and jit_trace_abort
- Example with jit_snap_restore and a performance unoptimization
- Developing with an IDE
- Cookbook recipes
- hello_world.lua
- console_start.lua
- fio_read.lua
- fio_write.lua
- ffi_printf.lua
- ffi_gettimeofday.lua
- ffi_zlib.lua
- ffi_meta.lua
- ffi_varbinary_insert.lua
- print_arrays.lua
- count_array.lua
- count_array_with_nils.lua
- count_array_with_nulls.lua
- count_map.lua
- swap.lua
- class.lua
- garbage.lua
- fiber_producer_and_consumer.lua
- socket_tcpconnect.lua
- socket_tcp_echo.lua
- getaddrinfo.lua
- socket_udp_echo.lua
- http_get.lua
- http_send.lua
- http_server.lua
- http_generate_html.lua
- select_all.go
- Administration
- Instance configuration
- Starting/stopping an instance
- Logs
- Security
- Server introspection
- Daemon supervision
- Disaster recovery
- Backups
- Upgrades
- Notes for operating systems
- Bug reports
- Troubleshooting guide
- Problem: INSERT/UPDATE-requests result in ER_MEMORY_ISSUE error
- Problem: Tarantool generates too heavy CPU load
- Problem: Query processing times out
- Problem: Replication “lag” and “idle” contain negative values
- Problem: Replication “idle” keeps growing, but no related log messages appear
- Problem: Replication statistics differ on replicas within a replica set
- Problem: Master-master replication is stopped
- Problem: Tarantool works much slower than before
- Problem: Fiber switch is forbidden in
__gc
metamethod
- Monitoring
- Replication
- Storage engines
- Connectors
- Reference
- SQL reference
- What Tarantool’s SQL product delivers
- SQL beginners’ guide
- SQL user guide
- SQL statements and clauses
- Statements that change data definition
- Statements that change data
- Statements that retrieve data
- Statements for transactions
- Functions
- SQL PLUS LUA – Adding Tarantool/NoSQL to Tarantool/SQL
- SQL features
- E011, Numeric data types
- E021, Character string types
- E031, Identifiers
- E051, Basic query specification
- E061, Basic predicates and search conditions
- E071, Basic query expressions
- E081, Basic privileges
- E091, Set functions
- E101, Basic data manipulation
- E111, Single row SELECT statement
- E121, Basic cursor support
- E131, Null value support
- E141, Basic integrity constraints
- E151, Transaction support
- E152, Basic SET TRANSACTION statement
- E*, Other
- F021, Basic information schema
- F031, Basic schema manipulation
- F041, Basic joined table
- F051, Basic date and time
- F081, UNION and EXCEPT in views
- F131, Grouped operations
- F181, Multiple module support
- F201, CAST function
- F221, Explicit defaults
- F261, CASE expression
- F311, Schema definition statement
- F*, Other
- S011, Distinct types
- T321, Basic SQL-invoked routines
- T*, Other
- Built-in modules reference
- Module box
- Submodule box.backup
- Submodule box.cfg
- Submodule box.ctl
- Submodule box.error
- Submodule box.index
- Examples for
box.index
- space_object:create_index()
- index_object.unique
- index_object.type
- index_object:parts()
- index_object:pairs()
- index_object:select()
- index_object:get()
- index_object:min()
- index_object:max()
- index_object:random()
- index_object:count()
- index_object:update()
- index_object:delete()
- index_object:alter()
- index_object:drop()
- index_object:rename()
- index_object:bsize()
- index_object:stat()
- index_object:compact()
- index_object:user_defined()
- Examples for
- Submodule box.info
- Submodule box.schema
- box.schema.space.create()
- box.schema.upgrade()
- box.schema.user.create()
- box.schema.user.drop()
- box.schema.user.exists()
- box.schema.user.grant()
- box.schema.user.revoke()
- box.schema.user.password()
- box.schema.user.passwd()
- box.schema.user.info()
- box.schema.role.create()
- box.schema.role.drop()
- box.schema.role.exists()
- box.schema.role.grant()
- box.schema.role.revoke()
- box.schema.role.info()
- box.schema.func.create()
- box.schema.func.drop()
- box.schema.func.exists()
- box.schema.func.reload()
- Sequences
- Submodule box.session
- box.session.id()
- box.session.exists()
- box.session.peer()
- box.session.sync()
- box.session.user()
- box.session.type()
- box.session.su()
- box.session.uid()
- box.session.euid()
- box.session.storage
- box.session.on_connect()
- box.session.on_disconnect()
- box.session.on_auth()
- box.session.on_access_denied()
- box.session.push()
- Submodule box.slab
- Submodule box.space
- Examples
- box.schema.space.create()
- space_object:alter()
- space_object:auto_increment()
- space_object:bsize()
- space_object:count()
- space_object:create_index()
- space_object:delete()
- space_object:drop()
- space_object:format()
- space_object:frommap()
- space_object:get()
- space_object:insert()
- space_object:len()
- space_object:on_replace()
- space_object:before_replace()
- space_object:pairs()
- space_object:put()
- space_object:rename()
- space_object:replace() / put()
- space_object:run_triggers()
- space_object:select()
- space_object:truncate()
- space_object:update()
- space_object:upsert()
- space_object:user_defined()
- box.space.create_check_constraint()
- space_object:enabled
- space_object:field_count
- space_object.id
- space_object.index
- box.space._cluster
- box.space._func
- box.space._index
- box.space._vindex
- box.space._priv
- box.space._vpriv
- box.space._schema
- box.space._sequence
- box.space._sequence_data
- box.space._space
- box.space._vspace
- box.space._user
- box.space._vuser
- box.space._ck_constraint
- box.space._collation
- box.space._vcollation
- System space views
- box.space._session_settings
- Submodule box.stat
- Submodule box.tuple
- box.tuple.new()
- box.tuple.is()
- #tuple_object
- box.tuple.bsize()
- tuple_object[field-number]
- tuple_object[field-name]
- tuple_object[field-path]
- tuple_object:find(), tuple_object:findall()
- tuple_object:next()
- tuple_object:pairs(), tuple_object:ipairs()
- tuple_object:totable()
- tuple_object:tomap()
- tuple_object:transform()
- tuple_object:unpack()
- tuple_object:update()
- tuple_object:upsert()
- How to convert tuples to/from Lua tables
- Functions for transaction management
- Functions for SQL
- Function box.once
- Function box.snapshot
- Constant box.NULL
- Module buffer
- Module clock
- Module console
- Module crypto
- Module csv
- Module decimal
- Module digest
- Module errno
- Module fiber
- Module fio
- Module fun
- Module http
- Module iconv
- Module json
- Module key_def
- Module log
- Module merger
- Module msgpack
- Module net.box
- Module os
- Module pickle
- Module popen
- Module socket
- Module strict
- Module string
- Module swim
- Module table
- Module tap
- Module tarantool
- Module uuid
- Module utf8
- Module uri
- Module xlog
- Module yaml
- Other package components
- Database error codes
- Handling errors
- Debug facilities
- JSON paths
- Module box
- Rocks reference
- SQL reference