1. I think I whoopsied a database

I don't think my db_dump() output is supposed to look like this.

Database dump as at 2018-12-03 21:22:09 
Euphoria Database System Version 4.0 
 
The "address_book.edb" database has 3070230528 tables 
 
table "^D", records:16777216    indexblks: 1660944384 
 
 
 
-------------------------- 
block #1, ptrs:1310724 
-------------------------- 
  key: -10 
  data: -10 
 
  key: -10 
  data: -10 
 
  key: -10 
  data: -10 
 
  key: -10 
  data: -10 
 
  key: -10 
  data: -10 
 
  ... 

-Greg

new topic     » topic index » view message » categorize

2. Re: I think I whoopsied a database

That don't look right.

new topic     » goto parent     » topic index » view message » categorize

3. Re: I think I whoopsied a database

Hi

Have you de whoopsied it yet, and if so what was the procedure?

Cheers

Chris

new topic     » goto parent     » topic index » view message » categorize

4. Re: I think I whoopsied a database

ChrisB said...

Have you de whoopsied it yet, and if so what was the procedure?

No I'm just generating this from Mockaroo data, so I simply deleted it and started over.

This happened while I was testing the code for Euphoria MVC, and I think I corrupted the file when I killed a process that seemed to be hanging.

There's a chance it might be a bug in EDS, and if I reproduce it I'll put it in a ticket. But I think I whoopsied it by killing it while it was doing something.

Also, I don't recommend using EDS as the storage for a web application. A database server like MySQL or Postgres is much safer.

-Greg

new topic     » goto parent     » topic index » view message » categorize

5. Re: I think I whoopsied a database

ghaberek said...

A database server like MySQL or Postgres is much safer.

I also have first hand experience of SQLite being very robust.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu