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 5 years ago.
Improve this question
I worked on WPF project and connection to MySQL database.
My application is a host and can connect to multi equipment (Equipment1, Equipment2). After connecting to Equipment, all message between host (my app) and equipment need to store to database. Because data for logging is very large, I need to create logs_eqp_[eqmID] table for each equipment (example: logs_eqp_001 for equipment 1, log_eqp_002 for equipment 2).
So, could I use entity framework for this architecture? How could I do?
Regards,
I do not see why would you want to create tables dynamically. It would be much easier to have a single table with an indexed column for equipment name, so you could group, sort or filter your logs by equipment; with this approach you could avoid creating tables in runtime and can just use Entity Framework by the book by manipulating a single collection.
Related
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 8 days ago.
Improve this question
I am building an inventory management system with Cassandra and Django, and I'm trying to implement multi-tenant data modeling.
I have the following tables in my system:
Product
Product by ID
Required Item
Product Builds
Order
Complete Order
The above tables are for a single company. But now I need to support multiple companies in my system.
I'm trying to decide between two options:
Create separate tables for each company
Add a company ID column in every table to distinguish between data belonging to different companies.
I have searched for information on multi-tenant data modeling in Cassandra, but I couldn't find any concrete information that could help me make a decision.
Can anyone provide me with guidance on how to implement multi-tenant data modeling in Cassandra for my use case? What are the trade-offs and considerations of each approach, and what are the best practices for implementing multi-tenancy in Cassandra?
Any help would be greatly appreciated. Thank you!
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 8 years ago.
Improve this question
I understand that datasets contain datatables and that they can house the relationships between those datatables. I am making a simple form that gets data from SQL Server by way of stored procedures that return the records I need subject to certain parameters. It is not strictly necessary that I model relationships between the datables. Are there other benefits of using a dataset to contain them, or am I just as well off to leave them free standing?
For example, you can automatically perform actions on related tables (autodelete). Or you can add restrictions which will depend on such relations.
And it will help you to draw a database diagram.
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 9 years ago.
Improve this question
I have a bunch of articles, on which I want to do word frequency and trend analysis.
The articles are tagged with date, author, theme and subject. I want to use these tags to slice the data so that I can get the most common words used for a specific author (or group of authors), theme(s) or subject(s). Overall and over time (trend).
How would I design this database (relational or other) or should I create a data cube?
Rizzoma.com made this with couchDB (noSQL) and Sphinx (fulltext search engine).
You can try to make it in another way, if you want, or test existing solution and repeat it.
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 9 years ago.
Improve this question
This is my new project and don't know if is possible. My client has another store with its database of 200.000 products. The database structure is not the same as magento use for handling products but sure it has SKU, product name, color, sizes ect...
What i want to know is if is possible to connect with this database, read from that and make magento understand these tables.
I really appreciate if any of professional guys can help me to know if is possible or not and what tool should is use to make that happen?
Thank you in advance
What you are trying to do is not possible. Yes you can connect to the db assuming that magento support that db, but magento will not be able to read or write to that db product table because the db table structure, name and schema are different.
You will need to import all your product into magento
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
How can I manage multiple versions of a database easily?
I have some data (as views as selects for data originating in tables from other schemas), which other database may reference using various means including database synonyms & links.
I wish to provide a sort of interface/guarantee in-case future for applications/databases which use this data. All of this is for in the event i need to update the views for correctness or applicability inside my database.
How can i achieve this in a maintained, controlled and easy way?
I am using Oracle 10g if that matters.
Have a look at the 11gR2 feature: Edition-Based Redefinition. It allows you to have multiple versions of views and packages available in the database.
You can read more in a Christian Antognini's paper.