- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dumping packet from message queue to database
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2005 11:54 PM
тАО10-18-2005 11:54 PM
dumping packet from message queue to database
I have a 512bytes packet in message queue and i want to dump this packet into database(oracle 10g in HP-UX 11i server).How shall i go about it.Should i use any language like pro*c.Please help me out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:05 AM
тАО10-19-2005 12:05 AM
Re: dumping packet from message queue to database
Use 'C' language to get the packet from messafe queue. Use the 'C' networking concepts to get the packets from the message queue. Store the packet as pcap format into file. After that, u can save this file to database.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:11 AM
тАО10-19-2005 12:11 AM
Re: dumping packet from message queue to database
I suppose you can use Pro*C (You will require ANSI C compiler too).
If the packet is not structured data you could store it in LOB datatype :
============================================
Large Object (LOB) Datatypes
The built-in LOB datatypes BLOB, CLOB, and NCLOB (stored internally) and BFILE (stored externally) can store large and unstructured data such as text, image, video, and spatial data. The size of BLOB, CLOB, and NCLOB data can be up to (4 gigabytes -1) * (the value of the CHUNK parameter of LOB storage). If the tablespaces in your database are of standard block size, and if you have used the default value of the CHUNK parameter of LOB storage when creating a LOB column, then this is equivalent to (4 gigabytes - 1) * (database block size). BFILE data can be up to 232-1 bytes, although your operating system may impose restrictions on this maximum.
============================================
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#sthref182
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:19 AM
тАО10-19-2005 12:19 AM
Re: dumping packet from message queue to database
Overview of Pro*C/C++
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_environments.htm#sthref87
and
Pro*C/C++ Programmer's Guide
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14407/toc.htm
Regards
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:19 AM
тАО10-19-2005 12:19 AM
Re: dumping packet from message queue to database
http://h21007.www2.hp.com/dspp/ml/ml_MailingLists_IDX/1,1275,,00.html#24
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:25 AM
тАО10-19-2005 12:25 AM
Re: dumping packet from message queue to database
with 10g, i would prefer to go for external tables alternative. so you will be able to query these from the database itself.
hope this helps!
kind regards
yogeeraj