avatar
A*n
2
数据从一个数据库1到另一个数据库2,有什么办法能作到当数据库1有新的数据进来(或是更新)的时候,自动的把进来或是更新的数据也加到数据库2里面或是更新数据库2里面的数据。用的是SQL Server.
avatar
v*e
3
最近就没好过
avatar
w*g
4
If there are a lot of different types of A,B .... molecules in the system,
and I want to quickly get all the molecules of type A,do anyone know how can
I realize that ??
This is a kind of pattern matching problem ?
My thought is:
1. First transfer all molecule structures into a string and store them.
2. Then search for the strings for the desired string.
Any body has a better idea? or where can I find such an algorithm ?
Any clues are highly appreciated.
avatar
B*g
5
http://msdn.microsoft.com/en-us/library/ms151198.aspx

或是更新)的时候,自动的把进来或是更新的数据也加到数据库2里面或是更新数据库2
里面的数据。用的是SQL Server.

【在 A*******n 的大作中提到】
: 数据从一个数据库1到另一个数据库2,有什么办法能作到当数据库1有新的数据进来(或是更新)的时候,自动的把进来或是更新的数据也加到数据库2里面或是更新数据库2里面的数据。用的是SQL Server.
avatar
o*o
6
use DB

can

【在 w****g 的大作中提到】
: If there are a lot of different types of A,B .... molecules in the system,
: and I want to quickly get all the molecules of type A,do anyone know how can
: I realize that ??
: This is a kind of pattern matching problem ?
: My thought is:
: 1. First transfer all molecule structures into a string and store them.
: 2. Then search for the strings for the desired string.
: Any body has a better idea? or where can I find such an algorithm ?
: Any clues are highly appreciated.

avatar
A*n
7
I am studying right now. I just hope someone can give me link, like step by
step.
Thanks Beijing.
you are a man.
avatar
w*g
8
Thanks for your help.
What's DB ? how to use it to solve the problem ? Can you provide more
details?

【在 o*o 的大作中提到】
: use DB
:
: can

avatar
s*o
9
no, me think Beijing is a woman!

by

【在 A*******n 的大作中提到】
: I am studying right now. I just hope someone can give me link, like step by
: step.
: Thanks Beijing.
: you are a man.

avatar
l*c
10
Hash ! If there are too much information in the molecule, plain string
matching is too expensive, better to hash them. And the hash could be stored
in quite a lot of different data structures, depending on your requirement.

can

【在 w****g 的大作中提到】
: If there are a lot of different types of A,B .... molecules in the system,
: and I want to quickly get all the molecules of type A,do anyone know how can
: I realize that ??
: This is a kind of pattern matching problem ?
: My thought is:
: 1. First transfer all molecule structures into a string and store them.
: 2. Then search for the strings for the desired string.
: Any body has a better idea? or where can I find such an algorithm ?
: Any clues are highly appreciated.

avatar
S*0
11
Change Data capture, replication. Both read from transaction log, so be
cautious if the data volum is big.

或是更新)的时候,自动的把进来或是更新的数据也加到数据库2里面或是更新数据库2
里面的数据。用的是SQL Server.

【在 A*******n 的大作中提到】
: 数据从一个数据库1到另一个数据库2,有什么办法能作到当数据库1有新的数据进来(或是更新)的时候,自动的把进来或是更新的数据也加到数据库2里面或是更新数据库2里面的数据。用的是SQL Server.
avatar
A*n
12
Beijing is a lady??
avatar
A*n
13
I think the data is huge. Thanks Stone
avatar
g*l
14
REPLICATION和TRIGGER都可以,数据源就一个,传输的多个的话就用REPLICATION,你
还是把SQL SERVER的书好好看看,就不会问这种初级的问题了
avatar
A*n
15
都是高人啊,让你见笑了, trigger要怎么用,2个完全不同的server,有的时候可能一
个server上table都不一定有。 如果在一个数据库或是一个server往table上加数据简单。
看来我是很初级,呵呵。
gejkl给我一点意见啊。
谢谢
avatar
g*l
16
你这个就是用TRANSACTIONAL REPLICATION,你这个问题问的都不清楚,到底想做什么。

简单。

【在 A*******n 的大作中提到】
: 都是高人啊,让你见笑了, trigger要怎么用,2个完全不同的server,有的时候可能一
: 个server上table都不一定有。 如果在一个数据库或是一个server往table上加数据简单。
: 看来我是很初级,呵呵。
: gejkl给我一点意见啊。
: 谢谢

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。