06-15-2012
Thanks guys I owe more people a beer
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello,
Our RAID and server recently crashed and we are trying to recover our data. The problem appears to be that the Veritas File System/Logical Volume Manger became corrupt on our RAID. We are down to our last option, which is to run some Veritas commands that "may" result in data loss.
... (1 Reply)
Discussion started by: stringman
1 Replies
2. Solaris
I 've few data sets in my zfs pool which has been exported to the non global zones and i want to copy data on those datasets/file systems to my datasets in new pool mounted on global zone, how can i do that ? (2 Replies)
Discussion started by: fugitive
2 Replies
3. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
4. Solaris
With Solaris 11 coming out with a requirement of ZFS on the root disk, I was curious to know who is using the Zeta File System now?
I have been using ZFS for the past year and don't plan to go back to UFS since ZFS is much more reliable and easier to maintain. (13 Replies)
Discussion started by: bluescreen
13 Replies
5. Solaris
what are all the advantages of ZFS comparing to UFS SVM
what is the use of creating file system in a file system in ZFS (15 Replies)
Discussion started by: dinu
15 Replies
6. Solaris
Hi,
I need some advice please. I have this server with a couple of zpools, lets call them
pay_serv
ukb_pool
There are two zones attached to these pools. When I do a zfs list I see this
pay_serv 8.41G 265G 8.41G /pay_serv
ukb_pool 79.8G 194G 23K /ukb_pool
ukb_pool/temp_ps 9.11G... (4 Replies)
Discussion started by: giles.cardew
4 Replies
7. Solaris
Hi! I'm a new user... I'm looking for some informations about the ZDF file sytem... In my ubuntu box i have installed cryptkeeper, and i want to know if in Solaris 11 Express can find something similar... (3 Replies)
Discussion started by: Solarisutente
3 Replies
8. Solaris
Good morning everyone,
I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong.
My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies
LEARN ABOUT DEBIAN
class::dbi::loader::relationship
Relationship(3pm) User Contributed Perl Documentation Relationship(3pm)
NAME
Class::DBI::Loader::Relationship - Easier relationship specification in CDBI::L
SYNOPSIS
use Class::DBI::Loader::Relationship;
my $loader = Class::DBI::Loader->new( dsn => "mysql:beerdb",
namespace => "BeerDB");
Now instead of saying
BeerDB::Brewery->has_many(beers => "BeerDB::Beer");
BeerDB::Beer->has_a(brewery => "BeerDB::Brewery");
BeerDB::Handpump->has_a(beer => "BeerDB::Beer");
BeerDB::Handpump->has_a(pub => "BeerDB::Pub");
BeerDB::Pub->has_many(beers => [ BeerDB::Handpump => 'beer' ]);
BeerDB::Beer->has_many(pubs => [ BeerDB::Handpump => 'pub' ]);
Just say
$loader->relationship( "a brewery produces beers" );
$loader->relationship( "a pub has beers on handpumps" );
DESCRIPTION
This module acts as a mix-in, adding the "relationship" method to "Class::DBI::Loader". Since "Class::DBI::Loader" knows how to map between
table names and class names, there ought to be no need to replicate the names.
In addition, it is common (but not universal) to want reverse relationships defined for has-many relationships, and for has-a relationships
to be defined for the linkages surrounding a many-to-many table.
The aim of "CDBIL::Relationship" is to simplify the declaration of common database relationships by providing both of these features.
The "relationship" takes a string. It recognises table names (singular or plural, for convenience) and extracts them from the "sentence".
AUTHOR
Simon Cozens, "simon@cpan.org"
SEE ALSO
Class::DBI::Loader.
perl v5.10.1 2010-07-04 Relationship(3pm)