Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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)
Man Page

15 More Discussions You Might Find Interesting

1. HP-UX

Memory usage

Is there any way to see what memory each individual running prg is using? (2 Replies)
Discussion started by: vslewis
2 Replies

2. UNIX for Dummies Questions & Answers

tar: Memory allocation failed

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)
Discussion started by: gfhgfnhhn
1 Replies

3. Programming

C code for implementation of Memory Mapping

Please post a C code for implementation of Memory Mapping function. It should simulate the mmap command. (1 Reply)
Discussion started by: raviviolet13
1 Replies

4. Shell Programming and Scripting

CUP and Memory

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)
Discussion started by: bullz26
4 Replies

5. Solaris

False Memory usage alarm!!

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)
Discussion started by: thepurple
5 Replies

6. AIX

Memory trouble

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)
Discussion started by: bbbngowc
12 Replies

7. AIX

Memory

hi seniors how to find out the utilisation of real memory not vmemory please help me (2 Replies)
Discussion started by: senmak
2 Replies

8. Shell Programming and Scripting

CSV file issue

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)
Discussion started by: gwrm
15 Replies

9. UNIX for Dummies Questions & Answers

Page Fault + Memory

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)
Discussion started by: waseem
2 Replies

10. AIX

How to use topas to display its Memory section alone

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)
Discussion started by: kaushik_87
2 Replies

11. Programming

Memory Leaks

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)
Discussion started by: rupeshkp728
9 Replies

12. Shell Programming and Scripting

Memory Utilisation of a server

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)
Discussion started by: Arasu
10 Replies

13. Red Hat

Memory Issue

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)
Discussion started by: rsheikh01
3 Replies

14. Solaris

Physical memory calculation

Below is Physical Memory result : -bash-3.00$ prtconf | grep "Memory size" Memory size: 36854 Megabytes -bash-3.00$ vmstat 1 2 | tail -1 0 0 0 28220616 1318888 15 143 0 0 0 0 0 253 2 15 0 5215 14989 5917 7 0 93 and the script i have to calculate this in Percentage is : #!/bin/sh... (3 Replies)
Discussion started by: mjoshi010207
3 Replies

15. Shell Programming and Scripting

Math count %memory using awk

Hi expert, i have log this: Memory: 74410384 Memory: 75831176 Memory: 77961232 Memory: 77074656 Memory: 76086160 Memory: 77128592 Memory: 78045384 Memory: 76696040 Memory: 72401176 Memory: 72520016 Memory: 72137016 Memory: 73175832 Memory: 73034528 Memory: 71770736 Memory:... (4 Replies)
Discussion started by: justbow
4 Replies