Subject | Re: [Firebird-Architect] Bulk loader. |
---|---|
Author | Roman Rokytskyy |
Post date | 2007-11-04T08:59:07Z |
>> Issue I'm thinking about is that when we commit transactionAre we talking about deferred constraint evaluation by a chance? :)
>> database becomes unrestorable (i.e. one has to restore it without
>> constraints first, then repair the DB, then backup it and restore it
>> again)...
>
> Yes, this is specific of our backup\restore process. Note, i don't offer to not check
> constraints. I just said it may improve performance if would be done at the second phase
> of bulk load process (which i believe is one statement). I.e. after data load but before
> the return from statement. Therefore possible temporary constraint violation is invisible
> for user.
> And of course user triggers can be bypassed without any harm for physicalHmmmm...
> database consistency.
>>>>> PermissionsI just don't like built-in roles with built-in permissions. :)
>>>>> Only members of the sysadmin and bulkadmin fixed server roles can execute BULK INSERT.
>>>> Hmmm... personally I would go with GRANT BULK INSERT ON <...> TO <...> .
>>> This is the same as including user into bulkadmin server role (in MSSQL of course)
>> Conceptually yes, but gives a flexibilty to give bulk insert on table a
>> to user john and on table b to user mary.
>
> You right here. If we need such level of flexibility ;)
Roman