As per my project guidelines, i am not supposed to use Oracle. I have 1000 core processor I want to make use of each core for storing it. I need to write my own program. There is not one file but folder having million of files. I need to store all the records in a file.
Regards
User Profile
Collapse
-
How to use map in multithreading in C++?
Hi,
I have one input file having almost trillions of records.
Input:
Key Value
a XYZ
b xyz
. ...
. ...
How to store the above data in multithreaded map and retrieve in the same manner... -
Maven managed project takes too much time running/downloading
Hi,
I m working on Java application (Spring) Demo Application(Hel lo World) in Netbeans. It takes too much time in downloading maven repository. There is only one line that need to printed in spring framework but it start downloading applications from maven repository first which takes arnd 15 mins. Then actual program runs. Is there any way to disable this downloading.
Regards -
Is it necessary to use Maven with Advanced Java?
Hi,
I m newbie to advanced java and learning advanced java by open source example on net. I found most of the examples are using maven on netbeans. Is it necessary to use maven for developing web application?
Regards -
How much easier is it to learn Java for C++ programmer?
Hi,
I m C++ programmer (2.5 years exp). Now i m learning java since i found there is limited scope in C++ for application programmer. So i m learning java and developing web applications with JAVA beans.
Is this a right move to switch from C++ to Java and build career in this field?
This is general question so i need some suggestion from experienced programmers. -
But i want to write data in such a way that 3 should be stored at 1200 loction and like others and i can easily read the data from there also.
RegardsLeave a comment:
-
How to read and write data in C++ (random access)?
Hi,
I have one input data.
1200 3
1234 4
1235 6
1236 2
I need write this in binary file in such a way that i can easily write and read the data.
I know using fread and fwrite it is possible to do it. we can access data randomly. But how can i implement it? Any working example will help me. -
How to expand table row on mouseover/mpouse click?
Hi,
I have one column which has text information (too lenghty arnd 5000 words). I don't want to show everything in table. I want them to visible once i click on table cell. How can i implement it?
Regards -
How to remove content displayed on browser during ajax call?
Hi,
I am fetching mysql database by jsp via ajax.I am calling jsp from ajax function for database access and display the content in popup window. It is working fine. But when i mouse over the text i am getting content gets printed on web page too.
ajax.js
Code:/* * To change this template, choose Tools | Templates * and open the template in the editor. */
-
-
How to call jsp function from javascript?
Hi,
I am working on one project where i need to fetch data from mysql and show in popup window. I found some info abt it.
1. On mouse over call java script
2. Javascript will call Jsp funcntion.
3. Jsp will connect to mysql and fetch data
4. data will be sent back to javascript function and displayed in popup window.
How is it possible to call jsp function from javascript?
... -
How to enable onclick event for checkboxes dynamically?
Hi,
I need to generate check-boxes dynamically and enable onclick color change event for each check box. But I am unable to implement it by integrating Javascript code with Java.
// javascript code
Code:out.println("<SCRIPT language= 'javascript' type='text/javascript'>function swapcol(item){if(document.getElementById(item).checked){document.getElementById(item+'bg').style.background='#D3D3D3'}else{document.getElementById(item+'bg').style.background='#FFFFFF'}}</SCRIPT>");
-
How to read zip file?
Hi,
I am working on one project where i have to read zip file without unzipping it. How can i read the file line by line without unzipping it?
Thanks -
How to handle missing values in C++ using strtok function?
Hi,
I am parsing one tab delimited file with some missing values. When i use the strtok function, I can not get the values based on index in vector. The code shown below explains my pblm.
Code:#include <iostream.h> #include <string.h> #include <vector.h> using namespace std; int main () { char str[] ="XYZ 2 a sample data"; char * pch;
Last edited by Banfa; Sep 9 '11, 11:09 AM. Reason: Added code tags round the code, please start using them -
-
How to sort binary file?
Hi,
I am working on one practical problem where file size is around 100 GB(binary). I need to sort the file. How can i do it?
Regards -
Is it better to use MPI vs Pthread to write results into multiple files?
Hi,
I am working on one project on multi core (80 core) server. I have to write my results into multiple files (here 24 ) simultaneously. Which one will be better to use, MPI or pthread?
Thanks -
How to deploy a project onto the web?
Hi,
I am C++ Programmer turning into web development. I learnt JSP + Servlets + MySql and developed one project named "Employment ". I need to deploy this project on website lets say 192.168.3.4. How to do this? Thanks in advance.
Regards -
Hi,
I just noticed, it is slower than sequential writing. My hardware configuration is good (24 core).Why it is slower than sequential writing?
ThanksLeave a comment:
-
Thank you very much for your quick response. I can write to multiple files simultaneously but speed is (processing time for one file)*24 times. There is not much speed improvement. Is there any way to speed up the process?Leave a comment:
No activity results to display
Show More
Leave a comment: