🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.interbase.replication
7 messages
7 total messages Started by Steve Weston Wed, 12 May 2004 13:35
Removing System Objects
#22
Author: Steve Weston
Date: Wed, 12 May 2004 13:35
5 lines
1036 bytes
I have restored an IB 7.1 db onto another server. How do I remove the repl
objects (tables, triggers, etc.)?

-- 
Steven S. Weston
Re: Removing System Objects
#23
Author: Steve Ball
Date: Sun, 16 May 2004 11:27
25 lines
1784 bytes
Easiest way is attach to the database from the other server via ReplManager
and choose remove system objects, if you can't do that then you can manually
remove the 3 REPL tables (REPL_LOG etc)
You then need to remove all the triggers that are on each table that you
replicate (typically there are 3 per table to deal with insert, update and
delete) not sure if you need to remove the triggers first as they depend on
the REPL_... tables.

First way is defenately the easiest, but depending on the line you use to
connect to the database (ie local network, wan, modem dial up) this could
take a while.

HTH
Steve


"Steve Weston" <sweston{no spam}@westonmuir.com> wrote in message
news:40a22827$1@newsgroups.borland.com...
> I have restored an IB 7.1 db onto another server. How do I remove the repl
> objects (tables, triggers, etc.)?
>
> -- 
> Steven S. Weston
>
>
Re: Removing System Objects
#25
Author: Steve Weston
Date: Mon, 17 May 2004 15:11
5 lines
1146 bytes
Manual removal worked. But there were a couple of other objects (generator,
etc.) and, of course, the triggers had to be removed first. Thanks.

-- 
Steven S. Weston
Re: Removing System Objects
#58
Author: Sergio H.
Date: Fri, 08 Oct 2004 23:15
46 lines
2330 bytes
Greetings...

But after ReplManager has removed "System Objects" (tables and triggers), if
you backup the database, you notice there is some priveledges for a user
called REPL$XXX... and that user doesn't appear in isc4.gdb (or
security.fdb).

Do you know how to remove every trace of the Replicator?

TIA,

Sergio H.

"Steve Ball" <SteveBall@noSpam.uku.co.uk> escribi� en el mensaje
news:40a7501d@newsgroups.borland.com...
> Easiest way is attach to the database from the other server via
ReplManager
> and choose remove system objects, if you can't do that then you can
manually
> remove the 3 REPL tables (REPL_LOG etc)
> You then need to remove all the triggers that are on each table that you
> replicate (typically there are 3 per table to deal with insert, update and
> delete) not sure if you need to remove the triggers first as they depend
on
> the REPL_... tables.
>
> First way is defenately the easiest, but depending on the line you use to
> connect to the database (ie local network, wan, modem dial up) this could
> take a while.
>
> HTH
> Steve
>
>
> "Steve Weston" <sweston{no spam}@westonmuir.com> wrote in message
> news:40a22827$1@newsgroups.borland.com...
> > I have restored an IB 7.1 db onto another server. How do I remove the
repl
> > objects (tables, triggers, etc.)?
> >
> > --
> > Steven S. Weston
> >
> >
>
>
Re: Removing System Objects
#59
Author: Steve Ball
Date: Mon, 11 Oct 2004 22:09
60 lines
2724 bytes
I can't remember the exact syntax, but just run an SQL command to revoke 
privilages.
something like

REVOKE ALL on MYTABLE from REPL$XXX
hth
Steve

