kiokudb::backend::role::txn::memory(3pm) [debian man page]
KiokuDB::Backend::Role::TXN::Memory(3pm) User Contributed Perl Documentation KiokuDB::Backend::Role::TXN::Memory(3pm)NAME
KiokuDB::Backend::Role::TXN::Memory - In memory transactions.
SYNOPSIS
with qw(KiokuDB::Backend::Role::TXN::Memory);
sub commit_entries {
my ( $self, @entries ) = @_;
# atomically apply @entries
# deleted entries have the deleted flag set
# if an entry has no 'prev' entry it's an insert
# otherwise it's an update
}
DESCRIPTION
This backend provides in memory transactions for backends which support atomic modification of data, but not full commit/rollback support.
This backend works by buffering all operations in memory. Entries are kept alive allowing read operations go to the live entry even for
objects that are out of scope.
This implementation provides repeatable read level isolation. Durability, concurrency and atomicity are still the responsibility of the
backend.
REQUIRED METHODS
commit_entries
Insert, update or delete entries as specified.
This operation should either fail or succeed atomically.
Entries with "deleted" should be removed from the database, entries with a "prev" entry should be inserted, and all other entries
should be updated.
Multiple entries may be given for a single object, for instance an object that was first inserted and then modified will have an insert
entry and an update entry.
get_from_storage
Should be the same as "get" in KiokuDB::Backend.
When no memory buffered entries are available for the object one is fetched from the backend.
exists_in_storage
Required as of KiokuDB version 0.37.
A fallback implementation is provided, but should not be used and will issue a deprecation warning.
perl v5.12.4 2010-10-11 KiokuDB::Backend::Role::TXN::Memory(3pm)
Check Out this Related Man Page
KiokuDB::TypeMap(3pm) User Contributed Perl Documentation KiokuDB::TypeMap(3pm)NAME
KiokuDB::TypeMap - Class to collapsing/expanding logic.
SYNOPSIS
use KiokuDB::TypeMap;
KiokuDB::TypeMap->new(
entries => {
'Foo' => KiokuDB::TypeMap::Entry::Naive->new,
},
isa_entries => {
'My::Class' => KiokuDB::TypeMap::Entry::Naive->new,
},
includes => [
$typemap_foo,
$typemap_bar,
],
);
DESCRIPTION
The KiokuDB typemap maps classes to KiokuDB::TypeMap::Entry objects.
The mapping is by class, and entries can be keyed normally (using "ref $object" equality) or by filtering on "$object->isa($class)"
("isa_entries").
ATTRIBUTES
entries
A hash of normal entries.
isa_entries
A hash of "$object->isa" based entries.
includes
A list of parent typemaps to inherit entries from.
METHODS
resolve $class
Given a class returns the "KiokuDB::TypeMap::Entry" object corresponding to that class.
Called by KiokuDB::TypeMap::Resolver
resolve_entry $entry
If the entry is an alias, it will be resolved recursively, and simply returned otherwise.
all_entries
Returns the merged "entries" from this typemap and all the included typemaps.
all_isa_entries
Returns the merged "isa_entries" from this typemap and all the included typemaps.
all_isa_entry_classes
An array reference of all the classes in "all_isa_entries", sorted from least derived to most derived.
perl v5.12.4 2010-10-11 KiokuDB::TypeMap(3pm)
tar: Memory allocation failed for extended data while reading : Not enough space
what can be done for the above problem?
top utility reports memory usage as follows:
Memory: Real: 2688M/15G act/tot Virtual: 1492M/42915M use/tot Free: 11G
this cannot be a disk space problem as we have... (1 Reply)
Hi All Unix experts,
I want to calculate CUP Utilization and Memory Utilization on solairs boxes.
Please help me to write a script for this, since i am doing this manualy for more than 30 servers daily.
My daily task is
# top
last pid: 28627; load avg: 8.50, 8.12, 8.16; up... (4 Replies)
Hi Experts,
I am using Solaris-10, Sun-Fire-V445.
i got often the below message-
"Memory Usage – Critical, Memory usage (RAM) exceeding 90%
The memory utilization is exceeding 90%" in a application running on solaris.
I checked with Vmstat. Everything seems to be fine. Where i should... (5 Replies)
Hi All,
I just installed 8GB of Memory in a P550 and when the system booted, it's only showing 4GB (3808MB). How can I get the system to see the other 4? (12 Replies)
Hi All,
We have a csv file.
We need to read end character , if the end character is not " we need to append that line and the next one
Kindly help me to write a script
Thanks (15 Replies)
I am not sure where to post this so i will put it in the newbie section.
I have set up a bog standard debain 6, LAMP environment in the cloud.
The specs
1 core at 2GH
2.5gb Memory
running Jommla, with about 1.6K visitors a day.
I am using AppFirst (appfirst.com) to monitor the... (2 Replies)
Hi,
I'm planning to write a script to monitor the memory utilization and so decided to use topas. i'm not familiar with this command
Could anyone help me with an idea on how to display the Memory section alone in the topas... :)
It will be very helpful if you could specify the command... (2 Replies)
Suppose I have a main() function with only one malloc statement allocating say some 1 gb memory. Also say my system has 1 gb of ram.
main()
{
malloc(1gb)
return(0)
}
The program above exits without freeing the memory.
In this case will the 1 gb of heap memory be returned... (9 Replies)
Hi,
I need to find the memory utilisation of a server as mentioned below. Memory should be divided into TOTAL, UZDM, BUFFER, CACHE, AVAILABLE. Can anyone help me to get this? (10 Replies)
I could not find what is consuming the memory, generated DSET reports and NO hardware wise memory issue. 64 GB RAM on a server yet all I could see is a very limited memory available. I am not sure if I am reading this correct or not. I have used free -t -m and cat /proc/meminfo (results below)... (3 Replies)