Quantcast
Viewing all articles
Browse latest Browse all 2539

Re: BD Data page corrupted (7.6.06.22)

Hi,

Thanks for your reply.

I've ran a "check database structure and clear converter cache in operational state ADMIN" last monday, i didn't get any error.

 

I've also set the sample value of the involved table to 0, and i don't get error message anymore during statistics update.

 

Here the structure of the table:

CREATE TABLE "TORPEDO"."INDICATEUR_OLD"

(

"SKU_C_CODE"  Char (17) ASCII  NOT NULL,

"STO_C_CODE"  Char (5) ASCII  NOT NULL,

"TI_C_CODE"  Char (10) ASCII  NOT NULL,

"IND_F_VALEUR"  Float (16),

"IND_D_CREATION"  Timestamp  DEFAULT TIMESTAMP,

PRIMARY KEY("SKU_C_CODE", "STO_C_CODE", "TI_C_CODE"),

FOREIGN KEY "TYPE IND" ("TI_C_CODE") REFERENCES "TORPEDO"."TYPE_INDICATEUR" ("TI_C_CODE") ON DELETE  RESTRICT

)

 

And the query used to populate it:

insert into indicateur(sku_c_code,sto_c_code,ti_c_code,ind_f_valeur)

select '0100012','2ANGE','PA',23 from dual

union

select '0100012','2ANGE','PV',17.5 from dual

union

... (between 2 and 10 unions)

update duplicates

The goal was to insert/update several records with 1 query. The process ran 5 times faster than running one query by insert/update.

I ran something like 100.000 queries like that every day, and i've only find less than 10 corrupted records, 1 or 2 times a week.

The problem only occurs on 64 bits system.

 

Frédéric.


Viewing all articles
Browse latest Browse all 2539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>