I have a Google BigQuery database connected in Metabase with 2 datasets (data models in Metabase). When I try to see the tables schema, however, some of them are not shown in the tables list, despite the fact that all tables have the same permissions and I'm using the same service account since the database was connected.
I tried to check the INFORMATION_SCHEMA for all tables to find if there's something different in them, but didn't find any differences. I made a test by creating a view from one of the tables and Metabase was able to find the view, but not the table.
Any ideas of what is causing this strange behaviour? I'm using Metabase 0.43.0 (self-hosted). This happens in the frontend and in the admin panel
Related
So a friend of mine asked me to help him configure an automatic replication of a table on his MariaDB database to another table that's supposed to be an exact copy of the source/primary table.
The databases are on the same server. MariaDB version 10.2.44. The databases are on a cPanel managed webserver run by a webhost. We are accessing the databases using HeidiSQL, which is what I'm hoping I can use to configure everything.
Upon lots of googling, this is the article I suspect makes the most sense for what we want to do, but it doesn't look like this is automatic to any extent: https://mariadb.com/kb/en/setting-up-replication/
Is this the best way to do what we're trying to do? Is there a better way? Any suggestions?
Thanks!
Like #ysth said, in this case, triggers can be used.
When creating a trigger that "works between different databases", you need to specify the database on the trigger name. So for example:
CREATE TRIGGER database_name.trigger_name
Otherwise you'll get an "Out of schema" error.
The database you need to specify is the one where the "listener" is located. Basically, the place where the condition for the trigger is being checked.
I have an asp.net mvc website, and I would like to know if/how to save my database tables and values to my migrations/models so when I publish my website the first time it runs it creates the database on the iis sql server and fills the tables with the data? I am using sql server 2016 on my computer and on the server. right now it creates a default database on first run but no tables get created. I have just been making the database and tables manually when I publish, but I want to know if its possible to have it done automatically.
I've recently been using the Oracle Catalog Manager to create lineage reports to determine which analyses use particular columns. I haven't found a way, however, to determine which reports are used on particular dashboards. So if I wanted to delete a report, is there a way to determine which dashboards would be affected?
I know that when I migrate a dashboard page from the development environment to the test environment that the structure is preserved, so this information must be saved somewhere. However, when I try to create a report in the "_portal" folder that contains the dashboards, the report is always blank.
I was using this page as an initial reference, but it only discusses how to find the reports that would be affected should a column be deleted from the rpd.
Part of what I'm trying to do is a clean-up to locate reports that aren't being used on any dashboards, but I also want to be able to better track which reports are being used and on which dashboards.
The Create Report function will build a report of Dashboard/Analysis relationships.
Regarding moving/copying dashboards, it will not move all the dependent objects automatically - you will need to structure your Presentation Catalog such that you can migrate folders of objects as required.
OBIEE Catalog Manager Report lacks the ability to extract data as
Dashboard,
Dashboard Page,
Dashboard Prompt,
Analysis
in a single row of data
We can have two combinations
Dashboard, Dashboard Page OR
Dashboard, Dashboard Prompt, Analysis
The OBIEE usage table does store the 4 fields in a single row.
Whenever I run aspnet_regsql to create a default Membership schema in a new database, it adds a bunch of extra tables from a previous project of mine... Ones that don't have anything to do with membership. The ASP.NET membership tables work fine, I just can't figure out where these phantom tables are coming from.
Could the stored procedure have become corrupt? Any idea where to read it's contents?
Many thanks!
You can find your schema with tables in server explorer
Adjust your connection with -C parameter
Link : http://msdn.microsoft.com/fr-fr/library/ms229862%28v=vs.80%29.aspx
I inherited an Asp.Net app that uses ASP.Net membership services. I am trying to add web parts with personalization to the site, and am getting a lot of errors. It looks like the tables generated by Aspnet_regsql.exe have been changed - probably copied at some point in the past using "select into" causing them to lose all their indexes and primary keys.
How can I repair these tables without losing all the data inside?
Backup database (just in case!)
Rename existing database
Recreate aspnetdb
Bulk copy data from renamed DB into newly recreated DB. (probably with BCP)
I know BCP is an old tool... but it still works. Maybe there is an easier way to do it, but this is how I would do it.