<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- --><style type="text/css">@import url(//www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head> <body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/2110564875967830374?origin\x3dhttps://justdareyou.blogspot.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>



entriesaboutchatlinks

Wednesday, April 27, 2011
Centralised & Distributed Databases @ 5:14 PM

~Centralised & Distributed Databases~

There are THREE strategies involved with centralised and distributed databases. These are as follows:

1. Fragmentation- Parts of a database are stored in different location with each item only stored once. During queries data may be transferred from a remote location. This requires a fast and reliable connection.
E.g. Each example only occurs at one location
ABC DEF GHI

2. Downloading- Each server downloads copies as required, hence with frequently used data, copies will be located on the local server. This is suited to data that rarely changes and has a fast access time.
E.g. All location have copies of data D and E
ABCDE DEF GHIDE

3. Replication- Uses master and replicant databases. Local databases hold copies of all data of the time (goal). Local replicant databases are constantly updating with the master database, which usually takes place at night and does not require a fast connection.
E.g. Ideally complete copies occur at each location (the same)
ABCDEFGHI ACDEFGHI ACDEFGHI