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
0
votes
1answer
480 views

Loading External data (in Excel/CSV) to blockchain engine [closed]

I am new to solidity blockchain. I have transaction dataset in csv files. I want to load it automatically to blockchain using ethereum solidity. How can I do it? Is there any UI available? Any guide ...
0
votes
1answer
79 views

Are Transactions and Receipts 1-to-1?

Ethereum maintains an Transaction Trie and a Receipts Trie and I'm trying to visualize how that data would be contained in a relational database. I believe both Tries would have a primary key of ...
2
votes
1answer
203 views

Does data storage on private Ethereum blockchain come at no cost?

Knowing that: In a private Ethereum blockchain, I can have no value of ether and basically allocate as much ether as I want. Storing data on a public blockchain is a costly affair If I were to ...
1
vote
0answers
195 views

Listen for Solidity Event With X Number of Confirmations

I presume Solidity events are fired the moment the block that includes its transaction is mined -- please correct me if I'm wrong. I need to sync the transaction status locally but wish to only save ...
0
votes
2answers
102 views

Is it necessary to store transaction data into a database?

I am wondering if there are no security risks if i store transaction data in a database besides the fact that is stored on the ethereum blockchain. I am using an API to manage my smart contracts and ...
0
votes
2answers
414 views

smart contract as a huge database

I know we cannot use Smart contract to be used as large database. But my client is asking for proof. Can you guys provide any link that will support this.
4
votes
1answer
192 views

Why use a private block chain over a shared database?

Isn't a shared database able to provide all the guarantees that a private block chain could provide. Since you can track transactions,have transaction restriction and have authenticated access to ...
1
vote
2answers
173 views

What data should be stored in contracts or tokens

After watching a sales force movie where they have a session on how they are integrating their product into the blockchain they talk of an example on capturing all the data from the supply chain ...
2
votes
0answers
147 views

How can I connect to the local Rocksdb instance used by my parity node?

I want to see everyones balances, and eventually try to create a realtime visualisation of the state. If I have a node with 10 GB of disk space used by the db, I understand this is Rocksdb taking up ...
0
votes
1answer
69 views

Fast access of any given transaction in the blockchain

