Original Message:
Sent: Wed August 02, 2023 04:57 AM
From: David Williams
Subject: Cannot drop a database
Hi,
The definition of
"informix".tspartitiondesc_t
does that reference the datablade?
Regards,
David.
------------------------------
David Williams
------------------------------
Original Message:
Sent: Wed August 02, 2023 04:00 AM
From: Jean Francois BOUDRY
Subject: Cannot drop a database
Thank you David.
But don't really understand what you are calling the 'access method for that table'
There are some references to Timeseries Datablade in the dbimport.out file, but nothing linked to tscontainertable.
And about user table kpi_informix, as was able to drop it.
{ TABLE "informix".tscontainertable row size = 2442 number of columns = 5 index size = 134 }
create table "informix".tscontainertable
(
name varchar(128,1) not null ,
subtype varchar(128,1) not null ,
partitiondesc "informix".tspartitiondesc_t not null ,
flags integer not null ,
pool varchar(128,1)
) extent size 32 next size 32 lock mode row;
revoke all on "informix".tscontainertable from "public" as "informix";
{ unload file name = tscon00121.unl number of rows = 6 }
create unique index "informix".tscontainertable_pk on "informix"
.tscontainertable (name) using btree in table ;
alter table "informix".tscontainertable add constraint primary
key (name) constraint "informix".tscontainertable_cpk ;
{ TABLE "informix".kpi_informix row size = 2056 number of columns = 2 index size = 0 }
{ unload file name = kpi_i00127.unl number of rows = 1 }
create table "informix".kpi_informix
(
kpi_id integer,
cpu_data timeseries(kpi_cpu)
) extent size 32 next size 32 lock mode row;
revoke all on "informix".kpi_informix from "public" as "informix";
*** put loadcur
937 - *** (UTSDF) - Routine mi_get_table_partnum execution failed.
User Defined Routine error.
Regards
------------------------------
Jean Francois BOUDRY
Original Message:
Sent: Tue August 01, 2023 08:33 PM
From: David Williams
Subject: Cannot drop a database
Hi,
Can you look in the dbexport sql file and work out which access methods that load the datablade are used for that table?
Drop and recreate the access methods using the correct path to the datablade file and try again.
Regards,
David.
------------------------------
David Williams
Original Message:
Sent: Tue August 01, 2023 10:14 AM
From: Jean Francois BOUDRY
Subject: Cannot drop a database
Thank you Paul
I did the same,
If no workaround, this database will stay here with its new name.
------------------------------
Jean Francois BOUDRY