473,326 Members | 2,095 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Mysql notification

Hi All,

We've only used MySQL in a very cursory way supporting PHP scripts
running on a server. We now have a requirement to write an application
that shares data using a centralised repository. The application will
be written in Java and we may potentially use MySQL as the data store
using JDBC drivers to bridge the two. One of the key requirements is
that the java application is notified when the data store is updated or
changed such that it can dynamically update its view to the user. Does
MySQL provide anything that may provide for this, is there a standard
way for dealing with this pattern of usage? One solution would be to
continuously query the database, but that seems prohibitively expensive
- particuarly for large data sets.

James
Jul 23 '05 #1
1 4415
dcp
Mysql has a logging feature which logs all transactions. The manual
describes using this to synchonize 2 mysql databases where the shadow mysql
uses the log file from the master copy to update itself.
I suspect this file (log) could be monitored for changes. Don't know if
that's sufficient. I know they are working on "triggers" in some future
release.
dp

"James Willans" <jw******@cs.york.ac.uk> wrote in message
news:78**************************@posting.google.c om...
Hi All,

We've only used MySQL in a very cursory way supporting PHP scripts
running on a server. We now have a requirement to write an application
that shares data using a centralised repository. The application will
be written in Java and we may potentially use MySQL as the data store
using JDBC drivers to bridge the two. One of the key requirements is
that the java application is notified when the data store is updated or
changed such that it can dynamically update its view to the user. Does
MySQL provide anything that may provide for this, is there a standard
way for dealing with this pattern of usage? One solution would be to
continuously query the database, but that seems prohibitively expensive
- particuarly for large data sets.

James

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: grutta | last post by:
I am writing a windows service that will recieve notification when a USB Device is insterted into the machine. I have used the RegisterDeviceNotification and the RegisterServiceCtrlHandlerEx with...
3
by: Robert W. | last post by:
I have a separate thread that handles data transfer operations (with a mobile device). I've set things up so that a small notification form is displayed in the lower right corner of the window. ...
0
by: Ed Lukoski | last post by:
I'm trying to send mail (via our Exchange v5.5 server) from a VB.Net webapp and get Delivery Notification and Read Receipt. If I use mail.Headers.Add("Return-Receipt-To", "mailbox@whatever.com")...
2
by: SB | last post by:
Can someone please tell me Microsoft .NET's position on this WS-Notification specification that includes the pub/sub model? Is there something in the pipeline or already available as part of the...
2
by: yenruyee | last post by:
I had a job offer with C++ and MYSQL which the latter I don't have experience with, MYSQL part so I got turned down by the employer. I haven't much luck since I am still in school, but there is...
1
by: Art | last post by:
After extensive searching I have come to an apparent dead end. I need to access a MySql database from C#. ODBC makes this very easy however not every customer is running MySql so I want to...
0
by: Nadia Amir | last post by:
I want to enable SQL cache notification on northwind tables employees. I have used the tool aspnet_regsql.exe as defined in the tutorial http://msdn2.microsoft.com/en-us/library/e3w8402y(vs.80).aspx...
0
by: vsrprasad16 | last post by:
Hi All, I am implementing a notification form similar to outlook email notification. my application call this notification form from a dll. this dll includes a form class and this dll has some...
4
markmcgookin
by: markmcgookin | last post by:
Has anyone used the notification class from Windows CE forms? using the following code using Microsoft.WindowsCE.Forms; ... Notification note = new Notification()
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.