LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-21-2012, 01:39 PM   #1
gozlemci
Member
 
Registered: Mar 2010
Location: Turkey
Distribution: Ubuntu 12.04
Posts: 34

Rep: Reputation: 0
Differences between "Repository" and "Database"


Hi there;
As we know, these two terms, "repository" and "database" is used extensively in database context.
What is their difference(s)?
 
Old 06-21-2012, 02:11 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,502

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
As I understood it, a database is data organised in some fashion by important criteria and is searchable for individual entries.Think MySQL.

A Repository is a code repository usually, where development of a software suite can progress and individuals can access the code, add to it, modify it or go back to an earlier version. Think SVN, Git, CVS

Somebody will no doubt correct this.
 
Old 06-21-2012, 02:31 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,495

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
You want to know what "database" means in a "database context"? Obviously the meaning of "database" depends on the "context", and if the "context" is "database context" then the "context" also depends on the meaning of "database"...

Quote:
Originally Posted by business_kid
As I understood it, a database is data organised in some fashion by important criteria and is searchable for individual entries.Think MySQL.

A Repository is a code repository usually, where development of a software suite can progress and individuals can access the code, add to it, modify it or go back to an earlier version. Think SVN, Git, CVS
Also see fossil, which is a code repository implemented using a database (sqlite). And SVN was originally implemented using Berkeley DB.
 
Old 06-21-2012, 03:17 PM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,481
Blog Entries: 6

Rep: Reputation: Disabled
repository/riˈpzəˌtrē/

Noun:
  • A place, building, or receptacle where things are or may be stored.
  • A place in which something, esp. a natural resource, has accumulated or where it is found in significant quantities.

database/ˈdatəˌbās/
Noun:
A structured set of data held in a computer, esp. one that is accessible in various ways.
 
1 members found this post helpful.
Old 06-21-2012, 03:56 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
hmm, best I can tell from what you are asking, the repository is basically a folder, or folder structure on a server containing packages used by a distribution, the database is a file used to keep track of what repositories are being used, what packages are available from said repositories, what versions (if any) are installed and what versions are available on the repositories as well as i believe the dependencies for said packages and where to find said dependencies.

in a more general sense, a repository is a central common point of file storage of a related nature, a database is a structured file or set of files that store and organize data.

Last edited by frieza; 06-21-2012 at 03:58 PM.
 
  


Reply

Tags
database, repository


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unpredictable "delete" "move to trash" or "cut" file menu option dorianrenato Linux - General 3 11-28-2011 06:41 PM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Differences between the "free" and "paid" versions eraser Linux - General 1 08-03-2000 04:35 PM


All times are GMT -5. The time now is 02:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration