r/databases • • Dec 28 '16

Am I designing this correctly?

1 Upvotes

I do not often work in designing database schema - so I am trying to figure out if I am doing this right. I wrote a program to query a network device and put the data into influxDB. This is the format that I am using:

time                 hostname                   interface               ip_address      value    
1257894              hostname.domain.net        Cable1/0/3-upstream0    10.132.255.15   306    

Is this the proper way to structure this data?
Any retention considerations or data aggregation to be aware of? I am very new at this.
Thanks!


r/databases • • Sep 07 '16

cssdbpy is a simple SSDB client written on Cython. Faster standart SSDB client.

Thumbnail
github.com
1 Upvotes

r/databases • • Sep 07 '16

Need Testers for a New Database Monitoring Tool

1 Upvotes

Hey Guys! We are looking for active beta participants to try out our new SaaS-Based Database Monitoring Tool. Our tool will monitor your databases and their underlying (virtual) infrastructure. If you would like to be a part of early access, sign up here: http://www.bluemedora.com/database/ We will initially be supporting RDS, MSSQL, Oracle, PostgreSQL, Mongo, DynamoDB, DB2 and MySQL (and MariaDB). And then we will add support to SQL Azure, Aurora, etc. as the product progresses. If you have any questions, feel free to post and I will be happy to answer them.


r/databases • • Aug 29 '16

Continuous improvement of database operations

Thumbnail
dbwatch.com
1 Upvotes

r/databases • • Jul 24 '16

Help with database assignment

1 Upvotes

Hello everyone, I have an extra credit assignment that I desperately need to do, and I am looking for some help. If this is not the correct sub, please let me know where it would be better suited.

So the assignment is: Find a source of data on the internet (check out one from the link below, or find one that interests you) http://www.smartdatacollective.com/bernardmarr/235366/big-data-20-free-big-data-sources-everyone-should-know

Define the relational model that describes some or all of the data in your chosen dataset 4 or 5 relations should be sufficient - feel free to prune the data

Document that model with an ER or EER diagram. try to include something interesting like foreign keys, [one|many] to [one|many] relationships, etc.)

Parse and ingest the data into MySQL or your RDMBS of choice JSON and CSV parsers are widely available

Formulate and run some relevant queries against your data try to join across relations show counts, averages, min/max, groups, etc. use your imagination

I am completely sure how to even start this. How can I drag data from a site and put it into SQL? Can I make such a database on my own computer or do I need to host it on a server?

Any and all help would be greatly appreciated!


r/databases • • Jul 09 '16

What are some considerations for this Knowledge Base?

1 Upvotes

Hello /r/databases,

I will use a cheesy problem-solving framework to hopefully make it easier for you to understand my request.

The purpose is that I have to support my customers who need help automating something or debugging something, that they tried to automate, with functions, from my company's program-builder.

The situation is:

I am a customer service representative for some company, and we have a big and complicated system that is basically a program builder.

We have these functions that are pre-built so they don't have to learn how to code really, and can automate with these functions instead.

There are over a hundred high-level functions that do a lot of work, and the documentation is spread out in multiple pdf files. We has no API and this was built before github existed. The document isn't very good for us internally or our customers externally.

Although I am pretty good at problem solving, I have the shittiest memory. I'm learning PowerShell, and I have worked in our SQL Server databases for about a year, though I don't have many permissions. The permissions will most likely change sooner or later.

I have some rough idea what some dozens of the functions do, but I don't know any of the functions fully.

Most of my customers' support-tickets are resolved after asking for help. This is immensely slow because nobody has a complete understanding of much, and the few that do aren't in customer support and are very busy.

Now that you know the purpose and the situation, the problem is that I don't have a way to search my "tools in my toolbelt" (functions in the documentation). I want to cheat life a bit and not have to remember all these functions. I would like it to be semantic, to make my job easier by taking advantage of the computer's automation-potential.

The solution is, I would like, to use databases to index our source-code, each department's knowledge base, and our customer documentation, for making a search tool, for myself, at the very least.

My company is trying to be less Microsoft-dependant, so SQL Server might not be required (though I may be naive).

I'm trying to create a good foundation for use when next making a simple search with auto-completion.

What I would like help with from you guys is any advice on how to design this database, as I only know how to literally create it, but I don't know the considerations.

What is the bare minimum I need to need to do to / what is your advice for:

  • Make the database for only me at the start, but with hopes to integrate it in our systems years later. If it's over twice as much work to prepare for the future, and you guys don't want to get into it, then whatever works for my personal use is fine.

  • Does anybody know how to, in the laziest/easiest way, get the text from a pdf into a field?

  • How to make this semantic? This is something I drool over, but isn't 100% required if it would make this more than 6x as hard. But 5x as hard? I'll probably want to do it. Semantics, man. Semantics.

  • If I'm going about this the wrong way.

  • Anything else I'm too much of a noobie to consider on my own.

I'm would do this with or without any help, but I would really like some advice if it's not too much trouble. I have a feeling asking here would be much wiser than just not asking anybody then going for it.

Thanks


r/databases • • Jun 19 '16

Proper terminology (and possible recommendations) for tag-based word/phrase database ideas.

1 Upvotes

Hi there,

I'm looking to create a database that contains a large number of words/short phrases. I would like to be able to report on their frequency and possibly group on one another based on the text itself. Additionally, there may be other meta-tags such as geo or timeseries.

The issue is I'm not sure where to start. I've done tonnes of relational databases including large business applications but it's always been standard logical structures that is (mostly) fully denormalized...

The issue is, I (think I) know that RDBMS may not be the best approach. I've been looking for examples or at the very least, correct terms to perform research but struggling. Might this be a job for NoSQL or am I barking up the wrong tree altogether.

