Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Deleting unused kdb+ analytic files in RedHat Post 303043290 by Neo on Thursday 23rd of January 2020 09:50:25 AM
Old 01-23-2020
Also, I assume you are familar with various IDEs to manage kdb+?

For example:

qStudio - A GUI for Kdb ยป qStudio Kdb+ IDE

Note, the docs state clearly:

Quote:
Database Management
Typically modifying a kdb database stored on disk requires expert level knowledge. WIth qStudio Pro anyone can perform common operations like Adding/removing/updating a column in a partition database from within a GUI.
How to you plan to manage this DB?

Have you reviewed the kdb+ FAQ?

Frequently-asked questions about kdb+ – Knowledge Base – kdb+ and q documentation
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Deleting old files

Hi, I have a directory which contains files.This Directory keeps getting in new files from time to time.I want to maintain only 15 files in that directory at any time and the old files should be deleted. Eg: Directory 'c' @'a/b/c contains: 1_a 2_a 3_a... I want to delete all the old... (2 Replies)
Discussion started by: shiroh_1982
2 Replies

2. Programming

Analytic functions in Pro*c

Hi All, when I use the following analytic function in sql prompt, i am getting the result count(emp_no) over (partition by emp_no ) /* select count(emp_no) over (partition by emp_no ) from temp */ but when i use the same analytic function in Pro*c i get the following error Error... (2 Replies)
Discussion started by: quintet
2 Replies

3. Shell Programming and Scripting

Need help comparing two files and deleting some things in those files!

So I have two files: File1 pictures.txt 1.1 1.3 dance.txt 1.2 1.4 treehouse.txt 1.3 1.5 File2 pictures.txt 1.5 ref2313 1.4 ref2345 1.3 ref5432 1.2 ref4244 dance.txt 1.6 ref2342 1.5 ref2352 1.4 ref0695 1.3 ref5738 1.2 ref4948 1.1 treehouse.txt 1.6 ref8573 1.5 ref3284 1.4 ref5838... (24 Replies)
Discussion started by: linuxkid
24 Replies

4. Shell Programming and Scripting

AIX system.... deleting files in remote directory after retrieving files

Hi Friends, I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies

5. Shell Programming and Scripting

Deleting files

Hi all, I have developed a shell script to copy the files from source to destination and simultaneously to delete the copied files in source. I can copy the files but the files cannot be deleted in source side. (3 Replies)
Discussion started by: Venkatesan
3 Replies

6. AIX

Kdb - vscsi disk mapping from AIX 5.3 CLIENT side

If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that: print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3. My question is... (3 Replies)
Discussion started by: The Doctor
3 Replies

7. AIX

How to get the stack trace using kdb?

Hi All, I am trying to debug my core file using kdb. When I try to get the stack trace I am facing this error. core mapped from @ 700000000000000 to @ 70000000306fc04 Preserving 1680415 bytes of symbol table Dump does not start with valid magic number WARNING: Possibly truncated or... (2 Replies)
Discussion started by: Sachin1987
2 Replies

8. Shell Programming and Scripting

Bash script deleting my files, and editing files in subdirectories question

#!/bin/bash # name=$1 type=$2 number=1 for file in ./** do if then filenumber=00$number elif then filenumber=0$number fi tempname="$name""$filenumber"."$type" if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
ELEKTRA(5)							  [FIXME: manual]							ELEKTRA(5)

NAME
elektra - A framework to store configuration atoms hierarchically Note This section is provided for the sake of the openness of Elektra. You should not access the Elektra's key files directly. You should use the API or the kdb(1) command for that. Elektra Key Storage Strategy.PP Elektra implements a very simple way to store the key-value pairs. The value (and some metainfo) for each key is stored in a single file. The key name (and some of its context) is sufficient to find the file name that stores the value. The system/* keys are stored under /etc/kdb/, and the user/* keys can be found under each user's $HOME/.kdb/. Here are some examples of key names, and where Elektra goes to look for them in the disk. system/sw/XFree86/screen0/driver Maps to: /etc/kdb/system/sw/XFree86/screen0/driver user/env/PATH Maps to: ~$USER/.kdb/user/env/PATH user:luciana/env/PATH Maps to: ~luciana/.kdb/user/env/PATH system/mime.types/some.mime Maps to: /etc/kdb/system/mime.types/some.mime Some may think that one file per key will consume many filesystem i-nodes. Actually, when not using Reiser4 filesystem, it may consume some more disk space, and it may also be not so efficient than reading one single text file, as KConfig does. But Elektra's nature lets applications load their keys on demand; so it is possible to avoid the read-all-use-some approach. Writing updated keys back to disk is also more robust, because unchanged keys won't be touched, different from a single file approach, that must be entirelly rewritten. Besides that, big applications (like Mozilla, Konqueror, KDE, Gnome) key gathering time is a very small part of what they have to do to start up. And the benefits of an homogeneous key database to the entire system are much bigger then these issues. Think about a common integration between everything, flexibility, security granularity and openness. XML, Storage Backends and Elektra.PP This document you are just reading was written in DocBook XML. XML is a wonderfull technology, but brings no value to this software. Two main goals of the Elektra Project are to be lightweight, and to be accessible by early boot stage programs like /sbin/init and the /etc/rc.d scripts. XML parsing libraries are memory eaters, not so fast as we can expect, and they are usually located under /usr/lib, which may be unavailable to these early boot stage needs. Some discussions asked for a sort of plugin architecture to let user decide the format to store keys content. Well, the info that goes into the key file is not big deal as you'll see, and sometimes, too many options is bad business, and not the path for the Elektra Project. So no XML, no plugin architecture, no sophistication. Lets keep it simple and generic. A very straight forward text based file format was defined to store a single key value. Key Files Format.PP Inside Elektra key database, each key is a file, and every file is a key. So most of the key's metainformation are actually its file attributes, as you can see in a regular ls(1) command output. So what needs to be stored inside the key file is the data type (binary or text), key comment and the actual data. The format of each key file is: File Format Version Data Type As many lines of comments as we want (UTF-8 encoded) <DATA> The data encoded as text So if we set the key system/hw/eth0/driver as type String and value "3com", and comment "The driver for my network interface", we'll find the file /etc/kdb/system/hw/eth0/driver containing: RG002 40 The driver for my network interface <DATA> 3com Other example: setting user/tmp/proprietary as Binary, and value "A groovy data I want to hide", and comment "Stay away from here", you'll get in ~$USER/.kdb/user/tmp/proprietary the following: RG002 20 Stay away from here <DATA> 41206772 6f6f7679 20646174 61204920 77616e74 20746f20 68696465 The current data types are: Between 20 and 39 Binary value. The data will be encoded into a text format. Today only type 20 is used, and means a raw stream of bytes with no special semantics to Elektra. The other values are reserved for future use; being treated still as binary values but possibly with some semantics to Elektra or a higher level application. 40 up to 254 Text, UTF-8 encoded. Values higher then 40 are reserved for future or application specific implementations of more abstract data types, like time/date, color, font, etc. But always represented as pure text that can be edited in any text editor like vi(1). Types between 0 and 19 are used only internaly in the API, and will never appear into a key file. They are used to define meta keys as directory, link, etc. SEE ALSO
kdb(1), elektra(7) AUTHOR
Avi Alkalay <avi at unix.sh> Linux Market Developer, Senior IT and Software Architect, IBM Linux Impact Team :: ibm.com/linux Author. COPYRIGHT
Copyright (C) 2004 Avi Alkalay Elektra Initiative March 2004 ELEKTRA(5)
All times are GMT -4. The time now is 06:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy