Informix huge database creation [closed] - informix

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to create a huge database in Informix (IDS) version 11.50?

Is 2+ Terabytes big enough for you?.. Best way is to create a table, then load an ascii file into it. I have a 2TB+ (nrows=10M, rowsize=2048) ascii test file (with pipe delimiters) which has unique: fullnames, adresses, phone numbers and a variety of other datatypes, like DATE, SMALLINT, DECIMAL (9,2), etc. for testing/benchmarking purposes.
Problem is. how can i get it to you?
You could also create an SPL to insert random data, but for a huge test table, its not going to produce realistic or meaninful data for test purposes.

It is not very different from creating normal database. You can create tables as normal, but then you fill tables with huge amount of data. I think the best you can do is to create application that will fill database with random data. Of course you can use some real data like dates, city names, first names etc, or create "looking normal" names using Markov chain. Look at some examples in Python: Python Markov Chains and how to use them.
For massive inserts you should use PreparedStatement (this is quite easy with Java or Jython), or create huge text file and load them using dbimport.

Related

From html to xml java api [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want do use some of my own converter from html table to xls table, but I don't know where to start. The google don't show me comprehensive results. I know about Apache tika and poi, but do they have something easy to build converter? I used to read POI docs but it's just says about converting from xls-to-html most of time. What you will suggest to read. Where to search? Thank you.
It's a two-step process. I'd advise you to keep them separate.
Scrape and parse HTML to get table data
Write table data into Excel.
If the HTML is XHTML your life gets better: All you need is an XML DOM parser and some code to find the node at the root of the tree with the data.
I prefer Andy Khan's JExcel to POI. I think it's far better for dealing with Excel.

Alternative way to store input data of a user [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am currently working on a grails project. What I am trying to do now is to create an application that can store values of the user input without saving it on a database, and later access that stored values for further processes. Is there a way on how to realize this?
Please help. Thanks!
Update:
Sorry for the vague question..through further reading I have come to a solution that putting the user data input in a file is the solution to this query. It would be saved in a non-volatile storage, but not in the database perse..Thank you so much!
The options are almost endless.
You could just keep the data in memory, if it doesn't need to survive a restart.
Otherwise, you could write it to file, etc.
But it all comes down to pretty much the same thing as using a database.
Just curious - why don't you want to use a database?

Why do we have username rules? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Why to restrict allowed usernames by different rules? For example why can't user have "#123 qw" username? Is there any techical difficulties or it's just about community rules?
Also is it ok to have national characters in the username? If I use "UTF-8" encoding for my website it should work just well in all browsers.
Username within a system is most of the time for the consumption of HUMANS therefore, from usability point of view it should be READABLE
And yes you can use your national characters in username and make sure you understand character encoding , storage and retrieval. You system/application should be ready to consume the selected encoding at every level e.g client-side, server-side and at database end and tools you use to manipulate with each tier e.g IDEs etc ..
So from my point of view you need some extra knowledge and efforts to handle such a system without killing Usability
I believe I can give you more than one reason but the first that comes off my head is this one.
http://www.example.com/profile/%64123%20qw

Ontology applications and inference rules [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
actually my project is based on ontology(knowledge base). Here i created an ontology from which the data should be retrieved. An application where the question will be asked and the required answers will be retrieved from the ontology and print as output.
Here my doubt is how to construct the inference rules (i.e) how to convert the given keyword into queries?
If anyone has any idea about construction inference rules and the language to be used for inference rules just reply...... Thanx........
I'll define the major points that I've used in the past to explore this vast topic (ontology/web semantic/rdf/etc...):
First you should define your ontology and rules set using some ontology editor (I've used Protégé). This tool gives the opportunity to you create instances and test your ontology (it you check the inference rules)
After that if you want to store your data you need sesame server and some scripts to insert data into sesame.
Sesame has the capability to store the triples information (Sesame) - there is OpenRDF Workbench that acts as a administration console for sesame (good tool)
After that I've used python and some libraries (SuRF, rdflib) to gather information from the web (querying data using SPARQL - I've used the dblp sparql endpoint) and inserting that data (triples) into my sesame server
To make queries you will need to learn SPARQL :) give it a try --> http://dblp.rkbexplorer.com/sparql/
Good luck!

Best practices asp.net mvc: working with images [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
what are the best practices to process images in enterptices web applications.
I mean
storing
assign with entity
fast loading/caching
delayed / ajax loading
suitable format (png, jpeg)
on fly editing (resizing, compress)
free libs/helpers
image watermarking/copyrighting on fly
Especially, appreciated already production approaches!
As always, every project has their own requirements, restrictions and resources (The 3Rs). There is no 'super pattern' or 'one size fits all' method.
We cannot tell you how to implement you project as every project is different. It's up to you to use your skills/knowledge and experience to make informed decisions on implementation.
The 'best practice' is to individually research and learn each of the technologies/methods you have listed and gain the knowledge to know when to use them based on your projects requirements, restrictions and resources.
I use ImageMagickObject in my mvc projects. It can:
suitable format (png, jpeg)
on flyediting (resizing, compress)
freelibs/helpers image
watermarking/copyrighting on fly
fast loading/caching: may be memcached?
delayed / ajax loading: jquery is a good solution
assign with entity: Entity Framework can work with almost all databases
storing: hard question. all depend to the functionality

Resources