That is a conceptual question that I am asking here. We are trying to developp an application to securely store the hashes of some files in the blockchain. Everything is automated (taking a file as ...
1
vote
0answers
27 views

How load out data from blockchain when it occupies too much space?

If the blockchain working long enough it fills the memory of the mining device, how to load out the data and then rerun the system? and why does my mining device has different miner address every time ...
1
vote
1answer
84 views

Query multiple derived contracts from contract factory

Say a contract factory is used to spawn multiple child contracts, each with associated data within them. The contract factor stores all addresses of the derived contracts along with a unique name of ...
2
votes
4answers
1k views

Would it make sense to use a SQL database to store the data of a Dapp?

Let's say that I want to develop a Dapp and I need to store different information about the users. This information must not be public as not all the users are allowed to see all the information ...
1
vote
1answer
392 views

Where do you save the application data of a Dapp?

Let's say that I want to implement a Dapp similar to Facebook. Each user has its own profile, pictures and information. Usually you would use a database to store all this data. This guarantees that ...
1
vote
1answer
291 views

Are the contents of ethereum storage private? [closed]

I know that the code is public, but is the contents of storage private?
2
votes
0answers
354 views

What is the best way to store and access large volume of data in blockchain? [duplicate]

I was creating a Dapp which will get KYC information from the user, I want to store this data in the blockchain. This data will be accessible through API and it will be used to do KYC process. In ...
0
votes
2answers
238 views

Is there a way to store data on ethereum blockchain without anybody knowing about it [duplicate]

Lets say I am building a contract where I want to store some important information on ethereum blockchain. The data should be hidden and people shouldn't have a way to see it. As per my knowledge, ...
0
votes
2answers
860 views

Store all sort of data in blockchain

I have some questions that need clarification. Lets say if I create a trade-in website using blockchain technology, First, do I store all sort of data into blockchain such as user credentials, user ...
1
vote
1answer
204 views

Is there a practical way for Ethereum networks to handle considerably large volumes of data used by heavy contracts?

It's not a secret that a single contract could potentially store quite a large volume of data (1, 2). Of course, it takes some gas, but it doesn't seem to cap strictly the overall volume of data to be ...
1
vote
1answer
880 views

Should I use smart contract for storing huge data and real-time updates? [duplicate]

Scenario : Lets say I have DApp on ethereum which has two parties or two types of users , User A will update his status (uptime or storage or ip address...etc). User B will be able to browse a ...
0
votes
2answers
215 views

How can i read transation data from ethereum to file or database?

I want read transations data "input" field from ethereum to file.How can i do it?thanks.
1
vote
0answers
273 views

For what data does Ethereum use Memory Database, and for what does it use Level Database

Ethereum uses two databases Memory database and Level Database. Is data stored in MemoryDatabase different than LevelDb? In what cases is one database used over other? The question is different from -...
2
votes
0answers
204 views

What is the physical location of Blockchain?

Hello everyone i am new in this technology and i am confused please clear my few doubts. Thanks in advance. Blockchain consist of Blocks but where these blocks are stored, i mean what is the physical ...
0
votes
0answers
27 views

Is it possible to migrate your db(users login credentials) to ethereum private network?

I am thinking of migrating db to any of blockchain technologies for security purposes. I have to opt from hyperledger or ethereum private network. Is it good idea or any trades off I should be aware ...
0
votes
2answers
547 views

Do we have any control over sharding in IPFS?

Suppose I have a huge N-dimensional database and want to store it using IPFS, is there any way I can shard my dataset in such a way that I get N hashes each for single dimension using IPFS?
1
vote
1answer
43 views

Best Practice for Arrays you will Write to Often

I want to build an App with an array data structure that I would like to keep private. So far, I've wanted to build it between IPFS and Ethereum. But what would be best practice for an array that I ...
0
votes
1answer
97 views

Data retrieval from geth node

How does a smart contract fetch stored data (for example, EmployeeName) from the node? Does it search through the entire chain? But searching through the entire chain would take just too long. There ...
3
votes
0answers
297 views

BigChaindb + Ethereum

In BigChaindb paper, it's mentioned that it's compatible with Ethereum and is complementary to Ethereum. But BigChaindb has has its own consensus. Question 1: How can BigChaindb work with Ethereum (...
1
vote
3answers
382 views

Where should I store GPS data on Ethereum?

Where should I store GPS (or other frequently changing, content searchable data on Ethereum)? Blockchain is not the best place for this kind of data, because it is expensive, but swarm is not ...
2
votes
1answer
3k views

How to store small database, editable data on blockchain accessible by smart contract?

New to blockchain and smart contracts. Been doing research and I realize I can't update my transaction smart contract. Is it possible to store database data as an entry to the ledger or in another ...
1
vote
0answers
305 views

Largest Ethereum Transactions

Does anyone know of a database of large Ethereum transactions (in terms of Gas)? I am looking for large transactions on the testnet (Ropsten) or mainnet for analysis, ideally in the hundreds of ...
2
votes
2answers
471 views

data size on ethereum blockchain

can I store a big data size, like 100TB on ethereum blockchain? and then, is this mean that all clients should download 100TB to get full blockchain data!?
1
vote
0answers
219 views

Ethereum raw data files folder

Where is the folder on Mac OSX where Ethereum put raw blockchain data? I find only *.ldb files, but as I understand it is only the index of full database. For example, in Bitcoin there is blk*.dat ...
1
vote
1answer
1k views

Local caching database for fast retrieval

I'm currently working on dApps for a private blockchain based on ethereum. While it works fine and the dApps really show the power of the blockchain it lacks the speed and versatility of a SQL ...
4
votes
2answers
560 views

Using Ethereum as a ACID database?

I need a reliable ACID database with complex transactions. It is a hassle to do this in Java or other high level languages, especially if the database spans multiple systems and networks. For this ...
0
votes
1answer
396 views

what is the difference between Swarm and BigchainDB?

Are both Swarm and BigchainDB complementary to ethereum or do they function independently? What are their applications?
2
votes
2answers
3k views

How to save data in my private blockchain?

I am running a private blockchain using geth as the client. I want to save some custom variables in my chain. I know there is a practical limitation on the storage capabilities as it would require ...
2
votes
1answer
437 views

How to do searching in Ethereum's Ledge? (SQL)

Recently, I have a question about searching function in blockchain. Blockchain is a distributed database and as a database, there should be some searching functions such as "Select", "Join". I am ...
7
votes
1answer
4k views

LDB files reading

I'm looking for the format of the LDB files in order to fetch all the contracts created by my account. I read in a post on reddit (https://www.reddit.com/r/ethereum/comments/64hhp1/...
4
votes
1answer
1k views

Django, Ethereum, Sqlite

I am creating blockchain application in django with 6 main entities .By entities I mean to say these 6 entities will replicate data or you can say consensus mechanism will evolve around these entities ...
6
votes
1answer
1k views

Database used for Parity

Specific to Geth the database used is LevelDB. But what is the database used for parity?
1
vote
2answers
252 views

Best way to store data on the chain

Follow up on: Web3J: TypeError: MyContract is not a constructor Here is how my contract looks like: contract OrganisationsFactory { mapping(string => OrganisationObject[]) organisations; ...
8
votes
1answer
2k views

Is Ethereum suitable for a storage application?

I'm interested to make an app to store some data and I'd rather think that the blockchain might not be the only or the right solution for me. I'd like the users to contribute data and to make that ...
2
votes
0answers
57 views

Updateable contract design: Database contract only accessible through setters and getters? [duplicate]

Hey I'm designing a Dapp that has a database contract and a contract with the logic side. The only way I can see of making this work is through having the logic contract make a call to a getter or ...
16
votes
4answers
9k views

If a blockchain is a distributed database, where is the data?

There are a lot of articles describing how Ethereum is just another database, and a number of posts here on this site that talk about storing data on the blockchain itself (e.g., [1], [2]). However, ...
3
votes
1answer
154 views

Unable to start parity: database migration fails repeatedly

I am unable to start Parity, the database migration fails repeatedly. How in Parity on MacOS (1.4.5 already installed) do I eliminate this error so that my Parity will run? Geth is fine but not ...
-2
votes
2answers
1k views

Connect Ethereum to a database [closed]

I need to create a Dapp which stores information about companies in a private blockchain. There are different institutions that collect company information and then the information should be retrieved ...
2
votes
1answer
118 views

Ethereum - Does it only have a single blockchain?

I still do not get if ethereum creators want it to be single blockchain or not? If not, where are instructions for creating my own blockchain to play with?
5
votes
1answer
4k views

How to use blockchain as a Database?

I'm pretty new to the concept of blockchain and use cases so please bear with me if this sounds to vague or elementary. As, I researched more on this, I wanna know how can we use blockchain as a ...
8
votes
1answer
891 views

What is the composition of the blockchain database?

From axic's explanation of the structure of the ethereum database, we learned that data is stored in Merkle Patricia tries, usually inside a LevelDB store. It consists of structures such as blocks, ...