ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] MySQL Table update flag
@ 2003-11-04 18:20 Pavel S. Khmelinsky
  2003-11-05  6:25 ` Shawkat Nizamov
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel S. Khmelinsky @ 2003-11-04 18:20 UTC (permalink / raw)
  To: community

Есть база на МуСКЛ, нужно часть данных из нее парсить в LDAP 
базу, при этом это нужно делать вовремя, т.е. синхронизация баз 
раз в час по крону не катит. Т.е. нужно чтобы после update/insert 
запросов в опр. таблицу запускался определенный скрипт? Или может 
быть есть способ узнать время последнего обновления таблицы? 
Тогда можно было бы сделать следящий демон, который не жрал бы 
много ресурсов.

Есть идеи?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] MySQL Table update flag
  2003-11-04 18:20 [Comm] MySQL Table update flag Pavel S. Khmelinsky
@ 2003-11-05  6:25 ` Shawkat Nizamov
  0 siblings, 0 replies; 2+ messages in thread
From: Shawkat Nizamov @ 2003-11-05  6:25 UTC (permalink / raw)
  To: community

> Есть база на МуСКЛ, нужно часть данных из нее парсить в LDAP базу, при 
> этом это нужно делать вовремя, т.е. синхронизация баз раз в час по 
> крону не катит. Т.е. нужно чтобы после update/insert запросов в опр. 
> таблицу запускался определенный скрипт? Или может быть есть способ 
> узнать время последнего обновления таблицы? Тогда можно было бы 
> сделать следящий демон, который не жрал бы много ресурсов.
>
Я не спец, но кажется в мускле есть такая вещь как триггеры и хранимые 
процедуры. Как понимаю,
вы создаете процедуру вывода информации из мускля как триггер на апдейт.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-05  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-04 18:20 [Comm] MySQL Table update flag Pavel S. Khmelinsky
2003-11-05  6:25 ` Shawkat Nizamov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git