r/databases • • Jan 30 '19

Out Growing our Access DataBase

2 Upvotes

We have developed a fairly complex access database, it is fully coded in VBA. But now we are looking to open other offices and need the Database to be more “mobile”. I was thinking a web based database. Any suggestions on what could be our best options moving forward.


r/databases • • Jan 15 '19

Record statistics at high frequency: is MySQL too slow?

2 Upvotes

Hi there!

I am building a backend application which scales horizontally (there can be multiple instances of it).

Each instance would read and write to a common database a thousand time per second or more some statistics counts. This is for rate limiting some API calls to and from the outside world.

As MySQL is a database writing to disk, is it going to be fast enough to increment the counts and read them? All instances should ideally be in perfect sync. I was thinking Redis would be more appropriate for such use case?

What are you thoughts?

Thanks !


r/databases • • Nov 20 '18

MySQL to SQLite online converter 🔨

Thumbnail
github.com
2 Upvotes

r/databases • • Nov 05 '18

Blockchains as Information Systems

Thumbnail
blog.datopia.io
2 Upvotes

r/databases • • Oct 30 '18

noora, a opensource sql deployment tool

2 Upvotes

As a data engineer in a project based company, I have to maintain and develop a dozen database projects.

Each database project is also available in different environments (DTAP) and holds it's own set of typical attribute or values for that environment.

Before noora this did mean that every database project had it's own unique structure depending on so to speak the mood of the developer. In order to install the database project batch or shell script was used, which made it even more typical and highly os dependent.

For me and my fellow developers it did mean that a lot of our time was lost in maintaining and developing on these kind of database projects. In general it did mean that the database projects were not easy transferable between developers.

So I thought, can I do something about that and noora was born, which in general implements a static folder pattern reflecting every available object type of a particular database technology. For example table scripts are placed in the tab folder and trigger scripts are placed in the trg folder.

By using a single configuration file an user can influence the naming of these folders and the order in which they are installed by noora. As a site effect of this we also got rid of batch and shell scripts and now have tool which can be used on multiple operating systems like linux, mac and windows.

In this post I left the support for multiple environments, databases and schemas out of the equation. They are also implemented by using the same folder pattern.

If you recognize this problem, you could consider looking at noora and maybe help us to make it even better.

For your information noora supports oracle, mysql and mysql and has a development and usage record of about 8 years.

At last I am really curious if the community recognizes this dilemma in maintaining and developing multiple database projects. So please feel free to comment.

https://github.com/janripke/noora


r/databases • • Oct 17 '18

How do you model a recurring order in a shop?

2 Upvotes

0down votefavorite

I am making a B2B-shop system for a customer where their customers can order items from their shop.

The system needs to handle placement of recurring orders like: "Every tuesday of the week send me 4 of these products until the last week of december".

How would you model this in the database? Making 1 new order-line for each tuesday until the "stop-date seems like a bad idea since they might want to change something along the way.

Right now my model looks very similiar to this:


r/databases • • Oct 05 '18

A Brief History of High Availability

Thumbnail
cockroachlabs.com
2 Upvotes

r/databases • • Sep 25 '18

Why not use Microsoft Access for 300+ Users line of business on SQL Server

2 Upvotes

Access has a bad reputation - I believe because many projects are created by non-developers and use the Jet database instead of a proper SQL server.

I have a new project to start for a line of business application for 300+ users. There are around 100 forms and 100 reports but none of it is fancy at all. Nearly all basic data entry and reporting. Volume of data is not large.

I think with SQL server Access will be fine, I can develop the app very quickly, the Access UI does everything I need it to do. I've got 50% of the code to hand from a previous project as well.

But, management is resistant because they have heard Access is not good enough for the job. Cost and time is not so much an issue for mgmt, but it is for me - I want to get this job done quickly.

Googling finds lots of opinions about MS-Access, but very little facts when it comes to larger projects.

So, am I wrong - Access is not up to the task - if so why? Am I right - Access is a perfectly fine desktop front-end for large systems if coupled with SQL server or similar?


r/databases • • Sep 10 '18

A Guide To Service Level Objectives, Part 2: It All Adds Up

2 Upvotes

Part 2 in an ongoing series discussing the ins and outs of SLOs. This part specifically focuses on the statistical analysis and techniques behind determining your ideal Service Level Objectives (SLOs).

A “deep-dive” on the subject requires much more detail than can be explored in a blog post. However, we aim to provide enough information here to give you a basic understanding of the math behind a smart SLO – and why it’s so important that you get it right.

http://www.circonus.com/2018/09/a-guide-to-service-level-objectives-part-2/


r/databases • • Jun 24 '18

Build yourself a simple CRM from scratch in PHP and MySQL

2 Upvotes

r/databases • • May 29 '18