I've also tried to lookup articles about methology and possible example schemas for word-frequency, "big-data", and others but have not been able to come up with any way conclusive answers or even directions.

Can anyone please point me in the right direction? Thanks!


r/databases • • Jun 10 '16

The Panama Papers Graph Database Is Now Available for Download

Thumbnail
neo4j.com
1 Upvotes

r/databases • • May 28 '16

Compose's Little Bits: Recap of recent happenings in the database world

Thumbnail
compose.io
1 Upvotes

r/databases • • May 24 '16

Need Opinions on New Online Database Product

1 Upvotes

Hi redditors, I found a new productivity platform called inBOLD Business Solutions (inboldsolutions.com) and I need some help deciding if it is worth my time. I've been looking for a more integrated approach to running my business. Would anyone let me know if this software is legit? How does it compare to other ones like Zoho for example? It looks like inBOLD has more features including an app builder too. How easy is it to use?


r/databases • • May 06 '16

Open source database targets the big data analytics market

Thumbnail
betanews.com
1 Upvotes

r/databases • • Apr 14 '16

Master-less Distributed Queue with PG Paxos

Thumbnail
citusdata.com
1 Upvotes

r/databases • • Apr 12 '16

Storing JSON response from API

1 Upvotes

I have spent last few days getting familiar with differences in NoSQL and SQL database. Currently I am developing an app that obtains information from a REST API, the JSON it returns is currently 3300 lines in length. Each JSON contains lists of multiple results (dates, costs, destination) and is heavily nested (is that the right term?)

I am investigating what would be the best way to store these responses for later use. Queries that will be used include finding results within all JSON documents that are between dates or above/below certain costs, to/from destinations.

I understand NoSQL has it's limitations but am having a hard time understanding where they lay. Maybe I am overthinking it, but I am trying to find if I should extract data and place into SQL database, or, because I already have a JSON response, use a database that supports JSON already.


r/databases • • Apr 06 '16

A New Groundbreaking Declarative Method to Update Object Databases and a New Communication theory

Thumbnail
hvirkkun.blogspot.fi
1 Upvotes

r/databases • • Mar 19 '16

Can someone give me a little help on what software I need to make a database and front-end for this diagram.

Post image
1 Upvotes

r/databases • • Feb 22 '16

Which program should I run?

1 Upvotes

My job gave me the task of putting all of their contacts into one program, that would allow for an easy search/find. Can anyone help me with this?


r/databases • • Feb 18 '16

12,6gb of XML table

1 Upvotes

I have a huge XML with information that I need to filter to locate some things

The queries are very simple, I could do it in Excel, if it could handle such huge size

Anyone knows any software that I could use to import and work with this?

Regards


r/databases • • Jan 24 '16

Database design for storing and providing feedback on cooking recipes

1 Upvotes

Hiya,

I was wondering on a good database design for a website that would offer cooking recipes that users can provide feedback on.

For example, we have the 2 following recipes:

Name: Cheese Sandwich
Ingredients:
    2 Slices, White bread
    1 Slice, Cheese
    Butter

Name: Bacon Lettuce Tomato Sandwich
Ingredients:
    2 Slices, White Bread
    2 Slices Bacon
    3 Leaves, Lettuce
    3 Slices, Tomato
    Mayonnaise

Which would be stored in the database with an unique ID for the recipe and the recipe name, as well as a subtable containing the ingredients stored with unique Ids, Quantities as numbers and the name as a short text. It is very important that the ingredients are stored distinct entities and not as just a list separated by commas.

A user will be able to provide feedback on an ingredient by ingredient basis, as well as potentially suggest new ones for the recipe as well. E.g.

Feedback 1:
Recipe Name: Cheese Sandwich
Recipe Feedback:
    Bread is Fine
    More Cheese
    Butter is Fine

Feedback 2:
Recipe Name: Bacon Lettuce Tomato Sandwich
Recipe Feedback:
    Bread is Fine 
    More Bacon
    More Lettuce
    Less Tomato
    No Mayonnaise
    Add Butter

On the site itself, this feedback will be given back on a number system, e.g. 5/10 - Keep the same 1/10 - Get rid of it 10/10 - ADD WAY MORE

while choosing to add a new ingredient will be done through a dropdown menu of choices.

What I want to know is, what would be the best way to store this feedback for a recipe on an ingredient by ingredient basis.


r/databases • • Dec 07 '15

Help with Entity Relationship Diagram

1 Upvotes

Is there anyone who knows how to make an Entity Relationship Diagram with MySql Workbench?


r/databases • • Dec 07 '15

Oracle Data Dictionary

1 Upvotes

I just posted a white paper on great ways to use the Oracle Data Dictionary. Check it out, and if you find it useful, subscribe to my free e-magazine for more sample code and tips. http://www.codeitmagazine.com


r/databases • • Oct 31 '15

Help on writing constraints in mySQL

1 Upvotes

Have you any idea how this should be written in mysql? We're porting from one format to another and as usual there is hardly any guidance so i'm unsure how i'm supposed to know. The sql documentation goes way over my head -

CONSTRAINT TOTAL_ZERO CHECK (TOTAL >= 0)

Also, what does the TOTAL_ZERO part of the code stand for? Thanks


r/databases • • Jul 13 '15

EU Commission releases list of top 10 most innovative companies in ICT. Sparsity Technologies is the SME with the highest innovation capacity

Thumbnail
sparsity-technologies.com
1 Upvotes

r/databases • • May 28 '15

SQL MERGE is quite distinct from UPSERT

Thumbnail
postgresql.org
1 Upvotes

r/databases • • May 15 '15

Database Management Systems

Thumbnail
dreambsys.com
1 Upvotes

r/databases • • May 07 '15

Non-printable characters in a database unique id

1 Upvotes

How do I explain to my technical lead that this is not a good idea?