Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [MySql] Dubbi
Pages (2): [1] 2 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ale82info
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 2538 (0.33 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 17 Days, 13:18:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[MySql] Dubbi

Ho la necessità creare una mini rete così configurata:
- 3 pc sui quali girano 3 diverse applicazioni Vb che devono interrogare un unico db centralizzato
- 1 server che contiene il db in MySql

Allora, premettendo che non ho mai utilizzato MySql per questo genere di applicazion (abbiamo sempre usato Oracle)...
- Come configurare il tutto?
- MySql è completamente gratuito anche per le aziende?
- Come amministrare il db? (deve essere backuppato in automatico almeno ogni 15 minuti)
- Consigli? Idee? E' tutto ben accetto!

Grazie a tutti

21-07-2006 20:26
Click Here to See the Profile for ale82info Click Here to See the Blog of ale82info Click here to Send ale82info a Private Message Find more posts by ale82info Add ale82info to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: [MySql] Dubbi

Originally posted by ale82info
- Come configurare il tutto?

il meglio possibile, direi :P


- MySql è completamente gratuito anche per le aziende?

Dipende: http://www.mysql.com/company/legal/...al-license.html

- Come amministrare il db? (deve essere backuppato in automatico almeno ogni 15 minuti)

mmmm, potrebbe essere una politica suicida se il DB è molto grande. Meglio a quel punto un sistema High Availability, dove i dati vengono sostanzialmente replicati immediamente sul cluster. Fai un giro su google.

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

21-07-2006 23:45
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ale82info
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 2538 (0.33 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 17 Days, 13:18:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il db è di piccole dimensioni...

22-07-2006 11:27
Click Here to See the Profile for ale82info Click Here to See the Blog of ale82info Click here to Send ale82info a Private Message Find more posts by ale82info Add ale82info to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

allora schedula il dump in un cron (ipotizzando che tu lavori su *nix)

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

22-07-2006 13:38
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ale82info
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 2538 (0.33 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 17 Days, 13:18:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il server è windows...cmq abbiamo gia sviluppato una dll che polla e backuppa in automatico (sperando che funzioni....)
Ma la configurazione di un servizio mySql su una rete è complicato? io per ora ho installato il db mysql sul server e localmente funziona....

22-07-2006 15:12
Click Here to See the Profile for ale82info Click Here to See the Blog of ale82info Click here to Send ale82info a Private Message Find more posts by ale82info Add ale82info to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

No, lo installi, setti la pw di root, lo avvii. Al massimo poi devi giocare un po' con grant e deny, ma è un discorso a parte.

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

22-07-2006 16:48
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.21 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged


cmq abbiamo gia sviluppato una dll che polla e backuppa in automatico (sperando che funzioni....)

Così a occhio, direi che se fa il lock delle tabelle durante il backup non dovrebbero esserci problemi; certo che però se il backup richiede del tempo il lock a tutte le tabelle (per avere il 'fermo immagine') blocca tutte le applicazioni.

Nel manuale di mysql si parla anche di replicazione di dati, non ho mail letto quella parte ma potresti trovarci qualcosa di utile (penso sia qualcosa di simile a quello che suggeriva DeepBlue)

__________________
?

23-07-2006 22:47
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Viry
dsy moderator

User info:
Registered: Oct 2002
Posts: 2429 (0.30 al dì)
Location: Milano
Corso: Ticom
Anno: primo
Time Online: 43 Days, 3:27:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Mysql mette a disposizione una comodissima funzionalita' di replica, che richiede solamente un secondo pc:
http://dev.mysql.com/doc/refman/5.0/en/replication.html
cosi' eviti il cron o equivalente che fa il dump ogni 15 minuti, puoi fare il dump ogni notte sulla replica e hai una copia del db subito pronta nel caso il server principale muoia.

Deep penso intendesse un vero e proprio Cluster,
http://dev.mysql.com/doc/refman/5.0...ql-cluster.html
che ha il vantaggio di essere un sistema HA, quindi la morte di un nodo non interrompe il sevizio, a prezzo pero' di piu' complessita'... direi che per un DB piccolo la cosa migliore resta la replicazione.

__________________
When once you have tasted flight, you will walk the earth, forever more, with your eyes turned skyward. For there you have been, and there you long to return.

“Dovere, tempo, destino, tutto tende a separarci e, di fatto, ci separa. Ma il sentimento non conosce frontiere e mi unisce a te come se avessi sempre la mia mano sulla tua"

Last edited by Viry on 24-07-2006 at 09:37

24-07-2006 09:34
Click Here to See the Profile for Viry Click here to Send Viry a Private Message Find more posts by Viry Add Viry to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.14 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ho una domanda per gli esperti di MySql e licenza GPL: se io produco un CMS Web scritto in ASP.NET che obbliga l'utente a comprare uno spazio web che supporti questo database,cosa devo fare?

- Devo pagare una licenza commerciale visto che non voglio rilasciare il codice della mia applicazione come GPL?
- L'utente che paga lo spazio in hosting assolve già questo pagamento?
- Devo pagare le licenze dei driver con cui permetto l'accesso al database?

Non ci capisco nulla!

Vorrei usare SQLite ma l'assembly con il driver per .NET deve girare in full trust mode e l'hosting di Aruba non permette di farlo. Che rabbia, SQLite era perfetto! :evil:

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

25-07-2006 11:12
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Prendi questa risposta con le pinze e associala alla lettura del link che ho postato sopra: se non integri completamente il motore di mysql nel tuo progetto, non sei sottoposto alla licenza commerciale.

Questo vuol dire che se il tuo progetto si basa su MySql, ma l'integrazione finale spetta all'utente (ovvero tu gli fornisci un pacchetto completo e funzionante, dove le sue primitive si interfacciano benissimo a qualsiasi MysqlD configurato anche minimamente), tu sei a posto.

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

25-07-2006 13:14
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.14 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by DeepBlue
Questo vuol dire che se il tuo progetto si basa su MySql, ma l'integrazione finale spetta all'utente (ovvero tu gli fornisci un pacchetto completo e funzionante, dove le sue primitive si interfacciano benissimo a qualsiasi MysqlD configurato anche minimamente), tu sei a posto.


Mi chiarifichi meglio questo punto?
Significa che se io non associo le mie librerie a un'istanza specifica di un server MySql, ma possono essere utilizzate in completa autonomia da parte dell'utente, io posso non pagare la licenza in quanto il motore del database non è integrato?

Grazie Deep! ;)

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

25-07-2006 13:59
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.55 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il problema è che devi rilasciare il tuo codice sotto GPL, altrimenti quanto sopra non vale :/ e purtroppo, al contrario di quanto credevo, non ci sono scappatoie:


- Selling software that requires customers to install MySQL themselves on their own machines.

- If you develop and distribute a commercial application and as part of utilizing your application, the end-user must download a copy of MySQL; for each derivative work, you (or, in some cases, your end-user) need a commercial license for the MySQL server and/or MySQL client libraries.


Il fatto che gli hosting provider forniscano già supporto a MySQL, credo che sia comunque equiparabile al secondo punto quotato :/

L'unica via è la GPL

avevo scritto in calabrese... ho editato!

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

Last edited by DeepBlue on 25-07-2006 at 17:59

25-07-2006 16:24
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.14 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by DeepBlue
Il problema è che devi rilasciare il tuo codice sotto GPL, altrimenti quando sopra non vale :/ e purtroppo, al contrario di quanto credevo, non ci sono scappatoie:



Il fatto che gli hosting provider forniscano già supporto a MySQL, credo che sia comunque equibarabile al secondo punto quotato :/

L'unica via è la GPL


Ok, grazie per il supporto.

Pare che la via sia una sola: sto recuperando un database nativo xml che stavo scrivendo qualche anno fa. Lo continuo e sfrutterò questo linguaggio di markup per gestire dati strutturati. Alla fine per siti medio piccoli l'accesso ai file (con poche letture, e rarissime scritture) non rappresenterà un grosso problema.

Se hai altre idee riguardo a database (server senza licenza commerciale o embedded) sono ben accette! :lode:

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

25-07-2006 17:45
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Viry
dsy moderator

User info:
Registered: Oct 2002
Posts: 2429 (0.30 al dì)
Location: Milano
Corso: Ticom
Anno: primo
Time Online: 43 Days, 3:27:12 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non puoi cambiare DBMS? Per esempio, postgesql usa la licenza BSD, molto meno restrittiva:

Best of all, PostgreSQL's source code is available under the most liberal open source license: the BSD license. This license gives you the freedom to use, modify and distribute PostgreSQL in any form you like, open or closed source. Any modifications, enhancements, or changes you make are yours to do with as you please. As such, PostgreSQL is not only a powerful database system capable of running the enterprise, it is a development platform upon which to develop in-house, web, or commercial software products that require a capable RDBMS.

il problema e' che mysql e' molto piu' diffuso...

__________________
When once you have tasted flight, you will walk the earth, forever more, with your eyes turned skyward. For there you have been, and there you long to return.

“Dovere, tempo, destino, tutto tende a separarci e, di fatto, ci separa. Ma il sentimento non conosce frontiere e mi unisce a te come se avessi sempre la mia mano sulla tua"

Last edited by Viry on 25-07-2006 at 18:07

25-07-2006 18:04
Click Here to See the Profile for Viry Click here to Send Viry a Private Message Find more posts by Viry Add Viry to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.14 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Viry
il problema e' che mysql e' molto piu' diffuso...


Esatto, il problema è proprio che la maggior parte degli hosting conosce solo MySql e SqlServer... :(

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

25-07-2006 18:11
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 12:45.    Post New Thread    Post A Reply
Pages (2): [1] 2 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.054 seconds (72.11% PHP - 27.89% MySQL) con 27 query.