"Sergio H." <topx@geocities.com> wrote in message 
news:41671f87$1@newsgroups.borland.com...
> Greetings...
>
> But after ReplManager has removed "System Objects" (tables and triggers), 
> if
> you backup the database, you notice there is some priveledges for a user
> called REPL$XXX... and that user doesn't appear in isc4.gdb (or
> security.fdb).
>
> Do you know how to remove every trace of the Replicator?
>
> TIA,
>
> Sergio H.
>
> "Steve Ball" <SteveBall@noSpam.uku.co.uk> escribi� en el mensaje
> news:40a7501d@newsgroups.borland.com...
>> Easiest way is attach to the database from the other server via
> ReplManager
>> and choose remove system objects, if you can't do that then you can
> manually
>> remove the 3 REPL tables (REPL_LOG etc)
>> You then need to remove all the triggers that are on each table that you
>> replicate (typically there are 3 per table to deal with insert, update 
>> and
>> delete) not sure if you need to remove the triggers first as they depend
> on
>> the REPL_... tables.
>>
>> First way is defenately the easiest, but depending on the line you use to
>> connect to the database (ie local network, wan, modem dial up) this could
>> take a while.
>>
>> HTH
>> Steve
>>
>>
>> "Steve Weston" <sweston{no spam}@westonmuir.com> wrote in message
>> news:40a22827$1@newsgroups.borland.com...
>> > I have restored an IB 7.1 db onto another server. How do I remove the
> repl
>> > objects (tables, triggers, etc.)?
>> >
>> > --
>> > Steven S. Weston
>> >
>> >
>>
>>
>
> 
Re: Removing System Objects
#60
Author: Sergio H.
Date: Wed, 13 Oct 2004 16:54
32 lines
1869 bytes
Oh yes, REVOKE.  But I ended up using statements directly to the RDB$
tables.

So, after using "Remove System Objects" in the ReplManager, one has to run:

DROP TRIGGER REPL_GEN_SEQNO;
DROP TABLE MANUAL_LOG;
DROP TABLE REPL_LOG;
DROP TABLE REPL_SEPARATOR;
DELETE FROM RDB$USER_PRIVILEGES WHERE RDB$USER LIKE 'REPL%%';

And I think this sould be done by the ReplManager.

Finally, I didn't want to use IBReplicator because it never went with my
trigger-generated primary keys.  I'm trying to post here the message I got
rejected from ibp_replicator@lists.ibphoenix.com because of being >17 Kb
long.

Regards,

Sergio H. Guerrero R.

"Steve Ball" <SteveBall@noSpam.uku.co.uk> escribi� en el mensaje
news:416b0493$1@newsgroups.borland.com...
> I can't remember the exact syntax, but just run an SQL command to revoke
> privilages.
> something like
>
> REVOKE ALL on MYTABLE from REPL$XXX
> hth
> Steve
>
Re: Removing System Objects
#63
Author: Steve Ball
Date: Sat, 16 Oct 2004 11:06
43 lines
2472 bytes
Well the Drop Trigger stuff normally is done via ReplManager.
My guess is that you might have been dropping a scheme but not the one in 
the database. Its all done via the scheme numbers and this does work. Its 
careful as you could have more than 1 scheme in a database.
Steve

"Sergio H." <topx@geocities.com> wrote in message 
news:416d5dad@newsgroups.borland.com...
> Oh yes, REVOKE.  But I ended up using statements directly to the RDB$
> tables.
>
> So, after using "Remove System Objects" in the ReplManager, one has to 
> run:
>
> DROP TRIGGER REPL_GEN_SEQNO;
> DROP TABLE MANUAL_LOG;
> DROP TABLE REPL_LOG;
> DROP TABLE REPL_SEPARATOR;
> DELETE FROM RDB$USER_PRIVILEGES WHERE RDB$USER LIKE 'REPL%%';
>
> And I think this sould be done by the ReplManager.
>
> Finally, I didn't want to use IBReplicator because it never went with my
> trigger-generated primary keys.  I'm trying to post here the message I got
> rejected from ibp_replicator@lists.ibphoenix.com because of being >17 Kb
> long.
>
> Regards,
>
> Sergio H. Guerrero R.
>
> "Steve Ball" <SteveBall@noSpam.uku.co.uk> escribi� en el mensaje
> news:416b0493$1@newsgroups.borland.com...
>> I can't remember the exact syntax, but just run an SQL command to revoke
>> privilages.
>> something like
>>
>> REVOKE ALL on MYTABLE from REPL$XXX
>> hth
>> Steve
>>
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads