Questions tagged [database]

A database is an organized collection of data. It is the collection of schemas, tables, queries, reports, views, and other objects. The data are typically organized to model aspects of reality in a way that supports processes requiring information. Use this tag if you have questions about designing a database. If it is about a particular database management system, (e.g., MySQL), please use that tag instead.

Filter by
Sorted by
Tagged with
14
votes
3answers
729 views

Are Tables/DBs stored in RAM and held by multiple block producers?

We do have the Persistence API to store data for a smart contract in the EOSIO database. I was wondering where this database is located. I understood that it is patterned after Boost Multi-Index. 1) ...
6
votes
1answer
552 views

Can a smart contract communicate externally?

Can EOSIO smart contracts communicate externally, say, to some external (preexisting) web-service? I suspect the answer is no, as this would violate determinism, among other guarantees. What is the ...
3
votes
1answer
136 views

Why doesn't EOS use other database?

Currently in EOS, it uses the memory database with the mmap and customized session, and sometimes when the node is down, it will cause inconsistent state and the data can't be recovered, we need to ...
2
votes
1answer
91 views

How do you stream data from an input file when writing contracts on EOS?

I emulated the tic.tac.toe tutorial code and made a simple contract that allows me to add and remove car information. However, I can only push action one at a time and this only allows me to add/...
0
votes
1answer
588 views

What is the ChainBase database used for?

EOSIO appears to make use of the Chainbase database for various functions in the codebase. What is this used for and how does it relate to the RAM concept in EOSIO? Is it simply the database used to ...