kvdb.io: Simple Key-Value Store as a Service for Metrics & IoT

Thumbnail
kvdb.io
2 Upvotes

r/databases • • May 20 '18

Advancing my career

2 Upvotes

I have been working with queries and joins in a MySQL database, I would like to start working on advancing my career and moving toward Microsoft SQL server. Can anyone tell me a few good Magazines to possible subscribe to? Or just some good reading material to learn more about the industry and trends. Thanks in advance for your help.


r/databases • • Apr 25 '18

Better understanding DBs

2 Upvotes

When studying computer engineering back in the day we didnt happen to have a Databases course Now, for my daily purposes since i dont work with BIG data using DBs in the noobish manner with simple indexes and so on is sufficient but i'd like to learn more and be able to answer questions like : what's more 'degrading' , adding metadata to a pivot table or keeping it as a string in a field in the original table The ideal book to me would look like:

--General DB concepts

--RDBMS

--NoSQL dbs

--Graph DBs

in this order of priority.

Does anyone have any suggestions? Please avoid implementation specific stuff like SQL tutorials, im looking for something uni level that is a little more theory and fundamentals based(edited) Thanks a lot : )


r/databases • • Apr 20 '18

ERD-New

2 Upvotes

Hi can someone help me with that ERD. I want to know if its ok. I did it with DIA https://1drv.ms/u/s!Aiay7ojt0RPPhMso71qugP8PeRErLg


r/databases • • Mar 04 '18

How I approached software development and why I prefer PostgreSQL to MySQL

Thumbnail
goetas.com
2 Upvotes

r/databases • • Jan 31 '18

Multiplying Efficiency with Best Data Modeling Tools

Thumbnail
technodigitaltrends.blogspot.com
2 Upvotes

r/databases • • Dec 22 '17

What's the smartest way to handle account balances?

2 Upvotes

Hi I manage my personal finances using SQL. Right now I have a table of accounts which contains information like name, opening date, opening balance. and a table of transactions. A transaction for me has a value, a date, a to account and a from account. To calculate the balance of a given account for today, I take the opening balance, then I add all values coming into the account before today, then I subtract all values going out of the account before today. I feel like this is not the smartest way to do things, in the sense that when I want to manipulate this data, it becomes rather complicated. For example, I might want to list the balances on the 1st day of each month this year, but I'm not sure how to write such a query given how I have set things up. Is there a smarter way to manage account balances?


r/databases • • Nov 27 '17

Databases not using B-tree as datastructure?

2 Upvotes

As I know, most dbms use B-tree as datastructure. But is there any known databases not using B-tree ?


r/databases • • Nov 27 '17

Database recommendation, time series?

2 Upvotes

I’m looking for database recommendations, probably a time series db? I’m currently using a custom file based system packed as binary data storing around 9,500MB a day, looking to increase to 50,000MB+ per day.

The system stores device metrics, around 90 metrics per device at a 1 minute resolution. I’ll need to query the database back in time by multiple years for multiple devices. Potentially querying a total of 100 metrics per minute over a period of 3 years.

I’ll need to be able to summarise the data to 30 minute / 1 day data and look for trends etc etc.

Any ideas on solutions I should prototype?

Thanks.


r/databases • • Nov 08 '17

Tarantool: when it takes 500 lines of code to notify a million users

Thumbnail
medium.com
2 Upvotes

r/databases • • Sep 26 '17

Best way to visualize an Microsoft access DB?

2 Upvotes

I inherited ba monstrosity at work. It's not a large DB, and t never will be. However, it takes the spiderweb approach to things. There are so many circular references, or things that should be in the same table but instead are broken off that just make understanding it difficult. Id like to consolidate it down when I rebuild it, but to do that while preserving data I need to understand the entire structure, which give that this is a needlessly wide database, is difficult. Is there seem kind of tool out there that could maybe visualize the data so I can see what fields in the tables act as links?


r/databases • • Sep 06 '17

How can I copy a database row and rows from other related tables from one database to another?

2 Upvotes

Hi, I have a production database on Sql Server 2016, and sometimes I want to copy a row from a transaction table (say Salary) and from a bunch of other related tables (such as Attendance, etc.) to a testing database for debugging.

What is the best and easiest way to do this?


r/databases • • Aug 28 '17

Understanding Dirty Read Problem with SQL Server

Thumbnail
codingsight.com
2 Upvotes

r/databases • • Aug 18 '17

Introducing WAL-G by Citus: Faster Disaster Recovery for Postgres

Thumbnail
citusdata.com
2 Upvotes

r/databases • • Aug 10 '17

Any good on site training in Seattle for PostgreSQL, MySQL, or Oracle?

2 Upvotes

Getting my training budget approved for next year, but my CIO doesn't want to spend training money on conferences.