Re: Row filtering

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Hilary

Thanks for your response.

The table is not single column it has multiple columns. You are correct that
the guid is a primary key.

The databases are syncronised via the snapshot. If I query the subscriber
based on the row filter query, I am returned the same number of records that
exist which meet that criteria at the publisher. The two are in sync as soon
as the snapshot has been applied.

Andy

"Hilary Cotter" <hilary.cotter@xxxxxxxxx> wrote in message
news:1113990675.177808.271030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> something looks a little odd here. First off is this a single column
> table you are replicating? It looks like it. Secondly it looks like you
> are using guids as pks - this is seldom a good idea.
>
> Thirdly how did you synchronize your two databases? through a snapshot?
> Is so, sql server guarantees synchronization. Can you run a validation
> to determine is your databases are in sync.
>
>
> Andy Hayes wrote:
>> Hi to all
>>
>> Having an issue with replication which I hope someone can help with.
>>
>> Here is a summary of the processes involved.
>>
>> VB application updates, deletes and inserts into a database (DB1) on
> our LAN
>> every minute.
>>
>> DB1 is replicated to our website (lets call this Website1) on a
>> transactional basis.
>>
>> We have recently built a new website (lets call this Website2) which
> runs on
>> a database structure (DB2) identical to Website1, however the data
> needed to
>> be held in Website2 is only a small subset of the data compared to
> Website1.
>> We decided to replicate to Website2, using row filtering. We created
> a new
>> publication from DB1, set up row filtering to only replicate data
> which was
>> less than a week old according to a field which determines the
> records age,
>> on a transactional basis. We created the snapshot and applied it to
> DB2 with
>> no issues however, shortly after this, an error is returned which
> indicates
>> the subscriber is trying to remove a record which does not exist in
> DB2 "row
>> not found at subscriber" The last command the agent is trying to run
> looks
>> like this
>>
>> CALL sp_MSdel_Adverts ({64DFEE13-BFFA-4383-90DC-C1AF5A906F95})
>>
>> This unique identifier does not exist as a record at the subscriber
> but does
>> exist as a record at the publisher.
>>
>> There are no processes which are updating/removing records from DB2,
> it is
>> purely designed for reads only.
>>
>> Any assistance would be greatly appreciated.
>>
>> Regards
>>
>> Andy Hayes
>


.



Relevant Pages

  • Re: Two databases, remote synonyms and granting select (read-only) permissions
    ... won't replicate to the server). ... If you want, create a *special* user for the web app, and only grant connect and select privileges for the web app? ... The interesting thing is that you could subnet your databases and your external web server so that it can only see your secondary server. ...
    (comp.databases.informix)
  • Re: ER between two databases in the same instance
    ... > when comparing databases. ... I mean Oracle might implement a function ... we'd implement such a functionality just because Oracle did. ... >> Can I define a replicate for a table between two databases in the same ...
    (comp.databases.informix)
  • Database fails to synchronize, Search key not found, error 3709
    ... There are tables that have memo fields, ... When I try to replicate / synchronise the databases (which takes ...
    (microsoft.public.access.forms)
  • Re: Database/VB design for 3000+ users
    ... we have to design database tables in a way to ... >defferent users groups ... >the data now on different databases, ... The standard 'replicate an old design' method, ...
    (microsoft.public.vb.general.discussion)
  • Re: Database/VB design for 3000+ users
    ... we have to design database tables in a way to ... >defferent users groups ... >the data now on different databases, ... The standard 'replicate an old design' method, ...
    (microsoft.public.vb.database.ado)