Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to store massive amounts of data, specifically the amount of text equivalent to a book. How can I go about this? Is there a type of data storage that makes this process faster/easier (aka is fit) for this type of operation?
There are limits, but not that much. A single database can have (with default configurations) over a billion tables and each table can be 32TB in size.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
I am using the below command to create a restore point. However i'd like to create multiple restore points and would like to know how not to overwrite the first one. Is there a way to add a counter after 'RP*' so it gives it a different number every time my shell script runs the below query?
select pg_create_restore_point('RP1');
pg_create_restore_point
----------------------------
F3/D988F590
There is no way to so that, unless you store the information about pre-existing restore points somewhere. The function just sets a marker with that name in the WAL. PostgreSQL doesn't remember restore points other than in the WAL.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to convert a string ordinal to a number in perl
I have searched but not get exact answer.
Example: if the input is
one it should be 1.
five hundred it should be 500.
three hundred it should be 300.
Is there any module to do this?
One of the best parts of Perl is CPAN and, sure enough, a couple minutes of poking around on metacpan turned up the Lingua::EN::Words2Nums module:
use Lingua::EN::Words2Nums;
$num=words2nums("two thousand and one");
$num=words2nums("twenty-second");
$num=words2nums("15 billion, 6 million, and ninteen");
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I noticed that Slack uses ID's of the form U023BECGF, and not the standard f3a7a018-02da-4cdb-944c-44d073536648 you often see
What is the reasoning for this?
The code you put in your question (U023BECGF) is not a valid or complete UUID. UUIDs are 16 bytes (octets) which are represented as 32 characters of hexadcimal as standard: RFC: https://www.ietf.org/rfc/rfc4122.txt
Under no encoding is U023BECGF a representation of a 16 bytes; it's too short.
It is plausable that these keys could be incorperated into a UUID but they are not one in themselvs.
The usual reason for smaller fields is storing less data.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to select certain amount of data from one table. Based on those data, I want to check another two tables and insert into 2 tables.
So I want to iterate the resulted data. Which way is better(faster) and reasonable using DataReader or DataTable?
Thanks in advance
RedsDevils
You end up creating a reader to fill the table. The reverse isn't true, So I would stick with the dataReader.
-Josh
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
How can I convert unstructured data into structured data? For example email contacts, from an unstructured text, to a structured format.
Are there any algorithms to do this?
There's no generic algorithm to "take unstructured data and convert it to structured data", no. It's highly dependent on what the possible range of input is, and what the desired structure is, and what conversions need to be applied, etc.
The class of problem is called "parsing": you need to construct a parser for the specific inputs you expect, and use that parser to generate structure from what it discovers about the input you get.
Your programming language will likely have parsing libraries available to assist with constructing a specific parser.