Hi,

We have a similar bug on the development branch of monetdb.

After creating and dropping lots of tables, our program finaly crash on CREATE TABLE which already exists (but not really) :

SELECT name FROM tables WHERE name = 'atable' ; => no results, so we want to create it.
CREATE TABLE atable (a int) ; => table name already in use ! (our program crashes here)

Then , manually we can do :

DROP TABLE atable ; => OK
CREATE TABLE atable (a int) ; => OK
SELECT * FROM atable => OK
SELECT name FROM tables WHERE name = 'atable' ; => no results
SELECT name FROM tables WHERE name ilike '%atable%' ; => no results
SELECT name FROM _tables WHERE name = 'atable' ; => no results

Maybe this but have the same origin.

We keep this broken database for testing if you have some questions about BATs info.
Should i post a bug report for the devel branch ?

Thanks,
Guillaume



Le 06/08/2015 16:35, Ashish Kumar Singh a écrit :
Hi Jennie,


Any idea when Jul2015 is going to be released?



Regards,
Ashish

From: users-list on behalf of Ashish Singh
Reply-To: "users-list@monetdb.org"
Date: Thursday, 9 July 2015 2:08 pm
To: "users-list@monetdb.org"
Subject: Re: possible monetdb catalogue corruption and how to recover from it?

Hi Jennie,

Thanks for reply!

Drop table is a single statement transaction. Problem is not reproducible though easily. We encountered it after 150 iterations of drop and create table each happening in 1 hour interval but our ETL tool.
We did a restart and after this problem was resolved. I think database was able to do a cleanup.

What will be a recommended way of doing a health check on database catalogue when such problem happens as practically problem does happen right?


Thanks for the heads up on upcoming release we shall plan to upgrade to it.

Regards,
Ashish



From: users-list on behalf of Ying Zhang
Reply-To: "users-list@monetdb.org"
Date: Thursday, 9 July 2015 1:27 pm
To: "users-list@monetdb.org"
Subject: Re: possible monetdb catalogue corruption and how to recover from it?

Hai Ashish,

Do you happen to have any more detailed info of the crash? Such as was the drop table a single statement transaction, or part of a multi statement transaction? Is the problem reproducible?

Can you please try to restart the server to see if it helps cleaning up?

Jan2014 is a pretty old version. I'd highly recommend you to upgrade. Jul2015 will be released later this month.

Regards,

Jennie



On 08 Jul 2015, at 12:37, Ashish Kumar Singh <ashishkumar.singh@altair.com> wrote:

Hi List,

We are seeing a situation with monetdb v11.17.17 "Jan2014-SP2” release where at the time of dropping table , data base got crashed. After that we are not able to drop this table.

Any command to drop this table is returning with success but we can not create same table again as it complains about table exists/ in use.


But when we try to select * from this table or do a count on this it does complains saying No Such Table exist.



My hunch is somehow database catalogue got corrupted,   what is recommended way to bring back database to good health after any such condition occurs? 

We have not tried restarting monetdb instance yet.



Regards,
Ashish Kumar Singh
Mobile: +91-9972045095

_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list


_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list

-- 
Guillaume Savary
Securactive R&D